/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif; /* Default font */
}

/* gallery Section */
.gallery-section {
    margin-top: -70px !important;
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/gallery/IMG_1882-scaled.webp')center/cover no-repeat;
    z-index: 0;
}

.gallery-content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-tagline {
    color: rgba(255,255,255,0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 500px;
    
}

.gallery-title {
font-family: 'Marcellus', serif !important;
font-size: 4.8rem !important;
color: white !important;
line-height: 1.1;
margin-bottom: 25px;
letter-spacing: 0.5px;
font-weight: 300;
max-width: 800px;
text-align: center;
}

.gallery-description {
    font-family: 'Montserrat', sans-serif;
    max-width: 800px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

button.gallery-tab {
box-shadow: none;
}

@media (max-width: 1200px) {
    .gallery-title{
        font-size: 4rem !important;
    }
}

@media (max-width: 768px) {
    .gallery-tagline {
        font-size: 0.8rem !important;
        letter-spacing: 3px;
        max-width: 90%;
    }
    
    .gallery-title {
        font-size: 2.8rem !important;
        max-width: 90%;
    }
    
    .gallery-description {
        font-size: 1rem  !important;
        max-width: 90%;
    }
}

@media (max-width: 992px) {
    .gallery-title {
        font-size: 3.5rem !important;
    }
}

@media (max-width: 576px) {
      .gallery-title {
        font-size: 2rem !important;
        max-width: 100%;
    }

}
    .gallery-tabs {
display: flex;
justify-content: center;
margin-bottom: 40px;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
flex-wrap: wrap;
}

.gallery-tab {
background: none;
border: none;
padding: 15px 25px;
font-family: 'Montserrat', sans-serif;
font-size: 0.9rem;
letter-spacing: 2px;
color: #777;
cursor: pointer;
position: relative;
margin: 5px;
white-space: nowrap;
}

.gallery-tab.active {
color: #8B7355;
}

.gallery-tab span {
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 2px;
background: #3CB371;
transform: scaleX(0);
transition: transform 0.3s ease;
}

.gallery-tab.active span {
transform: scaleX(1);
}

.gallery-item{
margin: 5px;
border-radius: 4px;
}

/* Responsive adjustments for tabs only */
@media (max-width: 992px) {
.gallery-tab {
    padding: 12px 20px;
    font-size: 0.85rem;
}
}

@media (max-width: 768px) {
.gallery-tab {
    padding: 10px 15px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin: 3px;
}
}

@media (max-width: 576px) {
.gallery-tabs {
    justify-content: center;
}

.gallery-tab {
    padding: 8px 12px;
    font-size: 0.75rem;
    margin: 2px;
}
}

@media (max-width: 400px) {
.gallery-tabs {
    flex-direction: column;
    align-items: center;
}

.gallery-tab {
    width: 100%;
    text-align: center;
    padding: 10px;
    margin: 2px 0;
}
}