/* === Global Styles & Variables === */
:root {
    --primary-color: #C18C5D; /* Warm Terracotta */
    --secondary-color: #E6A23C; /* Gold accent */
    --bg-main: #FDFCFB; /* Off-white background */
    --bg-accent: #FFFFFF; /* Pure white for cards/sections */
    --text-primary: #2C3E50; /* Dark blue/gray for headings/main text */
    --text-secondary: #5D6D7E; /* Lighter gray for paragraphs/subtext */
    --footer-bg: #1A1A1A; /* Dark footer background */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-main);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); }
h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
}
h3 { font-size: 1.6rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
a:hover { color: var(--secondary-color); }

.content-section {
    padding: 120px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.section-intro {
    max-width: 800px;
    margin: -30px auto 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px; /* Pill shape */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 0.9rem;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* === Header & Navigation === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}
.nav-logo { font-size: 1.8rem; font-weight: bold; color: var(--text-primary); }
.main-header.scrolled .nav-logo, .main-header.scrolled .nav-link, .main-header.scrolled .bar {
    color: var(--text-primary);
}
.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-item { margin-left: 3rem; }
.nav-link {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.language-switcher select {
    padding: 5px 8px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
}
.main-header.scrolled .language-switcher select {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}
.language-switcher select option { background-color: var(--bg-accent); color: var(--text-primary); }
.hamburger { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

/* === Hero Section === */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
#hero::before, .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1;
}
.hero-content { position: relative; max-width: 900px; padding: 20px; }
.hero-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.hero-cta-group { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-cta-group .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.hero-cta-group .btn-secondary:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}
.hero-content .fade-in:nth-child(1) { animation-delay: 0.2s; }
.hero-content .fade-in:nth-child(2) { animation-delay: 0.4s; }
.hero-content .fade-in:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Page Hero (for subpages) === */
.page-hero {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}
.page-hero .hero-image-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}
.page-hero .hero-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.page-hero .hero-content h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.page-hero .hero-content p {
    font-size: 1.3rem;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}


/* === Destinations Section === */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.destination-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 380px;
    display: block;
}
.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    transition: background 0.3s ease;
}
.destination-name {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: white;
    font-family: var(--font-heading);
    font-size: 2rem;
    z-index: 1;
    transition: transform 0.3s ease;
}
.destination-card:hover img { transform: scale(1.1); }
.destination-card:hover .destination-name { transform: translateY(-8px); }
.destination-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 70%); }


/* === Tours Section === */
#tours { background-color: var(--bg-accent); }
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}
.tour-card {
    background: var(--bg-accent);
    border: 1px solid #E9ECEF;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.tour-card-image {
    height: 280px;
}
.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}
.tour-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.tour-card-content h3 { margin-bottom: 10px; color: var(--primary-color);}
.tour-card-content p { flex-grow: 1; margin-bottom: 15px; color: var(--text-secondary); }
.tour-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.tag {
    background: var(--bg-main);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.tour-card .btn-secondary {
    align-self: flex-start;
    color: var(--primary-color);
}

/* === Why Us Section === */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-us-image img {
    width: 100%;
    border-radius: var(--border-radius);
}
.feature { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 2.5rem; }
.feature-icon {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 5px;
}
.feature h3 { margin-bottom: 0.5rem; }

/* === Our Process Section === */
#process { background: var(--bg-accent); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #E9ECEF;
    z-index: 0;
}
.step { position: relative; }
.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 auto 20px;
    border: 3px solid var(--bg-accent);
    z-index: 1;
    position: relative;
}
.step h3 { margin-bottom: 10px; }

/* === Testimonials Section === */
#testimonials { background-color: var(--bg-accent); }
.testimonial-slider { position: relative; max-width: 800px; margin: 0 auto; }
.testimonial-slides { position: relative; min-height: 200px; }
.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    text-align: center;
}
.testimonial.active { opacity: 1; position: relative;}
.stars { color: var(--secondary-color); font-size: 1.2rem; margin-bottom: 1rem; }
.quote { font-size: 1.4rem; font-style: italic; margin-bottom: 1.5rem; font-weight: 300; color: var(--text-primary); }
cite { font-weight: bold; color: var(--primary-color); display: block; margin-top: 1rem; }
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.slider-nav button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.slider-nav button:hover { background: var(--primary-color); color: white; }

/* === Blog Section === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.card {
    background: var(--bg-accent);
    border: 1px solid #E9ECEF;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.card img { width: 100%; height: 250px; object-fit: cover; }
.card .card-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 10px; font-size: 1.4rem; }
.card p { flex-grow: 1; margin-bottom: 20px; }
.read-more { font-weight: bold; }

/* === Single Blog Post Page === */
#blog-post-container {
    max-width: 800px;
    margin: 0 auto;
}
.blog-post-header img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}
.blog-post-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}
.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}
.blog-post-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}
.blog-post-content h2::after {
    margin: 15px 0 0;
}
.blog-post-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}
.blog-post-content ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}
.blog-post-content li {
    margin-bottom: 0.5rem;
}
.blog-post-content a {
    text-decoration: underline;
}
.blog-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.2rem;
}

/* === FAQ Section === */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #E9ECEF; }
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 25px 0;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    color: var(--text-primary);
}
.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p { padding: 0 0 25px; color: var(--text-secondary); }

/* === Contact Section === */
#contact { background-color: var(--bg-accent); }
#contact .section-intro { margin-bottom: 40px; }
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.form-group-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #CED4DA;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #FFFFFF;
    color: var(--text-primary);
    transition: border-color 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-secondary); }
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form button { align-self: center; }
#form-status {
    text-align: center;
    margin-bottom: 20px;
    min-height: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* === Footer === */
.main-footer {
    background: var(--footer-bg);
    color: #ADB5BD;
    padding: 80px 0 0;
    border-top: 1px solid #34495E;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.footer-grid h3 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer-about p { color: #ADB5BD; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #ADB5BD; }
.footer-links a:hover { color: white; padding-left: 5px; }
.footer-contact p { color: #ADB5BD; }
.social-links { display: flex; gap: 15px; }
.social-links a { color: #ADB5BD; font-size: 1.5rem; }
.social-links a:hover { color: white; transform: translateY(-3px); }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #34495E;
    color: #ADB5BD;
    font-size: 0.9rem;
}

/* === Responsive Design === */
@media(max-width: 992px) {
    .why-us-content { grid-template-columns: 1fr; }
    .why-us-image { max-width: 500px; margin: 0 auto 40px; }
}

@media(max-width: 768px) {
    .content-section { padding: 80px 0; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-link, .main-header.scrolled .nav-link { color: var(--text-primary); }
    .nav-link:hover { color: var(--primary-color); }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        background-color: var(--bg-accent);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 0;
    }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
    .nav-link { font-size: 1.2rem; }
    .hamburger { display: block; z-index: 1001; }
    .bar, .main-header.scrolled .bar {
        background-color: var(--text-primary);
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .form-group-split { grid-template-columns: 1fr; }
    .footer-grid { text-align: center; }
    .social-links { justify-content: center; }
    .process-steps { grid-template-columns: 1fr; }
    .process-steps::before { display: none; }
}