/* 
   Cereceda Landing Page Styles
   Nueva Paleta de Colores:
   - Turquesa (#2EC4B6) → Frescura y modernidad
   - Coral (#FF6B6B) → Energía y pasión
   - Azul marino (#011627) → Elegancia y profesionalismo
   - Amarillo cálido (#FFBF69) → Calidez y celebración
   - Gris perla (#F0F0F0) → Fondo limpio y neutro
   - Negro carbón (#1A1A1A) → Textos y contrastes
*/

/* ===== VARIABLES ===== */
:root {
    --color-turquoise: #2EC4B6;
    --color-coral: #FF6B6B;
    --color-navy: #011627;
    --color-yellow: #FFBF69;
    --color-light-gray: #F0F0F0;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Raleway', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    color: var(--color-white);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-turquoise);
    transition: var(--transition);
}

a:hover {
    color: var(--color-coral);
}

img {
    max-width: 100%;
}

.section-padding {
    padding: 100px 0;
}

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

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    color: var(--color-black);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-coral);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #25a99d;
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-coral);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #e55c5c;
    color: var(--color-white);
}

.btn-tertiary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-tertiary:hover {
    background-color: #00080f;
    color: var(--color-white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    color: var(--color-white);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: var(--transition);
}

.nav-link {
    color: var(--color-black);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-coral);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--color-navy) url('../img/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-white);
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ===== CASONA SECTION ===== */
.service-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-light-gray);
    color: var(--color-coral);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--color-coral);
    color: var(--color-white);
}

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

/* ===== CANCHAS SECTION ===== */
.sport-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.sport-img {
    height: 200px;
    overflow: hidden;
}

.sport-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.sport-info {
    padding: 20px;
    text-align: center;
}

.sport-info h3 {
    color: var(--color-navy);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* ===== INFRASTRUCTURE SECTION ===== */
.infra-item {
    padding: 30px 20px;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.infra-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.infra-item i {
    font-size: 2.5rem;
    color: var(--color-turquoise);
    margin-bottom: 15px;
}

.infra-item h4 {
    font-size: 1.2rem;
    color: var(--color-black);
}

/* ===== GALLERY SECTION ===== */
.gallery-swiper {
    padding-bottom: 50px;
}

.gallery-swiper .swiper-slide {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-coral);
}

.swiper-pagination-bullet-active {
    background-color: var(--color-coral);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.rating {
    color: var(--color-yellow);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--color-black);
}

.testimonial-author p {
    color: #666;
    margin-bottom: 0;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.rating-badge .rating {
    margin-left: 15px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.rating-number {
    font-weight: 700;
    margin-right: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-turquoise);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-turquoise);
    box-shadow: 0 0 0 0.25rem rgba(46, 196, 182, 0.25);
}

/* ===== MAP SECTION ===== */
.map-section {
    height: 450px;
}

.map-section iframe {
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 70px 0 20px;
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-coral);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-coral);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-coral);
    color: var(--color-white);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20bd5a;
    transform: scale(1.1);
    color: var(--color-white);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero {
        height: 80vh;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .btn-lg {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .sport-card,
    .infra-item,
    .testimonial-card {
        padding: 20px;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .sport-img {
        height: 150px;
    }
    
    .gallery-swiper .swiper-slide {
        height: 300px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}
