/* Global Styles */
:root {
    --primary-color: #b8860b;
    --secondary-color: #1a1a1a;
    --accent-color: #d4af37;
    --light-color: #f9f9f9;
    --dark-color: #333;
    --text-color: #555;
    --border-color: #e0e0e0;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    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-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

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

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

.btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

section {
    padding: 5rem 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 900px;
    text-align: center;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.cookie-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

#cookieSettings {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.accept-btn {
    background-color: var(--primary-color);
    color: white;
}

.cookie-link {
    display: block;
    margin-top: 0.5rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: var(--transition);
}

header.scrolled {
    background-color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo p {
    font-size: 0.9rem;
    color: var(--text-color);
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.intro {
    background-color: white;
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
}

/* Hotels Section */
.hotels {
    background-color: var(--light-color);
}

.hotels h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.hotel-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

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

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.hotel-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.hotel-content {
    padding: 1.5rem;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.hotel-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.hotel-location {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-color);
}

.hotel-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.hotel-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.editor-choice {
    background-color: var(--secondary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.hotel-description {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hotel-feature {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.hotel-feature i {
    margin-right: 5px;
    color: var(--primary-color);
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.hotel-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.hotel-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
}

.hotel-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.hotel-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.hotel-link:hover i {
    transform: translateX(3px);
}

/* About Section */
.about {
    background-color: white;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

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

.criteria-item {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.criteria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.criteria-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.criteria-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.newsletter form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Poppins', sans-serif;
}

.newsletter button {
    border-radius: 0 4px 4px 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #ccc;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #ccc;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

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

.social-icons 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: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ccc;
}

.footer-column p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    transform: translateY(-50px);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    padding: 2rem;
}

.hotel-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.hotel-modal-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hotel-modal-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hotel-modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-main {
    grid-column: span 3;
    height: 300px;
}

.gallery-item {
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.hotel-modal-description {
    margin-bottom: 2rem;
}

.hotel-modal-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hotel-modal-amenities {
    margin-bottom: 2rem;
}

.hotel-modal-amenities h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.amenity-item {
    display: flex;
    align-items: center;
}

.amenity-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

.hotel-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hotel-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 101;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 5rem 2rem 2rem;
    }
    
    nav ul li {
        margin: 0 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .intro h2,
    .hotels h2,
    .about h2,
    .newsletter h2 {
        font-size: 2rem;
    }
    
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 4px;
        margin-bottom: 1rem;
    }
    
    .newsletter button {
        border-radius: 4px;
        width: 100%;
    }
    
    .hotel-modal-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-main {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hotel-grid {
        grid-template-columns: 1fr;
    }
    
    .hotel-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}