/* ================================================
   Darbar Dawa Dua — Premium Light Theme
   Golden accents, Islamic elegance, Modern UI
   ================================================ */

:root {
    --gold:        #c9a84c;
    --gold-light:  #e8c97a;
    --gold-dark:   #a07c30;
    --gold-faint:  #fdf8ee;
    --cream:       #faf8f4;
    --white:       #ffffff;
    --text-dark:   #1a1208;
    --text-mid:    #4a3f28;
    --text-light:  #8a7a5a;
    --border:      #ecdcb0;
    --shadow-sm:   0 2px 12px rgba(180,140,40,0.08);
    --shadow-md:   0 6px 28px rgba(180,140,40,0.13);
    --shadow-lg:   0 16px 60px rgba(180,140,40,0.18);
    --radius:      16px;
    --radius-sm:   10px;
    --radius-lg:   28px;
    --transition:  all 0.35s cubic-bezier(0.4,0,0.2,1);
    --font-serif:  'Playfair Display', Georgia, serif;
    --font-body:   'Inter', system-ui, sans-serif;
    --max-width:   1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.gold { color: var(--gold); }
.badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 100px;
    background: var(--gold-faint);
    border: 1px solid var(--border);
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Section Headings */
.section-label {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    text-align: center;
    margin-bottom: 16px;
}
.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 56px;
    line-height: 1.8;
}
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 16px auto 48px;
}

/* ===== TOP BAR ===== */
.topbar {
    background: linear-gradient(135deg, #1a1208 0%, #2d2010 100%);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 0;
    text-align: center;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar span { opacity: 0.8; }
.wa-link {
    color: var(--gold-light) !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(201,168,76,0.3);
}
.wa-link:hover { color: #fff !important; border-color: #fff; }

/* ===== HEADER ===== */
.site-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1150;
    transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}
.logo-sub {
    font-size: 0.68rem;
    color: var(--gold-dark);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    background: var(--gold-faint);
    color: var(--gold-dark);
}
.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    color: #fff !important;
    padding: 9px 20px !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-sm);
    margin-left: 8px;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md) !important;
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1300;
    position: relative;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--gold-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
/* X animation when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(160deg, var(--white) 0%, var(--cream) 40%, var(--gold-faint) 100%);
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 600px at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 10% 80%, rgba(201,168,76,0.05) 0%, transparent 70%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(201,168,76,0.03) 0, rgba(201,168,76,0.03) 1px, transparent 0, transparent 50%);
    background-size: 30px 30px;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero-badge::before { content: '✦'; color: var(--gold); }
.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.hero h1 .accent {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(180,140,40,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(180,140,40,0.45);
    color: #fff;
}
.btn-outline {
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
    background: transparent;
}
.btn-outline:hover {
    background: var(--gold-faint);
    transform: translateY(-2px);
    color: var(--gold-dark);
}
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat-item { text-align: left; }
.stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-card-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 340px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-moon {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(201,168,76,0.4));
}
.hero-card-main h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.hero-card-main p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.hero-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.tag {
    padding: 4px 12px;
    background: var(--gold-faint);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--gold-dark);
    font-weight: 500;
}
.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    animation: floatDelay 7s ease-in-out infinite;
}
@keyframes floatDelay { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hero-float-1 { top: 10%; right: -10%; animation-delay: 1.5s; }
.hero-float-2 { bottom: 15%; left: -8%; animation-delay: 3s; }
.hero-float-1::before { content: '⭐ '; }
.hero-float-2::before { content: '🌙 '; }

/* ===== ILM & KHADMAT SECTION ===== */
.services-section { background: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--gold-faint);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.service-card h5 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.service-card ul {
    padding: 0;
}
.service-card ul li {
    font-size: 0.82rem;
    color: var(--text-mid);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.service-card ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.5rem;
    top: 8px;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section { background: var(--cream); }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}
.cat-emoji {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(201,168,76,0.2));
}
.cat-card h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.cat-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}
.cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-dark);
    padding: 7px 18px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: var(--transition);
    background: var(--gold-faint);
}
.cat-link:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, #1a1208 0%, #2d2010 60%, #1a1208 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 400px at 50% 50%, rgba(201,168,76,0.12) 0%, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .section-label { color: var(--gold-light); opacity: 0.8; }
.cta-banner h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.cta-banner h2 span { color: var(--gold-light); }
.cta-banner p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    margin-bottom: 36px;
}
.cta-phone {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 28px;
}

/* ===== POSTS / CARDS ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}
.post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gold-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.post-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--gold-faint), var(--cream));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid var(--border);
}
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.post-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
    background: var(--gold-faint);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px 10px;
}
.post-date {
    font-size: 0.75rem;
    color: var(--text-light);
}
.post-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
    flex: 1;
}
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
}
.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold-dark);
    transition: var(--transition);
}
.post-read-more:hover { gap: 10px; color: var(--gold); }
.post-read-more::after { content: '→'; }

/* ===== SINGLE POST ===== */
.post-hero {
    background: linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}
.post-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px;
}
.post-content h2, .post-content h3 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin: 32px 0 14px;
}
.post-content h2 { font-size: 1.7rem; }
.post-content h3 { font-size: 1.3rem; color: var(--gold-dark); }
.post-content p { margin-bottom: 18px; color: var(--text-mid); line-height: 1.85; }
.post-content ul, .post-content ol { padding-left: 20px; margin-bottom: 18px; }
.post-content ul li { margin-bottom: 8px; color: var(--text-mid); }
.post-content ul li::marker { color: var(--gold); }
.post-sidebar {
    position: sticky;
    top: 90px;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-visual {
    background: var(--gold-faint);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px 32px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.scholar-photo-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 3px solid var(--gold);
    line-height: 0;
}
.scholar-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 11px;
    transition: transform 0.4s ease;
}
.scholar-photo:hover { transform: scale(1.02); }
.about-visual .big-icon { font-size: 6rem; margin-bottom: 20px; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.about-stat-item { text-align: center; }
.about-stat-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-dark);
    display: block;
}
.about-stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.checklist { margin: 20px 0; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
    content: '✅';
    flex-shrink: 0;
    margin-top: 1px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.contact-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
    width: 42px;
    height: 42px;
    background: var(--gold-faint);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-item h5 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}
.contact-item p, .contact-item a {
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 500;
}
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
    padding: 14px 20px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius-sm);
    color: #15803d;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: none;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(160deg, var(--white) 0%, var(--cream) 60%, var(--gold-faint) 100%);
    padding: 70px 0 50px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(201,168,76,0.02) 0, rgba(201,168,76,0.02) 1px, transparent 0, transparent 50%);
    background-size: 24px 24px;
}
.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
}
.page-hero p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
}
.breadcrumb a { color: var(--gold-dark); font-weight: 500; }
.breadcrumb span { color: var(--gold); }

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 44px;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-mid);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: var(--gold);
    color: #fff;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0f0b06;
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.footer-logo .logo-icon { color: var(--gold-light); }
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp {
    background: rgba(201,168,76,0.15);
    color: var(--gold-light);
    border: 1px solid rgba(201,168,76,0.3);
}
.call {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.15);
}
.social-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.footer-links h4, .footer-contact h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-light);
    margin-bottom: 18px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--gold-light); }
.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.55);
}
.footer-contact a { color: var(--gold-light); }
.footer-note {
    margin-top: 20px;
    padding: 14px;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
}
.footer-note strong { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ===== ADMIN STYLES ===== */
.admin-body { background: #f5f5f5; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: #1a1208;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 4px 0 20px rgba(0,0,0,0.2);
}
.admin-sidebar-logo {
    padding: 28px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar-logo h2 {
    font-family: var(--font-serif);
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.admin-sidebar-logo p { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.admin-nav { padding: 16px 0; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(201,168,76,0.12);
    color: var(--gold-light);
    border-right: 3px solid var(--gold);
}
.admin-main { margin-left: 260px; padding: 0; }
.admin-topbar {
    background: var(--white);
    padding: 16px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}
.admin-content { padding: 32px; }
.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}
.admin-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.admin-stat-card {
    text-align: center;
    padding: 24px;
}
.admin-stat-card .stat-num { font-size: 2.2rem; color: var(--gold-dark); }
.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    border-bottom: 2px solid var(--border);
}
.data-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
}
.data-table tr:hover td { background: var(--cream); }
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
}
.status-published { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.status-draft { background: #fefce8; color: #a16207; border: 1px solid #fde047; }
.btn-sm {
    padding: 6px 14px;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-edit { background: var(--gold-faint); color: var(--gold-dark); border: 1px solid var(--border); }
.btn-delete { background: #fff5f5; color: #c53030; border: 1px solid #feb2b2; }
.btn-edit:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-delete:hover { background: #c53030; color: #fff; border-color: #c53030; }
.alert {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 20px;
}
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #86efac; }
.alert-error { background: #fff5f5; color: #c53030; border: 1px solid #feb2b2; }

/* ===== ADMIN LOGIN ===== */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1208 0%, #2d2010 100%);
}
.login-card {
    width: 400px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.login-card .logo-icon { width: 64px; height: 64px; font-size: 2rem; margin: 0 auto 20px; }
.login-card h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.login-card p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.page-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-mid);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.page-link:hover, .page-link.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .posts-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .hamburger { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 78%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 24px 40px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1200;
        pointer-events: none;
        box-shadow: -4px 0 30px rgba(0,0,0,0.15);
        overflow-y: auto;
    }
    .main-nav.open {
        transform: translateX(0);
        pointer-events: auto;
    }
    .main-nav a {
        display: block;
        font-size: 1rem;
        padding: 13px 16px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        border-bottom: 1px solid #f0ede6;
        color: var(--text-dark);
        font-weight: 500;
        pointer-events: auto;
        position: relative;
        z-index: 1201;
        text-decoration: none;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
    .main-nav a:last-child { border-bottom: none; }
    .main-nav a:hover, .main-nav a.active {
        background: var(--gold-faint);
        color: var(--gold-dark);
    }
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 22%;
        bottom: 0;
        min-right: calc(100% - 300px);
        background: rgba(0,0,0,0.45);
        z-index: 1100;
        cursor: pointer;
    }
    .nav-overlay.open { display: block; }
    .admin-sidebar { width: 200px; }
    .admin-main { margin-left: 200px; }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
}
