/* General Styles & Beach-themed Color Palette */
:root {
    --primary-color: #007BFF; /* A calming blue, reminiscent of the ocean */
    --secondary-color: #FFA07A; /* Light Salmon, for sunset/beach vibe */
    --accent-color: #28a745; /* Green for success/booking */
    --text-dark: #333;
    --text-light: #555;
    --bg-light: #f8f9fa; /* Light background */
    --bg-dark: #e9ecef; /* Slightly darker background */
    --white: #ffffff;
    --border-color: #dee2e6;
    --header-bg: rgba(255, 255, 255, 0.95); /* Slightly transparent for sticky nav */

    /* Dark Mode Colors (Optional) */
    --dark-bg: #222;
    --dark-text: #eee;
    --dark-card-bg: #333;
    --dark-border: #444;
}

/* Base styles for dark theme toggle */
body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

body.dark-theme #navbar {
    background-color: rgba(34, 34, 34, 0.95);
    border-bottom: 1px solid var(--dark-border);
}

body.dark-theme .nav-links a {
    color: var(--dark-text);
}

body.dark-theme .nav-links a:hover {
    color: var(--secondary-color);
}

body.dark-theme .section-padding {
    background-color: var(--dark-bg);
}

body.dark-theme .bg-light {
    background-color: var(--dark-card-bg);
}

body.dark-theme .room-card,
body.dark-theme .attraction-item,
body.dark-theme .gallery-item img {
    background-color: var(--dark-card-bg);
    border: 1px solid var(--dark-border);
}

body.dark-theme .rate-table table,
body.dark-theme .rate-table th,
body.dark-theme .rate-table td {
    border-color: var(--dark-border);
}

body.dark-theme footer {
    background-color: #1a1a1a;
    border-top: 1px solid var(--dark-border);
}

body.dark-theme .whatsapp-float {
    background-color: #25D366; /* Keep WhatsApp green */
}

body.dark-theme .btn {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Basic Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--white); /* Ensure text remains white on hover */
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-dark);
}

/* Navigation Bar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    color: var(--primary-color);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.book-now-btn {
    font-size: 1.2rem;
    padding: 15px 35px;
    background-color: var(--accent-color);
}

.book-now-btn:hover {
    background-color: #218838;
}


/* About Us Section */
#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Rooms Section */
.room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.room-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.room-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.room-card h3 {
    font-size: 1.6rem;
    margin: 15px 0 10px;
    padding: 0 20px;
    color: var(--primary-color);
}

.room-card ul {
    list-style: none;
    padding: 0 20px 20px;
}

.room-card ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--text-light);
}

.room-card ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.plans-info {
    text-align: center;
    margin-top: 3rem;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.plans-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.plans-info ul {
    list-style: none;
    padding: 0;
    display: inline-block; /* For centering list items */
    text-align: left;
}

.plans-info ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.plans-info ul li strong {
    color: var(--text-dark);
}

/* Room Rate Table */
.rate-table {
    margin-top: 4rem;
    text-align: center;
}

.rate-table h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.rate-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners for table */
}

.rate-table th, .rate-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
}

.rate-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.rate-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

.rate-table .note {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 10px;
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox (Optional) */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}


/* Amenities Section */
.amenities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
}

.amenities-list li {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.amenities-list li:hover {
    transform: translateY(-3px);
}

.amenities-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.5rem;
}

/* Nearby Attractions Section */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.attraction-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.attraction-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.attraction-item h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
    padding: 0 20px;
    color: var(--primary-color);
}

.attraction-item p {
    font-size: 1rem;
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Contact Us Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.contact-info p i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.3rem;
}

.contact-info a {
    word-break: break-all; /* For long URLs/emails */
}

.google-map {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cta-whatsapp {
    background-color: #25D366; /* WhatsApp green */
    color: var(--white);
    font-size: 1.2rem;
    padding: 15px 30px;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.cta-whatsapp:hover {
    background-color: #1DA851;
}

.cta-whatsapp i {
    margin-right: 10px;
}

/* Optional Booking Form (if uncommented in HTML) */
.booking-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.booking-form-container h3 {
    text-align: center;
    margin-bottom: 25px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form input[type="number"],
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: border-color 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.booking-form textarea {
    resize: vertical;
}

.booking-form button.btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}


/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    border-top: 5px solid var(--secondary-color);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1DA851;
}

/* Dark/Light Theme Toggle (Optional) */
.theme-toggle {
    position: fixed;
    top: 120px;
    right: 20px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 999;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle i {
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

body.dark-theme .theme-toggle {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border);
}

body.dark-theme .theme-toggle i {
    color: var(--dark-text);
}


/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        margin-left: auto; /* Push links to the right for better spacing */
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--header-bg);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-top: 1px solid var(--border-color);
        display: none; /* Hidden by default */
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .room-cards, .gallery-grid, .amenities-list, .attractions-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .rate-table th, .rate-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .theme-toggle {
        top: 80px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
