/* 
* Clean Slate Pressure Washing - Custom CSS
* This file contains custom styles for the Clean Slate Pressure Washing website
*/

/* Global Styles */
:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.btn {
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

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

.gallery-card img {
    height: 220px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Testimonial Styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    padding: 15px;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Service List Styles */
.list-group-item {
    border-left: none;
    border-right: none;
    padding-left: 0;
    padding-right: 0;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Footer Styles */
footer {
    background-color: var(--dark);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary) !important;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    .gallery-card img {
        height: 180px;
    }
}

/* Animation Effects */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Utility Classes */
.shadow-hover:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.rounded-custom {
    border-radius: 10px;
}

/* Quote Form Specific Styles */
#servicesInvalid {
    display: none;
    color: var(--danger);
    margin-top: 0.25rem;
    font-size: 0.875em;
}

/* Accessibility Improvements */
.btn:focus, 
.form-control:focus, 
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
} 