/* ============================================
   Kims Fish & More — Custom Styles
   ============================================ */

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

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

body {
    margin: 0;
    background-color: #030912;
    color: #ffffff;
}

/* ============================================
   Geometric Background Decorations
   ============================================ */

.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(52, 212, 180, 0.06) 0%, transparent 70%);
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: -100px;
    background: radial-gradient(circle, rgba(52, 212, 180, 0.04) 0%, transparent 70%);
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(52, 212, 180, 0.05) 0%, transparent 70%);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.geo-triangle--1 {
    top: 30%;
    right: 5%;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(52, 212, 180, 0.04);
    animation: spin-slow 30s linear infinite;
}

.geo-square {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-square--1 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 10%;
    background: rgba(52, 212, 180, 0.05);
    border: 1px solid rgba(52, 212, 180, 0.1);
    animation: spin-slow 25s linear infinite reverse;
}

.geo-dots {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-dots--1 {
    top: 40%;
    left: 3%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(52, 212, 180, 0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.6;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.02); }
    66% { transform: translate(-15px, 20px) scale(0.98); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   Hero Grid Pattern
   ============================================ */

.hero-grid-pattern {
    background-image: 
        linear-gradient(rgba(52, 212, 180, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 212, 180, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ============================================
   CTA Grid Pattern
   ============================================ */

.cta-grid-pattern {
    background-image: 
        linear-gradient(rgba(10, 22, 40, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 22, 40, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ============================================
   Navigation
   ============================================ */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #34d4b4;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

/* Progressive enhancement — only animate if user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-left {
        transform: translateX(-40px);
    }
    
    .reveal-right {
        transform: translateX(40px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* ============================================
   Mobile Menu
   ============================================ */

.mobile-link {
    display: block;
}

/* ============================================
   Scrollbar Styling
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030912;
}

::-webkit-scrollbar-thumb {
    background: rgba(52, 212, 180, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(52, 212, 180, 0.5);
}

/* ============================================
   Selection
   ============================================ */

::selection {
    background: rgba(52, 212, 180, 0.3);
    color: #ffffff;
}

/* ============================================
   Focus Styles
   ============================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #34d4b4;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 640px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle--2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-triangle--1 {
        border-left-width: 30px;
        border-right-width: 30px;
        border-bottom-width: 52px;
    }
    
    .geo-square--1 {
        width: 40px;
        height: 40px;
    }
}
