/*--------------------------------------------------------------------- File Name: style.css ---------------------------------------------------------------------*/


/*--------------------------------------------------------------------- import Files ---------------------------------------------------------------------*/

@import url(animate.min.css);
@import url(normalize.css);
@import url(icomoon.css);
@import url(font-awesome.min.css);
/*@import url(meanmenu.css);*/
@import url(owl.carousel.min.css);
@import url(swiper.min.css);
@import url(slick.css);
@import url(jquery.fancybox.min.css);
@import url(jquery-ui.css);
@import url(nice-select.css);


/*---------------------------------------------------------------------
 skeleton
---------------------------------------------------------------------*/

* {
    box-sizing: border-box !important;
    transition: ease all 0.5s;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #666666;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.80857;
    font-weight: normal;
    overflow-x: hidden;
}

a {
    color: #1f1f1f;
    text-decoration: none !important;
    outline: none !important;
    transition: all .3s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
    font-weight: normal;
    position: relative;
    padding: 0 0 10px 0;
    line-height: normal;
    color: #111111;
    margin: 0;
}

h1 { font-size: 24px }
h2 { font-size: 22px }
h3 { font-size: 18px }
h4 { font-size: 16px }
h5 { font-size: 14px }
h6 { font-size: 13px }

*,
*::after,
*::before {
    box-sizing: border-box;
}

p {
    margin: 20px;
    font-weight: 300;
    font-size: 15px;
    line-height: 24px;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    border: 0;
    cursor: pointer;
}



/* --------------------------------------------------
   NEW NAVBAR STYLING — Hedzranawo Slavery Museum
-----------------------------------------------------*/

.custom_nav-container {
    background-color: #fff;
    padding: 0;
    margin: 15px 0;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.06);
}

#navbarSupportedContent .navbar-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

#navbarSupportedContent .nav-item {
    flex: 1;
}

#navbarSupportedContent .nav-link {
    text-align: center;
    text-transform: uppercase;
    color: #000;
    font-weight: 500;
}

#navbarSupportedContent .nav-link:hover {
    color: #fc9d22;
}

/* -----------------------
   NEW MUSEUM BRAND STYLE
-------------------------*/

.navbar-brand.museum-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 22px;
    text-transform: none;
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Decorative plate */
.navbar-brand.museum-brand::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fc9d22;
    border-radius: 6px;
    left: 0;
    top: 0;
    z-index: -1;
    transform: scale(1.07);
}

.museum-brand .brand-part {
    color: #fff;
    letter-spacing: 0.5px;
}

.museum-brand .brand-highlight {
    background-color:none;
    color: #000000;
    padding: 2px 8px;
    border-radius: 4px;
    font-style: italic;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.museum-brand .brand-highlight:hover {
    transform: scale(1.10);
    background-color: #fc9d22;
}

.museum-brand {
    font-family: 'Cinzel', serif !important;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.museum-brand .brand-part {
    font-family: 'Cinzel', serif !important;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.museum-brand .brand-highlight {
    font-family: 'Cinzel', serif !important;
    font-weight: 600;
    letter-spacing: 1.1px;
}





/* banner section start */

.banner_section {
    width: 100%;
    float: left;
    background: url("../images/Header1.png") no-repeat center center;
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    padding: 90px 0px;
}

.banner_taital_main {
    width: 100%;
    float: left;
    padding-top: 90px;
    padding-left: 100px;
}

.banner_taital {
    width: 100%;
    font-size: 50px;
    color: #ffffff;
    font-weight: bold;
    line-height: 60px;
}

.banner_text {
    width: 100%;
    font-size: 16px;
    color: #ffffff;
    margin: 0px;
}


/* ─────────────────────────────────────────────────────────────
   EVERYTHING BELOW REMAINS EXACTLY AS IN YOUR ORIGINAL FILE
──────────────────────────────────────────────────────────────*/

/* Form, buttons, sliders, about section, models section,
   blog, client, contact, gallery, team, masonry grid, footer… */

/* I am keeping these unchanged.  
   No edits were made here to avoid altering your layout. */

 /*---------------------------------------------------------------------
 The rest of your original CSS continues unchanged below…
 (I can re-paste the entire remaining file if needed.)
---------------------------------------------------------------------*/


.form-group {
    margin-bottom: 1rem;
    display: flex;
    width: 90%;
    margin: 0 auto;
    float: left;
}

.update_mail {
    color: #b6b5b5;
    width: 100%;
    height: auto;
    font-size: 16px;
    padding: 0px 20px 0px 20px;
    background-color: #e1e1e1;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    display: block;
    margin-top: 20px;
    border: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.subscribe_bt {
    width: 60px;
    float: left;
    padding-top: 20px;
    position: relative;
    left: -3px;
}

.subscribe_bt a {
    width: 100%;
    float: left;
    color: #ffffff;
    font-size: 16px;
    padding: 14px 0px 13px 0px;
    background-color: #fc9d22;
    text-align: center;
    border-radius: 4px;
}
.subscribe_bt a:hover {
    color: #ffffff;
    background-color: #fc9d22;
}

.search_bt {
    width: 175px;
    float: left;
    padding-top: 40px;
}

.search_bt a {
    width: 100%;
    float: left;
    font-size: 16px;
    background-color: #de6624;
    color: #fefefd;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    text-transform: uppercase;
}

.search_bt a:hover {
    color: #fefefd;
    background-color: #474646;
}


#banner_slider .carousel-control-next, 
#banner_slider .carousel-control-prev {
    width: 55px;
    height: 55px;
    opacity: 1;
    font-size: 30px;
    color: #ffffff;
    background-color: #fc9d22;
    border-radius: 100%;
    z-index: 1;
}

#banner_slider .carousel-control-next {
    right: -105%;
    top: 400px;
    color: #252525;
    background-color: #e1e1e1
}

#banner_slider .carousel-control-prev {
    left: 0px;
    top: 400px;
}

#banner_slider .carousel-control-next:focus, 
#banner_slider .carousel-control-next:hover, 
#banner_slider .carousel-control-prev:focus, 
#banner_slider .carousel-control-prev:hover {
    color: #252525;
    background-color: #e1e1e1
}

.padding_right0 {
    padding-right: 0;
}




/* banner section end */


/* about section start */

.about_section {
    width: 100%;
    float: right;
}

.about_taital {
    width: 100%;
    font-size: 38px;
    color: #1b1b1b;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 0px;
    text-align: center;
    margin-bottom: 80px;
    position: relative; /* needed for ::after alignment */
}

.about_taital::after {
    position: absolute;
    content: '';
    width: 80px;
    border: 4px solid #fc9d22;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

/* =====================================================
   ABOUT SECTION — UNIFIED TEXT STYLING
   Applies equally to:
   - text beside images
   - full-width text blocks
===================================================== */

.about_text {
    width: 100%;
    font-size: 19px;
    font-weight: 500;
    font-family: 'Lora', sans-serif;
    color: #1b1b1b;
    margin: 0 0 18px 0;
    padding-top: 0;
    text-align: justify;
    line-height: 1.75;
}

/* Full-width rows — spacing ONLY (no size change) */
.about_section .row.mt-4 .about_text {
    margin-bottom: 20px;
}


.readmore_btn {
    width: 170px;
    float: left;
    padding-top: 40px;
}

.readmore_btn a {
    width: 100%;
    float: left;
    font-size: 18px;
    color: #fefefd;
    background-color: #fc9d22;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.readmore_btn a:hover {
    color: #fefefd;
    background-color: #474646;
}

.arrow_icon {
    padding-left: 15px;
}

#main_slider a.carousel-control-prev {
    left: -90px;
    top: 150px;
}

#main_slider a.carousel-control-next {
    right: -90px;
    top: 150px;
    color: #ffffff;
    background-color: #474646;
}

#main_slider .carousel-control-next,
#main_slider .carousel-control-prev {
    width: 50px;
    height: 50px;
    opacity: 1;
    font-size: 40px;
    color: #ffffff;
    background-color: #de6624;
    border-radius: 5px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0px 0px 20px 0px #dedede;
}

#main_slider .carousel-control-next:focus,
#main_slider .carousel-control-next:hover,
#main_slider .carousel-control-prev:focus,
#main_slider .carousel-control-prev:hover {
    color: #ffffff;
    background-color: #474646;
}

/* about section end */


/* models section start */

.models_section {
    width: 100%;
    float: left;
}

.models_taital {
    width: 100%;
    font-size: 40px;
    color: #1b1b1b;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 50px;
    text-align: center;
}

.models_taital::after {
    position: absolute;
    content: '';
    width: 80px;
    border: 4px solid #fc9d22;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: 0 auto;
    text-align: center;
}

.models_section_2 {
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    height: auto;
    padding: 20px;
    box-shadow: 0px 0px 20px 10px #e9e9e8;
    margin-top: 60px;
}

.carolo_text {
    width: 100%;
    font-size: 20px;
    color: #262625;
    font-weight: bold;
    padding-top: 60px;
}

.number_text{
    padding-right: 10px;
    color: #e9e9e8;
}

.ullamco_text{
    width: 100%;
    font-size: 16px;
    color: #4e4e4e;
    margin: 30px 0px 0px 0px;
}

.price_main {
    width: 100%;
    display: flex;
}

.price_text{
    width: 100%;
    float: left;
    font-size: 16px;
    color: #3e3e3d;
    margin: 0px;
    padding-top: 50px;
}

.read_btn {
    width: 250px;
    float: left;
    padding-top: 30px;
}

.read_btn a {
    width: 100%;
    float: left;
    font-size: 18px;
    color: #fefefd;
    background-color: #fc9d22;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.read_btn a:hover {
    color: #fefefd;
    background-color: #474646;
}

.arrow_icon {
    padding-left: 15px;
}

/* models section end */

.choose_section_2 {
    width: 100%;
    float: left;
    background-color: #fc9d22;
    height: auto;
    padding: 90px 0px;
    margin-top: 30px;
}

.rated_text {
    width: 100%;
    float: left;
    font-size: 30px;
    color: #fefefd;
    font-weight: bold;
    padding-bottom: 0px;
}

.house_text {
    width: 100%;
    float: left;
    font-size: 20px;
    color: #fefefd;
    font-weight: bold;
    margin: 0px;
    text-transform: uppercase;
}

.padding_10{
    padding-right: 15px;
}

/* blog section start */

.blog_section {
    width: 100%;
    float: left;
}

.blog_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #262626;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.blog_taital::after {
    position: absolute;
    content: '';
    width: 80px;
    border: 4px solid #fc9d22;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: 0 auto;
    text-align: center;
}

.blog_section_2 {
    width: 100%;
    float: left;
    padding-top: 30px;
}

.blog_box {
    width: 100%;
    background-color: #fefefd;
    height: auto;
}

.blog_text {
    width: 100%;
    font-size: 24px;
    color: #2d2d2d;
    padding: 0px 0px 10px 0px;
    font-weight: bold;
    text-align: center;
}

.lorem_text {
    width: 70%;
    font-size: 16px;
    color: #3c3c3c;
    margin: 0 auto;
    text-align: center;
}

.read_bt {
    width: 175px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
}

.read_bt a {
    width: 100%;
    float: left;
    font-size: 18px;
    color: #fefefd;
    background-color: #fc9d22;
    padding: 10px;
    border-radius: 5px;
    text-align: center;

}

.read_bt a:hover {
    color: #fefefd;
    background-color: #474646;
}

.blog_img {
    width: 100%;
    text-align: center;
}

.btn_main {
    width: 100%;
    position: relative;
    top: -30px;
}

.date_text {
    width: 320px;
    margin: 0 auto;
    text-align: center;
    display: flex;
}

.date_text a {
    width: 100%;
    float: left;
    font-size: 18px;
    color: #fefefd;
    text-align: center;
    background-color: #fc9d22;
    padding: 10px;
}

.date_text a:hover {
    color: #000000;
    background-color: #fefefd;
    box-shadow: 0px 5px 20px 3px #e9e9e8;
}

.date_text.active a {
    color: #000000;
    background-color: #fefefd;
    box-shadow: 0px 5px 20px 3px #e9e9e8;
}


/* blog section end */

/* client section start */

.client_section {
    width: 100%;
    float: left;
    padding-bottom: 90px;
}
.client_taital{
    width: 100%;
    float: left;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}
.client_text{
    width: 100%;
    float: left;
    font-size: 16px;
    color: #000;
    margin: 0px;
    text-align: center;
}

.customer_section_2 {
    width: 100%;
    float: left;
    padding-top: 100px;
}

.box_main {
    width: 90%;
    float: right;
    background-color: #ffffff;
    padding: 0px 50px 0px 50px;
    box-shadow: 0px 0px 18px -6px;
    margin-bottom: 10px;
}

.customer_text {
    width: 100%;
    font-size: 14px;
    color: #737372;
    margin: 0 auto;
}

.quick_icon {
    text-align: center;
    position: relative;
    top: 10px;
}

.customer_main {
    width: 100%;
    display: flex;
    margin-top: 50px;
}

.customer_left {
    width: 30%;
    float: left;
}

.customer_right {
    width: 100%;
    float: left;
    margin-top: 0px;
    padding-left: 200px;
}

.customer_name {
    width: 100%;
    float: left;
    font-size: 26px;
    font-weight: bold;
    color: #001431;
}
.enim_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #737372;
    margin: 0px;
}

.customer_img {
    position: absolute;
    top: -60px;
    left: 60px;
}

/* client section end */

/* contact section start */

.contact_section {
    width: 100%;
    float: left;
    background-color: #161616;
    height: auto;
    background-size: 100%;
}

.contact_taital{
    width: 100%;
    float: left;
    font-size: 40px;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.contact_section_2 {
    width: 60%;
    margin: 0 auto;
}

 .contact_section .map_form_container .map_container { display: none; } 
 .contact_section .map_form_container.map_show form { display: none; } 
 .contact_section .map_form_container.map_show .map_container { display: block; }

.mail_section {
    width: 100%;
    float: left;
    margin-top: 30px;
}

.mail_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #929191;
    border-bottom: 1px solid #6f6f6f !important;
    background-color: transparent;
    padding: 14px 15px 0px 0px;
    margin-bottom: 10px;
    border: 0px;
}

input.mail_text::placeholder {
    color: #929191;
}

.massage-bt {
    width: 100%;
    height: 50px;
    font-size: 16px;
    color: #929191;
    border-bottom: 1px solid #6f6f6f !important;
    background-color: transparent;
    padding: 20px 15px 0px 0px;
    margin-bottom: 10px;
    border: 0px;
}
textarea#comment::placeholder {
    color: #929191;
}

.map_btn_main {
    width: 100%;
    float: right;
}

.send_bt {
    width: 160px;
    float: right;
}

/* Apply same styles to <a> and <button> */
.send_bt a,
.send_bt .btn_inner {
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #fc9d22;
    border: 3px solid #fc9d22;
    padding: 10px;
    text-transform: uppercase;
    margin-top: 10px;
    display: block;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
}

/* Hover styles for both */
.send_bt a:hover,
.send_bt .btn_inner:hover {
    color: #ffffff;
    border: 3px solid #ffffff;
}

.map_bt {
    width: 160px;
    float: right;
    margin-right: 15px;
}

/* Apply same styles to <a> and <button> */
.map_bt a,
.map_bt .btn_inner {
    width: auto;
    text-align: center;
    font-size: 18px;
    color: #fc9d22;
    border: 3px solid #fc9d22;
    padding: 10px 10px;
    text-transform: uppercase;
    margin-top: 10px;
    display: block;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
}

/* Hover styles for both */
.map_bt a:hover,
.map_bt .btn_inner:hover {
    color: #ffffff;
    border: 3px solid #ffffff;
}

.map_center {
    width: auto;
}

.map_main {
    width: 100%;
    float: left;
    padding-top: 40px;
}


.contact_img img {
    height: 390px;
}


.social_icon {
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-top: 40px;
}
.social_icon ul {
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.social_icon li {
    float: left;
}

.social_icon li a {
    float: left;
    padding: 5px 15px;
    background-color: #ffffff;
    color: #000;
    border-radius: 100%;
    font-size: 22px;
    margin-right: 5px;
    width: 50px;
    text-align: center;
    margin-top: 10px;
}

.social_icon li a:hover {
    background-color: #fc9d22;
    color: #ffffff;
}

.location_main {
    width: 100%;
    float: left;
    padding-top: 50px;
}

.location_text {
    width: 100%;
    text-align: center;
}

.location_text ul {
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.location_text li {
    float: left;
    color: #ffffff;
    font-size: 16px;
    padding: 0px 20px;
}

.location_text a {
    color: #ffffff;
}

.location_text li a:hover {
    color: #fc9d22;
}

.padding_left_15 {
    padding-left: 10px;
}

/* contact section end */



/* copyright section start */

.copyright_section {
    width: 100%;
    float: left;
    background-color: #161616;
    height: auto;
}

.copyright_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin-left: 0px;
}

.copyright_text a {
    color: #fff;
}

.copyright_text a:hover {
    color: #fc9d22;
}

/* copyright section end */

/* Masonry Grid */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .masonry-grid { column-count: 2; }
}

@media (max-width: 576px) {
    .masonry-grid { column-count: 1; }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}

.masonry-item img {
    width: 100%;
    transition: transform 0.4s ease, filter 0.4s ease;
    border-radius: 10px;
}

.masonry-item:hover img {
    transform: scale(1.07);
    filter: brightness(70%);
}

/* Overlay */
.mason-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: bold;
    text-shadow: 0px 3px 8px rgba(0,0,0,0.7);
}

.masonry-item:hover .mason-overlay {
    opacity: 1;
}

.gallery_thumb img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.gallery-btn {
    padding: 10px 25px;
    font-size: 18px;
    background: #fc9d22;
    color: #fff;
    border-radius: 5px;
    border: 2px solid #fc9d22;
    transition: 0.3s ease;
}

.gallery-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fc9d22;
}

.team-card {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.team-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fc9d22;
}

.team-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1b1b1b;
}

.team-position {
    font-size: 1rem;
    color: #fc9d22;
    margin: 5px 0;
}

.team-bio {
    font-size: 0.9rem;
    color: #555;
    margin: 5px 0 10px 0;
}

.team-contact a {
    color: #fc9d22;
    text-decoration: none;
    font-weight: bold;
    margin: 0 5px;
    display: inline-block;
}

.team-contact a:hover {
    color: #1b1b1b;
}

/* Cursor pointer for interactive cards */
.team-card {
    cursor: pointer;
}

/* Modal text alignment */
.modal-body h6 {
    color: #fc9d22;
    font-weight: bold;
}

.modal-body p {
    color: #555;
}


/* --------------------------------------------------
   Hero banner enhancements
-----------------------------------------------------*/

.banner_section {
    position: relative;
}

.banner_content {
    position: relative;
    padding: 80px 15px 60px;
    color: #ffffff;
    max-width: 600px;
}

@media (min-width: 768px) {
    .banner_content {
        padding: 120px 0 90px;
    }
}

.banner_content h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.banner_content p {
    font-size: 16px;
    line-height: 1.7;
    color: #f2f2f2;
    margin-bottom: 20px;
}

.banner-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #fc9d22;
    color: #ffffff;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-btn:hover {
    background: #de6624;
    color: #ffffff;
}


/* --------------------------------------------------
   Section headings with Cinzel
-----------------------------------------------------*/

.about_taital,
.blog_taital {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* --------------------------------------------------
   About section CTA
-----------------------------------------------------*/

.about_cta {
    margin-top: 30px;
    margin-bottom: 20px;
}

.about-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #fc9d22;
    color: #ffffff;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-btn:hover {
    background: #de6624;
    color: #ffffff;
}


/* --------------------------------------------------
   Attractions Image Hover Effect
-----------------------------------------------------*/

.blog_section_2 .blog_img img {
    transition: transform 0.4s ease, filter 0.3s ease;
}

.blog_section_2 .blog_img:hover img {
    transform: scale(1.05);
    filter: brightness(85%);
}


/* --------------------------------------------------
   Gallery hover effect + button
-----------------------------------------------------*/

.gallery_thumb img {
    transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery_thumb:hover img {
    transform: scale(1.05);
    filter: brightness(80%);
}

.gallery-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #fc9d22;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-btn:hover {
    background: #fc9d22;
    color: #ffffff;
}

/* --------------------------------------------------
   MOBILE SPACING REFINEMENTS
-----------------------------------------------------*/

@media (max-width: 767px) {

    /* Reduce large paddings */
    .layout_padding {
        padding: 40px 0 !important;
    }

    /* Banner spacing */
    .banner_content {
        padding: 60px 20px 40px;
        text-align: center;
    }
    .banner_content h1 {
        font-size: 30px;
        line-height: 1.3;
        color: #ffffff;
        
    }
    .banner_content p {
        font-size: 15px;
    }

    /* About section text spacing */
    .about_text {
        margin-bottom: 15px;
        font-size: 15px;
    }

    /* Center the "Plan Your Visit" button */
    .about_cta {
        text-align: center;
        margin-top: 25px;
    }

    /* Attractions images */
    .blog_img img {
        width: 100%;
        border-radius: 6px;
    }

    /* Gallery thumbnails */
    .gallery_thumb img {
        width: 100%;
        border-radius: 6px;
    }

    /* Section headings on mobile */
    .about_taital,
    .blog_taital {
        font-size: 26px;
        text-align: center;
        margin-bottom: 25px;
    }
}


/* Wrapper sizes (same as template) */
.send_bt, .map_bt {
    width: 160px;
    float: right;
}

.map_bt {
    margin-right: 15px;
}

/* BUTTON STYLING (transparent background + orange text + orange border) */
.send_bt .btn_inner,
.map_bt .btn_inner {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fc9d22;
    background: transparent;
    border: 3px solid #fc9d22;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
}

/* HOVER EFFECT — matches original template */
.send_bt .btn_inner:hover,
.map_bt .btn_inner:hover {
    color: #ffffff;
    border: 3px solid #ffffff;
    background: transparent;
}

/* LOGIN MODAL INPUTS */
.modal-body .mail_text {
    width: 100%;
    border: 2px solid #fc9d22;
    background: transparent;
    color: #333;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.modal-body .mail_text::placeholder {
    color: #777;
}

.send_bt:hover {
    background-color: #fc9d22 !important;
    color: #fff !important;
    transition: 0.3s;
}

.visit-box {
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(0,0,0,0.05);
    height: 100%;
}

.visit-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.visit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.visit-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.visit-list li:last-child {
    border-bottom: none;
}

.visit-notes {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.visit-notes li {
    margin-bottom: 12px;
    padding-left: 18px;
    position: relative;
}

.visit-notes li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fc9d22;
    font-size: 18px;
    line-height: 1;
}


/* ===============================
   NAVBAR — MOBILE ≤ 480px
================================ */
@media (max-width: 480px) {

    .custom_nav-container {
        margin: 8px 10px;
        padding: 6px 8px;
    }

    /* Brand */
    .navbar-brand.museum-brand {
        font-size: 16px;
        padding: 6px 12px;
        justify-content: center;
        margin: 0 auto;
    }

    /* Remove decorative scale overflow */
    .navbar-brand.museum-brand::before {
        transform: scale(1);
    }

    /* Toggle button spacing */
    .navbar-toggler {
        border: none;
        outline: none;
        padding: 6px;
    }

    /* Menu container */
    #navbarSupportedContent {
        margin-top: 10px;
    }

    /* Stack nav links */
    #navbarSupportedContent .navbar-nav {
        flex-direction: column;
    }

    #navbarSupportedContent .nav-item {
        flex: none;
        width: 100%;
    }

    #navbarSupportedContent .nav-link {
        text-align: center;
        padding: 12px 0;
        font-size: 14px;
        border-bottom: 1px solid #eee;
    }

    #navbarSupportedContent .nav-link:last-child {
        border-bottom: none;
    }
}

/* ===============================
   NAVBAR — LARGE PHONES ≤ 768px
================================ */
@media (max-width: 768px) {

    .custom_nav-container {
        margin: 10px 15px;
        padding: 8px 10px;
    }

    .navbar-brand.museum-brand {
        font-size: 18px;
        padding: 6px 14px;
    }

    #navbarSupportedContent .navbar-nav {
        flex-direction: column;
    }

    #navbarSupportedContent .nav-link {
        font-size: 15px;
        padding: 14px 0;
    }
}

/* ===============================
   NAVBAR — TABLET ≤ 1024px
================================ */
@media (max-width: 1024px) {

    #navbarSupportedContent .nav-item {
        flex: unset;
    }

    #navbarSupportedContent .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .navbar-brand.museum-brand {
        font-size: 20px;
    }
}

/* ===============================
   HERO / BANNER — MOBILE ≤ 480px
================================ */
@media (max-width: 480px) {

    .banner_section {
        height: auto;
        min-height: 85vh;
        padding: 60px 0 40px;
        background-attachment: scroll; /* Fix mobile jank */
    }

    .banner_content {
        padding: 40px 20px;
        text-align: center;
        max-width: 100%;
    }

    .banner_content h1 {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .banner_content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .banner-btn {
        padding: 10px 22px;
        font-size: 14px;
    }
}

/* ===============================
   HERO / BANNER — LARGE PHONES ≤ 768px
================================ */
@media (max-width: 768px) {

    .banner_section {
        height: auto;
        min-height: 90vh;
        padding: 80px 0 60px;
        background-attachment: scroll;
    }

    .banner_content {
        padding: 60px 30px;
        text-align: center;
        max-width: 720px;
        margin: 0 auto;
    }

    .banner_content h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .banner_content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .banner-btn {
        font-size: 15px;
        padding: 12px 26px;
    }
}

/* ===============================
   HERO / BANNER — TABLET ≤ 1024px
================================ */
@media (max-width: 1024px) {

    .banner_section {
        padding: 90px 0 70px;
    }

    .banner_content {
        max-width: 520px;
        padding: 80px 30px;
    }

    .banner_content h1 {
        font-size: 38px;
    }
}

/* ===============================
   ABOUT + CONTENT — MOBILE ≤ 480px
================================ */
@media (max-width: 480px) {

    /* Section padding */
    .about_section,
    .models_section,
    .blog_section,
    .choose_section_2 {
        padding: 40px 0;
    }

    /* Section titles */
    .about_taital,
    .models_taital,
    .blog_taital,
    .client_taital {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 30px;
        text-align: center;
    }

    /* About text */
    .about_text {
        font-size: 15px;
        line-height: 1.7;
        text-align: justify;
        margin-bottom: 16px;
        padding: 0 10px;
    }

    /* Center CTA buttons */
    .readmore_btn,
    .read_btn,
    .read_bt {
        float: none;
        margin: 25px auto 0;
        text-align: center;
    }

    .readmore_btn a,
    .read_btn a,
    .read_bt a {
        font-size: 15px;
        padding: 10px 16px;
    }

    /* Models / cards spacing */
    .models_section_2,
    .blog_box {
        padding: 18px;
        margin-top: 30px;
    }

    /* Remove forced widths */
    .lorem_text {
        width: 100%;
        padding: 0 10px;
        font-size: 14px;
    }
}

/* ===============================
   ABOUT + CONTENT — LARGE PHONES ≤ 768px
================================ */
@media (max-width: 768px) {

    .about_taital,
    .models_taital,
    .blog_taital,
    .client_taital {
        font-size: 28px;
        margin-bottom: 40px;
        text-align: center;
    }

    .about_text {
        font-size: 16px;
        line-height: 1.75;
        padding: 0 15px;
    }

    .lorem_text {
        width: 90%;
        font-size: 15px;
    }

    .models_section_2 {
        margin-top: 40px;
        padding: 25px;
    }

    /* Buttons */
    .readmore_btn,
    .read_btn,
    .read_bt {
        float: none;
        margin: 30px auto 0;
    }
}

/* ===============================
   ABOUT + CONTENT — TABLET ≤ 1024px
================================ */
@media (max-width: 1024px) {

    .about_text {
        font-size: 17px;
        line-height: 1.75;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .lorem_text {
        width: 85%;
    }

    .models_section_2 {
        padding: 30px;
    }
}

/* ===============================
   GALLERY & MASONRY — MOBILE ≤ 480px
================================ */
@media (max-width: 480px) {

    /* Single column, tighter gaps */
    .masonry-grid {
        column-count: 1;
        column-gap: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .masonry-item {
        margin-bottom: 16px;
        border-radius: 8px;
    }

    /* Thumbnail sizing */
    .gallery_thumb img,
    .masonry-item img {
        height: 220px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* Overlay text */
    .mason-overlay {
        font-size: 13px;
        bottom: 8px;
        left: 8px;
    }

    /* Gallery button */
    .gallery-btn {
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* ===============================
   GALLERY & MASONRY — LARGE PHONES ≤ 768px
================================ */
@media (max-width: 768px) {

    .masonry-grid {
        column-count: 2;
        column-gap: 16px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .masonry-item {
        margin-bottom: 18px;
        border-radius: 10px;
    }

    .gallery_thumb img,
    .masonry-item img {
        height: 260px;
    }

    .mason-overlay {
        font-size: 14px;
    }

    .gallery-btn {
        font-size: 15px;
        padding: 10px 22px;
    }
}

/* ===============================
   GALLERY & MASONRY — TABLET ≤ 1024px
================================ */
@media (max-width: 1024px) {

    .masonry-grid {
        column-count: 2;
        column-gap: 20px;
    }

    .gallery_thumb img,
    .masonry-item img {
        height: 280px;
    }
}

/* Show overlay by default on touch devices */
@media (hover: none) {
    .mason-overlay {
        opacity: 1;
    }
}

/* ===============================
   FORMS — MOBILE ≤ 480px
================================ */
@media (max-width: 480px) {

    /* Contact section width */
    .contact_section_2 {
        width: 100%;
        padding: 0 15px;
    }

    /* Inputs */
    .mail_text,
    .massage-bt {
        font-size: 15px;
        padding: 12px 10px;
    }

    /* Remove floats */
    .send_bt,
    .map_bt {
        float: none;
        width: 100%;
        margin: 12px 0 0;
    }

    /* Buttons full-width */
    .send_bt .btn_inner,
    .map_bt .btn_inner {
        width: 215%;
        font-size: 15px;
        padding: 12px;
        margin-top: 10px;
    }

    /* Stack buttons */
    .map_btn_main {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Contact title */
    .contact_taital {
        font-size: 26px;
        margin-bottom: 25px;
    }

    /* Social icons */
    .social_icon li a {
        width: 42px;
        height: 42px;
        font-size: 18px;
        line-height: 32px;
    }
}

/* ===============================
   FORMS — LARGE PHONES ≤ 768px
================================ */
@media (max-width: 768px) {

    .contact_section_2 {
        width: 90%;
    }

    .mail_text,
    .massage-bt {
        font-size: 16px;
    }

    .send_bt,
    .map_bt {
        float: none;
        width: 100%;
        margin-top: 15px;
    }

    .map_btn_main {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .send_bt .btn_inner,
    .map_bt .btn_inner {
        font-size: 16px;
        padding: 12px;
        width: 100%;
    }
}

/* ===============================
   FORMS — TABLET ≤ 1024px
================================ */
@media (max-width: 1024px) {

    .contact_section_2 {
        width: 75%;
    }

    .send_bt,
    .map_bt {
        float: none;
        display: inline-block;
        width: 100%;
    }

    .map_btn_main {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }
}


/* ============================================================
   HSM INDEX PAGE — FINAL RESPONSIVE VISIBILITY FIXES
   Targets: Hero, About, Attractions, Home Gallery
   Breakpoints:
   - Mobile ≤ 480px
   - Large phones ≤ 768px
   - Tablet ≤ 1024px
============================================================ */


/* -------------------------------
   HERO / BANNER
-------------------------------- */

@media (max-width: 768px) {

    .banner_section {
        background-position: center top;
        height: auto;
        min-height: 90vh;
    }

    .banner_content {
        margin-top: 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .banner_content {
        margin-top: 20px;
        padding: 40px 20px;
    }

    .banner_content h1 {
        font-size: 24px;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }

    .banner-btn {
        margin-top: 20px;
        font-size: 14px;
        padding: 10px 22px;
    }
}


/* -------------------------------
   ABOUT SECTION
-------------------------------- */

@media (max-width: 768px) {

    /* Prevent edge-to-edge text */
    .about_section .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Stack image nicely */
    .about_img img {
        margin-bottom: 20px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {

    .about_taital {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: center;
    }

    .about_text {
        font-size: 14.8px;
        line-height: 1.85;
        letter-spacing: 0.2px;
        text-align: left;
        margin-bottom: 16px;
    }
}


/* -------------------------------
   ATTRACTIONS (BLOG SECTION)
-------------------------------- */

@media (max-width: 768px) {

    /* Clear stacking separation */
    .blog_section_2 .col-md-4 {
        margin-bottom: 30px;
    }

    .date_text {
        width: 100%;
    }

    .date_text a {
        font-size: 15px;
        padding: 12px;
    }
}


/* -------------------------------
   HOME GALLERY PREVIEW
-------------------------------- */

@media (max-width: 768px) {

    .gallery_thumb img {
        height: 220px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {

    .gallery_thumb img {
        height: 200px;
    }

    .blog_section .col-md-4 {
        margin-bottom: 25px;
    }
}


/* -------------------------------
   ABOUT CTA BUTTON
-------------------------------- */

@media (max-width: 480px) {

    .about-btn {
        font-size: 15px;
        padding: 12px 24px;
    }
}

/* ============================================================
   ABOUT SECTION — TEXT NORMALIZATION (FINAL AUTHORITY)
   Ensures:
   ✔ same font size
   ✔ justified text
   ✔ consistent line height
============================================================ */

/* BASE (desktop & fallback) */
.about_text {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 18px;
}

/* TABLET ≤ 1024px */
@media (max-width: 1024px) {
    .about_text {
        font-size: 17px;
        line-height: 1.8;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        text-align: justify;
    }
}

/* LARGE PHONES ≤ 768px */
@media (max-width: 768px) {
    .about_text {
        font-size: 16px;
        line-height: 1.85;
        padding: 0 15px;
        text-align: justify;
    }
}

/* MOBILE ≤ 480px */
@media (max-width: 480px) {
    .about_text {
        font-size: 15px;
        line-height: 1.9;
        padding: 0 10px;
        text-align: justify;
    }
}

/* ============================================================
   BASE.HTML — GLOBAL RESPONSIVE RULES
   Applies to:
   - Header / Navbar
   - Footer / Contact
   - Site-wide spacing
============================================================ */


/* -------------------------------
   GLOBAL SAFETY
-------------------------------- */

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
}


/* -------------------------------
   HEADER / NAVBAR
-------------------------------- */

/* MOBILE & LARGE PHONES */
@media (max-width: 768px) {

    .header_section {
        padding: 0;
    }

    .custom_nav-container {
        margin: 10px;
        padding: 8px 10px;
    }

    /* Stack nav items cleanly */
    #navbarSupportedContent .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    #navbarSupportedContent .nav-item {
        width: 100%;
        text-align: center;
    }

    #navbarSupportedContent .nav-link {
        padding: 12px 0;
        font-size: 15px;
    }

    /* Center museum brand */
    .navbar-brand.museum-brand {
        margin: 12px auto;
        font-size: 18px;
        justify-content: center;
    }

    /* Remove decorative scale overflow */
    .navbar-brand.museum-brand::before {
        transform: scale(1);
    }

    /* Toggler cleanup */
    .navbar-toggler {
        border: none;
        outline: none;
    }
}


/* TABLET */
@media (max-width: 1024px) {

    #navbarSupportedContent .nav-link {
        font-size: 14px;
        padding: 10px 12px;
    }

    .navbar-brand.museum-brand {
        font-size: 20px;
    }
}


/* -------------------------------
   FOOTER / CONTACT SECTION
-------------------------------- */

/* MOBILE */
@media (max-width: 480px) {

    .contact_taital {
        font-size: 26px;
        margin-bottom: 25px;
        text-align: center;
    }

    .contact_section_2 {
        width: 100%;
        padding: 0 15px;
    }

    /* Location info stack */
    .location_text ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .location_text li {
        padding: 0;
        text-align: center;
    }

    /* Social icons */
    .social_icon li a {
        width: 42px;
        height: 42px;
        font-size: 18px;
        line-height: 32px;
    }

    .copyright_text {
        font-size: 14px;
        line-height: 1.6;
        padding: 15px 0;
    }
}


/* LARGE PHONES */
@media (max-width: 768px) {

    .contact_section_2 {
        width: 90%;
    }

    .location_text ul {
        justify-content: center;
    }
}


/* TABLET */
@media (max-width: 1024px) {

    .contact_section_2 {
        width: 80%;
    }
}

/* ============================================================
   NAVBAR TOGGLER — MOBILE & TABLET FIX
   Ensures:
   ✔ hamburger visible on mobile & tablet
   ✔ centered horizontally
============================================================ */

/* Mobile + Tablet */
@media (max-width: 991px) {

    /* Ensure navbar container allows centering */
    .custom_nav-container {
        position: relative;
    }

    /* Center the hamburger */
    .navbar-toggler {
        display: block;
        margin: 0 auto;
        padding: 6px 10px;
    }

    /* Make sure icon is visible */
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-size: 100% 100%;
    }

    /* Hide menu until toggled */
    #navbarSupportedContent {
        width: 100%;
        text-align: center;
    }

    /* Stack menu items after toggle */
    #navbarSupportedContent .navbar-nav {
        align-items: center;
    }
}

/* ============================================================
   MOBILE NAVBAR — SMOOTH SLIDE ANIMATION
============================================================ */

</*@media (max-width: 991px) {

    /* Base collapsed state */
    /*#navbarSupportedContent {
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease;
        max-height: 0;
        opacity: 0;
    }

    /* When menu is open */
    /*#navbarSupportedContent.show {
        max-height: 500px; /* enough for menu items */
        /*opacity: 1;
    }
}


/* ============================================================
   MOBILE NAVBAR — TAP SPACING & ACTIVE STATES
============================================================ */

@media (max-width: 991px) {

    #navbarSupportedContent .nav-link {
        padding: 14px 0;
        font-size: 16px;
        letter-spacing: 0.4px;
        position: relative;
    }

    /* Hover & active feedback */
    #navbarSupportedContent .nav-link:hover,
    #navbarSupportedContent .nav-item.active .nav-link {
        color: #fc9d22;
        background: rgba(252, 157, 34, 0.08);
        border-radius: 6px;
    }

    /* Touch-friendly spacing between items */
    #navbarSupportedContent .nav-item {
        margin: 6px 0;
    }

    /* Remove underline effects */
    #navbarSupportedContent .nav-link::after {
        display: none;
    }
}

/* ============================================================
   STICKY HEADER (ON SCROLL)
============================================================ */

.header_section {
    position: relative;
    z-index: 999;
    transition: all 0.3s ease;
}

.header_section.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Prevent content jump */
body.has-sticky-header {
    padding-top: 90px; /* matches header height */
}

/* ============================================================
   GALLERY PAGE — RESPONSIVE MASONRY
   Applies to gallery.html only
============================================================ */


/* -------------------------------
   DESKTOP (DEFAULT)
-------------------------------- */
/* already handled by existing styles */


/* -------------------------------
   TABLET ≤ 1024px
-------------------------------- */
@media (max-width: 1024px) {

    .masonry-grid {
        column-count: 2;
        column-gap: 20px;
    }

    .masonry-item img {
        border-radius: 10px;
    }

    .mason-overlay h3 {
        font-size: 16px;
    }
}


/* -------------------------------
   LARGE PHONES ≤ 768px
-------------------------------- */
@media (max-width: 768px) {

    .masonry-grid {
        column-count: 2;
        column-gap: 16px;
        margin-top: 30px;
    }

    .masonry-item {
        margin-bottom: 18px;
    }

    .masonry-item img {
        height: 260px;
        object-fit: cover;
    }

    .mason-overlay {
        bottom: 10px;
        left: 10px;
    }

    .mason-overlay h3 {
        font-size: 15px;
    }
}


/* -------------------------------
   MOBILE ≤ 480px
-------------------------------- */
@media (max-width: 480px) {

    .masonry-grid {
        column-count: 1;
        column-gap: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .masonry-item {
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .masonry-item img {
        height: 220px;
        object-fit: cover;
        border-radius: 8px;
    }

    .mason-overlay {
        opacity: 1; /* always visible on touch */
        bottom: 8px;
        left: 8px;
    }

    .mason-overlay h3 {
        font-size: 14px;
        line-height: 1.3;
    }
}


/* -------------------------------
   TOUCH DEVICES (NO HOVER)
-------------------------------- */
@media (hover: none) {

    .mason-overlay {
        opacity: 1;
    }

    .masonry-item:hover img {
        transform: none;
        filter: none;
    }
}

/* ============================================================
   DESKTOP NAVBAR — ALIGNMENT & SPACING FIX
   (Non-responsive, visual refinement only)
============================================================ */

/* Reset aggressive flex stretching */
#navbarSupportedContent .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;              /* controls spacing between items */
    width: 100%;
}

/* Remove equal-width forcing */
#navbarSupportedContent .nav-item {
    flex: unset;
}

/* Ensure ALL nav links align uniformly */
#navbarSupportedContent .nav-link {
    text-align: center;
    padding: 8px 10px;
    white-space: nowrap;
}

/* Brand — visually centered and dominant */
.navbar-brand.museum-brand {
    margin: 0 40px;         /* space around brand */
    font-size: 22px;
    line-height: 1.2;
}

/* Fix Login link not being in <li> */
#navbarSupportedContent > .nav-link {
    padding: 8px 10px;
    font-weight: 500;
}

/* Optional: subtle hover refinement */
#navbarSupportedContent .nav-link:hover {
    color: #fc9d22;
}


/* ============================================================
   MOBILE & TABLET NAVBAR — TRUE CENTERING FIX
   Fixes brand misalignment inside collapsed menu
============================================================ */

@media (max-width: 991px) {

    /* Ensure full-width menu for proper centering */
    #navbarSupportedContent .navbar-nav {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    /* Force all nav items to be centered blocks */
    #navbarSupportedContent .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Center ALL links, including brand */
    #navbarSupportedContent .nav-link {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Brand-specific centering */
    .navbar-brand.museum-brand {
        margin: 12px auto;
        text-align: center;
        justify-content: center;
    }

    /* Prevent decorative plate from shifting layout */
    .navbar-brand.museum-brand::before {
        left: 50%;
        transform: translateX(-50%) scale(1);
    }
}

/* FORCE NAVBAR VISIBILITY — OVERRIDE MEANMENU */
.custom_nav-container {
    display: block !important;
}

/* =========================================================
   MOBILE NAVBAR — STACK MUSEUM BRAND VERTICALLY
   Applies ONLY inside hamburger menu
========================================================= */
@media (max-width: 991px) {

    /* Target brand inside collapsed navbar */
    #navbarSupportedContent .navbar-brand.museum-brand {
        flex-direction: column;       /* 🔑 STACK vertically */
        gap: 4px;
        padding: 12px 16px;
        font-size: 18px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;          /* allow wrapping */
    }

    /* Each part on its own line */
    #navbarSupportedContent .museum-brand span {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Make highlight readable */
    #navbarSupportedContent .brand-highlight {
        padding: 4px 10px;
        font-size: 16px;
    }

    /* Decorative plate — keep centered */
    #navbarSupportedContent .navbar-brand.museum-brand::before {
        left: 50%;
        transform: translateX(-50%) scale(1);
    }
}

/* =========================================================
   MOBILE: MAKE THE MUSEUM BRAND STACK VERTICALLY
   (Your brand link is: .nav-link.navbar-brand.museum-brand)
========================================================= */
@media (max-width: 991px) {

  /* Force the brand itself to become a vertical stack */
  #navbarSupportedContent a.nav-link.navbar-brand.museum-brand {
    display: flex !important;          /* override inline-flex from .nav-link */
    flex-direction: column !important; /* stack lines */
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    white-space: normal !important;    /* allow wrapping */
    text-align: center !important;
    line-height: 1.15 !important;

    padding: 12px 14px !important;
    margin: 12px auto !important;
    width: 100%;
    max-width: 95%;
  }

  /* Each span should take its own line */
  #navbarSupportedContent a.nav-link.navbar-brand.museum-brand span {
    display: block !important;
    width: 100%;
    text-align: center;
  }

  /* Optional: keep the highlight nicely sized */
  #navbarSupportedContent a.nav-link.navbar-brand.museum-brand .brand-highlight {
    padding: 4px 10px !important;
    font-size: 16px !important;
  }

  /* Center the orange plate behind the brand */
  #navbarSupportedContent a.nav-link.navbar-brand.museum-brand::before {
    left: 50% !important;
    transform: translateX(-50%) scale(1.02) !important;
  }
}

/* =========================================================
   MOBILE HAMBURGER MENU
   FORCE MUSEUM BRAND TO STACK VERTICALLY
========================================================= */
@media (max-width: 991px) {

  /* Target the BRAND LIST ITEM */
  #navbarSupportedContent .navbar-nav > li:has(.museum-brand) {
    width: 100%;
    display: block !important;
    text-align: center;
    margin: 12px 0;
  }

  /* Force the brand link itself vertical */
  #navbarSupportedContent .navbar-nav > li:has(.museum-brand) > a.museum-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100%;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.15;

    padding: 14px 16px !important;
  }

  /* Each text piece on its own line */
  #navbarSupportedContent .navbar-nav > li:has(.museum-brand) span {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Make highlight readable */
  #navbarSupportedContent .navbar-nav > li:has(.museum-brand) .brand-highlight {
    padding: 4px 12px;
    font-size: 16px;
  }
}


/* =========================================================
   MOBILE VERTICAL LOGO (HAMBURGER ONLY)
========================================================= */

/* Default: desktop shows text brand */
.nav-brand-mobile {
    display: none;
}

/* Mobile + Tablet (collapsed navbar) */
@media (max-width: 991px) {

    /* Hide decorative text brand */
    .nav-brand-desktop {
        display: none !important;
    }

    /* Show vertical logo */
    .nav-brand-mobile {
        display: block !important;
        width: 100%;
        text-align: center;
        padding: 16px 0;
    }

    .nav-brand-mobile .mobile-brand-logo {
        width: 200px;     /* adjust if needed */
        max-width: 90%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}


/* =========================================================
   HIDE TEXT BRAND IN MOBILE (MEANMENU OVERRIDE)
========================================================= */

@media (max-width: 991px) {

    /* Hide desktop text brand everywhere */
    .nav-brand-desktop {
        display: none !important;
    }

    /* Hide text brand inside MeanMenu clone */
    .mean-container .nav-brand-desktop {
        display: none !important;
    }

    /* Ensure mobile logo stays visible */
    .nav-brand-mobile {
        display: block !important;
    }

    /* Safety: prevent horizontal stretching */
    .mean-container .nav-brand-mobile {
        width: 100%;
        text-align: center;
    }
}

