/* Variáveis e reset */
:root {
    --primary: #DC143C; /* Crimson red - traditional Japanese red */
    --secondary: #1a1a1a; /* Darker gray for modern dark theme */
    --accent: #FFD700; /* Gold - for highlights and accents */
    --dark: #0f0f0f; /* Very dark background for deep dark theme */
    --light: #e0e0e0; /* Light gray text for better readability */
    --card-bg: #2a2a2a; /* Dark card background */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

/* Container principal */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Cabeçalho e navegação */
header {
    background: linear-gradient(to right, var(--secondary), var(--primary));
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://janbox.com/blog/wp-content/uploads/2022/10/what-is-matsuri.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.date-badge {
    background: var(--primary);
    color: white;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(220, 20, 60, 0.3);
}

/* Seções gerais */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: 0;
    left: 20%;
    border-radius: 10px;
}

/* Seção Sobre */
.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--light);
}

.about-highlights {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.highlight-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: var(--transition);
    color: var(--light);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.highlight-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.highlight-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

/* Seção Atrações (Carrossel) */
.attractions {
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
    color: white;
}

.attractions .section-title h2 {
    color: white;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 450px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    color: white;
}

.carousel-overlay h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.carousel-overlay p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--primary);
}

/* Seção Programação */
.schedule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--card-bg);
    color: var(--light);
    border: none;
    border-radius: 30px;
    margin: 0 10px 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.schedule-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    color: var(--light);
}

.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.schedule-time {
    background: var(--secondary);
    color: white;
    padding: 15px;
    border-radius: 10px;
    min-width: 120px;
    text-align: center;
    margin-right: 20px;
}

.schedule-info {
    flex: 1;
}

.schedule-info h3 {
    color: var(--accent);
    margin-bottom: 5px;
}

/* Seção Ingressos */
.tickets {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
}

.tickets .section-title h2 {
    color: white;
}

.ticket-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.ticket-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.ticket-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ticket-header {
    background: var(--secondary);
    color: white;
    padding: 20px;
    text-align: center;
}

.ticket-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
}

.ticket-body {
    padding: 30px;
    color: var(--dark);
}

.ticket-features {
    list-style: none;
    margin: 20px 0;
}

.ticket-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ticket-features i {
    color: var(--accent);
    margin-right: 10px;
}

.ticket-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: white;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.ticket-btn:hover {
    background: var(--secondary);
}

/* Seção Localização */
.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.location-map {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    flex: 1;
    min-width: 300px;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.location-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--light);
}

.location-info i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 1.2rem;
    min-width: 25px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .carousel {
        height: 350px;
    }
}
