@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c58a67;
    --secondary: #c58a67;
    --dark: #1f2937;
    --light: #f9fafb;
    --text: #374151;
    --border: #e5e7eb;
    --brand: #c58a67;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: white;
    line-height: 1.65;
    font-size: 15px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--dark);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #a06b4a;
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-brand span {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand);
    margin-left: 10px;
    display: none;
}

.navbar-menu {
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 8px 0;
    white-space: nowrap;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--brand);
}

.navbar-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, #e8b4a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    box-shadow: 0 4px 12px rgba(197, 138, 103, 0.3);
    border-color: var(--brand);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--brand);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar-brand span {
        display: inline;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .navbar-menu {
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
        border-top: 1px solid var(--border);
        margin-top: 10px;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu a {
        padding: 10px 0;
        font-size: 15px;
    }

    .navbar-menu a.active::after {
        bottom: -5px;
        height: 2px;
    }
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, rgba(197, 138, 103, 0.8) 0%, rgba(160, 100, 70, 0.8) 100%);
    color: white;
    padding: 140px 0 120px;
    text-align: center;
    background-size: cover;
    background-position: center;
    min-height: 550px;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 36px;
    opacity: 0.95;
    line-height: 1.55;
}

.hero-buttons {
    display: inline-flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    width: auto;
    min-width: 160px;
    max-width: 220px;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
        min-height: 380px;
    }

    /* Cap the admin-set inline font-size on mobile using !important */
    .hero h1 {
        font-size: clamp(26px, 7vw, 36px) !important;
        margin-bottom: 12px;
        line-height: 1.22;
        letter-spacing: -0.3px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 26px;
        line-height: 1.55;
    }

    .hero-buttons {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .hero-buttons .btn {
        min-width: 130px;
        max-width: 172px;
        padding: 11px 18px;
        font-size: 13px;
    }
}

.btn {
    padding: 11px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--light);
}

/* SEARCH SECTION */
.search-section {
    background: white;
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.search-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: end;
}

.search-box input,
.search-box select {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

.search-box input:focus,
.search-box select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

/* SECTION STYLES */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-title p {
    font-size: 16px;
    color: var(--text);
}

/* TOURS GRID */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.tour-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

.tour-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.03);
}
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.tour-content {
    padding: 18px 20px 20px;
}

.tour-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.3;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text);
    opacity: 0.85;
}

.tour-price {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}

.tour-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text);
}

.tour-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

/* DESTINATIONS GRID */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.destination-card {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: white;
}

.destination-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.destination-overlay p {
    color: rgba(255, 255, 255, 0.88);
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: #d1d5db;
    padding: 100px 0 50px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 80px;
    margin-bottom: 70px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 36px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-section p {
    margin-bottom: 24px;
    line-height: 1.9;
    color: #b4b9c0;
    font-size: 14px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--brand);
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 32px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: rgba(197, 138, 103, 0.15);
    border-radius: 50%;
    color: var(--brand);
    transition: all 0.3s ease;
    font-size: 16px;
}

    .social-links a:hover {
        background: var(--brand);
        color: white;
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(197, 138, 103, 0.3);
    }

    /* STATISTICS SECTION */
    .stats-section {
        background: linear-gradient(135deg, #c58a67 0%, #a0644a 100%);
        color: white;
        padding: 80px 0;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 50px;
        text-align: center;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-icon {
        font-size: 48px;
        margin-bottom: 20px;
        opacity: 0.95;
    }

    .stat-number {
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 10px;
        line-height: 1;
    }

    .stat-label {
        font-size: 16px;
        font-weight: 500;
        opacity: 0.9;
        letter-spacing: 0.5px;
    }

    @media (max-width: 768px) {
        .stats-section {
            padding: 60px 0;
        }

        .stats-grid {
            gap: 40px;
        }

        .stat-icon {
            font-size: 40px;
        }

        .stat-number {
            font-size: 36px;
        }

        .stat-label {
            font-size: 14px;
        }
    }

.footer-divider {
    border-top: 1px solid #333;
    margin: 70px 0 50px;
    padding-top: 50px;
}

.footer-bottom {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    line-height: 2;
    letter-spacing: 0.3px;
}

/* Mobile Footer */
@media (max-width: 768px) {
    footer {
        padding: 70px 0 40px;
    }

    .footer-content {
        gap: 55px;
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }

    .footer-section h3 {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .footer-section p {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .footer-section a {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .social-links {
        gap: 15px;
        margin-top: 28px;
    }

    .social-links a {
        width: 42px;
        height: 42px;
    }

    .footer-divider {
        margin: 55px 0 40px;
        padding-top: 40px;
    }

    .footer-bottom {
        font-size: 12px;
        line-height: 1.8;
    }
}

/* FORMS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* ALERTS */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #7f1d1d;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar-menu {
        gap: 15px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 13px;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .tours-grid,
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .tour-card,
    .destination-card {
        min-height: 280px;
    }
}
