/* ============================================
   FLUFFY STUFF — Custom Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 93, 74, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 93, 74, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(232, 93, 74, 0.08);
    border-radius: 30px;
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(232, 93, 74, 0.07);
    top: 60%;
    left: 8%;
    transform: rotate(-15deg);
}

.geo-dot-grid {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 5%;
    background-image: radial-gradient(circle, rgba(232, 93, 74, 0.3) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.5;
}

/* ============================================
   HERO ANIMATIONS
   ============================================ */
.hero-badge {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-badge span:first-child {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-image-main {
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-float-card {
    opacity: 0;
    animation: floatIn 0.8s ease forwards;
    animation-delay: 1s;
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(20px) rotate(-2deg); }
    to { opacity: 1; transform: translateY(0) rotate(-2deg); }
}

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

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-images-grid {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-images-grid.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.cta-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid rgba(26, 26, 26, 0.1);
    top: -80px;
    left: -80px;
}

.cta-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.06);
    bottom: -40px;
    right: 10%;
}

.cta-rect {
    width: 100px;
    height: 100px;
    background: rgba(26, 26, 26, 0.05);
    border-radius: 20px;
    top: 20%;
    right: 5%;
    transform: rotate(30deg);
}

/* ============================================
   NAVBAR SCROLL STATE
   ============================================ */
#navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

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

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

/* ============================================
   BUTTON HOVER EFFECTS
   ============================================ */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-rect-1 {
        width: 100px;
        height: 100px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-dot-grid {
        width: 60px;
        height: 60px;
        background-size: 12px 12px;
    }
}

/* ============================================
   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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   FOCUS STYLES
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #E85D4A;
    outline-offset: 2px;
    border-radius: 4px;
}
