/* ========================================
   BLEND — Custom Styles
   Charcoal + Coral | Vibrant Modern
======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   GEOMETRIC BACKGROUND SHAPES
======================================== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #E85D4A;
    top: -150px;
    right: -100px;
    opacity: 0.07;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #E85D4A;
    bottom: 20%;
    left: 5%;
    border-radius: 32px;
    transform: rotate(15deg);
    opacity: 0.06;
}

.geo-circle-2 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #E85D4A;
    top: 15%;
    left: 40%;
    opacity: 0.05;
}

.geo-rect-1 {
    width: 300px;
    height: 80px;
    background: #E85D4A;
    bottom: 10%;
    right: 5%;
    border-radius: 20px;
    transform: rotate(-10deg);
    opacity: 0.05;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #E85D4A;
    top: 40%;
    left: 2%;
    opacity: 0.06;
    transform: rotate(25deg);
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 2px solid #E85D4A;
    bottom: -200px;
    right: -100px;
    opacity: 0.1;
}

.geo-square-2 {
    width: 150px;
    height: 150px;
    background: #E85D4A;
    top: 10%;
    left: 8%;
    border-radius: 24px;
    transform: rotate(-20deg);
    opacity: 0.06;
}

.geo-rect-2 {
    width: 250px;
    height: 60px;
    background: #E85D4A;
    top: 15%;
    right: 10%;
    border-radius: 16px;
    transform: rotate(8deg);
    opacity: 0.05;
}

.geo-circle-4 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #E85D4A;
    bottom: -50px;
    left: -50px;
    opacity: 0.05;
}

.geo-circle-5 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid #E85D4A;
    top: -100px;
    left: -100px;
    opacity: 0.08;
}

.geo-square-3 {
    width: 100px;
    height: 100px;
    background: #E85D4A;
    bottom: 15%;
    right: 5%;
    border-radius: 20px;
    transform: rotate(30deg);
    opacity: 0.07;
}

/* ========================================
   NAVBAR
======================================== */
#navbar {
    background: rgba(253, 248, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#navbar.scrolled {
    background: rgba(253, 248, 244, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* ========================================
   MOBILE MENU
======================================== */
.menu-line {
    display: block;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu.open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* ========================================
   HERO SCROLL INDICATOR
======================================== */
.scroll-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, #2C2C2C);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -40%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 140%; opacity: 0; }
}

/* ========================================
   MARQUEE
======================================== */
.marquee-track {
    animation: marquee 30s linear infinite;
}

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

/* ========================================
   PRODUCT CARDS
======================================== */
.product-card {
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* ========================================
   SCROLL REVEAL
======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee-track {
        animation: none;
    }
    .scroll-indicator {
        display: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    .geo-square-1 {
        width: 100px;
        height: 100px;
    }
    .geo-triangle {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 70px;
    }
}
