/* ============================================
   NN Diamond & Jewelry — Brand Stylesheet
   Deep Navy + Warm Gold | Editorial Serif
   ============================================ */

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

:root {
    --navy-950: #070e1f;
    --navy-900: #0a1628;
    --navy-800: #0f1f38;
    --navy-700: #162a4a;
    --navy-600: #1d3557;
    --gold-500: #C9A84C;
    --gold-400: #D4B965;
    --gold-300: #E0CA80;
    --gold-200: #EDE0A8;
    --cream-50: #FAF8F4;
    --cream-100: #F5F0E8;
    --cream-200: #EDE5D8;
    --warm-gray-100: #F7F5F2;
    --warm-gray-200: #EDEAE5;
    --warm-gray-600: #6B6560;
    --warm-gray-700: #4A4540;
    --warm-gray-800: #2D2A27;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--warm-gray-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy-900);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 0.875rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-500); }

em {
    font-style: italic;
    color: var(--gold-500);
}

/* ---------- Section Eyebrow ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-500);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 3rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: var(--gold-500);
    color: var(--gold-300);
    background: rgba(201, 168, 76, 0.08);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
}

.logo-accent {
    color: var(--gold-500);
    font-style: italic;
}

.logo-light {
    color: #fff;
}

.logo-icon {
    color: var(--gold-500);
    flex-shrink: 0;
}

/* ---------- Nav ---------- */
.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: var(--transition);
}

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

.nav-menu a::after:hover {
    width: 100%;
}

.btn-nav {
    padding: 0.625rem 1.25rem !important;
    border: 1px solid var(--gold-500) !important;
    color: var(--gold-500) !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: var(--gold-500) !important;
    color: var(--navy-950) !important;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 14, 31, 0.6) 0%,
        rgba(10, 22, 40, 0.75) 50%,
        rgba(7, 14, 31, 0.9) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    max-width: 860px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-500);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-headline em {
    color: var(--gold-300);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: float 2.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Marquee ---------- */
.marquee {
    background: var(--navy-900);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    overflow: hidden;
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Collections ---------- */
.collections {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--cream-50);
}

.collections .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.collection-card {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-radius: 4px;
    background: var(--navy-800);
}

.collection-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-bg) center/cover no-repeat;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 14, 31, 0.85) 0%, rgba(7, 14, 31, 0.2) 60%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.collection-card:hover::before {
    transform: scale(1.05);
}

.collection-card:hover::after {
    background: linear-gradient(to top, rgba(7, 14, 31, 0.92) 0%, rgba(7, 14, 31, 0.3) 60%, transparent 100%);
}

.collection-card-content {
    position: relative;
    z-index: 2;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
}

.collection-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--gold-500);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.collection-card h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 0.5rem;
}

.collection-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.collection-link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-500);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.collection-link::after {
    content: '→';
    transition: transform var(--transition);
}

.collection-card:hover .collection-link::after {
    transform: translateX(4px);
}

/* ---------- About ---------- */
.about {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--cream-100);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    aspect-ratio: 7/9;
}

.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 40%;
    border: 1px solid var(--gold-500);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--warm-gray-700);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--warm-gray-200);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--navy-900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray-600);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--warm-gray-200);
}

/* ---------- Services ---------- */
.services {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--navy-900);
}

.services .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services .section-title {
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 4px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(201, 168, 76, 0.06);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--gold-500);
}

.service-card h3 {
    color: #fff;
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--cream-50);
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--warm-gray-200);
    border-radius: 4px;
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--gold-500);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.1);
}

.testimonial-quote {
    color: var(--gold-200);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--warm-gray-800);
    margin-bottom: 1.25rem;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-500);
}

/* ---------- Visit / Contact ---------- */
.visit {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--cream-100);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--warm-gray-200);
    border-radius: 50%;
    color: var(--gold-500);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray-600);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 1rem;
    color: var(--warm-gray-800);
    line-height: 1.6;
}

.contact-item a {
    color: var(--navy-900);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--gold-500);
}

.visit-cta .btn {
    width: 100%;
}

.visit-map {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.map-link {
    display: block;
    position: relative;
}

.map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/5;
    border-radius: 4px;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(7, 14, 31, 0.9), transparent);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.map-link:hover .map-overlay {
    background: linear-gradient(to top, rgba(7, 14, 31, 0.95), rgba(7, 14, 31, 0.5));
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-950);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--gold-500);
    margin-bottom: 1rem;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-contact li:not(:last-child) a {
    display: inline;
}

.footer-contact li:last-child {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

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

    .collection-card {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right var(--transition);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

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

    .collection-card {
        min-height: 320px;
    }

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

    .about-image {
        max-height: 50vh;
    }

    .about-image-accent {
        display: none;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
