/* ============================================
   GRANDPA'S ANTIQUES — Premium Dark Luxury
   Midnight Blue + Mint + Gold Palette
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight-950: #050d1a;
    --midnight-900: #0a1628;
    --midnight-800: #0f2137;
    --midnight-700: #162d4a;
    --midnight-600: #1e3a5c;
    
    --mint-400: #5eead4;
    --mint-500: #2dd4bf;
    --mint-600: #14b8a6;
    
    --gold-400: #d4af5a;
    --gold-500: #c9a84c;
    --gold-600: #b8943f;
    
    --cream-100: #f8f6f0;
    --cream-200: #ede9de;
    --cream-300: #d4cfc0;
    
    --text-primary: #f0ece0;
    --text-secondary: #a8a498;
    --text-muted: #6b6760;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--midnight-950);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background-color 0.4s var(--ease-out), 
                box-shadow 0.4s var(--ease-out),
                padding 0.3s var(--ease-out);
}

.header.scrolled {
    background-color: rgba(5, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

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

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-500);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    padding: 10px 22px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 4px;
    color: var(--gold-500);
    transition: background-color 0.3s ease, 
                border-color 0.3s ease,
                color 0.3s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: rgba(201, 168, 76, 0.1);
    border-color: var(--gold-500);
    color: var(--gold-400);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: transform 0.3s var(--ease-out), 
                opacity 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 13, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--gold-400);
}

.mobile-nav-cta {
    margin-top: 16px;
    padding: 14px 36px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero:hover .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(5, 13, 26, 0.75) 0%, 
            rgba(10, 22, 40, 0.65) 40%, 
            rgba(10, 22, 40, 0.80) 70%, 
            rgba(5, 13, 26, 0.95) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--gold-500);
    color: var(--midnight-950);
    border: 1.5px solid var(--gold-500);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(240, 236, 224, 0.25);
}

.btn-outline:hover {
    border-color: var(--mint-500);
    color: var(--mint-400);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gold-500);
    opacity: 0.6;
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    margin: 0 auto;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
    padding: 120px 0;
    background: var(--midnight-950);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--gold-500));
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.category-card {
    background: var(--midnight-900);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.08);
    transition: transform 0.4s var(--ease-out), 
                box-shadow 0.4s var(--ease-out),
                border-color 0.4s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.2);
}

.category-img {
    height: 220px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.category-card:hover .category-img img {
    transform: scale(1.08);
}

.category-body {
    padding: 28px;
}

.category-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.category-body p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--midnight-900);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.about-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 10px;
    overflow: hidden;
    border: 4px solid var(--midnight-900);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-img-secondary img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--midnight-800);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 10px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold-500);
    line-height: 1;
    margin-bottom: 6px;
}

.badge-text {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
}

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content .gold-line {
    margin: 0;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-top: 28px;
}

.about-text:not(:last-child) {
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 44px;
}

.about-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    background: rgba(201, 168, 76, 0.05);
}

.about-feature h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
    padding: 100px 0;
    background: var(--midnight-800);
    position: relative;
    overflow: hidden;
}

.testimonial::before,
.testimonial::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial::before {
    top: -200px;
    left: -100px;
}

.testimonial::after {
    bottom: -200px;
    right: -100px;
}

.testimonial-inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    margin: 0 auto 32px;
    opacity: 0.5;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.65;
    color: var(--cream-200);
    margin-bottom: 36px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-line {
    width: 40px;
    height: 1px;
    background: var(--gold-500);
}

.author-name {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 120px 0;
    background: var(--midnight-950);
    position: relative;
}

.visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.visit-info .section-eyebrow {
    text-align: left;
}

.visit-info .section-title {
    text-align: left;
}

.visit-info .gold-line {
    margin: 0;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 44px;
    margin-bottom: 44px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    background: rgba(201, 168, 76, 0.05);
}

.contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-value a {
    color: var(--gold-500);
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: var(--gold-400);
}

.visit-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 0;
    background: var(--midnight-900);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-contact a {
    color: var(--gold-500);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(240, 236, 224, 0.06);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 60px;
    }
    
    .about-img-secondary {
        right: -20px;
        bottom: -30px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-img-main img {
        height: 360px;
    }
    
    .about-img-secondary {
        width: 60%;
        right: -10px;
        bottom: -20px;
    }
    
    .about-content .section-eyebrow,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content .gold-line {
        margin: 0 auto;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-features {
        align-items: center;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-info .section-eyebrow,
    .visit-info .section-title {
        text-align: center;
    }
    
    .visit-info .gold-line {
        margin: 0 auto;
    }
    
    .visit-actions {
        justify-content: center;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        position: relative;
        width: 100%;
        right: 0;
        bottom: 0;
        margin-top: 16px;
    }
    
    .about-images {
        display: flex;
        flex-direction: column;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
