/* ===== Clean up the redundant code at the top ===== */
:root {
    --primary: #b8a369;
    --text: #3B3322;
    --bg: #FAF7F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Import modern font */
body, h1, h2, h3, h4, h5, h6, p, a, ul, li, button, input, textarea {
    font-family: 'Poppins', Arial, sans-serif;
}

/* Base body and backgrounds */
body {
    background: #FAF7F2;
    color: #3B3322;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 1.08rem;
    overflow-x: hidden;
}

/* Section backgrounds and spacing */
section {
    background: #FFFDF2;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(184,163,105,0.06);
    margin: 40px auto;
    padding: 48px 0;
    width: 90%;
    max-width: 1200px;
}

/* Alternate section backgrounds */
.rooms, .gallery {
    background: #F7F3EA;
}

.amenities, .location, .contact {
    background: #F2F0EA;
}

/* Container for consistent layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: #F5F5F5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 60px;
    border-radius: 12px;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: #3B3322;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #B8A369;
}

/* Book Now Button */
.book-btn, .btn {
    background: #B8A369;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    margin-left: 30px;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(184,163,105,0.12);
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.book-btn:hover, .btn:hover {
    background: #a08b54;
    color: #fff;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: url('villa.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 90px;
    position: relative;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(30, 30, 30, 0.45); /* semi-transparent overlay */
    z-index: 0;
    border-radius: 0 0 32px 32px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 2px;
    line-height: 1.15;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 34px;
    font-weight: 400;
}

/* About Us Modern */
.about-modern-bg {
    background: linear-gradient(135deg, #F7F3EA 0%, #FAF7F2 100%);
    padding: 60px 0;
    display: flex;
    justify-content: center;
    border-radius: 18px;
}

.about-modern-content {
    max-width: 700px;
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    padding: 40px 32px;
    color: #3B3322;
    text-align: center;
}

.about-modern-content h2 {
    font-size: 2.5rem;
    color: #B8A369;
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: 2px;
}

.about-modern-content p {
    font-size: 1.13rem;
    line-height: 2;
    font-weight: 400;
    color: #4e4636;
}

.about-signoff {
    display: block;
    margin-top: 30px;
    color: #B8A369;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #B8A369;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 3px;
    background-color: #B8A369;
    border-radius: 2px;
}

/* Room Cards */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    width: 100%;
}

.room-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-8px) scale(1.025);
}

.room-image {
    height: 220px;
    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.06);
}

.room-details {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers all children horizontally */
    justify-content: space-between;
}

.room-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #B8A369;
    font-weight: 600;
}

.room-details p {
    margin-bottom: 10px;
    color: #4e4636;
    text-align: center;
}

.room-features {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.room-features span {
    font-size: 0.97rem;
    color: #7a6a3c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.room-features i {
    color: #B8A369;
}

.room-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #B8A369;
    margin-bottom: 10px;
}

.room-details .btn {
    display: block;
    margin: 18px auto 0 auto; /* Top margin, auto left/right centers the button */
    padding: 10px 28px;
    font-size: 1rem;
    border-radius: 6px;
    background-color: #B8A369;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.room-details .btn:hover {
    background-color: #a08b54;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
    width: 100%;
}

.amenity-item {
    text-align: center;
    padding: 28px 18px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.amenity-item:hover {
    transform: translateY(-6px);
}

.amenity-icon {
    font-size: 2.2rem;
    color: #B8A369;
    margin-bottom: 10px;
}

.amenity-item h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
    color: #3B3322;
    font-weight: 600;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 15px;
    width: 100%;
}

.gallery-item {
    position: relative;
    height: 210px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

/* Location */
.location {
    background: linear-gradient(120deg, #f7f3ea 60%, #faf7f2 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(184,163,105,0.06);
    padding: 48px 0;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 36px;
}

.location-info {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.2);
    padding: 32px 28px;
    color: #3B3322;
}

.location-info h3 {
    font-size: 1.35rem;
    color: #b8a369;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.location-address {
    font-size: 1.08rem;
    color: #7a6a3c;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-desc {
    font-size: 1.08rem;
    color: #4e4636;
    margin-bottom: 18px;
    line-height: 1.7;
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.location-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #3B3322;
    background: #f7f3ea;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 8px 14px;
    font-weight: 500;
}

.location-list i {
    color: #b8a369;
    font-size: 1.15rem;
    min-width: 22px;
    text-align: center;
}

.location-note {
    font-size: 1rem;
    color: #7a6a3c;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
    background: #f2f0ea;
    border-radius: 7px;
    padding: 8px 12px;
}

.location-map {
    flex: 1;
    min-width: 300px;
    height: 625px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: #fff; /* fallback background */
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Contact */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 28px;
}

.contact-info {
    flex: 1;
    min-width: 260px;
    padding-right: 28px;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #B8A369;
    font-weight: 600;
}

.contact-details {
    margin-bottom: 22px;
}

.contact-details p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4e4636;
}

.contact-details i {
    color: #B8A369;
    font-size: 1.1rem;
    width: 22px;
}

.social-links {
    display: flex;
    margin-top: 14px;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #B8A369;
    color: #fff;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    font-size: 1.1rem;
    text-decoration: none;
}

.social-links a:hover {
    background: #a08b54;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 260px;
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #e5e1d7;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9f7f3;
    transition: border-color 0.2s;
    color: #3B3322;
}

.form-control:focus {
    outline: none;
    border-color: #B8A369;
}

textarea.form-control {
    height: 110px;
    resize: vertical;
}

.contact-form .btn {
    margin-left: 0;
    display: block;
    width: 100%;
    text-align: center;
}

/* Footer */
footer {
    background: #F5F5F5;
    color: #3B3322;
    padding: 50px 0 20px;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -2px 18px rgba(184,163,105,0.04);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 28px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.footer-column {
    flex: 1;
    min-width: 230px;
    margin-bottom: 18px;
}

.footer-column h3 {
    font-size: 1.08rem;
    margin-bottom: 16px;
    color: #B8A369;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-column p {
    margin-bottom: 9px;
    color: #4e4636;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #3B3322;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #B8A369;
}

.footer-bottom {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid #e5e1d7;
    color: #7a6a3c;
    font-size: 0.98rem;
}

/* Body state when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Media Queries for Mobile Responsive Design */
@media screen and (max-width: 1050px) {
    .header-container, .footer-content {
        width: 95%;
    }
    
    section {
        width: 95%;
        margin: 30px auto;
    }
}

@media screen and (max-width: 900px) {
    .room-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .location-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .location-info, .location-map {
        min-width: 0;
        width: 100%;
    }
    
    .location-map {
        height: 300px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fffdf2;
        position: absolute;
        top: 90px;
        left: 0;
        box-shadow: 0 5px 10px rgba(184,163,105,0.10);
        border-radius: 0 0 18px 18px;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 14px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
        width: 100%;
    }
    
    .book-btn {
        display: none;
    }
    
    .mobile-menu {
        display: block;
        color: #B8A369;
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 0;
    }
    
    .logo {
        height: 45px;
    }
    
    .hero {
        margin-top: 65px;
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-modern-content {
        padding: 20px 16px;
    }
    
    .about-modern-content h2 {
        font-size: 1.8rem;
    }
    
    .about-modern-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    section {
        padding: 32px 0;
        margin: 24px auto;
    }
    
    .room-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gallery-item {
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .about-modern-content h2 {
        font-size: 1.5rem;
    }
    
    .location-list li {
        font-size: 0.9rem;
    }
    
    .location-info {
        padding: 20px 15px;
    }
    
    .gallery-item {
        height: 160px;
    }
}

/* Hide scrollbars for aesthetics (optional) */
body::-webkit-scrollbar {
    width: 8px;
    background: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
    background: #e5e1d7;
    border-radius: 8px;
}
