:root {
    --primary: #d4a373;
    --dark: #1f2937;
    --light: #fefae0;
    --gray: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
}

    .logo span {
        color: var(--primary);
    }

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 20px;
    }

        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
        }

/* Hero */
header {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Sections */
section {
    padding: 5rem 10%;
}

.bg-light {
    background: #fafafa;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Room Details */
.room-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-grid {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

    .photo-grid:hover {
        transform: translateY(-5px);
    }

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

    .photo-grid h3 {
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .photo-grid p {
        padding: 0 1.5rem 1.5rem;
        color: var(--gray);
    }

.room-detail {
    margin-bottom: 4rem;
}

    .room-detail h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 1.5rem;
}

    .photo-grid img {
        width: 100%;
        height: 200px;
        object-fit: cover; /* This crops images perfectly so they are all the same size */
        border-radius: 6px;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

        .photo-grid img:hover {
            transform: scale(1.03); /* Subtle zoom effect when hovering */
        }

.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 4rem 0;
}

/* Form */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
    }

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn, .btn-dark {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-dark {
    background: var(--dark);
    color: white;
    width: 100%;
    border: none;
    font-size: 1rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

#confirmation-msg {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    background: #d1fae5;
    color: #065f46;
    text-align: center;
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--dark);
    color: white;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

/* Lightbox Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Sits on top of everything */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark backdrop */
}

/* The Image itself */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 4px;
    animation: zoom 0.3s; /* Smooth entry */
}

@keyframes zoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: #ccc;
    padding: 10px;
    font-size: 1.2rem;
}

/* Next & Previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

    .prev:hover, .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

#owner-intro {
    padding: 4rem 10%;
    background-color: #fff;
}

.owner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.owner-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%; /* Makes the photo a circle */
    object-fit: cover;
    border: 4px solid var(--primary); /* Adds a nice colored ring around your photo */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.owner-text span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: bold;
}

.owner-text h2 {
    text-align: left; /* Overrides the global centered H2 */
    margin: 0.5rem 0 1rem 0;
    font-size: 2rem;
}

.owner-text p {
    color: var(--gray);
    font-style: italic;
    line-height: 1.8;
}

/* Make it look good on mobile */
@media (max-width: 768px) {
    .owner-container {
        flex-direction: column;
        text-align: center;
    }

    .owner-text h2 {
        text-align: center;
    }
}

.signature {
    font-family: 'Dancing Script', cursive; /* Use the Google Font */
    font-size: 2.2rem;
    color: var(--primary);
    margin-top: 1rem;
    /* This adds a slight tilt to make it look more like real writing */
    transform: rotate(-2deg);
    display: inline-block;
}

