/* -------------------- VARIABLES -------------------- */
:root {
    --primary-color: #003f64;
    --primary-dark: #002b44;
    --accent-color: #0077cc;
    --accent-hover: #005e9e;
    --bg-light: #fcfcfc;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --error-color: #d63031;
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* -------------------- GLOBAL STYLES -------------------- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* -------------------- HERO SECTION -------------------- */
.hero {
    position: relative;
    height: 45vh;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('images/collage house wide.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero p {
    font-size: clamp(18px, 3vw, 24px);
    margin: 25px 0 40px;
    font-weight: 400;
    opacity: 0.9;
}

.hero-actions {
    position: absolute;
    right: 5%;
    bottom: 40px;
    transform: none;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 119, 204, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* -------------------- NAVIGATION -------------------- */
.main-nav {
    background: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 18px 20px;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
}

/* -------------------- SECTIONS -------------------- */
.section {
    margin-bottom: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

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

.experience-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-10px);
}

.experience-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: var(--primary-color);
}

.card-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* -------------------- GALLERY -------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 280px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* -------------------- AMENITIES -------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 28px;
    color: var(--accent-color);
    width: 40px;
}

.feature-item h4 {
    margin: 0 0 5px;
    font-size: 18px;
    color: var var(--primary-color);
}

.feature-item p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* -------------------- BOOKING -------------------- */
#booking-widget {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.booking-form .input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.booking-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.booking-form input:not([type="checkbox"]) {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
}

.booking-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.booking-form .checkbox-label {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    gap: 15px;
}

.action-bar {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-display {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.action-bar button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.action-bar button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.partner-booking {
    margin-top: 40px;
    text-align: center;
}

.partner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.partner-btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-airbnb {
    background: #FF5A5F;
}

.btn-vrbo {
    background: #00487F;
}

/* -------------------- CONTACT -------------------- */
.contact-container {
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin: 10px 0;
    transition: var(--transition);
}

.whatsapp-link:hover {
    transform: scale(1.05);
    background: #128C7E;
}

/* -------------------- FOOTER -------------------- */
footer {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* -------------------- MODALS -------------------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.modal-content {
    background: white;
    max-width: 600px;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

/* -------------------- UTILS -------------------- */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-actions {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
}