:root {
    /* Cores Light */
    --bg-color-light: #F5F7FA;
    --text-color-light: #1A1C20;
    --card-bg-light: #FFFFFF;
    --primary-light: #F5A623;
    /* Amarelo/Laranja Bora Lá */
    --secondary-light: #2C3E50;
    /* Azul Escuro */
    --accent-light: #E67E22;
    --border-light: rgba(0, 0, 0, 0.05);

    /* Cores Dark */
    --bg-color-dark: #121418;
    --text-color-dark: #E4E6EB;
    --card-bg-dark: #1E2128;
    --primary-dark: #F5A623;
    --secondary-dark: #E4E6EB;
    --accent-dark: #D35400;
    --border-dark: rgba(255, 255, 255, 0.05);

    /* Setup Variáveis de Tema Atual */
    --bg-color: var(--bg-color-light);
    --text-color: var(--text-color-light);
    --card-bg: var(--card-bg-light);
    --primary: var(--primary-light);
    --secondary: var(--secondary-light);
    --accent: var(--accent-light);
    --border: var(--border-light);

    --font-head: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-lg: 20px;
    --radius-md: 12px;
}

body.dark-theme {
    --bg-color: var(--bg-color-dark);
    --text-color: var(--text-color-dark);
    --card-bg: var(--card-bg-dark);
    --primary: var(--primary-dark);
    --secondary: var(--secondary-dark);
    --accent: var(--accent-dark);
    --border: var(--border-dark);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ------------------- *
 *  VINHETA DE ABERTURA
 * ------------------- */
#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #FFC107;
    /* Cor base solar */
    background: linear-gradient(135deg, #FFC107, #F5A623);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.intro-content {
    text-align: center;
    color: #1A1C20;
}

.bus-icon {
    font-size: 5rem;
    position: relative;
    display: inline-block;
    animation: bounce 1.5s infinite alternate;
}

.sun-icon {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 3rem;
    color: #FFF;
    animation: rotateSun 4s linear infinite;
}

.intro-title {
    font-size: 2.5rem;
    margin-top: 1rem;
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1A1C20;
    animation: loading 2s ease-in-out forwards;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes rotateSun {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

body.loaded #intro-loader {
    opacity: 0;
    visibility: hidden;
}

/* ------------------- *
 *  NAVBAR
 * ------------------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--card-bg);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--text-color);
}

.site-logo-nav {
    max-height: 45px !important;
    max-width: 150px !important;
    width: auto !important;
    height: auto !important;
    background: #FFFFFF;
    padding: 4px;
    border-radius: 8px;
    object-fit: contain;
}

.site-logo-intro {
    max-width: 250px !important;
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    animation: bounce 1.5s infinite alternate;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.logo-icon {
    color: var(--primary);
}

.navbar.scrolled .logo {
    color: var(--text-color);
}

.navbar:not(.scrolled) .logo,
.navbar:not(.scrolled) .nav-links a,
.navbar:not(.scrolled) #theme-toggle {
    color: #FFF;
    /* Branco quando na foto hero */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.btn-primary,
.btn-primary-sm {
    background: var(--primary);
    color: #FFF;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-shadow: none !important;
    display: inline-block;
}

.btn-primary-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-primary:hover,
.btn-primary-sm:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

/* ------------------- *
 *  HERO
 * ------------------- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Escurece imagem */
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #FFF;
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease 0.5s both;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    border: 2px solid #FFF;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #FFF;
    color: #121212;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stat i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* ------------------- *
 *  EXCURSÕES
 * ------------------- */
.tours {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-color);
    opacity: 0.8;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tour-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--border);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tour-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #FFF;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-width: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.date-badge .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.date-badge .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.date-badge .year {
    font-size: 0.7rem;
    opacity: 0.9;
}

.tour-info {
    padding: 1.5rem;
}

.tour-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tour-location {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tour-features {
    margin-bottom: 1.5rem;
}

.tour-features li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.tour-features li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.tour-price .label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.tour-price .value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-book {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-book:hover {
    background: var(--primary);
    color: #FFF;
}

/* ------------------- *
 *  INFO SECTION
 * ------------------- */
.info-section {
    padding: 5rem 5%;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.info-text {
    flex: 1;
}

.info-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.info-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features-list .feat-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feat-item i {
    background: var(--primary);
    color: #FFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-img {
    flex: 1;
}

.info-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px var(--border);
}

/* ------------------- *
 *  CONTATO
 * ------------------- */
.contact-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-color) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--border);
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: #FFF;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.contact-btn.secondary {
    background: #128C7E;
    box-shadow: 0 4px 15px rgba(18, 140, 126, 0.3);
}

.contact-btn.secondary:hover {
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.5);
}

.social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.social-links a i {
    font-size: 1.5rem;
    color: #E1306C;
}

/* ------------------- *
 *  FOOTER
 * ------------------- */
footer {
    background: var(--card-bg);
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ------------------- *
 *  RESPONSIDADE
 * ------------------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simplificando para mobile por hora */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .info-content {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}