:root {
    --primary-gold: #eebb5d;
    --bg-dark: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-white: #ffffff;
    --nav-bg: #ffffff;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.brand-logo {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    letter-spacing: 4px;
    z-index: 10;
    font-weight: 300;
    color: #fff;
}

.page-header {
    position: relative;
    background-image: url('../../assets/img/page/gallery/bg.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(10, 10, 10, 1));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 2px;
}

.gallery-filter {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 50px;
    padding: 10px 20px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-filter::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .gallery-filter {
        justify-content: center;
    }
}

.filter-btn {
    background: transparent;
    border: none;
    color: #666;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    position: relative;
    letter-spacing: 1px;
}

.filter-btn.active, .filter-btn:hover {
    color: var(--primary-gold);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.filter-btn.active::after, .filter-btn:hover::after {
    width: 40%;
}

#galleryGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 100px;
}

@media (max-width: 992px) {
    #galleryGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    #galleryGrid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 3/2;
    background: var(--card-bg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1), filter 0.5s ease;
    filter: brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.gallery-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay-text {
    opacity: 1;
}

.gallery-overlay-text h5 {
    color: #fff;
    margin: 0;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay-text h5 {
    transform: translateY(0);
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.close-lightbox {
    position: fixed;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-lightbox:hover {
    color: var(--primary-gold);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--primary-gold);
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

#google_translate_element {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.goog-te-gadget-simple {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid var(--primary-gold) !important;
    padding: 6px 12px !important;
    border-radius: 30px !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.goog-te-gadget-simple:hover {
    background-color: rgba(238, 187, 93, 0.2) !important;
}

.goog-te-gadget-simple span {
    color: #fff !important;
    font-family: 'Kanit', sans-serif !important;
    font-size: 0.85rem !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-menu-value span:nth-child(3) {
    border-left: 1px solid var(--primary-gold) !important;
    margin-left: 8px;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}




@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {
    .main-title{
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {}

@media (max-width: 359.98px) {
 
}