﻿/* style/styles.css */
:root {
    --bg: #ffffff;
    --text: #0b0b0b;
    --muted: #6b6b6b;
    --card: #ffffff;
    --border: #e6e6e6;
    --primary: #087c00;
    --primaryText: #ffffff;
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow: 0 16px 40px rgba(0,0,0,.10);
    --shadow-soft: 0 10px 26px rgba(0,0,0,.08);
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Arial, Roboto, sans-serif, "Segoe UI";
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: #000;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 9999;
}

    .skip-link:focus {
        left: 12px;
    }

/* Screen reader only text */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Focus (keyboard-friendly) */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: none;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(30, 94, 255, .35);
    outline-offset: 2px;
}

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

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
    position: relative;
}

.brand {
    font-weight: 800;
    letter-spacing: .2px;
}

/* Desktop nav */
.primary-nav {
    display: block;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .nav-links a {
        font-weight: 600;
        color: #1c1c1c;
        padding: 10px 12px;
        border-radius: 10px;
        min-height: 44px; /* tap target */
        display: inline-flex;
        align-items: center;
    }

        .nav-links a[aria-current="page"] {
            background: #f4f4f4;
        }

/* Mobile toggle button (hidden on desktop) */
.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
    cursor: pointer;
}

.nav-toggle-icon::before {
    content: "☰";
    font-size: 20px;
    line-height: 1;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    content: "×";
    font-size: 26px;
}

/* Hero */
.hero {
    padding: 18px 0 28px;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 360px;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.50);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.48), rgba(0,0,0,.10));
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 360px;
    padding: 34px;
}

.hero-title {
    align-self: center;
    text-align: center;
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    letter-spacing: .2px;
}

/* Booking */
.booking-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.booking {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr .9fr auto;
    background: rgba(255,255,255,.98);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: var(--shadow-soft);
}

.field {
    padding: 12px 14px;
    border-right: 1px solid #ededed;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

    .field label {
        font-size: .85rem;
        color: var(--muted);
        font-weight: 700;
    }

    .field input, .field select {
        border: 0;
        outline: none;
        font-weight: 650;
        background: transparent;
        font-size: 16px; /* prevents iOS zoom */
    }

.search-btn {
    border: 0;
    background: var(--primary);
    color: var(--primaryText);
    padding: 0 18px;
    font-weight: 800;
    cursor: pointer;
    min-height: 64px;
    min-width: 120px;
}

.icon-img {
    width: 34px;
    height: 34px;
}

.helper {
    color: #fff;
    margin: 10px 0 0;
    text-align: center;
}

.section-title {
    margin: 26px 0 10px;
    font-size: 1.25rem;
}

/* Destinations */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.dest-card {
    border-radius: 22px;
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    position: relative;
    min-height: 140px;
    cursor: pointer;
    border: 1px solid var(--border);
}

    .dest-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.02);
    }

.dest-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(255,255,255,.80);
    backdrop-filter: blur(8px);
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 800;
}
/* Pages */
.page-hero {
    padding: 18px 0 10px;
}

.lead {
    color: var(--muted);
    max-width: 70ch;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 18px 0 26px;
}

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--card);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

/* Form */
.form label {
    font-weight: 700;
    display: block;
    margin: 0 0 6px;
}

.form input, .form textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
}

.form textarea {
    min-height: 120px;
    resize: vertical;
}

.hint {
    min-height: 18px;
    font-size: .95rem;
    margin-top: 6px;
    color: #b00020;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 0;
    background: var(--primary);
    color: var(--primaryText);
    font-weight: 800;
    cursor: pointer;
}

/* Contact details list */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
}

.contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #1e1e1e;
}

.success-msg {
    margin: 8px 0 0;
    color: #0b5;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .booking {
        border-radius: var(--radius-xl);
        grid-template-columns: 1fr 1fr;
    }

    .field {
        border-right: none;
        border-bottom: 1px solid #ededed;
    }

        .field:nth-last-child(2) {
            border-bottom: none;
        }

    .search-btn {
        width: 100%;
        border-radius: 16px;
        min-width: 0;
    }
}

@media (max-width: 700px) {
    /* Toggle appears */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Desktop nav becomes mobile dropdown */
    .primary-nav {
        display: none;
    }

    body.nav-open .primary-nav {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
        padding: 8px;
        z-index: 1000;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 6px;
    }

        .nav-links a {
            width: 100%;
            justify-content: flex-start;
            padding: 14px 14px;
        }

    .two-col {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        padding: 20px;
    }
}

.map {
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

    .map iframe {
        width: 100%;
        height: 320px;
        border: 0;
    }