/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: hsl(214, 56%, 20%);
    --cream: hsl(44, 36%, 96%);
    --gold: hsl(43, 74%, 49%);
    --charcoal: hsl(220, 13%, 18%);
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: hsl(45, 25%, 88%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
}

.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background-color: hsl(43, 74%, 40%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
}

.btn-secondary:hover {
    background-color: var(--cream);
    color: var(--navy);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--cream);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(27, 47, 69, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    color: var(--cream);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(27, 47, 69, 0.7), rgba(27, 47, 69, 0.7)),
                url('../images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cream);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(27, 47, 69, 0.7), rgba(27, 47, 69, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quick Booking */
.quick-booking {
    background-color: var(--white);
    padding: 4rem 0;
    margin-top: -4rem;
    position: relative;
    z-index: 3;
}

.booking-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy);
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Featured Rooms */
.featured-rooms {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.room-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.room-card.featured {
    border: 3px solid var(--gold);
    position: relative;
}

.room-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--gold);
    color: var(--navy);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-content {
    padding: 2rem;
}

.room-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy);
}

.room-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.room-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--charcoal);
}

.room-description {
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.room-features {
    list-style: none;
    margin-bottom: 2rem;
}

.room-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--charcoal);
}

.room-features i {
    color: var(--gold);
    width: 16px;
}

/* Amenities Preview */
.amenities-preview {
    padding: 6rem 0;
    background-color: var(--navy);
    color: var(--cream);
}

.amenities-preview .section-title {
    color: var(--cream);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.amenity-item {
    text-align: center;
    padding: 2rem;
}

.amenity-icon {
    background-color: rgba(218, 165, 32, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.amenity-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.amenity-item h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.amenity-item p {
    opacity: 0.8;
}

/* Reviews Section */
.reviews-section {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.review-rating {
    margin-bottom: 1rem;
}

.review-rating i {
    color: var(--gold);
    margin-right: 0.25rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-author {
    font-weight: 500;
    color: var(--navy);
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--cream);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
}

.footer-subtitle {
    font-size: 1.125rem;
}

.footer-description {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(218, 165, 32, 0.2);
    border-radius: 50%;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-contact div {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 0.25rem;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(248, 235, 208, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    opacity: 0.8;
}

.admin-link a {
    color: rgba(248, 235, 208, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.admin-link a:hover {
    color: var(--cream);
}

/* Amenity Icon Images */
.amenity-icon .icon-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Home page amenities icon images */
.amenities-preview .amenity-icon .icon-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.amenities-preview .amenity-item:hover .icon-image {
    transform: scale(1.1);
}

/* Amenities Showcase */
.amenities-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.amenity-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.amenity-showcase.reverse {
    grid-template-columns: 1fr 1fr;
}

.amenity-showcase.reverse .amenity-image {
    order: 2;
}

.amenity-showcase.reverse .amenity-content {
    order: 1;
}

.amenity-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.amenity-content {
    padding: 0 1rem;
}

.amenity-icon {
    margin-bottom: 1rem;
}

.amenity-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.amenity-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.amenity-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--charcoal);
    border: 1px solid var(--border-color);
}

.feature-tag i {
    color: var(--gold);
    font-size: 0.875rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), #e6b800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--navy);
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--charcoal);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(27, 47, 69, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Amenities mobile styles */
    .amenity-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .amenity-showcase.reverse .amenity-image,
    .amenity-showcase.reverse .amenity-content {
        order: unset;
    }

    .amenity-image img {
        height: 250px;
    }

    .amenity-content {
        padding: 0;
    }

    .amenity-content h3 {
        font-size: 1.5rem;
    }

    .feature-tag {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Admin login mobile responsiveness */
    .admin-login-container {
        padding: 1rem;
    }

    .login-card {
        margin: 0;
    }

    .login-header {
        padding: 1.5rem;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .room-content {
        padding: 1.5rem;
    }

    .amenity-item {
        padding: 1.5rem;
    }

    /* Single column for very small screens */
    .amenities-preview .amenities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .amenities-preview .amenity-item {
        padding: 1rem;
    }

    /* Smaller mobile adjustments */
    .amenity-icon .icon-image {
        width: 50px;
        height: 50px;
    }

    /* Home page amenities mobile */
    .amenities-preview .amenity-icon .icon-image {
        width: 60px;
        height: 60px;
    }

    .amenities-preview .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .amenities-preview .amenity-item {
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .amenities-preview .amenity-item h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem;
    }

    .amenities-preview .amenity-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .review-card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.hidden {
    display: none;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}