/* Base Styles */
:root {
    --primary: #1a1814;
    --primary-light: #2c2620;
    --primary-dark: #0d0c0a;
    --secondary: #f5f5f4;
    --text: #1a1814;
    --text-light: #78716c;
    --background: #ffffff;
    --background-alt: #f5f5f4;
    --border: #e7e5e4;
    --accent: #d4a762;
    --radius: 0.5rem;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.flex-1 {
    flex: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.min-h-screen {
    min-height: 100vh;
}

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-width-3xl {
    max-width: 48rem;
}

.separator {
    width: 5rem;
    height: 2px;
    background-color: var(--accent);
    margin: 1.5rem auto;
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: var(--background);
    backdrop-filter: blur(10px);
}

.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    /* Increased height for larger logo */
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
}

.logo-text {
    display: inline-block;
}

.logo:hover {
     /* background-color: var(--primary-light); */
    /* Hover effect */
}

.logo-icon {
    width: 50px; /* Set the desired width */
    height: auto; /* Ensures aspect ratio is preserved */
    margin-right: 10px;
}

.logo img {
    width: 50px; /* Adjust as needed */
    height: auto; /* Maintains aspect ratio */
}


/* Media query for smaller screens */
@media (max-width: 640px) {
    .logo {
        font-size: 1.125rem;
        /* Slightly smaller font size for mobile */
        padding: 0.375rem 0.75rem;
        /* Adjusted padding for mobile */
    }

    .logo-icon {
        width: 1.5rem;
        /* Slightly smaller icon for mobile */
        height: 1.5rem;
        margin-right: 0.5rem;
    }
}

.main-nav {
    display: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    margin-left: 1.5rem;
}

.nav-link:hover {
    color: var(--accent);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
}

.btn-full {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
}

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

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

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

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn i {
    margin-left: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/surroundings/foyer.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.025em;
    max-width: 48rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    max-width: 32rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Booking Section */
.booking-section {
    background-color: var(--background-alt);
    padding: 2rem 0;
}

.booking-bar {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.booking-grid {
    display: grid;
    gap: 1.5rem;
}

.booking-item h3 {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.date-picker-container {
    position: relative;
}

.date-picker-button {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    cursor: pointer;
    text-align: left;
}

.date-picker-button i {
    margin-right: 0.5rem;
}

.date-picker-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    background-color: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    margin-top: 0.5rem;
}

.date-picker-popup.active {
    display: block;
}

.select-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    font-size: 0.875rem;
}

/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.welcome-section p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Accommodations Section */
.accommodations-section {
    background-color: var(--background-alt);
    padding: 5rem 0;
}

.accommodations-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.accommodations-section>.container>p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.room-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.room-card {
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.room-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

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

.room-content {
    padding: 1.5rem;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.room-header h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

.room-price {
    font-size: 1.125rem;
    font-weight: 500;
}

.price-night {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--text-light);
}

.room-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Experiences Section */
.experiences-section {
    background-color: var(--background-alt);
    padding: 5rem 0;
}

.experiences-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.experience-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

.experience-card {
    background-color: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.experience-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

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

.experience-content {
    padding: 1.5rem;
}

.experience-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.experience-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.experience-link i {
    margin-left: 0.5rem;
}

/* Dining Section */
.dining-section {
    padding: 5rem 0;
}

.two-column-grid {
    display: grid;
    gap: 3rem;
}

.dining-content h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.dining-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.dining-content .btn {
    margin-top: 2rem;
}

.dining-image {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
}

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

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.testimonial-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stars {
    color: #f59e0b;
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-card blockquote p {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 500;
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    background-color: var(--background-alt);
    padding: 5rem 0;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.about-content .btn {
    margin-top: 2rem;
}

.about-image {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
}

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

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.contact-grid {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: var(--background-alt);
}

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

.contact-text h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

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

.contact-map {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-container {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: 2rem; /* Increased padding for better spacing */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Enhanced shadow for a pop-out effect */
    border: 1px solid var(--border); /* Add a subtle border */
    background: linear-gradient(135deg, var(--background-alt), var(--background)); /* Gradient background */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.contact-form-container:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}
  
  .contact-form-container h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    display: grid;
    gap: 1rem;
  }
  
  .form-group {
    width: 100%;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
  }
  
  .contact-form textarea {
    resize: vertical;
  }
  
  .contact-map-container {
    width: 100%;
    margin-top: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .contact-map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
  }

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary);
    color: white;
    padding: 5rem 0;
}

.newsletter-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.025em;
}

.newsletter-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-input {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background-color: transparent;
    color: white;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background-color: var(--background);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--text);
}

.footer-links {
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-contact {
    display: grid;
    gap: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-contact li i {
    margin-top: 0.125rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Media Queries */
@media (min-width: 640px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .newsletter-form {
        flex-direction: row;
        justify-content: center;
    }

    .newsletter-input {
        width: 18rem;
    }
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
      }

    .main-nav {
        display: flex;
        align-items: center;
        margin-left: auto;
        /* Push nav items to the right */
    }

    .desktop-only {
        display: inline-flex;
        margin-left: 1.5rem;
        /* Add some space between nav items and Book Now button */
    }

    .mobile-only {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .booking-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .room-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .two-column-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .contact-form-container {
        margin-top: 2rem;
      }
      
      .contact-map-container {
        margin-top: 2rem;
      }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .menu-toggle .bar {
        height: 3px;
        width: 100%;
        background-color: var(--text);
        transition: all 0.3s ease-in-out;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--background);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 20px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-link {
        margin: 10px 0;
        font-size: 1.1rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Hero Content Responsiveness */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
        max-width: 100%;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .logo-text {
        font-size: 1rem;
    }
}