/* ===== CUSTOM GEOMETRIC ANIMATIONS ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 180, 156, 0.6) 0%, transparent 70%);
    top: -80px;
    right: -100px;
    animation: floatSlow 12s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    bottom: 15%;
    left: 5%;
    animation: floatSlow 8s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 107, 74, 0.3);
    top: 25%;
    left: 8%;
    animation: floatSlow 10s ease-in-out infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 180, 156, 0.25);
    top: 20%;
    right: 10%;
    transform: rotate(15deg);
    animation: floatSlow 14s ease-in-out infinite;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    bottom: 20%;
    right: 15%;
    transform: rotate(45deg);
    animation: floatSlow 9s ease-in-out infinite reverse;
}

.shape-ring-1 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid rgba(255, 180, 156, 0.3);
    top: 60%;
    left: 12%;
    animation: floatSlow 11s ease-in-out infinite;
}

.shape-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 5%;
    animation: floatSlow 7s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

.shape-square-1 {
    animation-name: floatSquare;
}

@keyframes floatSquare {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    33% { transform: rotate(48deg) translateY(-15px); }
    66% { transform: rotate(42deg) translateY(10px); }
}

/* ===== SCROLL REVEAL (below fold only) ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVBAR SCROLL STATE ===== */
.nav-scrolled {
    background: rgba(17, 17, 17, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== MOBILE MENU TRANSITIONS ===== */
#mobileMenu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
    transform: translateX(0);
}

#mobileMenu.closed {
    transform: translateX(100%);
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1E1E1E;
}

::-webkit-scrollbar-thumb {
    background: #FF6B4A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E85535;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #1E1E1E;
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== PRODUCT CARD HOVER GLOW ===== */
.group:hover .group-hover\:scale-110 {
    will-change: transform;
}

/* ===== BUTTON FOCUS ===== */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
}

/* ===== FORM INPUT FOCUS ===== */
input:focus {
    outline: none;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 640px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-triangle-1 {
        border-left-width: 50px;
        border-right-width: 50px;
        border-bottom-width: 87px;
    }
}
