:root {
    --primary-gold: #D4AF37;
    --gold-hover: #b59226;
    --dark-bg: #050505;
    --card-bg: #111111;
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* GLOBAL RESET TO PREVENT WHITE GAPS */
html, body {
    background-color: var(--dark-bg) !important;
    color: var(--text-white);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

section, header, footer, div {
    background-color: transparent; 
}

h1, h2, h3, h4, .navbar-brand { font-family: 'Playfair Display', serif; }

/* NAVBAR */
.navbar {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

/* FIX: NAVBAR BRAND VISIBILITY */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important; 
    letter-spacing: 0.5px;
}
.brand-text {
    background: linear-gradient(to right, #ffffff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold { color: var(--primary-gold) !important; }

.nav-link {
    color: var(--text-muted) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-left: 15px;
    transition: 0.3s;
}
.nav-link:hover { color: var(--primary-gold) !important; }

/* Admin Button */
.btn-admin {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--primary-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: 0.3s;
}
.btn-admin:hover {
    background: var(--primary-gold);
    color: #000;
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.7), var(--dark-bg)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Buttons */
.btn-gold {
    background: var(--primary-gold);
    color: #000;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-3px); }

.btn-outline-gold {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: 0.3s;
}
.btn-outline-gold:hover { background: rgba(212, 175, 55, 0.1); color: #fff; }

/* Sections */
.section-padding { padding: 100px 0; background-color: var(--dark-bg); }
.bg-darker { background-color: #000000 !important; }
.letter-spacing-2 { letter-spacing: 2px; }

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: 30px; right: -20px;
    background: var(--card-bg);
    border: 1px solid var(--primary-gold);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
@media(max-width: 768px) { .floating-badge { right: 0; bottom: 0; } }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.gallery-item img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: 0.5s;
}
.gallery-item:hover img { 
    filter: grayscale(0%); transform: scale(1.02); 
}

/* --- ADD THIS TO STYLE.CSS --- */

/* Defines the card container */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1 / 1; /* Keeps images square */
}

/* Fixes the image size */
.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}
.gallery-item img {
    filter: grayscale(100%);
}
.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}
.gallery-item video {
    filter: grayscale(80%);
}
.gallery-item:hover video {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/*Thubnail*/
.img-thumbnail-cover {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    background: #333;
}

/* The Black Overlay with Text */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
    transform: translateY(100%); /* Hides text by default */
    transition: 0.3s ease-in-out;
}

/* Show Overlay on Hover */
.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}


/* Admin Gallery in Modal */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}
.admin-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.3s;
}
.admin-gallery-item:hover {
    border-color: var(--primary-gold);
    transform: scale(1.05);
}
.admin-gallery-item img,
.admin-gallery-item video,
.admin-gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.admin-gallery-item video {
    cursor: pointer;
}
.badge.bg-gold {
    background-color: var(--primary-gold) !important;
    color: #000 !important;
}

/* Footer */
footer {
    background-color: #000000;
    border-top: 1px solid var(--border-color);
}
.hover-gold:hover { color: var(--primary-gold) !important; padding-left: 5px; transition: 0.3s; }

/* Modal */
.glass-panel {
    background: #151515;
    border: 1px solid var(--border-color);
    color: #fff;
}
.form-control {
    background: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
}
.form-control:focus {
    background: #222;
    border-color: var(--primary-gold);
    color: #fff;
    box-shadow: none;
}

/* Spinner & Toast */
.spinner-gold {
    width: 30px; height: 30px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-top: 2px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.status-toast {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--primary-gold);
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    transform: translateY(100px);
    transition: 0.4s;
}
.status-toast.show { transform: translateY(0); }

/* --- GOOGLE TRANSLATE CUSTOMIZATION --- */
.goog-te-banner-frame.skiptranslate { display: none !important; } 
body { top: 0px !important; }

#google_translate_element {
    display: inline-block;
    background: transparent;
}
.goog-te-gadget-simple {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 6px 12px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    cursor: pointer;
    transition: 0.3s;
}
.goog-te-menu-value span {
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    border-left: none !important;
}
.goog-te-gadget-simple:hover {
    background-color: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
}
.goog-te-gadget-icon, .goog-te-menu-value span:last-child {
    display: none !important;
}