:root {
    --almaris-gold: #f15d30; /* Replaced gold with primary orange */
    --almaris-dark: #222222;
    --almaris-light: #fdfbf7;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body) !important;
    background-color: var(--almaris-light);
    color: var(--almaris-dark);
}

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

/* ==================================
   Hero Section Redesign
   ================================== */
.hero-almaris {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    overflow: hidden;
}

.hero-almaris-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    z-index: 1;
    transform: scale(1.1); /* Prevent blurred edges */
}

.hero-almaris-arch {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    margin-top: 5vh;
    border-radius: 400px 400px 0 0;
    border: 1px solid rgba(193, 155, 118, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    overflow: hidden;
}

/* Pseudo-element for blurred background inside arch */
.hero-almaris-arch-innerbg {
    position: absolute;
    top: -15vh; /* adjust based on position to match parent bg roughly */
    left: -20vw;
    right: -20vw;
    bottom: -15vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    filter: blur(10px) brightness(0.5);
}

.hero-almaris-bg.fixed-bg, .hero-almaris-arch-innerbg.fixed-bg {
    background-attachment: fixed;
}


.hero-almaris-content {
    color: #fff;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stars {
    color: var(--almaris-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.hero-almaris-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 500;
    color: #fff;
}

.hero-almaris-subtitle {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.6;
    color: #eee;
}

.btn-almaris {
    background-color: var(--almaris-gold);
    color: #fff !important;
    padding: 16px 36px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}
.btn-almaris:hover {
    background-color: #d14d25;
}

/* Hero Slider Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 3rem;
    font-weight: 300;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s, transform 0.3s;
    outline: none;
}
.hero-nav:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.hero-nav:focus, .hero-nav:active {
    outline: none !important;
    box-shadow: none !important;
}
.hero-nav.prev-slide {
    left: 30px;
}
.hero-nav.next-slide {
    right: 30px;
}

/* Hide old stuff */
.ftco-search {
    display: none !important;
}
.ftco-no-pt.ftco-no-pb {
    padding: 0 !important;
}

/* ==================================
   Exceptional Hospitality Section
   ================================== */
.section-hospitality {
    padding: 120px 0 80px;
    background-color: var(--almaris-light);
}

.hospitality-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.hospitality-arch-img {
    flex: 1;
    height: 450px;
    border-radius: 300px 300px 0 0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.hospitality-center-text {
    flex: 1.2;
    text-align: center;
    padding: 0 20px;
}

.hospitality-subtitle {
    color: var(--almaris-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.hospitality-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--almaris-dark);
}

.hospitality-rating {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.hospitality-stars {
    color: var(--almaris-gold);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.hospitality-reviews {
    font-size: 0.85rem;
    color: #888;
}

/* Feature Cards */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 35px 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.feature-icon-box {
    background-color: var(--almaris-gold);
    border-radius: 40px 40px 0 0;
    width: 60px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--almaris-dark);
    font-weight: 600;
}

.feature-content p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==================================
   Accommodations Section
   ================================== */
.section-accommodation {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-bottom: 20px;
}
@media (max-width: 991px) {
    .accommodation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.accommodation-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    margin-top: 60px;
    padding-bottom: 20px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.accommodation-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.accommodation-carousel .room-arch-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .accommodation-carousel .room-arch-card {
        flex: 0 0 calc(50% - 15px);
    }
}
@media (max-width: 767px) {
    .accommodation-carousel .room-arch-card {
        flex: 0 0 85%;
    }
}

.room-arch-card {
    position: relative;
    height: 500px;
    border-radius: 300px 300px 0 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    text-decoration: none !important;
}

.room-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(168, 133, 97, 0.95), transparent);
    z-index: 1;
}

.room-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #fff;
    width: 100%;
}

.room-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #fff;
}

.room-meta {
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-family: var(--font-body);
}
.room-meta span {
    margin: 0 5px;
}

/* ==================================
   Facilities Section
   ================================== */
.section-facilities {
    padding: 100px 0;
    background-color: var(--almaris-light);
    text-align: center;
}

.facilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.facility-box {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.facility-stat {
    position: absolute;
    bottom: -30px;
    background-color: var(--almaris-gold);
    color: #fff;
    padding: 35px;
    width: 80%;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.facility-box:nth-child(1) .facility-stat {
    left: 10%;
}
.facility-box:nth-child(2) .facility-stat {
    right: 10%;
}

.stat-number {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 400;
}

.stat-text {
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

/* ==================================
   Responsive Adjustments
   ================================== */
@media (max-width: 991px) {
    .hospitality-grid {
        flex-direction: column;
    }
    .hospitality-arch-img {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }
    .hospitality-center-text {
        order: -1;
        margin-bottom: 30px;
    }
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    .accommodation-grid {
        grid-template-columns: 1fr;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .hero-almaris-title {
        font-size: 3rem;
    }
    .facility-stat {
        width: 90%;
    }
    .facility-box:nth-child(1) .facility-stat,
    .facility-box:nth-child(2) .facility-stat {
        left: 5%;
        right: 5%;
    }
}

/* ==================================
   Navbar & Mobile Menu Fixes
   ================================== */
#ftco-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    width: 100%;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    transition: background 0.3s, padding 0.3s;
}

#ftco-navbar .navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    width: 170px; /* Hold space for the bigger logo */
    height: 40px;
}

#ftco-navbar .brand-logo {
    position: absolute;
    top: -15px;
    left: 0;
    max-height: 160px; /* Even larger logo */
    width: auto;
    object-fit: contain;
    transition: max-height 0.3s, top 0.3s;
    z-index: 10005;
}

/* Scrolled fixed navbar */
#ftco-navbar.scrolled.awake {
    position: fixed !important;
    background: #fff !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-contact {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-contact i {
    color: var(--almaris-gold); /* gold */
    margin-right: 5px;
}

#ftco-navbar.scrolled.awake .nav-contact {
    color: var(--almaris-dark);
}

#ftco-navbar.scrolled.awake .brand-logo {
    max-height: 65px; /* Slightly smaller when scrolled */
}

#ftco-navbar.scrolled.awake .nav-link {
    color: var(--almaris-dark) !important;
}

#ftco-navbar.scrolled.awake .nav-link:hover {
    color: var(--almaris-gold) !important;
}

#ftco-navbar.scrolled.awake .navbar-toggler {
    color: var(--almaris-dark);
}

@media (min-width: 992px) {
    #ftco-navbar .navbar-nav {
        margin-left: auto;
    }
    #ftco-navbar .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    #ftco-navbar .nav-link:hover {
        color: var(--almaris-gold) !important;
    }
}

@media (max-width: 991px) {
    #ftco-navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .navbar-brand {
        max-width: 70%;
    }
    .navbar-toggler {
        margin-left: auto;
        z-index: 10001;
        position: relative;
    }
    
    /* Slide in menu from right */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -350px;
        width: 300px;
        height: 100vh;
        background: #111;
        padding-top: 80px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 10000;
        display: block !important; /* Override bootstrap display:none */
    }
    
    .navbar-collapse.show {
        right: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .navbar-collapse .navbar-nav {
        padding: 20px;
    }
    
    .navbar-collapse .nav-item {
        margin-bottom: 15px;
    }
    
    .navbar-collapse .nav-link {
        color: #fff !important;
        font-size: 1.2rem;
    }
}

/* ==================================
   Stories (News) Listing Page
   ================================== */
.stories-header {
    text-align: center;
    padding-top: 15vh;
}

.stories-header .breadcrumbs {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 20px;
}

.stories-header .breadcrumbs a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 0;
}

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

.story-card-img-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    margin-bottom: 25px;
}

.story-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--almaris-gold);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.story-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--almaris-dark);
}

.story-title a {
    color: var(--almaris-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.story-title a:hover {
    color: var(--almaris-gold);
}

.story-snippet {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
}

.story-meta i {
    margin-right: 5px;
    color: #aaa;
}

/* ==================================
   Story Detail Page
   ================================== */
.story-detail-section {
    padding: 80px 0;
    background-color: #fff;
}

.detail-main-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 40px;
}

.detail-meta-top {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
    font-weight: 600;
}
.detail-meta-top span {
    color: var(--almaris-dark);
}

.drop-cap {
    float: left;
    background-color: var(--almaris-gold);
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    padding: 15px 20px;
    margin: 5px 20px 10px 0;
    font-family: var(--font-heading);
}

.detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.detail-blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--almaris-dark);
    line-height: 1.5;
    margin: 40px 0;
    padding: 0 40px;
    position: relative;
}

.detail-blockquote::before {
    content: '\201D';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--almaris-gold);
    position: absolute;
    left: -10px;
    top: -30px;
    line-height: 1;
    opacity: 0.5;
}

/* Sidebar Styling */
.sidebar-widget {
    margin-bottom: 50px;
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--almaris-dark);
    font-weight: 600;
}

.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recent-post-img {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;    border-radius: 8px;
}
.room-search-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.room-search-img {
    width: 350px;
    background-size: cover;
    background-position: center;
}
.room-search-details {
    padding: 30px;
    flex: 1;
}
.room-price-box {
    width: 250px;
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.price-sub {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}
.price-tag {
    font-size: 2rem;
    color: var(--almaris-gold);
    font-weight: 700;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    /* General stories grid becomes a single vertical column on mobile */
    .stories-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 15px;
    }
    
    /* ONLY on the home page (which has .home-stories-section), make it a horizontal slider */
    .home-stories-section .stories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 40px 20px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .home-stories-section .story-card {
        min-width: 85vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .home-stories-section .stories-grid::-webkit-scrollbar {
        display: none;
    }
    .home-stories-section .stories-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@media (max-width: 768px) {
    .room-search-card {
        flex-direction: column;
    }
    .room-search-img {
        width: 100%;
        height: 250px;
    }
    .room-price-box {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
    }
}
