/* ===== GRATITUD CHOCOLATES — PREMIUM REDESIGN ===== */
/* Brand Kit: #807b4b | #482e1d | #e7dcc6 | #231F20 */
/* Fonts: The Season (titles) | Century Gothic (body) | Handsome Regular (secondary) */

@font-face {
    font-family: 'The Season';
    src: url('../fonts/the-seasons/Demo_Fonts/Fontspring-DEMO-theseasons-lt.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'The Season';
    src: url('../fonts/the-seasons/Demo_Fonts/Fontspring-DEMO-theseasons-ltit.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'The Season';
    src: url('../fonts/the-seasons/Demo_Fonts/Fontspring-DEMO-theseasons-reg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'The Season';
    src: url('../fonts/the-seasons/Demo_Fonts/Fontspring-DEMO-theseasons-it.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'The Season';
    src: url('../fonts/the-seasons/Demo_Fonts/Fontspring-DEMO-theseasons-bd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'The Season';
    src: url('../fonts/the-seasons/Demo_Fonts/Fontspring-DEMO-theseasons-bdit.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Handsome Regular';
    src: url('../fonts/handsome/handsome.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --cream: #e7dcc6;
    --brown: #482e1d;
    --olive: #807b4b;
    --ink: #231F20;
    --text: #4A412A;
    --gold: #C4A06A;
    --white: #FDFBF7;
    --shadow-sm: 0 2px 12px rgba(72,46,29,0.06);
    --shadow-md: 0 6px 24px rgba(72,46,29,0.1);
    --shadow-lg: 0 16px 48px rgba(72,46,29,0.14);
    --radius: 16px;
    --radius-sm: 8px;
    --font-display: 'The Season', 'Georgia', serif;
    --font-body: 'Century Gothic', 'URW Gothic', 'Century Gothic', sans-serif;
    --font-secondary: 'Handsome Regular', cursive;
    --ease: cubic-bezier(0.45, 0, 0.1, 1);
}

/* ===== BASE ===== */
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: var(--brown); color: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== SCROLL PROGRESS ===== */
#scrollProgress {
    position: fixed; top: 0; left: 0; z-index: 9999;
    height: 3px; background: var(--olive);
    width: 0%; transition: width 0.1s linear;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0; transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(231,220,198,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(72,46,29,0.06);
}
.navbar.scrolled .logo-text { color: var(--brown); }
.navbar.scrolled .logo-accent { color: var(--olive); }
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a::after { background: var(--olive); }
.navbar.scrolled .nav-links a:hover { color: var(--olive); }

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

.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 600;
    color: var(--white); transition: color 0.4s var(--ease);
}
.logo-accent { color: var(--gold); transition: color 0.4s var(--ease); }

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    position: relative; padding-bottom: 4px;
    transition: color 0.3s var(--ease);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1.5px; background: var(--gold);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--olive); color: var(--cream) !important;
    padding: 10px 22px !important; border-radius: 50px;
    letter-spacing: 0.5px !important; font-size: 0.75rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--brown) !important; color: var(--cream) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--brown); border-radius: 2px; transition: 0.3s var(--ease); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(135deg, #2a1a10 0%, var(--brown) 40%, #5a4030 100%);
}
.hero-pattern {
    position: absolute; inset: 0; z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(72,46,29,0.7) 0%, rgba(72,46,29,0.3) 50%, transparent 100%);
}
.hero-video-container { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }

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

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(128,123,75,0.15);
    backdrop-filter: blur(12px); border: 1px solid rgba(128,123,75,0.25);
    padding: 8px 20px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 500; color: var(--olive);
    margin-bottom: 28px; letter-spacing: 1px;
    opacity: 0; transform: translateY(15px);
    animation: fadeUp 0.8s var(--ease) forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400; color: var(--white);
    line-height: 1.05; margin-bottom: 4px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}
.hero-sub {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 400; color: var(--gold);
    display: block; margin-bottom: 8px;
}

.hero-divider {
    width: 60px; height: 2px; background: var(--olive);
    margin: 16px 0 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.8; max-width: 520px; margin-bottom: 36px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease) 0.55s forwards; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border: none; border-radius: 50px;
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
    cursor: pointer; transition: all 0.4s var(--ease);
    letter-spacing: 0.5px;
}
.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover { background: var(--brown); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: var(--olive); transform: translateY(-3px); }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ===== SECTION ===== */
.section { padding: 100px 0; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--olive); margin-bottom: 12px;
}

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

.section-desc {
    font-size: 1rem; color: var(--text);
    max-width: 560px; line-height: 1.8;
}
.section-header.center .section-desc { margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-image-frame {
    position: relative; border-radius: var(--radius);
    overflow: hidden;
}
.about-image-frame img { width: 100%; height: 450px; object-fit: cover; }
.about-image-frame::before {
    content: ''; position: absolute; inset: 0;
    border: 2px solid var(--olive); border-radius: var(--radius);
    transform: translate(10px, 10px); z-index: -1; opacity: 0.4;
}

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat {
    text-align: center; padding: 24px 16px;
    background: var(--white); border-radius: var(--radius-sm);
    border: 1px solid rgba(72,46,29,0.04);
}
.stat-number { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--olive); }
.stat-label { font-size: 0.78rem; color: var(--text); font-weight: 500; }

/* ===== LOCATIONS ===== */
.locations { background: var(--cream); }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.location-card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 28px; text-align: center;
    border: 1px solid rgba(72,46,29,0.04);
    transition: all 0.4s var(--ease);
}
.location-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.location-icon { font-size: 2.4rem; margin-bottom: 14px; }
.location-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--brown); margin-bottom: 10px; }
.location-hours { font-size: 0.95rem; font-weight: 500; color: var(--olive); }

/* ===== PRODUCTS ===== */
.products { background: var(--white); }

.product-tabs {
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.tab {
    padding: 10px 24px; border: none; border-radius: 50px;
    background: transparent; font-family: var(--font-body);
    font-size: 0.82rem; font-weight: 500; color: var(--text);
    cursor: pointer; transition: all 0.3s var(--ease);
    border: 1.5px solid rgba(72,46,29,0.08);
}
.tab:hover { border-color: var(--olive); color: var(--olive); }
.tab.active { background: var(--olive); border-color: var(--olive); color: var(--white); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--cream); border-radius: var(--radius);
    overflow: hidden; transition: all 0.4s var(--ease);
    opacity: 0; transform: translateY(20px);
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.product-image {
    width: 90%;
    height: 220px;
    object-fit: contain;
    margin: 15px auto 0 auto;
    background: var(--ink);
    border-radius: var(--radius-sm);
    display: block;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-image { transform: scale(1.05); }

.product-info { padding: 20px; }
.product-category { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--olive); margin-bottom: 6px; }
.product-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--brown); margin-bottom: 6px; }
.product-desc { font-size: 0.85rem; color: var(--text); line-height: 1.6; margin-bottom: 14px; }

.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--brown); }
.product-btn {
    background: var(--brown); color: var(--cream);
    border: none; padding: 9px 18px; border-radius: 50px;
    font-weight: 500; font-size: 0.78rem; cursor: pointer;
    transition: all 0.3s var(--ease); text-decoration: none;
}
.product-btn:hover { background: var(--olive); transform: scale(1.05); }

/* ===== CTA ===== */
.cta { background: var(--brown); }
.cta-card { text-align: center; padding: 80px 40px; }
.cta-icon { font-size: 3.6rem; display: block; margin-bottom: 20px; filter: grayscale(0.2); }
.cta-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--cream); margin-bottom: 14px; font-weight: 400; }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 32px; }

/* ===== CONTACT ===== */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.9rem; color: var(--brown); margin-bottom: 2px; font-weight: 600; }
.contact-item p { font-size: 0.9rem; color: var(--text); }
.contact-item a { color: var(--olive); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
    background: var(--white); padding: 36px;
    border-radius: var(--radius); border: 1px solid rgba(72,46,29,0.04);
}
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px 16px;
    border: 1.5px solid rgba(72,46,29,0.06); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.9rem;
    background: var(--cream); transition: all 0.3s var(--ease);
    margin-bottom: 14px; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--olive); box-shadow: 0 0 0 3px rgba(128,123,75,0.08);
    background: var(--white);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--ink); padding: 60px 0 0;
}
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); font-weight: 500; display: block; margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; }
.footer-info { margin-top: 16px; }
.footer-info p { color: rgba(255,255,255,0.6); font-size: 0.82rem; line-height: 1.6; margin-bottom: 10px; }
.footer-info strong { color: var(--olive); }

.footer-links h4, .footer-social h4 {
    color: var(--olive); font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; font-weight: 600;
}
.footer-links a {
    display: block; color: rgba(255,255,255,0.5);
    font-size: 0.85rem; margin-bottom: 10px;
    transition: 0.3s var(--ease);
}
.footer-links a:hover { color: var(--cream); padding-left: 4px; }

.social-icons { display: flex; gap: 14px; }
.social-icons a {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); border-radius: 50%;
    font-size: 1.1rem; transition: 0.3s var(--ease);
}
.social-icons a:hover { background: var(--olive); transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 0; text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 16px; right: 16px;
        background: rgba(231,220,198,0.98); backdrop-filter: blur(20px);
        border-radius: var(--radius-sm); padding: 20px;
        flex-direction: column; gap: 12px;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active { display: flex; }
    .navbar:not(.scrolled) .nav-links a { color: var(--text); }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .hero-content { padding: 100px 0 60px; }

    .products-grid { grid-template-columns: 1fr; }
    .locations-grid { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 28px; }
    .contact-form { padding: 24px; }

    .hero-actions .btn { flex: 1; justify-content: center; }
    .hero-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-desc { font-size: 0.95rem; }
    .product-tabs { gap: 6px; }
    .tab { padding: 8px 16px; font-size: 0.75rem; }
    .cta-card { padding: 48px 24px; }
}
