:root {
    --primary-color: #3D4F3E;
    --secondary-color: #7A9A7E;
    --accent-color: #D4B59E;
    --light-bg: #f9f7f4;
    --text-color: #2a2a2a;
}
/* Content Container Spacing */
.container.mt-5.pt-5 {
    margin-top: calc(38px + 5rem) !important;
    padding-top: 5rem !important;
}

@media (max-width: 991px) {
    .container.mt-5.pt-5 {
        margin-top: calc(38px + 60px + 1rem) !important;
        padding-top: 1rem !important;
    }
}


body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Top Banner */
.top-banner {
    background-color: #3D4F3E;
    color: white;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.top-banner .container {
    text-align: left;
}

.top-banner.hide {
    transform: translateY(-100%);
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    top: 38px;
    position: fixed;
    width: 100%;
    z-index: 1020;
    height: 76px;
}

.navbar.banner-hidden {
    transform: translateY(-38px);
}

/* Common scrolled navbar styles */
.navbar.scrolled {
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 50px; /* Slightly smaller height when scrolled */
}

.navbar.scrolled .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.3rem;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar.scrolled .navbar-logo {
    height: 30px;
}

.navbar.scrolled .nav-link {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem;
}

/* Desktop specific scrolled navbar styles */
@media (min-width: 992px) {
    .navbar.scrolled .navbar-collapse {
        display: flex !important;
        height: 100%;
        align-items: center;
    }
    
    .navbar.scrolled .navbar-nav {
        display: flex;
        align-items: center;
        height: 100%;
    }
}

/* Mobile specific scrolled navbar styles */
@media (max-width: 991px) {
    .navbar.scrolled .navbar-toggler {
        padding: 4px 6px;
        margin: 0;
        margin-left: auto;
        position: relative;
        display: none !important;
        align-items: center;
    }
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--primary-color) !important;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.small-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
}

/* Desktop Navigation Styles */
@media (min-width: 992px) {
    /* Hide the hamburger menu on desktop */
    .navbar-toggler {
        display: none !important;
    }
    
    /* Make sure navbar shows full width menu */
    .navbar-collapse {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        max-height: none !important;
        width: auto !important;
        max-width: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 80%;
    }

    .nav-link:hover {
        color: var(--secondary-color) !important;
    }

    /* Desktop Navigation Styles */
    .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown .dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    .dropdown-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu {
    display: none;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 0;
    min-width: auto;
    padding: 0.5rem 0;
    animation: fadeIn 0.2s ease-in-out;
}

/* Mobile Navigation Styles */
@media (max-width: 991px) {
    .top-banner {
        height: 38px;
        transition: transform 0.3s ease;
    }
    
    .top-banner.mobile-banner-hidden {
        transform: translateY(-100%);
    }
    
    .navbar {
        padding: 0;
        position: fixed;
        width: 100%;
        z-index: 1040;
        background-color: rgba(255, 255, 255, 0.98);
        height: 60px;
        top: 38px;
        transition: all 0.3s ease;
    }
    
    .navbar.mobile-navbar-compact {
        top: 0;
        height: 50px;
    }
    
    .navbar.mobile-navbar-reset {
        top: 38px;
        height: 60px;
    }
    
    .navbar .container {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar-toggler {
        z-index: 1060;
        position: relative;
        padding: 4px 6px;
        margin: 0;
        border: none;
        margin-left: auto;
        display: none !important;
        align-items: center;
    }
    
    .navbar-brand {
        margin: 0;
        font-size: 1.6rem;
        padding: 0;
        display: flex;
        align-items: center;
        height: 100%;
        transition: font-size 0.3s ease;
    }
    
    .navbar-logo {
        height: 50px;
        transition: height 0.3s ease;
    }
    
    .navbar.mobile-navbar-compact .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar.mobile-navbar-compact .navbar-logo {
        height: 35px;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 1rem;
        background: white;
        padding: 1.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-height: calc(100vh - 60px - 1rem);
        overflow-y: auto;
        width: calc(100% - 2rem);
        max-width: 300px;
        z-index: 1020;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform-origin: top center;
        margin-top: 0.25rem;
    }

    .navbar-collapse:not(.show) {
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        display: none;
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        display: block;
    }
    
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 0.25rem;
    }
    
    .nav-link:hover {
        background-color: var(--light-bg);
    }
    
    .dropdown-menu {
        border: none;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 0.5rem;
        margin: 0;
        border-radius: 0.5rem;
        display: none;
    }
    
    .dropdown-menu.show {
        display: block;
        animation: fadeIn 0.2s ease-in-out;
    }

    .dropdown.show .nav-link {
        background-color: var(--light-bg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    padding-top: 0;
    margin-top: 0;
    z-index: 1010; /* Below navbar */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p.lead {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background-color: white;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

/* Location Card */
.location-card {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.location-card i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
}



/* Modal Styling */
.modal-content {
    background-color: transparent;
    border: none;
}

.modal-body {
    padding: 0;
    position: relative;
}

.modal-body img {
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.btn-close {
    position: absolute;
    top: -2rem;
    right: -2rem;
    background-color: white;
    opacity: 1;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: #3D4F3E;
    color: white;
    padding: 1.25rem 0;
    margin-top: 5rem;
}

.footer h5 {
    color: #7A9A7E;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.footer p, .footer li {
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: #3d503e;
    border-color: #3d503e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

.btn-primary:hover i {
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p.lead {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p.lead {
        font-size: 1.3rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        height: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .top-banner {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .top-banner .container {
        text-align: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-logo {
        width: 120px;
        margin-bottom: 1.5rem;
    }
    
    .location-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .footer {
        padding: 1.5rem 0;
        margin-top: 3rem;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p.lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-logo {
        height: 25px;
        margin-right: 0.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        padding-bottom: 1rem;
    }
    
    .section-title:after {
        width: 80px;
        height: 2px;
    }
    
    .location-card h3 {
        font-size: 1.4rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .top-banner {
        font-size: 0.75rem;
        padding: 0.3rem 0;
    }
    
    /* Adjust container margins for mobile */
    .container.mt-5.pt-5 {
        margin-top: calc(38px + 3rem) !important;
        padding-top: 3rem !important;
    }
}