* { margin: 0; padding: 0; box-sizing: border-box; }

body { color: #333; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.section-container { width: min(1180px, 90%); margin: 0 auto; }

nav { position: absolute; top: 0; left: 0; z-index: 10; width: 100%; height: 92px; border-bottom: 1px solid rgba(255,255,255,.28); }
.nav-container { width: min(1320px, 94%); height: 100%; margin: 0 auto; display: flex; align-items: center; }
.logo { margin-right: 55px; color: #fff; font-size: 39px; font-weight: 900; letter-spacing: -2px; text-decoration: none; }
nav ul { height: 100%; display: flex; align-items: center; gap: 24px; list-style: none; }
nav ul li { height: 100%; }
nav ul a { position: relative; height: 100%; display: flex; align-items: center; color: #fff; font-size: 12px; font-weight: bold; text-decoration: none; }
nav ul a::after { content: ""; position: absolute; right: 0; bottom: 24px; left: 0; height: 2px; background: #d0a42a; transform: scaleX(0); transition: transform .25s ease; }
nav ul a:hover::after, nav ul a.active::after { transform: scaleX(1); }
.nav-button { margin-left: auto; padding: 12px 22px; color: #fff; border: 1px solid rgba(255,255,255,.8); font-size: 12px; font-weight: bold; text-decoration: none; }
.nav-button:hover { color: #26394a; background: #fff; }

.pool-hero { position: relative; min-height: 628px; display: flex; align-items: center; background: url('../images/Piscina/PoolExterior_6.jpeg') center/cover no-repeat; }
.pool-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,35,45,.82), rgba(17,35,45,.28)); }
.pool-hero-content { position: absolute; top: 34%; left: 11%; z-index: 1; width: min(1180px, 86%); margin: 0; color: #fff; }
.pool-hero-content > p { margin-bottom: 14px; color: #d6b88c; font-size: 12px; font-weight: bold; letter-spacing: 3px; }
.pool-hero h1 { max-width: 700px; margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7vw, 86px); font-weight: normal; line-height: 1.05; }
.pool-hero-content span { max-width: 580px; display: block; font-size: 18px; line-height: 1.7; }
.pool-showcase { padding: 125px 0 135px; background: #fff; }
.showcase-grid { width: min(1240px, 90%); display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 78px; }
.showcase-grid > img { width: 100%; height: 460px; display: block; object-fit: cover; }
.showcase-copy h2 {
    margin: 0 0 25px;
    color: #111;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-size: 47px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.1;
    transform: rotate(-1deg);
}
.showcase-copy > p { margin: 0 0 18px; color: #171717; font-size: 17px; line-height: 1.58; }
.pool-day-button {
    margin-top: 10px;
    padding: 15px 25px;
    display: inline-block;
    color: #fff;
    background: #1571b0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}
.pool-day-button:hover { background: #105b90; color: #fff; }

.activities-section { padding: 95px 0 110px; background: #f3eee4; }
.activities-section h2 {
    margin: 0 0 48px;
    color: #b88a50;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-size: 46px;
    font-weight: 800;
    font-style: italic;
    text-align: center;
    line-height: 1.1;
    transform: rotate(-1deg);
}
.activities-grid { width: min(1040px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; align-items: stretch; }
.activity-card { padding: 16px 16px 28px; background: #fff; box-shadow: 0 7px 18px rgba(58, 47, 36, .18); text-align: center; }
.activity-card > img { width: 100%; height: 235px; display: block; object-fit: cover; }
.activity-card-content { padding: 15px 14px 0; }
.activity-card h3 { margin: 0 0 13px; color: #b1844e; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.activity-card p { margin: 0; color: #202020; font-size: 15px; line-height: 1.45; }

.pool-photo-grid { padding: 110px 0 125px; background: #fff; }
.pool-photo-grid-inner {
    width: min(1120px, 88%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.pool-photo-grid img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(35, 30, 25, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}
.pool-photo-grid img:hover {
    z-index: 1;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 22px rgba(35, 30, 25, .24);
}

footer { color: rgba(255,255,255,.8); background: #9B7A5E; }
.footer-content { padding: 60px 0 45px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
.footer-content strong { color: #fff; font-size: 39px; }
.footer-content h3 { margin-bottom: 15px; color: #fff; font-size: 16px; }
.footer-content p { margin-top: 10px; line-height: 1.6; }
.footer-content a { margin-bottom: 8px; display: block; color: rgba(255,255,255,.75); text-decoration: none; }
.copyright { padding: 18px; text-align: center; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (max-width: 1050px) {
    .logo { margin-right: 25px; }
    nav ul { gap: 13px; }
    nav ul a { font-size: 10px; }
    .showcase-grid { gap: 45px; }
}

@media (max-width: 780px) {
    nav { position: relative; height: auto; background: #26394a; }
    .nav-container { padding: 16px 0; flex-direction: column; }
    .logo { margin: 0 0 12px; }
    nav ul { height: auto; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
    nav ul li, nav ul a { height: 30px; }
    nav ul a::after { bottom: 0; }
    .nav-button { margin: 14px 0 0; }
    .pool-hero { min-height: 538px; }
    .pool-hero-content { top: 30%; left: 7%; width: 86%; margin: 0; }
    .showcase-grid, .footer-content { grid-template-columns: 1fr; }
    .pool-showcase { padding: 75px 0; }
    .showcase-grid > img { height: 420px; }
    .activities-grid { grid-template-columns: 1fr; width: min(440px, 100%); }
    .activities-section { padding: 70px 0 80px; }
    .pool-photo-grid-inner { grid-template-columns: repeat(2, 1fr); }
    .pool-photo-grid { padding: 75px 0 85px; }
}

@media (max-width: 520px) {
    .showcase-copy h2 { font-size: 39px; }
    .showcase-grid > img { height: 330px; }
    .activities-section h2 { font-size: 39px; }
    .activity-card > img { height: 220px; }
    .pool-photo-grid-inner { grid-template-columns: 1fr; width: 86%; }
    .pool-photo-grid img { height: 280px; }
}
