@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Outfit:wght@100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
    --primary: #013220;
    --primary-light: #02452c;
    --accent: #f6e2b3;
    --accent-light: #fff2cc;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #fbf9f4;
    --text-muted: rgba(1, 50, 32, 0.7);
    --text-dark: #013220;
    --transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    --shadow: 0 15px 40px rgba(1, 50, 32, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --max-width: 1240px;
    --section-padding: 100px 4%;
}

/* BUTTON COMPONENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-glass:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 12px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* =========================
   NAVBAR
 ========================= */

.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: var(--max-width);
    padding: 14px 30px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Scrolled/Active States */
.navbar.dark-navbar {
    background: rgba(1, 50, 32, 0.92);
    border: 1px solid rgba(246, 226, 179, 0.2);
    box-shadow: 0 10px 40px rgba(1, 50, 32, 0.35);
}

.navbar.light-navbar {
    background: rgba(251, 249, 244, 0.92);
    border: 1px solid rgba(1, 50, 32, 0.15);
    box-shadow: 0 10px 40px rgba(1, 50, 32, 0.05);
}

/* Brand Logo */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    justify-self: start;
    color: var(--white);
}

.logo:hover {
    letter-spacing: 4px;
    color: var(--accent) !important;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-self: center;
}

.nav-item {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    color: var(--white);
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: var(--transition);
}

.nav-item:hover::after {
    width: 80%;
}

/* Navigation Extras (Wishlist/Mobile) */
.nav-extras {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
}

/* Wishlist Nav Button */
.wishlist-nav {
    display: inline-flex;
    align-items: center;
    position: relative;
    color: inherit;
    transition: var(--transition);
}

.wishlist-icon {
    stroke: currentColor;
    fill: none;
    transition: var(--transition);
}

.wishlist-nav:hover {
    color: var(--accent);
    transform: scale(1.08);
}

#wishlistCount {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--primary);
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    transition: var(--transition);
}

/* Color transitions for different navbar themes */

/* DEFAULT NAVBAR STATE (no background) */
.navbar:not(.dark-navbar):not(.light-navbar) .logo,
.navbar:not(.dark-navbar):not(.light-navbar) .nav-item,
.navbar:not(.dark-navbar):not(.light-navbar) .nav-extras {
    color: var(--white);
}

/* DARK NAVBAR STATE (Deep Forest Green) */
.navbar.dark-navbar .logo,
.navbar.dark-navbar .nav-item,
.navbar.dark-navbar .nav-extras {
    color: var(--accent) !important;
}

.navbar.dark-navbar .nav-item:hover,
.navbar.dark-navbar .logo:hover,
.navbar.dark-navbar .wishlist-nav:hover {
    color: var(--white) !important;
}

.navbar.dark-navbar #wishlistCount {
    background: var(--primary);
    color: var(--accent);
    border: 1px solid var(--accent);
}

/* LIGHT NAVBAR STATE (Warm Luxury Beige) */
.navbar.light-navbar .logo,
.navbar.light-navbar .nav-item,
.navbar.light-navbar .nav-extras {
    color: #013220 !important;
}

.navbar.light-navbar .nav-item:hover,
.navbar.light-navbar .logo:hover,
.navbar.light-navbar .wishlist-nav:hover {
    color: var(--accent) !important;
}

.navbar.light-navbar #wishlistCount {
    background: var(--accent);
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    transition: var(--transition);
}


/* FOOTER */

.footer {
    background: #013220;
    color: #f6e2b3;
    padding: 80px 4% 30px;
    border-top: 1px solid rgba(246, 226, 179, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(246, 226, 179, 0.2);
}

.footer-brand {
    max-width: 420px;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 34px;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
    color: #f6e2b3;
}

.footer-brand p {
    color: rgba(246, 226, 179, 0.8);
    line-height: 1.9;
    font-size: 16px;
}

.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(246, 226, 179, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6e2b3;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(246, 226, 179, 0.2);
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: #f6e2b3;
    color: #013220;
    border-color: #f6e2b3;
}

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

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: #f6e2b3;
}

.footer-column a {
    display: block;
    color: rgba(246, 226, 179, 0.8);
    margin-bottom: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 28px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(246, 226, 179, 0.6);
    font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .footer {
        padding: 60px 7% 25px;
    }

    .footer-top {
        flex-direction: column;
        gap: 50px;
    }

    .footer-links {
        gap: 50px;
    }

    .footer-brand h2 {
        font-size: 34px;
    }

}

/* UTILITIES */
.gold-text {
    color: var(--gold);
    font-weight: 700;
}

.accent-text {
    color: var(--accent);
}

.animate-up {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}


.animate-up.visible,
.animate-up.fade-in-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* =========================
   MOBILE NAVBAR & BASE
========================= */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
    }

    .navbar {
        padding: 10px 0;
    }

    .logo {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .logo:hover {
        letter-spacing: 3px;
    }

    .nav-extras {
        gap: 14px !important;
    }

    body {
        font-size: 15px;
    }
}