/* ================================================================
   1. RESET & GLOBALE STYLES
   ================================================================ */
* {
    font-style: normal !important;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--base-font-size);
    color: var(--text-light);
    background-color: var(--primary-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
}

/* ================================================================
   2. HEADER & STICKY NAVBAR
   ================================================================ */
header.sticky-top {
    top: 0;
    z-index: 1080;
    background-color: var(--navbar-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.main-nav {
    padding-top: calc(0.8rem + 5px);
    padding-bottom: calc(0.8rem + 5px);
    position: relative;
    background-color: var(--navbar-bg) !important;
}

.navbar-brand {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.lotus-icon {
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.3));
    transition: transform 0.3s ease;
}

.navbar-brand:hover .lotus-icon {
    transform: scale(1.1);
}

@media (min-width: 992px) {
    .navbar-nav {
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--navbar-bg);
        padding: 1.5rem;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        margin-top: 0.5rem;
    }
}

.nav-link {
    color: var(--text-light) !important;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}

/* HAMBURGER ANIMATION */
.custom-hamburger {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 10px;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    display: block;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--accent-gold);
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 9px; opacity: 1; transform: scale(1); }
.hamburger-icon span:nth-child(3) { top: 18px; }

.custom-hamburger.active .hamburger-icon span:nth-child(1) {
    top: 9px; transform: rotate(135deg);
}
.custom-hamburger.active .hamburger-icon span:nth-child(2) {
    opacity: 0; transform: scale(0);
}
.custom-hamburger.active .hamburger-icon span:nth-child(3) {
    top: 9px; transform: rotate(-135deg);
}

.nav-gold-separator {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    width: 100%;
}

/* ================================================================
   3. HERO SECTION
   ================================================================ */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: translateZ(0); /* iOS Safari: stellt sicher dass overflow:hidden greift */
}

.hero-bg-animate {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../../img/hero-bg-thaimassage-01.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenBurnsZoom 30s ease infinite;
}

@keyframes kenBurnsZoom {
    0% { transform: scale(1.0); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1.0); }
}

.hero-section .container {
    position: relative; z-index: 1;
}

/* ================================================================
   4. SECTIONS & CARDS
   ================================================================ */
section.py-5 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

.bg-light-section {
    background-color: var(--bg-light) !important;
}

.text-dark-section {
    color: var(--text-dark) !important;
}

.section-title-dark {
    color: var(--primary-bg) !important;
}

/* Tabellen-Fix für helle Sektionen */
.bg-light-section table, 
.bg-light-section td, 
.bg-light-section th,
.bg-light-section tbody {
    background-color: transparent !important;
    color: var(--text-dark) !important;
}

/* Karten-Styling */
.service-card, .price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    height: 100%;
}

/* Price Card Header */
.price-card-header {
    padding: 1.25rem 1rem 1rem;
    text-align: center;
    background: rgba(197, 160, 89, 0.08);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.price-card-header h4 {
    color: var(--accent-gold-light);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.price-card-header small {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.price-card-icon {
    width: 2.6rem;
    height: 2.6rem;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.price-card.highlight {
    border-color: rgba(197, 160, 89, 0.45);
}

.price-card.highlight .price-card-header {
    background: rgba(197, 160, 89, 0.14);
    border-bottom-color: rgba(197, 160, 89, 0.35);
}

.price-tag {
    color: var(--text-light);
    font-size: 1.05rem;
    font-family: var(--font-headings);
    white-space: nowrap;
}

/* List items im price-card */
.price-card .list-group-item {
    background: transparent;
    border-color: rgba(197, 160, 89, 0.1);
    color: var(--text-light);
    font-size: 0.95rem;
}

.price-card .list-group-item:last-child {
    border-bottom: none;
}

/* ================================================================
   MEHRFACHKARTEN – VERGLEICHSTABELLE
   ================================================================ */
.pkg-table-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.pkg-table {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Kopfzeile */
.pkg-head-row {
    display: grid;
    grid-template-columns: 5rem 1fr 1fr 1fr;
    background: rgba(197, 160, 89, 0.12);
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.pkg-label-col {
    padding: 0.9rem 0.75rem;
    background: transparent;
    border-right: 1px solid rgba(197, 160, 89, 0.15);
}

.pkg-col-head {
    padding: 0.9rem 0.5rem;
    text-align: center;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--accent-gold-light);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background: transparent;
    border-right: 1px solid rgba(197, 160, 89, 0.15);
}

.pkg-col-head:last-child {
    border-right: none;
}

/* Datenzeilen */
.pkg-data-row {
    display: grid;
    grid-template-columns: 5rem 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    transition: background var(--transition-speed) ease;
}

.pkg-data-row:last-child {
    border-bottom: none;
}

.pkg-data-row:hover {
    background: rgba(197, 160, 89, 0.05);
}

.pkg-qty-label {
    padding: 1rem 0.75rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(197, 160, 89, 0.15);
}

.pkg-cell {
    padding: 1rem 0.5rem;
    text-align: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(197, 160, 89, 0.1);
}

.pkg-cell:last-child {
    border-right: none;
}

.pkg-cell--na {
    color: rgba(244, 244, 244, 0.2);
    font-size: 1.1rem;
    font-weight: 400;
}

.pkg-cell--highlight {
    color: var(--text-light);
    background: rgba(197, 160, 89, 0.06);
}

@media (max-width: 480px) {
    .pkg-head-row,
    .pkg-data-row {
        grid-template-columns: 3.5rem 1fr 1fr 1fr;
    }
    .pkg-qty-label {
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem;
    }
    .pkg-col-head {
        font-size: 0.78rem;
        padding: 0.8rem 0.3rem;
    }
    .pkg-cell {
        font-size: 0.9rem;
        padding: 0.8rem 0.3rem;
    }
}

.bg-light-section .service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
}

/* HOVER: Weicher Schatten */
.service-card:hover, .price-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(197, 160, 89, 0.15);
    transform: none;
}

.bg-light-section .service-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(197, 160, 89, 0.4);
    transform: none;
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-gold);
}

/* ================================================================
   5. BUTTONS
   ================================================================ */
.btn {
    border-radius: var(--btn-border-radius) !important;
    padding: 0.65rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition-speed) ease;
}

.btn-lg {
    padding: 0.8rem 2.2rem;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--navbar-bg);
    border: 2px solid var(--accent-gold);
}

.btn-gold:hover {
    background-color: var(--accent-gold-light);
    color: var(--navbar-bg) !important;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-gold-outline {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-gold-outline:hover {
    background-color: var(--accent-gold);
    color: var(--navbar-bg);
}

/* ================================================================
   6. FOOTER & MUSTER
   ================================================================ */
.main-footer {
    background-color: var(--footer-bg) !important;
    padding: 4.5rem 0; 
    position: relative;
}

.thai-pattern-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--pattern-url);
    opacity: var(--pattern-opacity);
    pointer-events: none;
}

.footer-links a {
    color: rgba(244, 244, 244, 0.6);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--accent-gold-light) !important;
}

.gold-divider {
    height: 3px; width: 60px; background: var(--accent-gold); margin: 1.5rem auto;
}

/* ================================================================
   7. FAQ ACCORDION
   ================================================================ */
.faq-item {
    background: transparent !important;
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item .accordion-button {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none !important;
}

.faq-item .accordion-button:not(.collapsed) {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold-light);
}

.faq-item .accordion-button::after {
    filter: invert(1);
    opacity: 0.6;
}

.faq-item .accordion-button:not(.collapsed)::after {
    filter: invert(1) sepia(1) saturate(3) hue-rotate(10deg);
    opacity: 1;
}

.faq-item .accordion-body {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    padding: 1.25rem 1.5rem;
    line-height: 1.7;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.faq-item:hover {
    border-color: rgba(197, 160, 89, 0.35) !important;
}

/* ================================================================
   8. GALLERY SECTION
   ================================================================ */
.gallery-item {
    display: block;
    text-decoration: none;
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid rgba(197, 160, 89, 0.2);
    aspect-ratio: 1 / 1;
    background: rgba(197, 160, 89, 0.06);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 26, 19, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--accent-gold);
}

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

.gallery-item:hover .gallery-img-wrap {
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 12px rgba(197, 160, 89, 0.15);
}

.gallery-caption {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Lightbox */
#gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#gallery-lightbox.active {
    display: flex;
}

.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.lb-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}

.lb-img {
    max-width: 85vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    display: block;
}

.lb-caption {
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.lb-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.lb-close:hover {
    color: var(--accent-gold-light);
}

.lb-prev,
.lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--accent-gold);
    font-size: 1.4rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

.lb-prev:hover,
.lb-next:hover {
    background: rgba(197, 160, 89, 0.35);
    color: var(--accent-gold-light);
}

@media (max-width: 576px) {
    .lb-prev { left: 0.4rem; }
    .lb-next { right: 0.4rem; }
}

/* ================================================================
   9. FAQ SECTION – LIGHT BACKGROUND OVERRIDES
   ================================================================ */
#faq .faq-item {
    background: var(--white) !important;
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#faq .faq-item .accordion-button {
    background: var(--white);
    color: var(--text-dark);
}

#faq .faq-item .accordion-button:not(.collapsed) {
    background: rgba(197, 160, 89, 0.08);
    color: var(--accent-gold-dark);
}

#faq .faq-item .accordion-button::after {
    filter: none;
    opacity: 0.7;
}

#faq .faq-item .accordion-button:not(.collapsed)::after {
    filter: sepia(1) saturate(3) hue-rotate(10deg);
    opacity: 1;
}

#faq .faq-item .accordion-body {
    background: rgba(249, 247, 242, 0.6);
    color: var(--text-dark);
    border-top: 1px solid rgba(197, 160, 89, 0.15);
}

#faq .faq-item:hover {
    border-color: rgba(197, 160, 89, 0.45) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ================================================================
   10. SCROLL-TO-TOP BUTTON
   ================================================================ */
#scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-bg);
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: var(--accent-gold);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 8px rgba(197, 160, 89, 0.12);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, border-color 0.2s;
    pointer-events: none;
}

#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scroll-top-btn:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.75);
    color: var(--accent-gold-light);
}

@media (max-width: 576px) {
    #scroll-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 2.6rem;
        height: 2.6rem;
    }
}