/* ===== Custom Styles for Locked-N-Loaded Auto Repair ===== */

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

/* Base font */
body {
    font-family: 'Inter', sans-serif;
}

/* Display font */
.font-display {
    font-family: 'Bebas Neue', sans-serif;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #0d9488;
    top: 40%;
    left: 10%;
    opacity: 0.05;
    animation: float-medium 10s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #2dd4bf;
    top: 20%;
    right: 25%;
    opacity: 0.06;
    transform: rotate(45deg);
    animation: float-medium 12s ease-in-out infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: #14b8a6;
    bottom: 30%;
    right: 15%;
    opacity: 0.05;
    transform: rotate(20deg);
    animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #5eead4;
    top: 60%;
    left: 5%;
    opacity: 0.04;
    animation: float-medium 14s ease-in-out infinite;
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69px solid #2dd4bf;
    top: 15%;
    left: 30%;
    opacity: 0.05;
    transform: rotate(-15deg);
    animation: float-slow 16s ease-in-out infinite reverse;
}

/* ===== Animations ===== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ===== Review Cards ===== */
.review-card {
    position: relative;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    color: rgba(45, 212, 191, 0.08);
    line-height: 1;
    pointer-events: none;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Fallback: ensure content is visible even without JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* ===== Navbar Scrolled State ===== */
.navbar-scrolled {
    background: rgba(8, 15, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* ===== Mobile menu animation ===== */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }

    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }

    .geo-square-1,
    .geo-square-2,
    .geo-triangle-1,
    .geo-triangle-2 {
        display: none;
    }
}
