* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
    --bg-primary: #0d0f14;
    --bg-elevated: #161922;
    --bg-elevated-2: #1e222d;
    --text-primary: #f4f5f7;
    --text-muted: #9297a6;
    --text-faint: #5b6072;
    --accent: #c99966;
    --accent-soft: rgba(201, 153, 102, 0.14);
    --accent-2: #ff9f6c;
    --border: #262b38;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    padding-top: 64px;
    padding-bottom: calc(78px + var(--safe-bottom));
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }

/* ===== TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: rgba(13, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}
.logo {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.top-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}
.top-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.top-links a:hover { color: var(--text-primary); }
.top-cta {
    background: var(--accent);
    color: #0a0705 !important;
    padding: 9px 20px !important;
    border-radius: 100px;
    font-weight: 700 !important;
}
.top-cta:hover { background: #d4a373; }

/* ===== BOTTOM TAB BAR ===== */
.tab-bar {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 6px calc(8px + var(--safe-bottom)) 6px;
    background: rgba(17, 20, 27, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border);
    z-index: 1000;
}
.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-faint);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 14px;
    transition: var(--transition);
}
.tab-item svg { width: 22px; height: 22px; stroke: var(--text-faint); transition: var(--transition); }
.tab-item.active, .tab-item:active { color: var(--accent); }
.tab-item.active svg, .tab-item:active svg { stroke: var(--accent); }

/* ===== HERO ===== */
.hero {
    padding: 36px 20px 34px 20px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    border: 1px solid rgba(201, 153, 102, 0.35);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.hero h1 span {
    display: block;
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: -0.01em;
}
.hero p {
    max-width: 520px;
    margin: 18px auto 26px auto;
    font-size: 1rem;
    color: var(--text-muted);
}
.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.btn-primary {
    background: var(--accent);
    color: #0a0705;
    padding: 15px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.98rem;
    border: none;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 8px 24px rgba(201, 153, 102, 0.3);
}
.btn-primary:hover { background: #d4a373; transform: translateY(-2px); color: #0a0705; }
.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 15px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: inline-block;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===== MAIN CONTAINER ===== */
.page-container { max-width: 640px; margin: 0 auto; padding: 8px 18px 40px 18px; }
section { margin-bottom: 44px; scroll-margin-top: 80px; }
h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 22px;
    margin-bottom: 10px;
}
h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
p { margin-bottom: 14px; color: var(--text-muted); font-size: 0.96rem; }
.highlight-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
}
.highlight-box strong { color: var(--text-primary); }

/* ===== CARDS ===== */
.grid-2col { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0; }
.info-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.info-card:active { background: var(--bg-elevated-2); }
.info-card h4 { color: var(--text-primary); }
.info-card .sub {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    display: block;
}

/* ===== PACKAGES ===== */
.package-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0; }
.pkg-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.pkg-card h4 { font-size: 1.1rem; color: var(--text-primary); }
.price-tag {
    font-weight: 800;
    font-size: 1.9rem;
    letter-spacing: -0.03em;
    color: var(--accent);
    margin: 6px 0 16px 0;
}
.pkg-card ul { list-style: none; padding: 0; }
.pkg-card ul li {
    padding: 7px 0 7px 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23c99966" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') left center no-repeat;
    background-size: 17px;
    color: var(--text-muted);
    font-size: 0.92rem;
}
.pkg-meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-faint);
}

/* ===== PRICE TABLE ===== */
.price-table { width: 100%; margin: 18px 0; border-collapse: separate; border-spacing: 0 10px; }
.price-table thead { display: none; }
.price-table tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}
.price-table td { border: none; padding: 0; color: var(--text-muted); font-size: 0.9rem; }
.price-table td:first-child { color: var(--text-primary); font-weight: 600; }
.price-table td:nth-child(2) { display: none; }
.price-col { font-weight: 800; color: var(--accent); font-size: 1.05rem; text-align: right; }

/* ===== BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.benefits-grid li {
    padding: 10px 12px 10px 34px;
    background: var(--bg-elevated);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 17px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 500;
    border: 1px solid var(--border);
}
.benefits-grid li::before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-left: -22px;
    margin-right: 6px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23c99966" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') no-repeat center;
    background-size: 16px;
}

/* ===== FOOTER ===== */
.page-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-faint);
    font-size: 0.85rem;
}
.page-footer strong { color: var(--text-primary); }

/* ===== RESPONSIVE ===== */
@media (min-width: 760px) {
    body { padding-top: 76px; padding-bottom: 60px; }
    .top-bar { height: 76px; padding: 0 40px; }
    .tab-bar { display: none !important; }
    .page-container { max-width: 900px; padding: 20px 25px 60px 25px; }
    .hero { padding: 70px 30px 55px 30px; }
    .grid-2col, .package-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .price-table thead { display: table-header-group; }
    .price-table tr { display: table-row; border-radius: 0; padding: 0; background: none; border: none; }
    .price-table { border-spacing: 0; background: var(--bg-elevated); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
    .price-table th {
        background: var(--bg-elevated-2);
        color: var(--text-primary);
        padding: 16px 22px;
        text-align: left;
        font-weight: 700;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
    .price-table td { padding: 14px 22px; border-bottom: 1px solid var(--border); }
    .price-table td:nth-child(2) { display: table-cell; }
    .price-table tr:last-child td { border-bottom: none; }
}
@media (max-width: 759px) {
    .top-links { display: none; }
    .tab-bar { display: flex; }
}
section[id] { scroll-margin-top: 90px; }

/* ===== GALLERY GRID ===== */
#gallery {
    scroll-margin-top: 90px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.gallery-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    padding-bottom: 12px;
}
.gallery-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.gallery-item-name {
    padding: 10px 8px 4px 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 8px;
}
.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-elevated-2);
}

.modal-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-primary);
}
.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-text {
    margin-top: 18px;
    text-align: center;
}
.modal-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.modal-title {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}
.modal-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== MODAL NAVIGATION ===== */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(13, 15, 20, 0.8);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-nav:hover {
    background: var(--accent);
    color: #0a0705;
    border-color: var(--accent);
}
.modal-prev {
    left: 10px;
}
.modal-next {
    right: 10px;
}

/* Responsive modal */
@media (max-width: 600px) {
    .modal-content {
        padding: 16px;
        max-width: 95%;
    }
    .modal-nav {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    .modal-prev {
        left: 4px;
    }
    .modal-next {
        right: 4px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
@media (min-width: 601px) {
    .modal-content {
        padding: 30px;
    }
}


/* Sticky Header */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg, #fff); /* Uses your theme variable or white */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Smooth Scrolling (Global) */
html {
    scroll-behavior: smooth;
}

/* Prevent sections from hiding under the sticky header */
section {
    scroll-margin-top: 80px; /* Adjust this value to match your header height */
}

/* Mobile Fix - Ensure tab bar is also fixed if desired */
.tab-bar {
    position: sticky;
    bottom: 0;
    z-index: 999;
    background-color: var(--bg, #fff);
}

.logo_img {
    max-height: 50px; /* Adjust as needed */
    width: auto;
}