/* ==========================================================================
   CSS SYSTEM - CLUB SOL DEL VALLE
   ========================================================================== */

/* Variables & Theme Setup */
:root {
    /* Harmonious Tropical & Sunny HSL Colors */
    --primary: hsl(156, 72%, 24%);       /* Deep Forest Green */
    --primary-light: hsl(156, 60%, 35%);
    --secondary: hsl(198, 93%, 43%);     /* Pool Blue */
    --secondary-light: hsl(198, 85%, 55%);
    --accent: hsl(38, 95%, 54%);         /* Sunny Gold Orange */
    --accent-light: hsl(42, 98%, 62%);
    --neutral-dark: hsl(210, 24%, 12%);   /* Near Black */
    --neutral-light: hsl(0, 0%, 98%);     /* Soft White */
    --neutral-gray: hsl(210, 12%, 92%);
    --card-bg: hsla(0, 0%, 100%, 0.85);   /* Semi-translucent */
    --card-shadow: 0 8px 32px 0 rgba(0, 77, 38, 0.08);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 77, 38, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 77, 38, 0.3);
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 137, 204, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 137, 204, 0.3);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 15px auto;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}
@media (max-width: 768px) {
    .navbar {
        top: 74px;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.icon-sun {
    font-size: 1.8rem;
    color: var(--accent);
    animation: rotateSun 20s linear infinite;
}

@keyframes rotateSun {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--neutral-dark);
    font-size: 0.95rem;
}

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

.btn-nav {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(0, 77, 38, 0.15);
}

.btn-nav:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--neutral-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    padding-top: 124px;
}
@media (max-width: 768px) {
    .hero {
        padding-top: 154px;
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.75));
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    z-index: 1;
    text-align: left;
}

.hero-content .badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--neutral-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.3);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--neutral-light);
}

/* Quick Info / Amenities Section */
.quick-info {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    padding-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.info-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 77, 38, 0.12);
}

.info-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.info-card p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
}

/* Services / Amenities */
.services {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.section-header p {
    color: rgba(0, 0, 0, 0.6);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    min-height: 400px;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.service-details {
    flex: 1.1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-tag {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: block;
}

.service-details h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--neutral-dark);
}

.service-details p {
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 25px;
}

.service-prices {
    display: flex;
    gap: 30px;
}

.service-prices span {
    font-size: 1.1rem;
    color: var(--neutral-dark);
}

.service-prices strong {
    font-size: 1.3rem;
    color: var(--primary);
    margin-left: 5px;
}

.service-prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.price-box {
    border: 1px solid var(--neutral-gray);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
}

.price-box.highlighted {
    background-color: rgba(198, 93, 43, 0.05);
    border-color: rgba(198, 93, 43, 0.2);
}

.price-box .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
}

.price-box .price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.price-box.highlighted .price {
    color: var(--secondary);
}

.price-box .price small {
    font-size: 0.8rem;
    font-weight: 400;
}

.helper-text {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
}

/* Kiosko Section */
.kiosk {
    background-color: var(--neutral-gray);
    padding: 100px 0;
    position: relative;
}

.kiosk-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.kiosk-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kiosk-content .subtitle {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.kiosk-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.kiosk-content p {
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
}

.kiosk-list {
    list-style: none;
}

.kiosk-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--neutral-gray);
    display: flex;
    flex-direction: column;
}

.kiosk-list li:last-child {
    border-bottom: none;
}

.kiosk-list .item-name {
    font-weight: 700;
    color: var(--neutral-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.kiosk-list .item-name i {
    color: var(--primary);
}

.kiosk-list .item-desc {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
    margin-left: 26px;
}

.kiosk-visual {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
}

.glass-tag {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 15px 25px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--neutral-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.glass-tag i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Plans section */
.plans {
    padding: 80px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 77, 38, 0.12);
}

.plan-card:nth-child(2) {
    border-top-color: var(--secondary);
}

.plan-card:nth-child(3) {
    border-top-color: var(--accent);
}

.plan-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 77, 38, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.plan-card:nth-child(2) .plan-icon {
    background-color: rgba(15, 137, 204, 0.05);
    color: var(--secondary);
}

.plan-card:nth-child(3) .plan-icon {
    background-color: rgba(255, 152, 0, 0.05);
    color: var(--accent);
}

.plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--neutral-dark);
}

.plan-card p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.95rem;
}

/* Interactive Calculator & Reservas */
.reservas {
    padding: 100px 0;
    background: linear-gradient(135deg, hsla(156, 72%, 24%, 0.03), hsla(198, 93%, 43%, 0.03));
}

.reservas-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.reservas-info h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.reservas-info p {
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.schedule-info, .location-info {
    margin-bottom: 30px;
}

.schedule-info h3, .location-info h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--neutral-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-info h3 i, .location-info h3 i {
    color: var(--primary);
}

.schedule-info ul {
    list-style: none;
    padding-left: 26px;
}

.schedule-info li {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: rgba(0, 0, 0, 0.6);
}

.location-info p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
    padding-left: 26px;
}

.reservas-form-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 45px rgba(0, 77, 38, 0.1);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.reservas-form-card h3 {
    font-size: 1.7rem;
    color: var(--neutral-dark);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid var(--neutral-gray);
    padding-bottom: 15px;
}

.form-group-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin: 25px 0 15px 0;
}

.form-group-title:first-of-type {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 8px;
}

.number-input {
    display: flex;
    border: 1px solid var(--neutral-gray);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.number-input button {
    width: 40px;
    height: 40px;
    background-color: var(--neutral-gray);
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.number-input button:hover {
    background-color: #e0e0e0;
}

.number-input input {
    flex: 1;
    border: none;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    width: 50px;
    outline: none;
}

/* Hide number spin arrows */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
input[type=number] {
  -moz-appearance: textfield;
}

/* Custom Checkbox Option Panel */
.checkbox-container {
    display: flex !important;
    align-items: center;
    position: relative;
    padding: 16px 16px 16px 48px !important;
    cursor: pointer;
    user-select: none;
    font-weight: 700 !important;
    font-size: 0.95rem;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    width: 100%;
    margin-bottom: 0 !important;
    color: var(--neutral-dark) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.checkbox-container:hover {
    border-color: var(--primary-light);
    background-color: rgba(0, 77, 38, 0.02);
    box-shadow: 0 4px 12px rgba(0, 77, 38, 0.05);
}

.checkbox-container:has(input:checked) {
    border-color: var(--primary);
    background-color: rgba(0, 77, 38, 0.04);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 2px solid #aaa;
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-light);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10.5px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Hidden elements animation */
.hidden {
    display: none !important;
}

#soccer-fields {
    animation: slideDown 0.3s ease-out forwards;
    background-color: rgba(0, 77, 38, 0.02);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    border: 1px dashed rgba(0, 77, 38, 0.1);
    margin-bottom: 20px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

select, input[type="date"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--neutral-gray);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

select:focus, input[type="date"]:focus {
    border-color: var(--primary);
}

/* Receipt style summary */
.receipt {
    background-color: var(--neutral-gray);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid var(--primary);
}

.receipt h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--neutral-dark);
    margin-bottom: 12px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(0, 0, 0, 0.65);
}

.receipt-row.total {
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
}

.btn-whatsapp-large {
    width: 100%;
    background-color: #25d366;
    color: white;
    font-weight: 700;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
    background-color: var(--neutral-dark);
    color: white;
    padding: 85px 0 30px 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        gap: 40px;
    }
    
    .service-item, .service-item.reverse {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-img {
        height: 250px;
    }
    
    .service-details {
        padding: 30px;
    }
    
    .kiosk-wrapper {
        grid-template-columns: 1fr;
    }
    
    .kiosk-content {
        padding: 40px;
    }
    
    .kiosk-visual {
        height: 300px;
    }
    
    .reservas-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 40px 0;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
    }
    
    .btn-nav {
        width: 80%;
        text-align: center;
    }
    
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

/* Slots Grid and Custom Booking Widgets */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.slot-btn {
    background-color: white;
    border: 2px solid var(--neutral-gray);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.slot-btn .time {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--neutral-dark);
}

.slot-btn .price {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.slot-btn .status {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #20ba5a; /* Green */
}

/* Hover state */
.slot-btn:not(.occupied):hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Selected state */
.slot-btn.selected {
    background-color: rgba(0, 77, 38, 0.05);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 77, 38, 0.1);
}

.slot-btn.selected .status {
    color: var(--primary);
}

/* Occupied state */
.slot-btn.occupied {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}

.slot-btn.occupied .time {
    color: #999;
    text-decoration: line-through;
}

.slot-btn.occupied .price {
    color: #999;
}

.slot-btn.occupied .status {
    color: #d32f2f; /* Red */
}

/* Service Image Gallery Overlay */
.service-img {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.service-img::after {
    content: "🔎 Ver Galería y Reservar";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 137, 204, 0.5); /* Pool blue overlay */
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.service-img:hover::after {
    opacity: 1;
}

.service-img:hover {
    transform: scale(1.02);
}

/* Gallery Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 24, 36, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 750px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-header {
    padding: 25px 30px 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neutral-gray);
}

.modal-header h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--neutral-dark);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-main-img-container {
    width: 100%;
    height: 380px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: #000;
    border: 1px solid var(--neutral-gray);
}

.modal-main-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb {
    width: 90px;
    height: 65px;
    border-radius: var(--border-radius-sm);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumb:hover {
    transform: scale(1.05);
}

.thumb.active {
    border-color: var(--secondary);
    box-shadow: 0 4px 10px rgba(15, 137, 204, 0.3);
}

.modal-info {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

.modal-footer {
    padding: 20px 30px;
    background-color: var(--neutral-gray);
    display: flex;
    justify-content: flex-end;
}

.btn-modal-action {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 137, 204, 0.25);
    width: 100%;
    padding: 15px;
}

.btn-modal-action:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 137, 204, 0.35);
}

/* responsive modal adjustments */
@media (max-width: 600px) {
    .modal-main-img-container {
        height: 240px;
    }
    .modal-header h3 {
        font-size: 1.3rem;
    }
    .modal-body {
        padding: 15px;
    }
}

/* Announcement Bar for 8:00 AM Promotion */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    z-index: 1001; /* Above navbar */
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 15px;
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-text strong {
    color: var(--accent-light);
    font-weight: 800;
}

.btn-announcement {
    background-color: var(--accent);
    color: var(--neutral-dark);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.2);
    white-space: nowrap;
}

.btn-announcement:hover {
    background-color: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
}

.animate-spin {
    animation: rotateSun 15s linear infinite;
}

@media (max-width: 768px) {
    .announcement-bar {
        height: 74px;
        font-size: 0.85rem;
        padding: 5px 0;
    }
    .announcement-content {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }
    .btn-announcement {
        padding: 4px 12px;
        font-size: 0.75rem;
    }
}

.secret-admin-link {
    color: var(--text-muted, #777777);
    opacity: 0.12;
    text-decoration: none;
    font-size: 8px;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}
.secret-admin-link:hover {
    opacity: 0.6;
    cursor: pointer;
}
