/* Amaryn - Main Stylesheet
   ========================= */

:root {
    --cream: #fefaf6;
    --cream-dark: #EAE6DF;
    --taupe: #9f746a;
    --taupe-dark: #8a635a;
    --charcoal: #3D3731;
    --warm-gray: #8B7F73;
    --gold: #C9A86C;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
nav, .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(254, 250, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(159, 116, 106, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 60px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.nav-logo {
    height: 45px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: var(--taupe);
    border-bottom: 2px solid var(--taupe);
    padding-bottom: 5px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: 1px solid rgba(159, 116, 106, 0.1);
    z-index: 100;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--charcoal) !important;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: none;
    transition: all 0.2s ease;
    border-bottom: none !important;
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--taupe) !important;
    padding-left: 30px;
}

.nav-cta {
    padding: 14px 28px;
    background: var(--taupe);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.nav-cta:hover {
    background: var(--taupe-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(159, 116, 106, 0.3);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 120;
    position: relative;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Spacer - creates space below fixed navbar */
.hero-spacer {
    height: 90px;
    padding: 0px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Panels */
.mobile-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 30px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.mobile-panel-sub {
    transform: translateX(100%);
}

.mobile-panel-sub.active {
    transform: translateX(0);
}

.mobile-panel.hidden {
    transform: translateX(-100%);
}

/* Mobile Links */
.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    border-bottom: 1px solid rgba(159, 116, 106, 0.1);
    background: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--taupe);
}

.mobile-has-arrow svg {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

/* Mobile Back Button */
.mobile-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    color: var(--taupe);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    background: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.mobile-back svg {
    width: 20px;
    height: 20px;
}

.mobile-panel-title {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(159, 116, 106, 0.15);
}

/* Mobile CTA */
.mobile-cta {
    margin-top: auto;
    padding: 18px 30px !important;
    background: var(--taupe) !important;
    color: white !important;
    text-align: center;
    justify-content: center !important;
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: none !important;
}

.mobile-cta:hover {
    background: var(--taupe-dark) !important;
}

/* Buttons */
.btn {
    padding: 18px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--taupe);
    color: white;
}

.btn-primary:hover {
    background: var(--taupe-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(159, 116, 106, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--cream);
    transform: translateY(-3px);
}

/* Gift Banner */
.gift-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--taupe) 0%, var(--taupe-dark) 100%);
    border-radius: 15px;
    margin-bottom: 30px;
    color: white;
    flex-wrap: wrap;
}

.gift-svg {
    flex-shrink: 0;
}

.gift-banner p {
    font-size: 0.95rem;
    margin: 0;
}

.gift-btn {
    padding: 10px 24px;
    background: white;
    color: var(--taupe);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.gift-btn:hover {
    transform: scale(1.05);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    color: var(--taupe);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
}

.section-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--warm-gray);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--taupe), var(--gold));
    margin: 30px auto;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: white;
    padding: 80px 60px 50px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

footer .logo, footer .footer-logo {
    color: white;
    font-size: 2rem;
    margin-bottom: 40px;
    display: block;
}

.footer-logo {
    height: 45px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin: 0 auto 40px;
}

footer p, .copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.footer-copy {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social a, .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.footer-social a:hover, .social-btn:hover {
    background: var(--taupe);
    border-color: var(--taupe);
    color: white;
    transform: translateY(-3px);
}

.footer-social svg, .social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-btn span {
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

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

/* Responsive Base */
@media (max-width: 768px) {
    nav, .navbar {
        padding: 15px 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: flex;
    }

    footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 24px;
    }

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

    .social-btn {
        width: 100%;
        justify-content: center;
    }
}
