/* ========== Dark Mode Extensions ========== */

/* ========== Enhanced Gallery Dark Mode ========== */
body.dark-mode .gallery-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

/* Gallery section title in dark mode */
body.dark-mode .gallery-section .section-title {
    color: #E8D5B5;
    text-shadow: 0 2px 20px rgba(232, 213, 181, 0.3);
}

body.dark-mode .gallery-section .section-subtitle {
    color: #B0B0B0;
}

/* Gallery Items Dark Mode - Premium Enhanced */
body.dark-mode .gallery-item-simple {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 213, 181, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 122, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .gallery-item-simple:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(232, 213, 181, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(212, 175, 122, 0.3),
        inset 0 1px 0 rgba(232, 213, 181, 0.2);
}

/* Gallery Image Container */
body.dark-mode .gallery-image {
    position: relative;
    overflow: hidden;
}

body.dark-mode .gallery-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.3) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

body.dark-mode .gallery-item-simple:hover .gallery-image::after {
    opacity: 0.2;
}

/* Gallery images should remain vibrant */
body.dark-mode .gallery-image img {
    filter: brightness(0.95) contrast(1.05);
    transition: all 0.5s ease;
}

body.dark-mode .gallery-item-simple:hover .gallery-image img {
    filter: brightness(1.05) contrast(1.1);
    transform: scale(1.08);
}

/* Gallery Caption Enhanced */
body.dark-mode .gallery-caption {
    background: linear-gradient(180deg,
            rgba(15, 15, 15, 0.95) 0%,
            rgba(20, 20, 20, 0.98) 100%);
    border-top: 1px solid rgba(232, 213, 181, 0.1);
}

body.dark-mode .gallery-caption h3 {
    color: #E8D5B5;
    background: linear-gradient(135deg, #E8D5B5 0%, #D4AF7A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.dark-mode .gallery-caption p {
    color: #B0B0B0;
}

/* Gallery Note */
body.dark-mode .gallery-note {
    background: rgba(212, 175, 122, 0.08);
    border-left-color: #D4AF7A;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .gallery-note p {
    color: #E0E0E0;
}

body.dark-mode .gallery-note a {
    color: #E8D5B5;
}

body.dark-mode .gallery-note a:hover {
    color: #D4AF7A;
}

/* ========== Original Dark Mode Gallery ========== */

body.dark-mode .gallery-section {
    background: #1a1a1a;
}

body.dark-mode .filter-btn {
    border-color: #E8D5B5;
    color: #E8D5B5;
}

body.dark-mode .filter-btn.active,
body.dark-mode .filter-btn:hover {
    background: #D4AF7A;
    color: #0a0a0a;
}

body.dark-mode .gallery-view-btn {
    background: rgba(232, 213, 181, 0.2);
    color: #E8D5B5;
}

body.dark-mode .gallery-view-btn:hover {
    background: #D4AF7A;
    color: #0a0a0a;
}

/* Dark Mode Testimonials */
body.dark-mode .testimonials-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

body.dark-mode .testimonial-text {
    color: #F0F0F0;
}

body.dark-mode .author-name {
    color: #E8D5B5;
}

body.dark-mode .author-role {
    color: #B0B0B0;
}

body.dark-mode .testimonial-btn {
    background: #D4AF7A;
    color: #0a0a0a;
}

body.dark-mode .testimonial-btn:hover {
    background: #E8D5B5;
}

body.dark-mode .testimonial-dot {
    background: #6B7280;
}

body.dark-mode .testimonial-dot.active {
    background: #D4AF7A;
}

body.dark-mode .author-avatar {
    background: linear-gradient(135deg, #D4AF7A 0%, #9DB29D 100%);
}

/* Dark Mode FAQ */
body.dark-mode .faq-section {
    background: #0a0a0a;
}

body.dark-mode .faq-item {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(232, 213, 181, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(232, 213, 181, 0.3);
}

body.dark-mode .faq-item.active {
    background: rgba(30, 30, 30, 0.9);
    border-left-color: #D4AF7A;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(212, 175, 122, 0.2);
}

body.dark-mode .faq-question {
    color: #E8D5B5;
}

body.dark-mode .faq-question:hover {
    color: #D4AF7A;
    background: rgba(212, 175, 122, 0.05);
}

body.dark-mode .faq-item.active .faq-question {
    background: linear-gradient(to right, rgba(212, 175, 122, 0.1), transparent);
}

body.dark-mode .faq-icon {
    color: #D4AF7A;
}

body.dark-mode .faq-item.active .faq-icon {
    color: #E8D5B5;
}

body.dark-mode .faq-answer p {
    color: #F0F0F0;
}

body.dark-mode .faq-answer li {
    color: #B0B0B0;
}

body.dark-mode .faq-cta p {
    color: #F0F0F0;
}

/* Dark Mode Lightbox */
body.dark-mode .lightbox {
    background: rgba(10, 10, 10, 0.98);
}

body.dark-mode .lightbox-close,
body.dark-mode .lightbox-nav {
    background: rgba(232, 213, 181, 0.2);
    border-color: #E8D5B5;
    color: #E8D5B5;
}

body.dark-mode .lightbox-close:hover,
body.dark-mode .lightbox-nav:hover {
    background: #D4AF7A;
    color: #0a0a0a;
}

/* Dark Mode Preloader */
body.dark-mode .preloader {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

body.dark-mode .preloader-spinner {
    border-color: #1a1a1a;
    border-top-color: #D4AF7A;
}

/* Dark Mode Scroll Progress */
body.dark-mode .scroll-progress {
    background: linear-gradient(90deg, #E8D5B5 0%, #D4AF7A 100%);
}

/* Dark Mode Navigation Mobile */
body.dark-mode .nav-toggle span {
    background: #E8D5B5;
}

@media (max-width: 768px) {
    body.dark-mode .nav-menu {
        background: rgba(10, 10, 10, 0.98);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }
}