/* Custom Styles for Oasis Pool Cleaning */

/* Brand Colors */
:root {
    --primary-color: #009FDB;
    --secondary-color: #FFD166;
    --accent-color: #00C49A;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation Styles */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

header nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

header nav ul li a.brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 2rem 0;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Cards & Sections */
.value-card, .service-card, .feature-card, .credential-card, .contact-method, .service-item {
    background-color: white !important;
    padding: 2.5rem !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover, .service-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Background Texture Utility */
.bg-texture-water {
    background-image: linear-gradient(rgba(0, 159, 219, 0.9), rgba(0, 159, 219, 0.9)), url('images/water-3577931_1920.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

/* Responsive Images */
.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px; /* Pill shape for more modern look */
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 159, 219, 0.3);
}

.button.primary {
    background-color: var(--primary-color);
    color: white;
}

.button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Spacing */
section {
    margin-bottom: 6rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem !important;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    header nav ul {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    header nav ul li {
        width: 100%;
    }
    
    header nav ul li a {
        display: block;
        padding: 0.75rem;
        text-align: center;
        background-color: var(--bg-light);
        border-radius: var(--radius-md);
    }

    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .button {
        width: 100%;
        text-align: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Form Styles Override */
form input, form textarea, form select {
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    padding: 1rem;
}

form input:focus, form textarea:focus, form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 159, 219, 0.1);
}

/* Footer */
footer {
    background-color: #1a202c !important; /* Darker gray for better contrast */
}

footer a {
    color: inherit !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
    text-decoration: underline;
}
