/* ═══════════════════════════════════════════
   Johari Dugar — Landing Page
   Premium Jewellery Brand Design System
   ═══════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #B8941F;
    --gold-light: #D4AF37;
    --gold-vivid: #E8C547;
    --gold-pale: #F4E4BA;
    --gold-deep: #8B6914;
    --cream: #FBF6EE;
    --cream-dark: #F5EDDD;
    --dark: #1A1814;
    --dark-soft: #2D2820;
    --slate: #6B6355;
    --text: #3D3629;
    --text-light: #8A7E6F;
    --white: #FFFFFF;
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Outfit', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 100px;
    --shadow-sm: 0 2px 8px rgba(26, 24, 20, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 24, 20, 0.1);
    --shadow-lg: 0 16px 50px rgba(26, 24, 20, 0.12);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(251, 246, 238, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(184, 148, 31, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.nav-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.1;
}

.nav-subtitle {
    display: block;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-deep) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 148, 31, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 148, 31, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--gold-light);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(244, 228, 186, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse-soft 8s ease-in-out infinite;
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) scale(1.15);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 8px 24px;
    border: 1px solid rgba(184, 148, 31, 0.25);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-text {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Stats Bar ─── */
.stats-bar {
    padding: 48px 0;
    background: var(--cream);
    border-top: 1px solid rgba(184, 148, 31, 0.1);
    border-bottom: 1px solid rgba(184, 148, 31, 0.1);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(184, 148, 31, 0.2);
}

/* ─── Sections ─── */
.section {
    padding: 96px 0;
}

.section-cream {
    background: var(--cream-dark);
}

.section-dark {
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}

.section-tag-gold {
    color: var(--gold-vivid);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title-light {
    color: var(--gold-pale);
}

.section-desc {
    font-size: 16px;
    color: var(--slate);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-desc-light {
    color: #8a8278;
}

/* ─── Heritage ─── */
.heritage-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
}

.heritage-content .section-tag {
    margin-bottom: 16px;
}

.heritage-text {
    font-size: 16px;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 20px;
}

.heritage-text strong {
    color: var(--gold);
    font-weight: 600;
}

.heritage-visual {
    display: flex;
    justify-content: center;
}

.heritage-card {
    background: var(--cream);
    border: 1px solid rgba(184, 148, 31, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    max-width: 280px;
    box-shadow: var(--shadow-md);
}

.heritage-card svg {
    color: var(--gold-light);
    margin-bottom: 20px;
}

.heritage-card-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--text);
    line-height: 1.5;
}

/* ─── Promise Cards ─── */
.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.promise-card {
    background: var(--white);
    border: 1px solid rgba(184, 148, 31, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.promise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 148, 31, 0.25);
}

.promise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(244, 228, 186, 0.5);
    color: var(--gold);
    margin-bottom: 20px;
}

.promise-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.promise-card p {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.6;
}

/* ─── Collection Cards ─── */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.collection-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collection-card:hover {
    background: rgba(212, 175, 55, 0.06);
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateY(-4px);
}

.collection-icon {
    color: var(--gold-vivid);
    margin-bottom: 16px;
    opacity: 0.8;
}

.collection-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--gold-pale);
    margin-bottom: 8px;
}

.collection-card p {
    font-size: 13px;
    color: #8a8278;
    line-height: 1.5;
    margin-bottom: 16px;
}

.collection-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-vivid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: auto;
}

/* ─── Contact ─── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border: 1px solid rgba(184, 148, 31, 0.1);
    border-radius: var(--radius-lg);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(244, 228, 186, 0.5);
    color: var(--gold);
    margin-bottom: 16px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--slate);
}

.contact-card a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Footer ─── */
.footer {
    padding: 40px 0;
    background: var(--dark);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    opacity: 0.8;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--gold-pale);
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 10px;
    color: #6b6355;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: #8a8278;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold-pale);
}

.footer-copy {
    font-size: 12px;
    color: #555;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile First
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .heritage-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* Nav */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(251, 246, 238, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-toggle {
        display: flex;
        z-index: 101;
    }

    /* Hero */
    .hero {
        min-height: 85vh;
        padding-top: 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-text br {
        display: none;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 16px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 14px;
    }

    /* Stats */
    .stats-bar {
        padding: 36px 0;
    }

    .stats-grid {
        gap: 24px;
    }

    .stat-value {
        font-size: 32px;
    }

    .stat-label {
        font-size: 9px;
    }

    .stat-divider {
        height: 36px;
    }

    /* Sections */
    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .promise-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .promise-card {
        padding: 24px 16px;
    }

    .promise-card h3 {
        font-size: 17px;
    }

    .promise-card p {
        font-size: 13px;
    }

    .collection-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .heritage-visual {
        display: none;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-value {
        font-size: 26px;
    }

    .promise-grid {
        grid-template-columns: 1fr;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }
}