@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

/* variables */
:root {
    --primary-color: #ed3237;
    --primary-hover: #c62227;
    --text-dark: #22252a;
    --text-muted: #626a75;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --whatsapp-green: #25d366;
    --whatsapp-hover: #20ba5a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --font-heading: 'Roboto', Helvetica, Arial, sans-serif;
    --font-body: 'Roboto', Helvetica, Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* header styles */
.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.02);
}

/* main navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

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

.nav-item a:hover {
    color: var(--primary-color);
}

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

.nav-item.active a {
    color: var(--primary-color);
}

.nav-item.active a::after {
    width: 100%;
}

.home-icon {
    font-size: 18px;
}

/* header right information */
.header-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    gap: 8px;
}

.header-info svg {
    color: var(--text-muted);
    width: 16px;
    height: 16px;
}

/* mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* hero section styles */
.hero-section {
    position: relative;
    height: 520px;
    background: url('../images/bg-hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* dark image overlay for better text contrast */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* dynamic red geometric overlay on the left */
.hero-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(135deg, rgba(237, 50, 55, 0.65) 0%, rgba(237, 50, 55, 0.15) 100%);
    clip-path: polygon(0 0, 85% 0, 55% 100%, 0% 100%);
    z-index: 2;
    pointer-events: none;
}

/* dynamic red geometric symbol (Tarobá watermark) on the bottom right */
.hero-overlay-right {
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 150px;
    height: 120px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 80' fill='%23ed3237' opacity='0.8'><path d='M0 10 L50 40 L100 10 L100 30 L50 60 L0 30 Z M0 40 L50 70 L100 40 L100 50 L50 80 L0 50 Z'/></svg>") no-repeat center center/contain;
    z-index: 2;
    pointer-events: none;
    animation: float 4s ease-in-out infinite;
}

/* hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-transform: none;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

/* section ticket purchase */
.ticket-section {
    padding: 60px 20px;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}

/* floating whatsapp button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

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

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

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

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

    100% {
        transform: translateY(0px);
    }
}

/* ClickBus Widget Styling */
.clickbus-section {
    padding: 60px 20px;
    background-color: var(--white);
    text-align: center;
}

.clickbus-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Logos Viações Slider */
.viacoes-carousel-section {
    background-color: var(--bg-light);
    padding: 50px 20px;
}

.viacoes-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.viacoes-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
}

.viacoes-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.viacao-logo-card {
    flex: 0 0 160px;
    height: 90px;
    background-color: var(--white);
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    scroll-snap-align: start;
    transition: var(--transition);
    cursor: pointer;
}

.viacao-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.viacao-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Home Services Grid */
.home-services-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.home-services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.home-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.home-section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.home-section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.home-service-card {
    background-color: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.home-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(237, 50, 55, 0.2);
}

.home-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(237, 50, 55, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-service-icon svg {
    width: 22px;
    height: 22px;
}

.home-service-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.home-service-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Content Split Blocks (Estacionamento, Segurança, Alimentação) */
.split-section {
    padding: 80px 20px;
}

.split-section.grey-bg {
    background-color: #f9f9f9;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.split-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-container.reverse {
    direction: rtl;
}

.split-container.reverse .split-text-col {
    direction: ltr;
}

.split-image-col img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.split-text-col h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.split-text-col p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.split-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.split-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.split-list li svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--primary-hover);
    gap: 12px;
}

.btn-link svg {
    width: 16px;
    height: 16px;
}

/* Stats Counter Section */
.stats-section {
    padding: 80px 20px;
    background-color: var(--white);
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.stats-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.stats-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.stats-card-box {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.stats-number-wrapper {
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 24px;
}

.stats-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stats-number-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 4px;
}

.stats-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stats-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stats-feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Home Quick Footer Highlights */
.highlights-section {
    background-color: #fafafa;
    border-top: 1px solid #eaeaea;
    padding: 70px 20px;
}

.highlights-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.highlight-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon-wrapper {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

.highlight-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.highlight-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.highlight-card a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: underline;
}

.highlight-card a:hover {
    color: var(--primary-hover);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .split-container.reverse {
        direction: ltr;
    }
    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .highlights-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* footer styles */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px 0;
    font-family: var(--font-body);
    font-size: 14px;
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
}

.social-btn:hover {
    background-color: var(--white);
}

.social-btn:hover svg {
    fill: var(--primary-color);
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;
    opacity: 0.9;
}

.footer-bottom a {
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
}

/* adjust whatsapp position when scroll-top is visible */
.whatsapp-float {
    bottom: 40px;
    right: 40px;
}

.whatsapp-float.shifted {
    bottom: 105px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}