/* ================= GLOBAL STYLE & THEME ================= */
:root {
    --bg-cream: #FBF8F3;
    --accent-terracotta: #C1663A;
    --accent-hover: #A54F26;
    --text-dark: #2C2C2C;
    --text-light: #5A5A5A;
    --card-bg: #FFFFFF;
    --border-color: #EAE5DC;
    --shadow: 0 4px 20px rgba(193, 102, 58, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--text-dark);
}

section {
    padding: 80px 8%;
    text-align: center;
}

h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-terracotta);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* ================= NAVIGATION BAR ================= */
.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.top-menu.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 8%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.top-menu.scrolled a {
    color: var(--text-dark);
}

.top-menu.scrolled .nav-logo {
    color: var(--text-dark);
}

.nav-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--accent-terracotta);
}

/* Standalone filled Book Now pill button */
.nav-links .btn-book-nav {
    background-color: var(--accent-terracotta);
    color: white !important;
    padding: 10px 24px;
    border-radius: 30px;
    border-bottom: none;
    box-shadow: 0 4px 10px rgba(193, 102, 58, 0.2);
}

.nav-links .btn-book-nav:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Hamburger toggle menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 21px;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.top-menu.scrolled .menu-toggle span {
    background-color: var(--text-dark);
}

/* Hamburger active transformation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* ================= HEADER & HERO ================= */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)), url("IMG_0979-compressed.JPG");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 70vh;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

header p.hero-subtitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

header h1 {
    font-size: 60px;
    color: white;
    margin-bottom: 20px;
    max-width: 900px;
    line-height: 1.2;
}

header p.hero-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}

/* Terracotta CTA Button */
.btn-primary {
    background-color: var(--accent-terracotta);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(193, 102, 58, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 102, 58, 0.4);
}

/* ================= SOCIAL PROOF STRIP ================= */
.social-proof-strip {
    background-color: #F3ECE2;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.rating-info {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.rating-stars {
    color: var(--accent-terracotta);
    margin-right: 5px;
}

/* Testimonial Carousel inside strip */
.testimonial-carousel {
    max-width: 600px;
    position: relative;
    overflow: hidden;
    height: 30px;
}

.testimonial-slide {
    font-size: 15px;
    font-style: italic;
    color: var(--text-light);
    display: none;
    text-align: right;
    animation: fadeEffect 1s;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ================= ABOUT US ================= */
.about {
    background-color: var(--bg-cream);
    max-width: 900px;
    margin: 0 auto;
}

/* ================= HIGHLIGHTS & AMENITIES ================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-terracotta);
}

/* ================= ROOMS & SUITES SECTION ================= */
#rooms {
    background-color: #F5EFE6;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.room-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: left;
    transition: transform 0.3s;
}

.room-card:hover {
    transform: translateY(-5px);
}

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

.room-info {
    padding: 25px;
}

.room-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.room-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.room-link {
    color: var(--accent-terracotta);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

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

/* ================= GALLERY ================= */
.images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.images img:hover {
    transform: scale(1.03);
    border-color: var(--accent-terracotta);
}

/* ================= ACTIVITIES SECTION ================= */
#activities {
    background-color: #F5EFE6;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.activity-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow);
}

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

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(193, 102, 58, 0.8), rgba(0,0,0,0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.activity-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

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

.activity-card:hover .activity-overlay {
    opacity: 1;
}

/* ================= REVIEWS ================= */
#reviews {
    background-color: var(--bg-cream);
}

.reviews-container {
    max-width: 800px;
    margin: auto;
}

.review {
    background: var(--card-bg);
    padding: 35px;
    margin: 25px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: left;
}

.review h3 {
    color: var(--accent-terracotta);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: left;
}

.review h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

/* ================= FAQ ================= */
#faq {
    background-color: var(--bg-cream);
}

details {
    background: var(--card-bg);
    margin: 15px auto;
    padding: 20px 25px;
    max-width: 750px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: var(--shadow);
}

summary {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
}

details p {
    font-size: 15px;
    color: var(--text-light);
    margin: 15px 0 0 0;
    text-align: left;
}

/* ================= LOCATION ================= */
#location {
    background-color: var(--bg-cream);
}

/* ================= ONLINE PLATFORMS ================= */
.platform-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.platform-links a {
    text-decoration: none;
    background: var(--accent-terracotta);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(193, 102, 58, 0.15);
}

.platform-links a:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* ================= BOOKING FORM ================= */
#booking {
    background-color: #F5EFE6;
}

form {
    max-width: 650px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

input, textarea, select {
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #D5CFC6;
    font-size: 15px;
    background-color: #FCFAF7;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent-terracotta);
}

textarea {
    height: 140px;
    resize: none;
}

/* ================= FOOTER REDESIGN ================= */
footer {
    background: #252422;
    color: #E5E4E2;
    padding: 60px 8% 30px 8%;
    font-size: 14px;
}

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

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #B5B4B2;
    margin: 0 0 12px 0;
    font-size: 14px;
    text-align: left;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #B5B4B2;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-terracotta);
}

/* Newsletter Signup Field */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    background-color: #333230;
    border: 1px solid #444341;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    flex: 1;
    font-size: 14px;
}

.newsletter-form button {
    background-color: var(--accent-terracotta);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background-color: var(--accent-hover);
}

/* Social icons bottom row */
.footer-bottom {
    border-top: 1px solid #333230;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #858482;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #B5B4B2;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
    color: var(--accent-terracotta);
    transform: translateY(-2px);
}

/* ================= WHATSAPP FLOATING BUTTON ================= */
.whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp:hover {
    transform: scale(1.08);
}

.top-button {
    position: fixed;
    right: 25px;
    bottom: 95px;
    background: var(--accent-terracotta);
    color: white;
    width: 60px;
    height: 60px;
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    line-height: 60px;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}

.top-button:hover {
    background-color: var(--accent-hover);
    transform: scale(1.08);
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */

/* Tablets and Mobile Navigation Transition */
@media(max-width: 768px) {
    header {
        height: 55vh;
        min-height: 380px;
    }

    header h1 {
        font-size: 40px;
    }
    
    header p.hero-tagline {
        font-size: 16px;
    }
    
    section {
        padding: 60px 5%;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .social-proof-strip {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .testimonial-carousel {
        text-align: center;
    }
    
    .testimonial-slide {
        text-align: center;
    }

    /* Mobile hamburger menu */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(251, 248, 243, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 25px rgba(0,0,0,0.08);
        backdrop-filter: blur(10px);
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-dark) !important;
        font-size: 18px;
        width: 100%;
        text-align: center;
    }
    
    .top-menu.scrolled .menu-toggle span {
        background-color: var(--text-dark);
    }
    
    /* Ensure close icon is dark on mobile active nav */
    .menu-toggle.active span {
        background-color: var(--text-dark) !important;
    }
    
    #booking {
        padding-bottom: 100px; /* Safe padding for floating buttons */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Viewports (Smartphones) */
@media(max-width: 600px) {
    header {
        height: 50vh;
        min-height: 320px;
    }

    header h1 {
        font-size: 32px;
    }
    
    .images {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .images img {
        height: 120px !important;
    }
    
    form {
        padding: 25px 20px;
    }
}

/* Lightbox Modal Styles */
.image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.image-popup img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    object-fit: contain;
}

.image-popup span {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
    user-select: none;
}

.image-popup span:hover {
    background: rgba(255,255,255,0.2);
}

/* ================= CONTACT SECTION ================= */
#contact {
    background: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-item a {
    color: var(--accent-terracotta);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
}

.contact-item a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

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

/* ================= FOOTER LINK STYLES ================= */
footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ================= FOOTER SOCIAL ICONS ================= */
.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    color: white;
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
}

.footer-socials a svg {
    flex-shrink: 0;
}

/* ================= LOCATION MAP ================= */
.map-wrapper {
    margin-top: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.map-btn-row {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-directions {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--accent-terracotta);
    border: 2px solid var(--accent-terracotta);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-directions:hover {
    background: var(--accent-terracotta);
    color: white;
}

@media(max-width: 600px) {
    .map-btn-row {
        flex-direction: column;
        align-items: center;
    }

    .map-wrapper iframe {
        height: 280px !important;
    }
}