:root {
    --primary: #2C3E50;
    --accent: #E67E22;
    --text-light: #FDFEFE;
    --text-dark: #17202A;
    --bg-light: #F4F6F6;
    --bg-dark: #2C3E50;
    --overlay: rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-heading);
}

header.scrolled .logo {
    color: var(--text-dark);
}

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

nav a {
    color: var(--text-light);
    font-weight: 500;
    opacity: 0.9;
    transition: var(--transition);
}

nav a:hover {
    opacity: 1;
    color: var(--accent);
}

header.scrolled nav a {
    color: var(--text-dark);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Switcher */
.language-switcher select {
    appearance: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.language-switcher select:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher select option {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

header.scrolled .language-switcher select {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

header.scrolled .language-switcher select:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(var(--overlay), var(--overlay)), url('images/hero2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent);
}

.book-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* Photos Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Extras Section */
.extras {
    background-color: #fcfcfc;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.extra-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.extra-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.extra-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.extra-card p {
    color: #666;
}


/* Availability & Details */
.features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--bg-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price-tag {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
    margin: 1rem 0;
}

.availability-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #27AE60;
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Detailed Amenities */
.amenities-detailed {
    background: var(--bg-light);
}

.amenities-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.amenity-group {
    background: #fff;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.amenity-group h3 {
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.amenity-group p {
    color: #555;
    font-size: 1.1rem;
}


/* Location Section */
.location-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.address-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.address-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.address-details p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.map-container {
    flex: 2;
    min-width: 300px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    display: block;
}

/* Contact/Booking */
.booking {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.booking .section-title {
    color: var(--text-light);
}

.booking-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-info {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #17202A;
    color: #BDC3C7;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    header {
        padding: 1rem;
    }

    nav ul {
        display: none;
        /* Mobile menu to be implemented if needed, or simple stack */
    }

    .header-actions {
        margin-left: auto;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1.2rem;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

/* Lightbox Navigation */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2001;
    /* Above image */
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}