/* assets/css/style.css */
*,
*::before,
*::after {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #d4af37;
    /* Gold/Champagne */
    --accent-hover: #f1c40f;
    --nav-bg: rgba(18, 18, 18, 0.95);
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.mobile-only {
    display: none;
    /* Hide on desktop */
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .check-btn {
        display: none;
        /* Hide header button on tablet/mobile in favor of menu */
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 300;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary {
    background: var(--accent);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.check-btn {
    display: inline-block !important;
    /* Force visibility */
    flex-shrink: 0;
    /* Prevent shrinking */
    margin-left: auto;
    /* Push to right if needed, though proper order handles it */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on header height, usually 40-60px */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active {
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../MAINPAGE.png') center/cover no-repeat;
    padding: 0 1rem;
}

.hero-content h1 {
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Sections */
section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid #333;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    margin: 0 10px;
    font-size: 1.2rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer-contact {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
}

.footer-contact-label {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.footer-booking-email {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-booking-email:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.footer-booking-cta {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-top: 0.25rem;
}

.footer-booking-cta:hover {
    color: var(--accent);
}

/* How to Book — manual payment guide */
.services-booking-email {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.services-booking-email a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.services-booking-email a:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

.booking-guide-section {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 2rem 2rem 0;
}

.booking-guide-header {
    margin-bottom: 1.5rem;
}

.booking-guide-email-card {
    text-align: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #121212 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.booking-guide-email-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.booking-guide-email-link {
    font-size: clamp(1.1rem, 4vw, 1.45rem);
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    word-break: break-all;
}

.booking-guide-email-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.booking-guide-email-hint {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.booking-payment-heading {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}

.booking-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.booking-payment-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
}

.booking-payment-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.booking-payment-icon {
    color: var(--accent);
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.booking-payment-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 0.65rem;
}

.booking-payment-badge--wallet {
    background: rgba(76, 175, 80, 0.1);
    color: #81c784;
    border-color: rgba(76, 175, 80, 0.35);
}

.booking-payment-badge--jazz {
    background: rgba(244, 67, 54, 0.1);
    color: #ef9a9a;
    border-color: rgba(244, 67, 54, 0.35);
}

.booking-payment-card h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.booking-payment-meta {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.booking-payment-value-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
}

.booking-payment-value {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 600;
    color: #fff;
    background: #0d0d0d;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.55rem 0.65rem;
    letter-spacing: 0.04em;
    user-select: all;
    -webkit-user-select: all;
    word-break: break-all;
}

.booking-copy-btn {
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.booking-copy-btn:hover,
.booking-copy-btn.is-copied {
    background: var(--accent);
    color: #000;
}

.booking-instructions-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
}

.booking-instructions-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
}

.booking-instructions-en {
    margin: 0 0 1rem;
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.booking-instructions-en a {
    color: var(--accent);
    font-weight: 600;
}

.booking-instructions-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.booking-wa-btn {
    border: 1px solid #25d366;
    color: #25d366;
}

.booking-wa-btn:hover {
    background: #25d366;
    color: #000;
}

.booking-copy-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: var(--accent);
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.booking-copy-toast[hidden] {
    display: none;
}

@media (max-width: 900px) {
    .booking-payment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .booking-guide-section {
        padding: 1.5rem 1rem 0;
    }

    .booking-instructions-actions {
        flex-direction: column;
    }

    .booking-instructions-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background: var(--nav-bg);
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        /* Changed from center to allow scrolling if needed */
        padding-top: 2rem;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        /* Ensure above nav-links if overlaps */
    }

    h1 {
        font-size: 2.2rem;
        /* Smaller font on mobile */
        letter-spacing: 1px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    section {
        padding: 3rem 5%;
        /* Reduce padding */
    }

    .grid-3 {
        grid-template-columns: 1fr;
        /* Stack cards on mobile */
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    /* Adjust header button for small screens */
    .check-btn {
        display: inline-block;
        font-size: 0.7rem;
        padding: 6px 12px !important;
        margin-left: 10px !important;
    }
}

/* Ensure Nav has it? */
/* Actually, for mobile menu, the user usually expects the CTA inside the menu too. */
/* Current Approach: Header has button. Mobile menu does NOT. */
/* If I want it in mobile menu, I should duplicated it or use JS. */
/* Let's add it back to UL generally, but hide it on Desktop? */
/* No, simplest is: Header Button is visible on all sizes. */

/* Gallery Styles */
.gallery-grid {
    display: grid;
    /* Use auto-fill to keep columns consistent size even if few items */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        /* Force single column on small mobile */
        gap: 1rem;
    }
}

.gallery-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}

.gallery-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
}

.gallery-type-badge--photo {
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.45);
}

.gallery-type-badge--video {
    color: #f5f5f5;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.gallery-type-badge__icon {
    font-size: 0.55rem;
    line-height: 1;
    color: var(--accent);
}

.gallery-type-badge__icon--photo {
    width: 0.55rem;
    height: 0.55rem;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.gallery-type-badge__text {
    display: inline-block;
}

@media (max-width: 480px) {
    .gallery-type-badge {
        top: 8px;
        left: 8px;
        padding: 0.3rem 0.5rem;
        font-size: 0.58rem;
        gap: 0.25rem;
    }

    .gallery-type-badge__icon--photo {
        width: 0.5rem;
        height: 0.5rem;
    }
}

.gallery-media-wrapper.has-lqip {
    background-image: var(--lqip);
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
}

.gallery-media-wrapper.has-lqip::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.45s ease;
    pointer-events: none;
    opacity: 1;
}

.gallery-media-wrapper.has-lqip.is-loaded::after {
    opacity: 0;
}

.gallery-media-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.gallery-media.js-gallery-lazy {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.gallery-media-wrapper.is-loaded .gallery-media.js-gallery-lazy {
    opacity: 1;
}

.gallery-empty {
    text-align: center;
    grid-column: 1 / -1;
    color: var(--text-secondary);
}

/* Full media view (view_media.php) */
.media-view {
    padding-top: 120px;
    padding-bottom: 5rem;
    min-height: 80vh;
}

.media-view-inner {
    max-width: min(1600px, 96vw);
    margin: 0 auto;
    padding: 0 5%;
}

.media-not-found {
    text-align: center;
    padding: 100px 1rem;
}

.media-container {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.media-viewer {
    position: relative;
    background: #000;
    min-height: min(60vh, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-viewer.has-lqip {
    background-color: #000;
    background-image: var(--lqip);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.media-viewer.has-lqip::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: opacity 0.55s ease;
    pointer-events: none;
    z-index: 1;
}

.media-viewer.has-lqip.is-loaded::before {
    opacity: 0;
}

.media-viewer-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.media-viewer-spinner::after {
    content: "";
    width: 42px;
    height: 42px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: media-viewer-spin 0.75s linear infinite;
}

.media-viewer.is-loaded .media-viewer-spinner {
    opacity: 0;
}

@keyframes media-viewer-spin {
    to {
        transform: rotate(360deg);
    }
}

.media-viewer-img,
.media-viewer-video {
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
}

.media-viewer-img.js-gallery-lazy {
    opacity: 0;
    transition: opacity 0.55s ease;
}

.media-viewer.is-loaded .media-viewer-img.js-gallery-lazy {
    opacity: 1;
}

.media-details {
    padding: 2rem;
}

.media-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.media-details-header h1 {
    font-size: 2rem;
    margin: 0;
    color: var(--text-primary);
}

.media-category {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.media-details-header time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.media-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #ddd;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-pill {
    background: #333;
    color: #bbb;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.back-link {
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
}

.gallery-media-wrapper.video-fallback::before,
.gallery-media-wrapper.video-fallback::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-media-wrapper.video-fallback::before {
    display: none;
}

.gallery-media-wrapper.video-fallback::after {
    content: "▶";
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
}

.gallery-info {
    padding: 1rem;
    text-align: center;
}

.gallery-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* GEO FAQ — entity-rich Q&A for humans and AI crawlers */
.geo-faq-section {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.geo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.geo-faq-item {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--accent);
}

.geo-faq-item h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.4;
}

.geo-faq-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}