:root {
    --terracotta: #d87b4a;
    --sand: #f6f2ee;
    --olive: #6b7a4b;
    --deep-blue: #2a3d66;
}

.villa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.55;
    letter-spacing: 0.2px;
    color: #333;
}

.villa-container h1,
.villa-container h2,
.villa-container h3 {
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--deep-blue);
}

.villa-container p {
    margin: 0 0 1rem;
}
.villa-hero {
    position: relative;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #eee;
}

.villa-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.villa-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
    color: #fff;
}

.villa-hero-overlay h1 {
    margin: 0 0 5px;
    font-size: 32px;
    font-weight: 600;
}

.villa-location {
    font-size: 16px;
    opacity: 0.9;
}

.villa-hero-overlay h1,
.villa-hero-overlay p,
.villa-hero-overlay .villa-location {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}.villa-layout {
    display: flex;
    gap: 30px;
}

.villa-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.villa-sidebar {
    width: 350px;
    position: relative;
    align-self: flex-start; /* REQUIRED for sticky */
}

.booking-sticky {
    position: sticky;
    top: 20px;
}
.villa-section,
.villa-card {
    margin-bottom: 32px;
}

.villa-card {
    padding: 1.6rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}.villa-facts .fact {
    margin-bottom: 8px;
    font-size: 15px;
}
.villa-gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, 1fr);
    padding: 4px 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.villa-gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    background: #f6f2ee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform .15s ease;
}

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

@media (min-width: 600px) {
    .villa-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .villa-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}.villa-description p {
    line-height: 1.65;
}
.amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
}

.amenities-list li {
    margin-bottom: 6px;
    font-size: 15px;
}

.amenities-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 12px;
    margin-bottom: 20px;
}
#villa-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: #eaeaea;
}
.directions-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #0077cc;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
}

.directions-btn:hover {
    background: #005fa3;
}
.villa-pricing table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.villa-pricing th,
.villa-pricing td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.villa-pricing th {
    background: #fafafa;
    font-weight: 600;
}.villa-sidebar form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.villa-sidebar input,
.villa-sidebar textarea,
.villa-sidebar select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.villa-sidebar button {
    width: 100%;
    padding: 12px;
    background: var(--terracotta);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.villa-sidebar button:hover {
    background: #c46c3f;
}

.scroll-hint {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
    text-align: center;
}@media (max-width: 900px) {

    .villa-layout {
        flex-direction: column;
        gap: 20px;
    }

    .villa-sidebar {
        width: 100%;
        margin-top: 20px;
        position: static;
    }

    .booking-sticky {
        position: static;
    }
}

@media (max-width: 600px) {

    .villa-container {
        padding: 14px;
    }

    .villa-hero {
        height: 240px;
        border-radius: 10px;
    }

    .villa-hero-overlay {
        padding: 18px;
    }

    .villa-hero-overlay h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .villa-gallery img {
        height: 180px;
        border-radius: 8px;
    }

    .amenities-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .villa-pricing table {
        font-size: 14px;
    }
}





