:root {
    --primary-green: #183A32;
    --primary-cream: #F2E9D8;
    --light-cream: #FAF7F0;
    --black: #171717;
    --white: #FFFFFF;
    --muted-green: #61756E;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* 3D Shadows */
    --shadow-soft: 0 10px 30px rgba(24, 58, 50, 0.08);
    --shadow-float: 0 20px 40px rgba(24, 58, 50, 0.15);
    --shadow-inner: inset 0 2px 4px rgba(255, 255, 255, 0.5);
    --shadow-3d: 0 5px 0 #0d211c;
}

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

body {
    background-color: var(--primary-cream);
    color: var(--primary-green);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* --- Floating Animations --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* --- Buttons (3D Effect) --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 8px; /* Slightly rounded for 3D feel */
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-3d), 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: 0 5px 0 #0d211c, 0 10px 20px rgba(24, 58, 50, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #0d211c, 0 15px 25px rgba(24, 58, 50, 0.3);
}

.btn-primary:active {
    transform: translateY(5px);
    box-shadow: 0 0px 0 #0d211c, 0 2px 5px rgba(24, 58, 50, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-green);
    box-shadow: 0 5px 0 #ccc, 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #ccc, 0 15px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
    transform: translateY(5px);
    box-shadow: 0 0px 0 #ccc, 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background-color: var(--primary-green);
    color: var(--light-cream);
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1001;
}

/* --- Floating Glassmorphism Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    margin: 20px 5%;
    border-radius: 20px;
    background: rgba(242, 233, 216, 0.85); /* Transparent cream */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: var(--shadow-soft), var(--shadow-inner);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links > a, .dropdown > a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 5px;
}

.nav-links > a::after, .dropdown > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links > a:hover::after, .dropdown:hover > a::after {
    width: 100%;
}

/* Dropdown styling */
.dropdown {
    position: relative;
    display: inline-block;
    padding: 10px 0;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-float);
    border-radius: 12px;
    padding: 15px 0;
    z-index: 100;
}
.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    animation: slideDownCenter 0.3s ease forwards;
}
@keyframes slideDownCenter {
    from { transform: translateX(-50%) translateY(15px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.dropdown-content a {
    color: var(--primary-green);
    padding: 10px 20px;
    text-align: center;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.1em;
}
.dropdown-content a:hover {
    background-color: var(--light-cream);
}
.dropdown-content a::after {
    display: none;
}

.nav-logo h1 {
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.nav-icons a {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-green);
    cursor: pointer;
}

/* --- Hero Section (3D Depth & Hover Zoom) --- */
.hero {
    height: 85vh;
    margin: 0 2%;
    border-radius: 30px;
    background-color: rgba(24, 58, 50, 0.1); /* Subtle fallback behind transparent image */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-cream);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.1), var(--shadow-float);
    animation: float-slow 6s ease-in-out infinite;
    cursor: pointer;
}

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

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05); /* Slow zoom effect while sliding */
}

.hero:hover .hero-slide.active {
    transform: scale(1.1);
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(24, 58, 50, 0.9) 0%, rgba(24, 58, 50, 0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

/* --- Infinite Marquee --- */
.marquee-container {
    width: 100%;
    background-color: var(--primary-green);
    color: var(--primary-cream);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    border-top: 2px solid var(--primary-cream);
    border-bottom: 2px solid var(--primary-cream);
    z-index: 10;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.marquee-content span {
    padding: 0 30px;
}

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

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    perspective: 1000px; /* Enable 3D space */
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transform: translateZ(50px); /* 3D pop out */
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 0 5px 10px rgba(0,0,0,0.3);
    transform: translateZ(30px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    transform: translateZ(40px);
}

/* --- Featured Collection (Floating Cards) --- */
.section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px rgba(24, 58, 50, 0.1);
}

.section-title p {
    color: var(--muted-green);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy 3D transition */
    position: relative;
    overflow: visible; /* Changed to visible for shadow */
    box-shadow: var(--shadow-soft);
    padding-bottom: 20px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: rgba(24, 58, 50, 0.05);
    border-radius: 15px;
    z-index: -1;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-float);
}

.product-card:hover::before {
    transform: translate(15px, 15px);
    background: rgba(24, 58, 50, 0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    background-color: #eee;
    border-radius: 15px 15px 0 0;
}

.product-info {
    padding: 25px 20px 10px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-price {
    font-weight: 700;
    color: var(--muted-green);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.product-card .quick-add {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 80%;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 5px 0 #0d211c, 0 10px 20px rgba(0,0,0,0.2);
}

.product-card:hover .quick-add {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --- Categories (3D Tilt Effect) --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 5%;
}

.category-card {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.category-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: -20px 20px 40px rgba(24, 58, 50, 0.2);
    z-index: 10;
}

.category-card h3 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    letter-spacing: 0.2em;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transform: translateZ(50px); /* Pops text out of the background */
    transition: transform 0.5s ease;
}

.category-card:hover h3 {
    transform: translateZ(80px) scale(1.1);
}

/* --- Brand Story --- */
.brand-story {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: var(--primary-green);
    color: var(--primary-cream);
    margin: 100px 5%;
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-float);
    position: relative;
}

.brand-story::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: -20px;
    background: rgba(24, 58, 50, 0.1);
    border-radius: 30px;
    z-index: -1;
}

.brand-story .story-image {
    flex: 1;
    height: 500px;
    background-color: #132e28;
    border-radius: 20px;
    box-shadow: 20px 20px 0 rgba(242, 233, 216, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.brand-story:hover .story-image {
    transform: rotate(0deg) scale(1.02);
}

.brand-story .story-content {
    flex: 1;
}

.story-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.story-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* --- Form Elements --- */
input[type="email"] {
    border-radius: 8px 0 0 8px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}
.newsletter-form button {
    border-radius: 0 8px 8px 0;
    box-shadow: none; /* Reset 3D shadow for this specific joined button */
}

/* --- Footer --- */
.footer {
    background-color: var(--black);
    color: var(--primary-cream);
    padding: 80px 5% 30px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
    color: var(--muted-green);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px; /* Tiny slide effect */
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--primary-cream);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.preloader img {
    width: 250px;
    margin: -80px 0;
    animation: pulse 1.5s infinite;
}
.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* --- IG Grid --- */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 5%;
}
.ig-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.4s ease;
}
.ig-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

/* --- Footer Bottom & Payment --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.payment-methods span {
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    color: var(--muted-green);
}

/* --- Floating WA Button --- */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-float);
    z-index: 1000;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wa-float:hover {
    transform: scale(1.15) rotate(-10deg);
    color: white;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-story { flex-direction: column; padding: 40px; }
    .brand-story .story-image { width: 100%; height: 400px; }
    .ig-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .navbar { top: 10px; margin: 10px 3%; border-radius: 15px; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .category-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .hero-content h2 { font-size: 2.5rem; }
}
