/* Custom Styles for Rhino Shield Tampa Bay */

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

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

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

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Gold button styles */
.gold-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #0b1120;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
    overflow: hidden;
}

.gold-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.gold-btn:hover::before {
    left: 100%;
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.gold-btn:active {
    transform: translateY(0);
}

/* Service card hover effects */
.service-card {
    perspective: 1000px;
}

.service-card > div {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover > div {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.15);
}

/* Process step hover */
.process-step:hover .w-20 {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(13, 148, 136, 0.3);
}

/* Gallery item */
.gallery-item {
    cursor: pointer;
}

/* Floating animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

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

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

/* Hero title animation */
.hero-title {
    opacity: 0;
    animation: fade-in 1s ease-out 0.3s forwards;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(11, 17, 32, 0.95);
    backdrop-blur-xl;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav.scrolled .gold-btn {
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

/* Mobile menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.active .mobile-link {
    animation: fade-in 0.5s ease-out forwards;
}

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

/* Mobile menu button animation */
#mobile-menu-btn.active .mobile-menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Intersection observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Staggered animation delays */
.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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Select dropdown styling */
select option {
    background: #1e293b;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gold-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
