﻿body {
    : root

{
    --primary: #8B7355;
    --secondary: #4F6D7A;
    --light: #F8F5F0;
    --dark: #2C3E50;
    --accent: #C19A6B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--light);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo h1 {
        font-size: 1.8rem;
        color: var(--primary);
        margin-left: 10px;
    }

.logo-img {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 25px;
    }

        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s;
        }

            nav ul li a:hover {
                color: var(--primary);
            }

.book-btn {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

    .book-btn:hover {
        background-color: var(--accent);
    }
/*.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    position: relative;*/ /* needed for overlay positioning */
    /*overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

    .hero-content h2 {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }*/

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

        .section-title h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent);
        }

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* Rooms Section */
.rooms {
    padding: 80px 0;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.room-image {
    height: 200px;
    overflow: hidden;
}

    .room-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-details {
    padding: 20px;
}

    .room-details h3 {
        color: var(--dark);
        margin-bottom: 10px;
    }

.room-features {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

    .room-features span {
        font-size: 0.9rem;
    }

.room-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 10px 0;
}

/* Booking Form */
.booking {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.booking-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
    }

    .form-group input, .form-group select {
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 5px;
    }

.submit-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

    .submit-btn:hover {
        background-color: #b3895f;
    }

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

    .author-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.author-details h4 {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: background-color 0.3s;
    }

        .social-links a:hover {
            background-color: var(--primary);
        }

.footer-links ul {
    list-style: none;
}

    .footer-links ul li {
        margin-bottom: 10px;
    }

        .footer-links ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }

            .footer-links ul li a:hover {
                color: var(--accent);
            }

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }
}

        .map-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }

         .map-container iframe {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 0;
            }

.room-chart {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.room-item {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

    .room-item.available {
        background-color: #e8f5e9;
        border-color: #4caf50;
    }

    .room-item.occupied {
        background-color: #ffebee;
        border-color: #f44336;
        cursor: not-allowed;
    }

    .room-item.selected {
        background-color: #bbdefb;
        border-color: #2196f3;
    }

    .room-item.out-of-order {
        background-color: #f5f5f5;
        border-color: #9e9e9e;
        cursor: not-allowed;
    }

.room-number {
    font-weight: bold;
    font-size: 1.2em;
}

.room-type {
    font-size: 0.9em;
    color: #666;
}

.room-rate {
    font-weight: bold;
    color: var(--primary);
}

/* Dashboard Styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 10px 0;
}

.stat-label {
    color: var(--dark);
    font-size: 1.1rem;
}

/* Rating Styles */
.rating {
    color: #ffc107;
    margin: 10px 0;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

    .event-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.event-details {
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

        nav ul li {
            margin: 5px 10px;
        }

    .hero-content h2 {
        font-size: 2.5rem;
    }
}
}
