/* ===== Custom Styles for Man Made Shade Window Tint ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e1533;
}
::-webkit-scrollbar-thumb {
    background: #4a2956;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a017;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* ===== Navbar Scroll State ===== */
.navbar-scrolled {
    background: rgba(30, 21, 51, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Mobile Menu ===== */
.mobile-menu-open #mobile-menu {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-link {
    opacity: 1;
}

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

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ===== Card Hover Glow ===== */
.service-card:hover {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.08);
}

/* ===== Amber Gradient Text Utility ===== */
.text-gradient-amber {
    background: linear-gradient(135deg, #fcd34d, #fbbf24, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Subtle Pattern Overlay ===== */
.pattern-overlay {
    background-image: radial-gradient(rgba(212, 160, 23, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ===== Form Focus States ===== */
input:focus, select:focus, textarea:focus {
    background: rgba(74, 41, 86, 0.5) !important;
}

/* ===== Button Ripple Effect ===== */
.btn-gradient {
    position: relative;
    overflow: hidden;
}
.btn-gradient::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-gradient:active::after {
    width: 300px;
    height: 300px;
}
