/* Base Variables */
:root {
    --bg-color: #fdffff;
    --accent-color: #280309; /* Deep Maroon / Burgundy */
    --text-color: #280309;
    --light-grey: #f4f6f8;
    --border-width: 2px;
}

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

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Typography styles */
.logo-text, h1, h2, h3, h4, .quote, .btn {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h1.title {
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p.subtitle, p.section-desc {
    font-size: 1rem;
    letter-spacing: 0.2em;
    font-weight: 400;
    opacity: 0.8;
}

/* Framing Borders */
.frame-border {
    position: fixed;
    background-color: var(--accent-color);
    z-index: 9999;
    pointer-events: none;
}
.frame-top { top: 0; left: 0; width: 100%; height: var(--border-width); }
.frame-bottom { bottom: 0; left: 0; width: 100%; height: var(--border-width); }
.frame-left { top: 0; left: 0; width: var(--border-width); height: 100%; }
.frame-right { top: 0; right: 0; width: var(--border-width); height: 100%; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: var(--bg-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* for parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 3, 9, 0.3); /* Subtle dark red overlay */
}

.hero-content {
    color: var(--bg-color);
    z-index: 1;
    padding: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--bg-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--bg-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--bg-color);
}

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

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Marquee */
.marquee-section {
    padding: 2rem 0;
    background-color: var(--accent-color);
    color: var(--bg-color);
    overflow: hidden;
    white-space: nowrap;
    border-bottom: var(--border-width) solid var(--accent-color);
}

.marquee-content {
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    animation: marquee 20s linear infinite;
}

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

/* Products Section */
.products {
    padding: 8rem 4rem;
}

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

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-image-wrap {
    overflow: hidden;
    background-color: var(--light-grey);
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: all 0.5s ease;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding-top: 1.5rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.center-btn {
    text-align: center;
    margin-top: 4rem;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 8rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.philosophy-container {
    max-width: 900px;
}

.quote {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 2rem;
}

/* Instagram Section */
.instagram-section {
    padding: 8rem 0;
    overflow: hidden;
}

.ig-carousel-container {
    padding-top: 2rem;
}

.ig-carousel {
    display: flex;
    gap: 2rem;
    padding: 0 4rem;
    /* We will animate this horizontally with GSAP in js */
}

.ig-item {
    min-width: 300px;
    height: 400px;
    flex-shrink: 0;
    overflow: hidden;
}

.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 6rem 4rem 2rem 4rem;
    background-color: var(--light-grey);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col a {
    color: inherit;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(40, 3, 9, 0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Sticky WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(40, 3, 9, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Mobile Menu Overlay & Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1000;
}

.menu-toggle .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--bg-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle .line:first-child {
    top: 4px;
}

.menu-toggle .line:last-child {
    bottom: 4px;
}

.menu-open .menu-toggle .line:first-child {
    transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle .line:last-child {
    transform: translateY(-5px) rotate(-45deg);
}

.menu-open .navbar {
    mix-blend-mode: normal;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--accent-color);
    color: var(--bg-color);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-open .mobile-menu {
    transform: translateY(0);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 3rem;
}

.mobile-link {
    color: inherit;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(20px);
}

/* Responsive */
@media (max-width: 768px) {
    h1.title {
        font-size: 3rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .quote {
        font-size: 1.5rem;
    }
    .navbar {
        padding: 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .products, .philosophy, .instagram-section {
        padding: 4rem 2rem;
    }
    .footer {
        padding: 4rem 2rem 2rem 2rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Inner Pages Styles */
.hero.small-hero {
    height: 60vh;
    min-height: 400px;
    background-color: var(--light-grey);
    padding-top: 100px;
}

.hero.small-hero .hero-content {
    color: var(--accent-color);
}

.hero.small-hero .hero-image {
    object-position: center 30%;
}

.page-content {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.filter-btn:hover, .filter-btn.active {
    opacity: 1;
    border-bottom: 2px solid var(--accent-color);
}

.policy-block {
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.policy-block h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.policy-block p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--light-grey);
    border: 1px solid var(--bg-color);
    font-family: inherit;
    color: var(--text-color);
    font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
}

.contact-form .btn:hover {
    background-color: var(--bg-color);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

