/* Custom styles for Grime Reaper Washing Co */

/* Custom height for doubled logo size */
.h-112 {
    height: 28rem; /* 448px - double the original h-56 (224px) */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom font styles - ALL CAPS AND BOLD */
body {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em;
}

/* Industrial Font Hierarchy */
body {
    font-family: 'Roboto Condensed', sans-serif !important;
}

/* Headings use Bebas Neue for impact */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', cursive !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* Navigation and buttons use Oswald for strength */
nav, .nav-link, .cta-button, button {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Body text maintains readability */
p, span, div, li {
    font-family: 'Roboto Condensed', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}

/* Form elements */
input, select, textarea, label {
    font-family: 'Roboto Condensed', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* Links */
a {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Enhanced Navigation styles */
.nav-enhanced {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-enhanced.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nav-menu-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    position: relative;
    color: #374151;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.active-nav-link {
    color: white !important;
    background: #FF6B35 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(57, 255, 20, 0.4);
}

.mobile-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: scale(1.05);
}

/* Scroll effects */
@media (min-width: 768px) {
    .nav-enhanced {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-enhanced.nav-scrolled {
        padding: 0.5rem 0;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    .nav-enhanced.nav-scrolled .logo-wrapper img {
        height: 4rem;
    }
}

/* Hero section animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes waterDrop {
    0% {
        transform: translateY(-100vh) translateX(0px) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh) translateX(20px) scale(1);
        opacity: 0;
    }
}

@keyframes waterSpray {
    0%, 100% {
        transform: translateX(0px) translateY(0px) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translateX(30px) translateY(-10px) scale(1.2);
        opacity: 0.4;
    }
    50% {
        transform: translateX(60px) translateY(-5px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translateX(90px) translateY(-15px) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(1.2);
        opacity: 0;
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px rgba(77, 166, 255, 0.1);
    }
}

/* Water droplets */
.water-droplet {
    position: absolute;
    width: 6px;
    height: 8px;
    background: linear-gradient(180deg, rgba(77, 166, 255, 0.6) 0%, rgba(77, 166, 255, 0.9) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
}

.water-droplet-1 {
    left: 10%;
    animation: waterDrop 4s linear infinite;
    animation-delay: 0s;
}

.water-droplet-2 {
    left: 30%;
    width: 4px;
    height: 6px;
    animation: waterDrop 5s linear infinite;
    animation-delay: 1s;
}

.water-droplet-3 {
    left: 60%;
    width: 5px;
    height: 7px;
    animation: waterDrop 3.5s linear infinite;
    animation-delay: 2s;
}

.water-droplet-4 {
    left: 80%;
    width: 7px;
    height: 9px;
    animation: waterDrop 6s linear infinite;
    animation-delay: 0.5s;
}

.water-droplet-5 {
    left: 45%;
    width: 4px;
    height: 6px;
    animation: waterDrop 4.5s linear infinite;
    animation-delay: 3s;
}

/* Water spray effects */
.water-spray {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(77, 166, 255, 0.4);
    border-radius: 50%;
    opacity: 0.1;
}

.water-spray-1 {
    top: 40%;
    left: 5%;
    animation: waterSpray 6s ease-in-out infinite;
    animation-delay: 0s;
}

.water-spray-2 {
    top: 70%;
    left: 10%;
    animation: waterSpray 8s ease-in-out infinite;
    animation-delay: 2s;
}

/* Water bubbles */
.water-bubble {
    position: absolute;
    border: 2px solid rgba(77, 166, 255, 0.3);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), rgba(77, 166, 255, 0.1));
    opacity: 0;
}

.water-bubble-1 {
    width: 20px;
    height: 20px;
    right: 15%;
    animation: bubbleFloat 8s ease-in-out infinite;
    animation-delay: 1s;
}

.water-bubble-2 {
    width: 15px;
    height: 15px;
    right: 25%;
    animation: bubbleFloat 10s ease-in-out infinite;
    animation-delay: 3s;
}

.water-bubble-3 {
    width: 12px;
    height: 12px;
    right: 35%;
    animation: bubbleFloat 7s ease-in-out infinite;
    animation-delay: 5s;
}

/* Enhanced hero animations */
.hero-title {
    animation: fadeInUp 1s ease-out, titleGlow 4s ease-in-out infinite;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-buttons button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buttons button:hover::before {
    width: 300px;
    height: 300px;
}

/* Green button scale animation */
.green-button {
    position: relative;
    transition: all 0.3s ease;
}

.green-button:hover {
    background-color: #39FF14 !important;
    transform: scale(1.15);
}

/* Service card hover effects */
#services .bg-white {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#services .bg-white:hover {
    transform: translateY(-5px);
    border-color: #FF6B35;
    background: linear-gradient(to bottom, #FFF5F0, #FFFFFF);
}

/* Blue accent hover effects */
.text-grime-blue:hover {
    color: #1e40af;
    text-shadow: 0 0 8px rgba(30, 58, 138, 0.3);
}

.hover\:text-blue-800:hover {
    color: #1e3a8a;
}

/* Button styles */
button {
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::before {
    width: 300px;
    height: 300px;
}

/* Form input focus styles */
input:focus, 
textarea:focus, 
select:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    border-top: 4px solid #FF6B35;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.125rem;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #374151;
}

.mobile-menu a:hover {
    background-color: #FFF5F0;
    color: #FF6B35;
    padding-left: 2rem;
    border-left: 4px solid #FF6B35;
}

/* CTA button in mobile menu */
.mobile-menu .cta-mobile {
    background-color: #39FF14;
    color: #000000;
    font-weight: 900 !important;
    margin: 1rem;
    padding: 1.25rem 2rem;
    text-align: center;
    border-radius: 9999px;
    border: 3px solid #003366;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu .cta-mobile:hover {
    background-color: #39FF14 !important;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(57, 255, 20, 0.4);
    border-left: 3px solid #003366;
    padding-left: 2rem;
}

/* Gallery before/after slider placeholder */
.before-after-slider {
    position: relative;
    cursor: col-resize;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF6B35, #1e3a8a);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #E55A2B, #1e40af);
}

/* Make all input placeholders uppercase */
input::placeholder,
textarea::placeholder {
    text-transform: uppercase !important;
}

/* Ensure select options are uppercase */
select option {
    text-transform: uppercase !important;
    font-weight: bold !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    #home p {
        font-size: 1.25rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero section mobile adjustments */
    .hero-title {
        margin-bottom: 1rem !important;
    }
    
    /* Service cards mobile spacing */
    #services .bg-white {
        padding: 1.5rem;
    }
    
    #services h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Services section specific mobile adjustments */
    #services {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    #services .text-center.mb-20 {
        margin-bottom: 2rem !important;
    }
    
    #services h2 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    #services .bg-gray-100 {
        padding: 1rem !important;
    }
    
    #services .bg-gray-100 p {
        font-size: 1rem !important;
    }
    
    /* Contact form mobile adjustments */
    #contact form {
        padding: 1.5rem;
    }
    
    #contact input,
    #contact select,
    #contact textarea {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    #contact button[type="submit"] {
        padding: 1rem 2rem;
        font-size: 1.25rem;
    }
    
    /* Logo section mobile size */
    section.bg-grime-orange img {
        height: 10rem;
    }
    
    /* Footer logo mobile size */
    footer img {
        height: 8rem;
    }
    
    /* Section padding adjustments */
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    /* Mobile menu button position */
    .mobile-menu-btn {
        margin-right: 0.5rem;
    }
    
    /* Hero buttons mobile */
    .hero-buttons a {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        white-space: nowrap;
    }
    
    /* Keep text bold and uppercase on mobile */
    body, p, a, button, label, input, select, textarea, span, div, li {
        text-transform: uppercase !important;
        font-weight: bold !important;
    }
    
    /* Adjust navigation height on mobile */
    nav {
        min-height: 60px;
    }
}

/* Orange accent styles */
.text-grime-orange {
    position: relative;
}

/* Service icons animation */
.group:hover .group-hover\:scale-110 {
    animation: bounce 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Green button glow effect */
.bg-grime-green:hover {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

/* Orange section dividers */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, transparent, #FF6B35, transparent);
    border-radius: 2px;
}

/* Headings with colored underline */
h2 {
    position: relative;
    display: inline-block;
}

h2.text-grime-orange::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #FF6B35;
    border-radius: 2px;
}

h2.text-grime-blue::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #1e3a8a;
    border-radius: 2px;
}

/* Orange highlights for links */
a {
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

/* Service card orange accents */
.bg-white {
    position: relative;
    overflow: hidden;
}

.bg-white::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #E55A2B, #FF6B35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bg-white:hover::before {
    opacity: 1;
}

/* Print styles */
@media print {
    nav, 
    #contact form, 
    button {
        display: none;
    }
    
    body {
        color: black;
    }
}