/* Custom Styles for Furniture Liquidators */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base font settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   HERO GEOMETRIC SHAPES
   ============================================= */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 112, 75, 0.12) 0%, transparent 70%);
    top: -100px;
    left: -150px;
    border-radius: 50%;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(224, 176, 64, 0.1);
    border-radius: 30px;
    top: 20%;
    right: 5%;
    transform: rotate(25deg);
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 176, 64, 0.08) 0%, transparent 70%);
    bottom: -50px;
    right: 30%;
    border-radius: 50%;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(196, 112, 75, 0.08);
    top: 35%;
    right: 2%;
    transform: rotate(-15deg);
}

/* =============================================
   CTA SECTION SHAPES
   ============================================= */
.cta-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.shape-rect-2 {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    bottom: 10%;
    left: 5%;
    transform: rotate(45deg);
}

/* =============================================
   FLOATING ANIMATION
   ============================================= */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

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

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal[data-reveal].delay-1 { transition-delay: 0.1s; }
.reveal[data-reveal].delay-2 { transition-delay: 0.2s; }
.reveal[data-reveal].delay-3 { transition-delay: 0.3s; }
.reveal[data-reveal].delay-4 { transition-delay: 0.4s; }
.reveal[data-reveal].delay-5 { transition-delay: 0.5s; }
.reveal[data-reveal].delay-6 { transition-delay: 0.6s; }

/* =============================================
   NAVBAR SCROLL EFFECT
   ============================================= */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(26, 20, 16, 0.08);
}

/* =============================================
   MOBILE MENU ANIMATION
   ============================================= */
.menu-line {
    transition: all 0.3s ease;
}

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

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

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

/* =============================================
   MOBILE LINKS
   ============================================= */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 20, 16, 0.06);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* =============================================
   IMAGE HOVER EFFECTS
   ============================================= */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* =============================================
   BUTTON HOVER SHADOWS
   ============================================= */
button, a {
    transition: all 0.2s ease;
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 640px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-rect-1 {
        width: 100px;
        height: 100px;
    }
    
    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape-triangle {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 70px solid rgba(196, 112, 75, 0.08);
    }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
    
    .animate-float {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

/* =============================================
   SELECTION COLOR
   ============================================= */
::selection {
    background: rgba(196, 112, 75, 0.2);
    color: #1A1410;
}
