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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #faf7f3;
    color: #222;
    line-height: 1.6;
}

body.lang-ar {
    direction: rtl;
    font-family: 'Tahoma', system-ui, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.header-sections-toggle {
    display: none;
    margin-left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(201,165,91,0.7);
    background: rgba(0,0,0,0.04);
    font-size: 0.85rem;
    cursor: pointer;
}

.header-sections-toggle span {
    margin-inline-start: 6px;
}

.header-sections-dropdown {
    position: absolute;
    top: 64px;
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 20;
    display: none;
    padding: 10px 16px 12px;
    background: rgba(0,0,0,0.9);
    color: #fff;
}

.header-sections-dropdown.open {
    display: block;
}

.header-sections-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.header-sections-list a {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.86rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
}

.header-sections-list a:hover {
    background: rgba(255,255,255,0.08);
}


.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.logo-mark {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #c9a55b;
    font-size: 16px;
}

.logo-text {
    font-size: 14px;
}

.main-nav {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.main-nav a {
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
    background: #f3e7cf;
    color: #111;
}

.nav-book {
    background: #c9a55b;
    color: #fff !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-toggle {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e0cfaa;
}

.btn-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0cfaa;
    font-size: 14px;
}

.btn-circle.whatsapp {
    border-color: #25D366;
}

.btn-circle.phone {
    border-color: #c9a55b;
}

/* Hero */
.hero {
    position: relative;
    padding: 72px 0 56px;
    background: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0.6), rgba(0,0,0,0.35));
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.3fr);
    gap: 32px;
    align-items: center;
    z-index: 1;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

.hero-text p {
    max-width: 520px;
    color: #f8f3ea;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #c9a55b;
    color: #fff;
}

.btn-secondary {
    background: #fff;
    border: 1px solid #e0cfaa;
    color: #5b4b33;
}

.hero-card {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    padding: 20px 22px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.06);
    border: 1px solid rgba(201,165,91,0.16);
}

.hero-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.hero-card ul {
    list-style: none;
    font-size: 0.9rem;
    color: #5b4b33;
}

.hero-card li {
    margin-bottom: 6px;
}

/* Sections */
.section {
    padding: 40px 0;
}

.section-alt {
    background: #f5efe4;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}

.section-header h2,
.section-header h1 {
    font-size: 1.4rem;
}

.section-link {
    font-size: 0.9rem;
    color: #9a7b3a;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.card-image {
    height: 120px;
    background: linear-gradient(120deg, #f5efe4, #f8f2e8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 1px solid #e0cfaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #9a7b3a;
}

.card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.card-body h3 {
    font-size: 1rem;
}

.card-body p {
    font-size: 0.9rem;
    color: #5b4b33;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #806740;
}

.card-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #f5efe4;
}

.card-link {
    margin-top: auto;
    font-size: 0.86rem;
    color: #9a7b3a;
}

/* Containers */
.container-narrow {
    max-width: 720px;
}

/* Typography helpers */
.lead {
    margin-top: 8px;
    margin-bottom: 12px;
    color: #4a3a25;
}

.rich-text {
    font-size: 0.96rem;
    color: #433729;
}

.rich-text p + p {
    margin-top: 10px;
}

/* Pills & CTA rows */
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px;
}

.pill {
    padding: 4px 10px;
    background: #f5efe4;
    border-radius: 999px;
    font-size: 0.82rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* Booking form */
.booking-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 4px;
}

.booking-form input,
.booking-form textarea {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #ddc9a1;
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
}

.small {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #7a6750;
}

/* Footer */
.site-footer {
    margin-top: 32px;
    padding: 16px 0 20px;
    background: #f0e6d6;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.86rem;
}

/* Responsive */
@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .card-grid,
    .card-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
    .main-nav {
        display: none;
    }

    .header-sections-toggle {
        display: inline-flex;
    }
}
/* Hourly offer box */
.section-hourly-offer {
    padding-top: 24px;
    padding-bottom: 24px;
}

.hourly-offer-box {
    border: 3px solid #e0a600 !important;
    box-shadow: 0 0 12px rgba(255, 180, 0, 0.9), 0 0 22px rgba(255, 150, 0, 0.6) !important;

    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(201,165,91,0.25);
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.hourly-offer-text {
    flex: 2;
    min-width: 220px;
}

.hourly-offer-text h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.hourly-offer-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.hourly-offer-desc,
.hourly-offer-branch {
    font-size: 0.9rem;
    color: #5b4b33;
}

.hourly-offer-meta {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.8rem;
    color: #806740;
}

.hourly-offer-timer {
    padding: 3px 8px;
    border-radius: 999px;
    background: #f5efe4;
}

.hourly-offer-actions {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

@media (max-width: 880px) {
    .hourly-offer-box {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Card images using real spa photos */
.card-image {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
}

.card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-image-small img {
    height: 130px;
}

.detail-hero-image {
    margin-bottom: 18px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(201,165,91,0.55);
}

.detail-hero-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

/* Make hourly offer box more eye-catching */
.section-hourly-offer {
    padding-top: 28px;
    padding-bottom: 32px;
}

.hourly-offer-box {
    position: relative;
    background: radial-gradient(circle at top left, #fff7e5 0, #f4ede0 38%, #f0e4d3 100%);
    border: 1px solid rgba(201,165,91,0.6);
    box-shadow: 0 18px 48px rgba(0,0,0,0.26);
}

.hourly-offer-box::before {
    content: "⏰";
    position: absolute;
    right: 18px;
    top: 16px;
    font-size: 1.7rem;
    opacity: 0.9;
}

.hourly-offer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #3b2b16;
}

.hourly-offer-desc,
.hourly-offer-branch {
    color: #5b4630;
}

.hourly-offer-timer {
    background: #1f1b13;
    color: #fce8b0;
    font-weight: 600;
}

/* Admin layout refinement */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    background: #11100e;
    color: #f5f2ea;
    border-bottom: 1px solid rgba(201,165,91,0.55);
}

.header-bar nav a {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.header-bar nav a:hover {
    border-color: rgba(201,165,91,0.9);
    background: rgba(201,165,91,0.15);
}

.main-wrap {
    max-width: 1120px;
    margin: 26px auto 40px;
    padding: 0 16px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e2ddd2;
    text-align: left;
}

.admin-table th {
    background: #f6f0e4;
    font-weight: 600;
}

.admin-table tr:nth-child(even) td {
    background: #fbf7f0;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-row label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
    padding: 7px 9px;
    border-radius: 6px;
    border: 1px solid #d8c9aa;
}

.hero-text {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(0,0,0,0.38);
    border: 1px solid rgba(255,255,255,0.12);
}

/* Floating call & WhatsApp buttons */
.floating-contact {
    position: fixed;
    right: 16px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}

.float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
    border: 1px solid rgba(0,0,0,0.45);
}

.float-btn-call {
    background: linear-gradient(135deg, #cf9f3a, #f4d27d);
    color: #1b1408;
}

.float-btn-wa {
    background: linear-gradient(135deg, #25D366, #0b8f3a);
    color: #ffffff;
}

.float-btn:hover {
    transform: translateY(-1px);
}
