:root {
    --primary-color: #2C5F2E;
    --primary-dark: #1a3a1a;
    --secondary-color: #C9A84C;
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: padding 0.3s ease, background-color 0.3s ease;
    padding: 20px 0;
}

header.shrink {
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 700;
    color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-weight: 700;
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a3a1a 0%, #2C5F2E 50%, #4a8a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.5s;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s forwards 0.8s;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-dark);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: 'Playfair Display', serif;
}

.stat-text {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Tours */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tour-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-10px);
}

/* Tour Cards Fix */
.tour-img {
    width: 100% !important;
    height: 250px !important;
    overflow: hidden !important;
    position: relative !important;
}

.tour-img img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

.tour-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.tour-info {
    padding: 25px;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tour-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.tour-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tour-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.tour-rating {
    color: var(--secondary-color);
    font-weight: 700;
}

.tour-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Why Choose Us */
.why-us {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.step-item {
    position: relative;
}

.step-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(44, 95, 46, 0.1);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.step-content {
    position: relative;
    z-index: 2;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary-color);
    color: var(--white);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
}

.traveler {
    display: flex;
    align-items: center;
    gap: 15px;
}

.traveler-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.traveler-info h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    margin-bottom: 0;
}

.traveler-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.contact-info i {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Page Banner */
.page-banner {
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/tour.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.page-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 1rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb span {
    margin: 0 10px;
}

/* Filter Bar */
.filter-bar {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.sort-box select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
}

.results-count {
    width: 100%;
    margin-top: 15px;
    color: var(--text-light);
    font-weight: 600;
}

/* Tour Detail Specifics */
.detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.quick-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.q-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.tour-description {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bg-light);
}

.tour-description p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.tour-description strong {
    color: var(--primary-color);
}

.tour-description ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tour-description li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.tour-description li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.tour-main-content h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.h-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.h-box i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.h-box span {
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
}

.h-box small {
    color: var(--text-light);
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list i {
    color: #28a745;
    margin-top: 5px;
}

.itinerary-day {
    margin-bottom: 20px;
    border-left: 3px solid var(--secondary-color);
    padding-left: 20px;
    position: relative;
}

.itinerary-day::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 11px;
    height: 11px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.itinerary-day h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.inc-list i { color: #28a745; }
.exc-list i { color: #dc3545; }

.inc-list ul, .exc-list ul {
    margin-top: 15px;
}

.inc-list li, .exc-list li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

/* Booking Card */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.booking-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.booking-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.people-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.people-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.total-price {
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
}

.payment-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    opacity: 0.6;
}

.payment-box-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.payment-box {
    background: var(--bg-light);
    height: 80px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ccc;
}

.map-placeholder {
    background: #e0e0e0;
    height: 400px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* Difficulty Badge */
.diff-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

.tour-badge {
    left: 20px;
}

.tour-card h3 {
    margin: 10px 0;
}

.tour-features {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.tour-features i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Category Colors */
.cat-trekking { background: linear-gradient(45deg, #2C5F2E, #1a3a1a); }
.cat-road-trip { background: linear-gradient(45deg, #3a5a7a, #1a2a3a); }
.cat-adventure { background: linear-gradient(45deg, #c97d4c, #8a4a2a); }
.cat-nature { background: linear-gradient(45deg, #4c9a7a, #2a6a4a); }
.cat-cultural { background: linear-gradient(45deg, #c9a84c, #8a6a2a); }

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    animation: hideLoader 0.5s ease 1s forwards;
}

@keyframes hideLoader {
    to { opacity: 0; visibility: hidden; }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--bg-light);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

#backToTop:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-img {
    width: 150px;
    height: 150px;
    background: #eee;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.member-info span {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Awards & Partners */
.awards-grid, .partners-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.7;
}

.award-item, .partner-logo {
    width: 120px;
    height: 80px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

/* Forms */
.form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}

.form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select {
    border-color: #dc3545;
}

.form-group.invalid .invalid-feedback {
    display: block;
}

/* Packing List */
.packing-list-container {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.packing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.packing-category h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.packing-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.packing-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.packing-item.checked span {
    text-decoration: line-through;
    opacity: 0.6;
}

.packing-item:hover {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    .detail-container {
        grid-template-columns: 1fr;
    }
    .booking-sidebar {
        position: static;
        order: 2;
    }
    .highlight-grid {
        grid-template-columns: 1fr 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .highlight-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}
