/* Variables basadas en logo-acuaragon.png */
:root {
    --primary-blue: #2383c4;
    --light-blue: #6fc3f7;
    --primary-green: #7bce1f;
    --dark-text: #333333;
    --light-bg: #f9fbfb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark-text);
    line-height: 1.6;
}

/* Navegación */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
}

.logo-container .logo {
    height: 70px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* Secciones Generales */
.section {
    padding: 60px 5%;
}

.bg-light {
    background-color: var(--light-bg);
}

h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.2rem;
}

/* Banner Principal */
.hero {
    background: linear-gradient(rgba(35, 131, 196, 0.8), rgba(123, 206, 31, 0.6)), url('https://via.placeholder.com/1920x600/333333/ffffff?text=Agua+Cristalina') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #66b017;
}

/* Servicios */
.services-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-blue);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Tabla de Tarifas */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-blue);
    color: var(--white);
}

tr:hover {
    background-color: #f1f1f1;
}

/* Informes PDF */
.pdf-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.pdf-list li a {
    display: block;
    padding: 15px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pdf-list li a:hover {
    border-color: var(--light-blue);
    box-shadow: 0 2px 8px rgba(111, 195, 247, 0.3);
    transform: translateY(-2px);
}

/* Slider de Galería */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(35, 131, 196, 0.7);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.slider-btn:hover {
    background: var(--primary-green);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Contacto y Footer */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.contact-info, .map-container {
    flex: 1;
    min-width: 300px;
}

.social-media a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
}

footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}