:root {
    --bg: #f5f8fb;
    --surface: #ffffff;
    --text: #1b2533;
    --muted: #5f7188;
    --primary: #1a3d79;
    --primary-light: #3e61b1;
    --secondary: #f8b400;
    --danger: #d64545;
    --border: #dde4ee;
    --radius: 18px;
}

:root.dark-mode {
    --bg: #0f1419;
    --surface: #1a1f2e;
    --text: #e0e8f0;
    --muted: #9ca8b8;
    --primary: #3e61b1;
    --primary-light: #5a7dd6;
    --secondary: #fca500;
    --danger: #ff6b6b;
    --border: #2d3544;
}

@media (prefers-color-scheme: dark) {
    :root:not(.light-mode) {
        --bg: #0f1419;
        --surface: #1a1f2e;
        --text: #e0e8f0;
        --muted: #9ca8b8;
        --primary: #3e61b1;
        --primary-light: #5a7dd6;
        --secondary: #fca500;
        --danger: #ff6b6b;
        --border: #2d3544;
    }
}

* {
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

html {
    scroll-behavior: smooth;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(248, 180, 0, 0.55);
    outline-offset: 3px;
}

.site-header,
.admin-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(221, 228, 238, 0.8);
    z-index: 20;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

:root.dark-mode .site-header,
:root.dark-mode .admin-header {
    background: rgba(26, 31, 46, 0.96);
    border-bottom-color: rgba(45, 53, 68, 0.8);
}

.site-header {
    position: sticky;
}

.main-nav {
    transition: max-height 0.28s ease, opacity 0.28s ease;
}

.brand a {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.main-nav,
.admin-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 12px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.mobile-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.mobile-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.mobile-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-right: 12px;
}

.theme-toggle:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.theme-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.nav-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    padding: 12px 26px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary,
.nav-button {
    background: var(--primary);
    color: #fff;
}

.button:hover,
.nav-button:hover,
.button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(26, 61, 121, 0.14);
}

.main-nav a:hover {
    color: var(--primary-light);
}

.button-secondary {
    background: var(--secondary);
    color: #1b2533;
}

.button-link {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 10px 18px;
}

.inline-form {
    display: inline-block;
    margin: 0;
}

.inline-form button {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--danger);
    cursor: pointer;
    font: inherit;
}

.hero,
.page-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 80px 40px 60px;
}

.hero-image img,
.page-hero img {
    border-radius: var(--radius);
}

.hero-copy,
.page-copy {
    max-width: 640px;
}

.hero h1,
.page-copy h1 {
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    margin: 0 0 18px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section {
    padding: 60px 40px;
}

.section-services {
    padding-top: 50px;
    padding-bottom: 50px;
}
.section-heading{
    padding-bottom: 12px;
}
.section-heading h2 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
}

.section-note {
    display: inline-block;
    padding: 18px 20px;
    margin-top: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    width: 100%;
}

.section-note p {
    margin: 0;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hotel-gallery-slider {
    position: relative;
    margin-top: 24px;
}

.slider-track-wrapper {
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
}

.slider-track {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slider-track::-webkit-scrollbar {
    height: 10px;
}

.slider-track::-webkit-scrollbar-thumb {
    background: rgba(138, 153, 190, 0.55);
    border-radius: 999px;
}

.slide {
    flex: 0 0 min(80vw, 360px);
    scroll-snap-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(25, 37, 52, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(25, 37, 52, 0.14);
}

.slide img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.slide-content {
    padding: 18px;
}

.slide-content h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.slide-content p {
    margin: 0;
    color: var(--muted);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--text);
    font-size: 1.6rem;
    z-index: 2;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-nav:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 999;
}

.gallery-modal.open {
    display: flex;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 28, 0.78);
    backdrop-filter: blur(4px);
}

.gallery-modal-content {
    position: relative;
    width: min(100%, 960px);
    max-height: 90vh;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 40px 90px rgba(15, 26, 52, 0.3);
    overflow: hidden;
    z-index: 1;
}

.gallery-modal-image-wrapper {
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.gallery-modal-image {
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 20px;
    background: #000;
}

.gallery-modal-caption {
    color: var(--text);
}

.gallery-modal-caption h3 {
    margin: 0 0 8px;
}

.gallery-modal-caption p {
    margin: 0;
    color: var(--muted);
}

.gallery-modal-close,
.gallery-modal-nav {
    position: absolute;
    border: none;
    background: rgba(255,255,255,0.92);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gallery-modal-close:hover,
.gallery-modal-nav:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.gallery-modal-close {
    top: 18px;
    right: 18px;
}

.gallery-modal-prev {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-modal-next {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .slide {
        flex: 0 0 90vw;
    }

    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
}

.card,
.hotel-card,
.gallery-card,
.about-card,
.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(25, 37, 52, 0.06);
}

.service-card img,
.hotel-card img,
.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content,
.hotel-card-body {
    padding: 18px;
}

.card-content h3,
.hotel-card-body h3 {
    margin: 0 0 14px;
}

.hotel-price,
.hotel-location {
    margin: 0 0 10px;
    color: var(--muted);
}

.about-card {
    padding: 40px;
}

.about-card ul {
    padding-left: 20px;
}

.about-card li {
    margin-bottom: 10px;
}

.contact-card {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(25, 37, 52, 0.08);
    max-width: 860px;
    margin: 24px auto 0;
}

.contact-card-full {
    display: grid;
    gap: 24px;
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.contact-card-header h3 {
    margin: 0;
}

.contact-card-header p {
    margin: 4px 0 0;
    color: var(--muted);
}

.contact-card-body {
    display: grid;
    gap: 18px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--secondary);
    color: #1b2533;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    margin-bottom: 6px;
}

.contact-card p {
    margin: 0;
    color: var(--muted);
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 720px) {
    .contact-card {
        margin: 24px 0 0;
    }

    .contact-card-header,
    .contact-detail {
        flex-direction: column;
        align-items: stretch;
    }
}

.site-footer {
    padding: 24px 40px;
    text-align: center;
    color: var(--muted);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(26, 61, 121, 0.28);
    z-index: 30;
}

.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
}

:root.dark-mode .admin-login-body {
    background: linear-gradient(180deg, #0c121b 0%, #141b27 100%);
}

.admin-login-panel,
.admin-form-panel {
    background: var(--surface);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 22px 70px rgba(37, 56, 95, 0.12);
    max-width: 520px;
    width: 100%;
}

.admin-form-panel {
    margin-bottom: 40px;
}

.admin-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.admin-card {
    padding: 26px;
    text-align: center;
}

.admin-card h2 {
    margin: 0 0 8px;
    font-size: 2.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    color: var(--muted);
}

.admin-thumb {
    max-width: 120px;
    border-radius: 16px;
    margin-top: 10px;
}

label {
    display: block;
    margin-top: 18px;
    color: var(--muted);
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 8px;
    background: var(--surface);
    color: var(--text);
}

textarea {
    resize: vertical;
}

.alert {
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.alert-error {
    background: #ffe5e5;
    color: #9d2a2a;
}

.small-text {
    color: var(--muted);
    margin: 18px 0 0;
}

.danger-link {
    color: var(--danger);
}

@media (max-width: 1080px) {
    .hero,
    .page-hero {
        grid-template-columns: 1fr;
        padding: 60px 24px;
    }
    .grid-4,
    .grid-3,
    .grid-gallery,
    .admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-header,
    .admin-header {
        padding: 18px 24px;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 16px 20px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(221, 228, 238, 0.9);
        padding: 0 20px 18px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .site-header.mobile-open .main-nav {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        display: block;
        padding: 14px 0;
        width: 100%;
    }

    .main-nav .nav-button {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .main-nav,
    .admin-nav {
        gap: 0;
    }

    .grid-4,
    .grid-3,
    .grid-gallery,
    .admin-grid {
        grid-template-columns: 1fr;
    }
}
