
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #252525;
    background: #ffffff;
    line-height: 1.7;
    font-size: 18px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

/* HEADER */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #ece7df;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: #8b6a3f;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .3px;
}

.back-link {
    color: #6f5637;
    font-size: 16px;
    font-weight: 700;
    transition: opacity .2s ease;
}

.back-link:hover {
    opacity: .7;
}

/* HERO */

/* =========================================================
   HERO — VILLA ANHATOMIRIM
   Imagem de fundo com título sobreposto
========================================================= */

.villa-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.38),
            rgba(0, 0, 0, 0.38)
        ),
        url("villas/anhatomirim/1.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.villa-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.villa-hero h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.villa-hero .villa-size {
    margin: 0;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 21px;
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Ajustes para celulares */

@media (max-width: 600px) {
    .villa-hero {
        min-height: 400px;
        background-position: center;
    }

    .villa-hero-inner {
        padding: 45px 15px;
    }

    .villa-hero h1 {
        font-size: clamp(36px, 9vw, 48px);
    }

    .villa-hero .villa-size {
        font-size: 18px;
    }
}

.villa-hero h1 {
    color: #202020;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.villa-size {
    color: #8b6a3f;
    font-size: 20px;
    font-weight: 700;
}

/* CONTENT */

.villa-content {
    padding: 70px 0;
}

.intro {
    max-width: 920px;
    margin: 0 auto 60px;
    text-align: center;
    font-weight: bold;
}

.intro p {
    margin-bottom: 24px;
}

.section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: 34px;
    line-height: 1.25;
    color: #202020;
}

/* GALLERY */

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 70px;
}

.gallery-item {
    flex: 1 1 360px;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.gallery-item img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.025);
}

/* DETAILS */

.details {
    background: #faf7f2;
    padding: 55px 6%;
    border-radius: 10px;
    margin-bottom: 70px;
    font-weight: bold;
}

.details p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* CTA */

.cta {
    text-align: center;
    padding: 65px 20px;
    background: #f7f3ed;
    border-radius: 10px;
    margin-bottom: 75px;
    font-weight: bold;
}

.cta h2 {
    font-size: 36px;
    line-height: 1.25;
    margin-bottom: 15px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 25px;
}

.btn {
    display: inline-block;
    background: #b99159;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 4px;
    margin: 6px;
    font-size: 17px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.btn:hover {
    background: #9b7645;
    transform: translateY(-1px);
}

/* YOU CAN CHOOSE */

.choose-section {
    padding: 0 0 85px;
    font-weight: bold;
}

.choose-intro {
    text-align: center;
    max-width: 760px;
    margin: -10px auto 35px;
    color: #555;
}

.choose-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.choose-card {
    flex: 1 1 250px;
    max-width: 360px;
    border-radius: 9px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .15);
}

.choose-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.choose-card-content {
    padding: 20px;
    text-align: center;
}

.choose-card h3 {
    color: #252525;
    font-size: 21px;
    line-height: 1.3;
}

/* FOOTER */

footer {
    background: #111111;
    color: #ffffff;
    padding: 45px 20px;
    text-align: center;
}

footer p {
    max-width: 920px;
    margin: 0 auto;
    opacity: .85;
    font-size: 15px;
    line-height: 1.7;
}

/* RESPONSIVE */

/* =========================================================
   HERO BANNER — ENGLISH VILLA PAGES
========================================================= */

.villa-hero {
    position: relative;
    min-height: 0;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;
}

/* Dark overlay for better text readability */

.villa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 0;
}

/* Text content */

.villa-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    padding: 30px 20px;
    margin: 0 auto;
}

/* Awasi Santa Catarina */

.villa-eyebrow {
    margin: 0 0 18px;
    color: #f2d1a0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Villa name */

.villa-hero-content h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.12;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

/* Villa area */

.villa-hero-size {
    margin: 0;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Responsive layout for mobile devices */

/* =====================================================
   IMAGE GALLERY LIGHTBOX — ENGLISH WEBSITE
===================================================== */

.gallery .gallery-item {
    display: block;
    cursor: zoom-in;
    overflow: hidden;
}

.gallery .gallery-item img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: middle;
}

/* Dark overlay */
.villa-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 76px 64px;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.villa-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Enlarged image */
.villa-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.villa-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/* Navigation buttons */
.villa-lightbox-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.villa-lightbox-button:hover {
    background: rgba(255, 255, 255, 0.27);
}

.villa-lightbox-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.villa-lightbox-close {
    top: 18px;
    right: 22px;
    width: 48px;
    height: 48px;
    font-size: 32px;
    line-height: 1;
}

.villa-lightbox-prev,
.villa-lightbox-next {
    top: 50%;
    width: 52px;
    height: 52px;
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
}

.villa-lightbox-prev {
    left: 18px;
}

.villa-lightbox-next {
    right: 18px;
}

.villa-lightbox-prev:hover,
.villa-lightbox-next:hover {
    transform: translateY(-50%) scale(1.06);
}

/* Image counter */
.villa-lightbox-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Image caption */
.villa-lightbox-caption {
    position: absolute;
    right: 80px;
    bottom: 22px;
    left: 80px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.villa-lightbox-caption:empty {
    display: none;
}

/* Mobile screens */
@media (max-width: 600px) {
    .villa-lightbox {
        padding: 64px 12px 78px;
    }

    .villa-lightbox-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 29px;
    }

    .villa-lightbox-prev,
    .villa-lightbox-next {
        width: 42px;
        height: 42px;
        font-size: 29px;
        background: rgba(0, 0, 0, 0.48);
    }

    .villa-lightbox-prev {
        left: 8px;
    }

    .villa-lightbox-next {
        right: 8px;
    }

    .villa-lightbox-counter {
        bottom: 20px;
    }

    .villa-lightbox-caption {
        right: 12px;
        bottom: 48px;
        left: 12px;
        font-size: 12px;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .villa-lightbox,
    .villa-lightbox-button {
        transition: none;
    }
}

@media (max-width: 768px) {
    .villa-hero {
        height: 400px;
        background-position: center center;
    }

    .villa-hero-content {
        padding: 25px 16px;
    }

    .villa-eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .villa-hero-content h1 {
        font-size: clamp(36px, 8vw, 48px);
        margin-bottom: 14px;
    }

    .villa-hero-size {
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    .villa-hero {
        height: 350px;
    }

    .villa-hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 17px;
    }

    .villa-hero {
        padding: 55px 0 45px;
    }

    .villa-hero h1 {
        font-size: 40px;
    }

    .villa-content {
        padding: 55px 0;
    }

    .gallery-item {
        flex-basis: 45%;
    }

    .gallery-item img {
        height: 300px;
    }

    .details {
        padding: 45px 7%;
    }

    .choose-card {
        flex-basis: 42%;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
        line-height: 1.65;
    }

    .container {
        width: 91%;
    }

    .site-header {
        position: static;
    }

    .header-inner {
        min-height: 68px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 12px 0;
    }

    .brand {
        font-size: 20px;
    }

    .back-link {
        font-size: 14px;
    }

    .villa-hero {
        padding: 42px 0 38px;
    }

    .villa-hero h1 {
        font-size: 32px;
    }

    .villa-size {
        font-size: 17px;
    }

    .villa-content {
        padding: 42px 0;
    }

    .intro {
        margin-bottom: 42px;
        font-weight: bold;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .gallery {
        gap: 14px;
        margin-bottom: 48px;
    }

    .gallery-item {
        flex-basis: 100%;
    }

    .gallery-item img {
        height: auto;
        max-height: 420px;
        object-fit: cover;
    }

    .details {
        padding: 34px 22px;
        margin-bottom: 48px;
    }

    .cta {
        padding: 42px 18px;
        margin-bottom: 55px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .btn {
        display: block;
        width: 100%;
        max-width: 340px;
        margin: 10px auto;
        padding: 14px 18px;
    }

    .choose-section {
        padding-bottom: 55px;
    }

    .choose-cards {
        gap: 18px;
    }

    .choose-card {
        flex-basis: 100%;
        max-width: none;
    }

    .choose-card img {
        height: auto;
        max-height: 300px;
    }

    footer {
        padding: 34px 18px;
    }

    footer p {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .villa-hero h1 {
        font-size: 28px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .choose-card h3 {
        font-size: 19px;
    }
}
