@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #4B5A42;
    /* Olive Green */
    --primary-dark: #3a4732;
    --secondary-color: #664332;
    /* Brown */
    --bg-color: #F9F8F3;
    /* Cream/Beige */
    --bg-light: #FFFFFF;
    --text-main: #3C2A21;
    --text-muted: #6B6B6B;
    --border-color: #E2E0D8;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
}

/* Navbar */
.navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.navbar-transparent {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.navbar-solid {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
    height: 90vh;
    min-height: 600px;
    background-color: var(--primary-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-video-wrapper iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.hero-title {
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 8rem;
    /* Space for booking bar */
}

/* Booking Bar */
.booking-bar-wrapper {
    position: relative;
    z-index: 10;
}

.hero-booking-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding-bottom: 20px;
    /* Some spacing from the absolute bottom if desired, or 0 if flush */
}

.booking-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-features-bar {
    background-color: var(--primary-color);
    padding: 1.2rem 0;
}

.booking-features {
    color: #f8f6ec;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 2.2rem;
}

.feature-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.1;
    text-align: left;
}

.feature-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.4);
}

/* Utilities & Custom Components */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    width: 100px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 0 auto 3rem;
    position: relative;
}

.section-divider::before {
    content: '◆';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-color);
    background: var(--bg-color);
    padding: 0 10px;
    font-size: 14px;
}

/* Cards */
.room-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    background: white;
}

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

.room-card img {
    height: 250px;
    object-fit: cover;
}

.room-card .card-body {
    padding: 2rem;
}

.room-card .card-title {
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

/* Promo Block */
.promo-block {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.promo-content {
    padding: 4rem;
}

.promo-image {
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

/* Diamond Gallery */
.gallery-section {
    overflow: hidden;
}

.gallery-collage {
    position: relative;
    width: 100%;
    height: 720px;
    margin-left: 10px;
    margin-top: 30px;
}

.diamond-item {
    position: absolute;
    overflow: hidden;
    transform: rotate(45deg);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.diamond-item:hover {
    transform: rotate(45deg) scale(1.05) !important;
    z-index: 15 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
    border-color: #ffffff;
}

/* Image perfectly centered and scaled to cover 100% of the rotated square without black corners */
.diamond-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 215%;
    height: 215%;
    object-fit: cover;
    transform: translate(-50%, -50%) rotate(-45deg);
    transition: transform 0.4s ease;
}

.diamond-item:hover img {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.05);
}

/* 10-Diamond Harmonious Collage Layout */
.d1  { width: 155px; height: 155px; top: 15px;  left: 55px;  z-index: 2; }
.d2  { width: 335px; height: 335px; top: 120px; left: 175px; z-index: 5; }
.d3  { width: 160px; height: 160px; top: -20px; left: 340px; z-index: 2; }
.d4  { width: 160px; height: 160px; top: 55px;  left: 515px; z-index: 2; }
.d5  { width: 280px; height: 280px; top: 215px; left: 420px; z-index: 4; }
.d6  { width: 160px; height: 160px; top: 395px; left: 85px;  z-index: 3; }
.d7  { width: 140px; height: 140px; top: 510px; left: 220px; z-index: 3; }
.d8  { width: 180px; height: 180px; top: 435px; left: 505px; z-index: 4; }
.d9  { width: 135px; height: 135px; top: 565px; left: 605px; z-index: 2; }
.d10 { width: 145px; height: 145px; top: 280px; left: 625px; z-index: 2; }

/* Lightbox Navigation Buttons */
.diamond-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(43, 31, 26, 0.75);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    font-size: 1.1rem;
}
.diamond-nav-btn:hover {
    background: var(--primary-color, #4B5A42);
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    border-color: rgba(255, 255, 255, 0.6);
}
.diamond-nav-btn.prev { left: 18px; }
.diamond-nav-btn.next { right: 18px; }

@media (max-width: 1200px) {
    .gallery-collage {
        transform: scale(0.85);
        transform-origin: top left;
        height: 620px;
    }
}

@media (max-width: 991px) {
    .gallery-collage {
        transform: scale(0.72);
        transform-origin: top center;
        height: 530px;
        margin-left: auto;
        margin-right: auto;
        max-width: 750px;
    }
}

@media (max-width: 576px) {
    .gallery-collage {
        transform: scale(0.5);
        transform-origin: top center;
        height: 380px;
        margin-top: 10px;
    }
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 1rem;
    font-size: 0.9rem;
}

.site-footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #4a2d1d;
    border-color: #4a2d1d;
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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