:root {
    --primary: #0f766e;
    --primary-dark: #0b5b55;
    --accent: #f59e0b;
    --text: #13314d;
    --muted: #5c6f84;
    --surface: #f6fbff;
    --border: rgba(19, 49, 77, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #fff;
}

.navbar {
    background: rgba(11, 91, 85, 0.96);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    letter-spacing: 0.08rem;
    font-size: 1.1rem;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
}

.hero-section {
    background: linear-gradient(120deg, rgba(7, 38, 42, 0.82), rgba(17, 110, 116, 0.84)), url('https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: white;
    padding: 110px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-card {
    background: rgba(255,255,255,0.96);
    color: var(--text);
    border-radius: 24px;
    padding: 1.7rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.hero-card-eyebrow {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
}

.stat-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
}

.stat-box h4 {
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.stat-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.84);
}

.section-block {
    padding: 80px 0;
}

.section-light {
    background: var(--surface);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.accent-card {
    background: linear-gradient(135deg, #fff8e8, #fff);
}

.card {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.form-card {
    border-radius: 24px;
}

.tour-card img {
    height: 220px;
    object-fit: cover;
}

.tour-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.tour-card .price-tag {
    color: var(--primary);
    font-weight: 700;
}

.search-wrap {
    min-width: min(100%, 320px);
}

.image-panel img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    height: 100%;
    min-height: 240px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item.large {
    grid-column: span 6;
}

.gallery-item.medium {
    grid-column: span 3;
}

.gallery-item.small {
    grid-column: span 3;
}

.video-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.video-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 0.8rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-card iframe {
    width: 100%;
    border: 0;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    display: block;
}

.video-card-body {
    padding: 1rem 0.4rem 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 110px;
}

@media (max-width: 991.98px) {
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small {
        grid-column: span 6;
    }

    .video-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small {
        grid-column: 1 / -1;
    }

    .video-testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.about-points {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.about-point {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.1rem;
}

.contact-meta p {
    margin-bottom: 0.3rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.nav-tabs .nav-link {
    color: #172b4d !important;
    font-weight: 600;
}

.nav-tabs .nav-link:hover {
    color: #0f766e !important;
}

.nav-tabs .nav-link.active {
    color: #0f766e !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
    background-color: #fff !important;
}

.tab-pane {
    color: #172b4d;
}

#tourPagination .page-link {
    color: var(--primary);
}

#tourPagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.admin-page {
    min-height: 100vh;
    background: #eef3f8;
}

.admin-header .badge {
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
}

.admin-summary-card {
    border-radius: 22px;
    min-height: 150px;
}

.admin-summary-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.1rem;
}

.metric-label {
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--muted);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.card-soft {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
}

.table thead th {
    border-bottom-width: 2px;
}

.table tbody tr:hover {
    background: rgba(15, 118, 110, 0.04);
}

#tourMessage .alert {
    margin-bottom: 0;
}

.form-control,
.form-select,
.input-group .form-control {
    border-radius: 0.85rem;
}

.btn-sm {
    border-radius: 0.85rem;
}

@media (max-width: 767px) {
    .hero-section {
        padding: 80px 0;
    }

    .image-panel img {
        height: 300px;
    }
}