/* Mt Deluxe Hotel - Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --brandy-punch: #d97f2b;
    --raw-sienna: #d18c47;
    --beige: #f7f9eb;
    --woodland: #436023;
    --green-smoke: #a0b262;
    --raffia: #e8d4af;
    --sycamore: #748d43;
    --tusk: #e0f2bb;
    --twine: #c79f6c;

    /* Semantic Colors */
    --primary-color: var(--brandy-punch);
    --secondary-color: var(--woodland);
    --bg-color: var(--beige);
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --accent: var(--green-smoke);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--raw-sienna);
    transform: translateY(-2px);
}

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

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

.section-padding {
    padding: 80px 0;
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Elegant Placeholders */
.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--woodland) 0%, var(--sycamore) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 3rem;
}

.placeholder-img i {
    font-size: 4rem;
}

.placeholder-img i {
    font-size: 4rem;
}

/* Gallery Tabs & Filters */
.tab-btn,
.filter-btn {
    padding: 10px 25px;
    margin: 0 5px;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.tab-btn.active,
.filter-btn.active,
.tab-btn:hover,
.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Room Preview Cards */
.room-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Review Cards */
.review-card {
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

/* Review Carousel */
.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-carousel-wrapper .review-card {
    min-width: calc(33.333% - 20px) !important;
    flex: 0 0 calc(33.333% - 20px);
}

.carousel-btn:hover {
    background-color: var(--raw-sienna);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1024px) {
    .review-carousel-wrapper .review-card {
        min-width: calc(50% - 15px) !important;
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .review-carousel-wrapper .review-card {
        min-width: 100% !important;
        flex: 0 0 100%;
    }

    .carousel-btn {
        display: none;
    }
}

/* Footer */
footer {
    background-color: var(--woodland);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: block;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Hero */
.page-hero {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    color: white;
    margin: 0;
}

/* Layout Utilities */
.row {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.col-text,
.col-img {
    flex: 1;
    min-width: 300px;
}

.col-img {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.amenity-card {
    padding: 30px;
    background: white;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.amenity-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.amenity-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.amenity-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Feature Items */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--raw-sienna));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--sycamore));
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-light);
}

/* Rooms Showcase */
.rooms-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.room-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.room-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.room-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.room-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.room-content {
    padding: 25px;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.room-header h3 {
    margin: 0;
}

.room-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.room-price-old {
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: line-through;
    margin-right: 5px;
}

.room-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: justify;
}

.room-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    flex-wrap: wrap;
}

.room-meta span i {
    margin-right: 5px;
}

/* Review Carousel */
.modern-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track {
    position: relative;
    min-height: 350px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.modern-review-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.2;
}

.star-rating {
    margin-bottom: 20px;
}

.star-rating i {
    color: #ffa500;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--raw-sienna));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.reviewer-avatar.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--sycamore));
}

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

.reviewer-name {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.reviewer-type {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav.prev-btn {
    left: 0;
}

.carousel-nav.next-btn {
    right: 0;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    background-color: white;
    color: var(--secondary-color);
}

.cta-section .btn:hover {
    background-color: var(--beige);
}

/* Background Utilities */
.bg-white {
    background-color: white;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--beige) 0%, white 100%);
}

.bg-beige {
    background-color: var(--beige);
}

/* Gallery Specific */
.gallery-tabs {
    margin-bottom: 30px;
}

.category-filters {
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

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

.gallery-item-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.video-item-container {
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.video-item-container i {
    font-size: 4rem;
    color: white;
}

.video-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-weight: 500;
}

.video-description {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    color: var(--text-dark);
}

.empty-state p {
    color: var(--text-light);
}

/* About Page */
.subtitle {
    color: var(--primary-color);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
}

.vision-mission-card {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vision-mission-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* Contact Page */
.col-info {
    flex: 1;
    min-width: 300px;
}

.col-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-details {
    margin-top: 30px;
}

.detail-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item .icon {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.detail-item .info h4 {
    margin-bottom: 5px;
}

.detail-item .info p {
    color: var(--text-light);
    margin: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 30px;
    border: 1px solid;
}

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

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

.alert i {
    margin-right: 8px;
}

/* Map Section */
.map-section {
    height: 450px;
    width: 100%;
}

.map-section iframe {
    border: 0;
}

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

    .hero p {
        font-size: 1rem;
    }

    .modern-carousel-container {
        padding: 0 20px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

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

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

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }
}