/* --- Global Styles & Theme --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px; /* Accounts for sticky navbar height */
}

.body, .book-body{
    font-family: 'Nunito', sans-serif;
    color: #333;
}

.body {
    background-color: #fcfdfd;
}

.book-body{
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.text-primary-custom {
    color: #2F839B !important; /* Soft Teal */
}

.bg-primary-custom {
    background-color: #2F839B !important;
}

/*
.btn-primary-custom {
    background-color: #0d9488;
    border-color: #0d9488;
    color: white;
    transition: all 0.3s ease;
}
*/

.btn-primary-custom{
    background-color:#2F839B;
    border-color:#2F839B;
    color: white;
    transition: all 0.3s ease;
}

/*
.btn-primary-custom:hover {
    background-color: #0f766e;
    border-color: #0f766e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
*/

.btn-primary-custom:hover{
    background-color:#88A2D3;
    border-color:#88A2D3;
    color: white;
    transition: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0);
}

.sub-text{
    max-width:44rem;
    margin:0 auto;
}

/* --- Micro Interactions --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.icon-bounce:hover i {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* --- Mobile Full-Screen Menu --- */
@media (max-width: 991.98px) {
    #offcanvasNavbar {
        width: 100% !important; /* Take over the entire viewport on mobile */
    }
    .offcanvas-body {
        justify-content: center;
        text-align: center;
        padding-bottom: 5rem; /* Offset for vertical centering */
    }
    .offcanvas-body .nav-link {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }
    .offcanvas-body .btn-primary-custom {
        font-size: 1.25rem;
        width: 100%;
        max-width: 300px;
        padding: 1rem;
        margin-top: 1rem;
    }
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), 
                url('/assets/mmg_hero.png?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
}

.book-hero-section {
    position: relative;
    height: 52vh;
    min-height: 320px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), 
                url('/assets/mmg_hero_1.jpg?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
}

/* --- Stats Section --- */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem 1rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.stat-icon {
    font-size: 2.5rem;
    color: #2F839B;
    margin-bottom: 1rem;
    background: #f0fdfa;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

/* --- Carousel Adjustments --- */
.carousel-item {
    height: 60vh;
    min-height: 400px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.d-block{
    object-fit: cover; 
    height: 60vh; 
    min-height: 400px;
}

.tm-logo{
    max-width:120px;
    height:auto;
}

.carousel-caption-custom {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 1rem;
    padding: 1.5rem;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Accordion Customization --- */
.accordion-button:not(.collapsed) {
    background-color: #f0fdfa;
    color: #2F839B;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 148, 136, 0.5);
}

/* --- Booking --- */
#book > .container > .cta-section > i{
    font-size: 15rem; 
    top: -50px; 
    right: -50px;
}
/* --- CTA Section --- */
.cta-section {
    background-color: #f0fdfa;
    border-radius: 2rem;
}


/* ----- MOBILE ----- */
@media screen and (max-width: 992px) {
    .hero-section {
      position: relative;
      height: 600px;
      min-height: 400px;
      background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('/assets/mmg_hero_1.jpg?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
      display: flex;
      align-items: center;
      color: white;
    }

    .carousel-item, .d-block{
        height:30vh;
    }

    .mb-2{
        margin-bottom: 0rem !important;
    }

    #book > .container > .cta-section > i{
       display: none !important;
    }
}