:root {
    --bg-color: #faf9f6; /* Soft off-white / Paper color */
    --text-color: #1a1a1a;
    --accent-color: #27ae60;
    --white: #ffffff;
    --brand-green: #2d4033; /* Slightly deeper, more sophisticated green */
    --brand-gold: #c5a059; /* Adding a subtle gold for accents */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
    --container-max: 1140px;
    --section-padding: 120px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    margin-top: 0;
    line-height: 1.2;
}

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

a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--brand-green);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    color: var(--brand-green);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--brand-gold);
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar-container {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding: 5px 0; /* Reduced from 10px */
        gap: 25px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Visual cue for scrolling: mask fade on edges */
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .nav-links::before {
        content: '';
        flex: 0 0 80px; /* Deep space on the left */
    }

    .nav-links::after {
        content: '';
        flex: 0 0 40px; /* Space on the right */
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .brand {
        margin-bottom: 5px;
    }
}

.btn-view-prices {
    background-color: var(--brand-green);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 0px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    display: inline-block;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-view-prices:hover {
    background-color: var(--brand-gold);
    opacity: 1;
}

.brand {
    display: flex;
    align-items: center;
    background-color: var(--brand-green);
    padding: 8px 15px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: scale(1.05);
    opacity: 1;
}

.brand img {
    display: block;
    max-height: 35px; /* Slightly smaller to fit in the new block */
    width: auto;
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 50px;
    color: var(--brand-green);
}

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

/* Hero Welcome (Home Page) */
.hero-welcome {
    background-color: var(--bg-color);
    padding: 100px 0 0; /* Remove bottom padding as widget follows */
    text-align: center;
}

.hero-welcome .hero-title {
    font-size: 5rem;
    margin-bottom: 10px;
    color: var(--brand-green);
    letter-spacing: -0.02em;
}

.hero-welcome .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 60px;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
}

.welcome-image-container {
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-image {
    width: 100%;
    height: auto;
    display: block;
}

.home-booking-widget-wrapper {
    background-color: var(--bg-color);
    padding: 60px 0 100px;
}

.home-booking-widget {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0;
}

/* Intro Grid */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a4a4a;
}

.intro-img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Cards & Grids */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.room-card {
    background: var(--white);
    transition: transform 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.room-info {
    padding: 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.room-info h2, .room-info h3 {
    font-size: 1.6rem; /* Slightly smaller for better fit */
    margin-bottom: 20px;
    color: var(--brand-green);
    min-height: 3.8rem; /* Sufficient space for 2 lines */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.btn-link {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    border-bottom: 1px solid var(--brand-gold);
    padding-bottom: 5px;
    color: var(--brand-green);
}

.btn-link:hover {
    color: var(--brand-gold);
}

/* Rooms Page Vertical */
.rooms-vertical-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.room-row {
    display: flex;
    gap: 80px;
    align-items: center;
}

.room-row:nth-child(even) {
    flex-direction: row-reverse;
}

.room-row-image {
    flex: 1.1;
    position: relative;
    overflow: hidden;
    min-width: 0; /* Prevents flex items from overflowing */
}

.room-row-info {
    flex: 0.9;
}

.room-row-image .gallery-item {
    padding-bottom: 100%; /* Square aspect ratio 1:1 */
}

.room-glide {
    width: 100%;
}

.room-glide .glide__track,
.rooms-preview-glide .glide__track {
    overflow: hidden !important; /* Standard clipping for these carousels */
}

.room-glide .carousel-nav-hub {
    margin-top: 15px;
    gap: 15px;
}

.room-glide .nav-btn {
    width: 36px;
    height: 36px;
}

.room-glide .nav-btn svg {
    width: 18px;
    height: 18px;
}

.room-row-info h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.room-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.spec-item strong {
    color: var(--brand-green);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    margin-right: 10px;
}

/* Local Area Page */
.subtitle-serif {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--brand-gold);
    margin-top: -30px;
    margin-bottom: 80px;
    font-style: italic;
}

.local-intro {
    max-width: 800px;
    margin: 0 auto 120px;
    text-align: center;
    font-size: 1.2rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-bottom: 120px;
}

.activity-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--brand-green);
    position: relative;
    display: inline-block;
}

.activity-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--brand-gold);
}

.experience-box {
    background-color: var(--brand-green);
    color: var(--white);
    padding: 100px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.experience-box h3 {
    color: var(--brand-gold);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.experience-box p {
    font-size: 1.6rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: var(--brand-green);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-gold);
    margin-bottom: 25px;
    font-family: var(--font-sans);
    font-weight: 700;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--brand-gold);
    opacity: 1;
}

.social-links {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
    align-items: flex-start;
}

.social-links a {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    opacity: 0.8;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--brand-gold);
    opacity: 1;
}

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

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* Gallery Page */
.gallery-header {
    margin-bottom: 100px;
}

.category-section {
    margin-bottom: 80px;
}

.category-name {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--brand-green);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 15px;
    text-align: center;
}

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

.gallery-item {
    position: relative;
    width: 100%;
    padding-bottom: 55%; /* height is 0.55 of the length */
    height: 0;
    overflow: hidden;
    background-color: var(--bg-color);
}


.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

/* Carousel Adjustments */
.category-glide {
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
}

.glide__track {
    overflow: visible !important;
}

.glide__slide {
    height: auto !important;
    padding: 0 10px; /* Clean gap handled by CSS */
}

.carousel-nav-hub {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.nav-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brand-green);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    transform: scale(1.1);
}

.nav-btn svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.carousel-counter {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--brand-green);
    letter-spacing: 0.15em;
    min-width: 80px;
    text-align: center;
}

.current-index {
    font-weight: 700;
    color: var(--brand-gold);
}

.total-count {
    opacity: 0.5;
}

/* Custom Instant Lightbox */
.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--brand-gold);
}

.custom-lightbox-trigger {
    cursor: zoom-in;
}

/* Amenities Page */
.announcement-box {
    background-color: var(--white);
    border-left: 4px solid var(--brand-gold);
    padding: 30px 40px;
    margin-bottom: 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.announcement-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--brand-green);
    font-weight: 500;
}

.benefits-bar {
    background-color: var(--white);
    padding: 30px;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.benefit-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-item::before {
    content: '•';
    color: var(--brand-gold);
    font-size: 1.5rem;
}

@media (max-width: 1100px) {
    .glide__track {
        overflow: hidden !important;
    }

    .glide__slide {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px; /* Reduced from 30px */
    }

    .section {
        padding: 60px 0; /* Reduced from 120px */
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px; /* Reduced from 100px */
    }

    .room-row {
        flex-direction: column !important;
        gap: 30px; /* Reduced from 80px */
    }

    .room-row-image,
    .room-row-info {
        width: 100%;
        flex: none;
    }

    .rooms-vertical-grid {
        gap: 60px; /* Reduced from 120px */
    }

    .room-row-info h2 {
        font-size: 2.2rem; /* Scaled down for mobile */
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}
