/* 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);
}

/* Info Cards — Editorial Luxury Strip */
.info-cards {
    padding: 5rem 0 6rem;
    background-color: transparent;
    color: var(--text-color);
    border-top: 1px solid rgba(40,3,9,0.12);
    border-bottom: 1px solid rgba(40,3,9,0.12);
}

.cards-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 3rem;
}

.info-card {
    padding: 0 2.4rem 0 2rem;
    border-right: 1px solid rgba(40,3,9,0.12);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms cubic-bezier(.22,.9,.18,1), transform 700ms cubic-bezier(.22,.9,.18,1);
}

.info-card:first-child {
    padding-left: 0;
}

.info-card:last-child {
    border-right: none;
    padding-right: 0;
}

.card-num {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    font-weight: 500;
    color: var(--accent-color);
    opacity: 0.38;
    margin-bottom: 1.6rem;
}

.info-card h4 {
    font-size: 1.05rem;
    letter-spacing: 0.13em;
    font-weight: 600;
    line-height: 1.3;
    color: var(--accent-color);
    margin-bottom: 0;
}

.info-card h4::after {
    content: "";
    display: block;
    width: 1.8rem;
    height: 1px;
    background-color: var(--accent-color);
    opacity: 0.3;
    margin-top: 1rem;
    margin-bottom: 1rem;
    transition: width 450ms cubic-bezier(.22,.9,.18,1), opacity 400ms ease;
}

.info-card p {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    line-height: 1.75;
    opacity: 0.5;
    font-weight: 400;
    text-transform: none;
    transition: opacity 300ms ease;
}

@keyframes cardIn {
    from { transform: translateY(14px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.info-card:nth-child(1) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.05s forwards; }
.info-card:nth-child(2) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.15s forwards; }
.info-card:nth-child(3) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.25s forwards; }
.info-card:nth-child(4) { animation: cardIn 700ms cubic-bezier(.22,.9,.18,1) 0.35s forwards; }

.info-card:hover h4::after {
    width: 3rem;
    opacity: 0.6;
}

.info-card:hover p {
    opacity: 0.75;
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .info-card, .info-card h4, .info-card h4::after, .info-card p {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 1024px) {
    .cards-inner {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
    .info-card {
        padding: 2.5rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(40,3,9,0.12);
    }
    .info-card:nth-child(odd) {
        border-right: 1px solid rgba(40,3,9,0.12);
    }
    .info-card:nth-last-child(-n+2):nth-child(odd),
    .info-card:last-child {
        border-bottom: none;
    }
    .info-card:first-child { padding-left: 2rem; }
}

@media (max-width: 600px) {
    .info-cards { padding: 3.5rem 0 4rem; }
    .cards-inner { grid-template-columns: 1fr; padding: 0 1.5rem; }
    .info-card,
    .info-card:nth-child(odd) {
        padding: 2rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(40,3,9,0.12);
    }
    .info-card:last-child { border-bottom: none; }
    .info-card:first-child { padding-left: 0; }
}

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

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}
.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: transform 0.5s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 3px rgba(40, 3, 9, 0.04);
}

.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;
}

.product-price {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.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-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(40, 3, 9, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 1rem;
}

.ig-link-btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
}

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

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

 .ig-item {
     /* fixed width so every carousel tile is identical */
     flex: 0 0 300px;
     height: 400px; /* restored original height */
     overflow: hidden;
 }

.ig-item img {
    display: block;
    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(--accent-color);
    color: var(--bg-color);
}

.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: 2.25rem;
    right: 2.25rem;
    background: linear-gradient(180deg, var(--accent-color), #3b0710);
    color: var(--bg-color);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2200;
    box-shadow: 0 10px 30px rgba(40,3,9,0.22), 0 22px 60px rgba(40,3,9,0.12);
    transition: transform 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s ease;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    will-change: transform, box-shadow;
    animation: whatsapp-float 3.6s ease-in-out infinite;
    overflow: visible;
}

.whatsapp-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 35%);
    box-shadow: 0 0 0 6px rgba(40,3,9,0.06);
    z-index: -1;
    animation: whatsapp-pulse 2.6s infinite ease-out;
    pointer-events: none;
}

.whatsapp-btn svg {
    width: 34px;
    height: 34px;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 6px 10px rgba(40,3,9,0.22));
}

.whatsapp-btn:hover, .whatsapp-btn:focus {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 28px 80px rgba(40,3,9,0.32), 0 10px 30px rgba(40,3,9,0.14);
}

.whatsapp-btn:hover svg { transform: rotate(-8deg) scale(1.02); }

.whatsapp-btn:focus-visible {
    outline: 3px solid rgba(255,255,255,0.12);
    outline-offset: 6px;
}

@keyframes whatsapp-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes whatsapp-pulse {
    0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.7; }
    60% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
    100% { opacity: 0; }
}

/* 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);
}

/* Contact page specific hero (burgundy background, white text like footer) */
.hero.small-hero.contact-hero {
    background-color: var(--accent-color);
}

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

.hero.small-hero.contact-hero .hero-overlay {
    background: none;
}

.hero.small-hero.contact-hero .title {
    color: var(--bg-color);
}

