/* Festival Website Styles */
:root {
    --primary-color: #ff3366;
    --secondary-color: #6c63ff;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --gold-color: #FFD700;
}

/* Intro Section Styles */
.intro-section {
    padding: 80px 0;
    background: var(--light-color);
}

.intro-text {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    white-space: pre-line !important;
}

.intro-text-highlight {
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    white-space: pre-line !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
}

/* Ghi đè margin mặc định của p tags */
.intro-text p,
.intro-text-highlight p {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 3px !important;
}

/* Ghi đè margin mặc định của tất cả p tags trong intro section */
.intro-section p {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* Đảm bảo khoảng cách nhỏ giữa các đoạn */
.intro-content .intro-text p + p {
    margin-top: 3px !important;
}

/* General Styles */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: var(--leading-normal);
    margin: 0;
    padding: 0;
}

.section-spacing {
    padding: 80px 0;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-section * {
    box-sizing: border-box;
}

.hero-section .carousel {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-section .carousel-inner {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-section .carousel-item {
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-section .carousel-item a {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    background-color: #000;
    box-sizing: border-box;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: 0;
    padding: 0;
    background-color: #000;
    box-sizing: border-box;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    box-sizing: border-box;
    overflow: hidden;
}

.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Carousel Controls */
.hero-section .carousel-indicators {
    bottom: 30px;
    z-index: 10;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background-color: var(--gold-color);
    transform: scale(1.2);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 5%;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Banner Styles */
.festival-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.banner-wrapper {
    position: relative;
    height: 100%;
}

.banner-wrapper img {
    object-fit: cover;
    height: 100%;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}

.banner-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.banner-subtitle {
    font-size: 2rem;
    margin-bottom: 30px;
}

.banner-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.banner-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Section Headers */
.purpose-header {
    margin-bottom: 60px;
}

.section-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon i {
    font-size: 2rem;
    color: var(--light-color);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
}

.purpose-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.purpose-card {
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.purpose-card:hover {
    transform: translateY(-10px);
}

.card-image {
    position: relative;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.7));
}

.card-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 1;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Lineup Section */
.lineup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.day-schedule {
    background: var(--light-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.day-schedule h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.artist-list {
    list-style: none;
    padding: 0;
}

.artist-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.artist-list li:last-child {
    border-bottom: none;
}

/* Ticket Section */
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ticket-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.ticket-card:hover {
    transform: translateY(-10px);
}

.ticket-card.premium {
    background: var(--gradient);
    color: var(--light-color);
}

.ticket-type {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.ticket-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.ticket-card.premium .ticket-price {
    color: var(--light-color);
}

.ticket-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.ticket-features li {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 100%;
        width: 100%;
        overflow: hidden;
    }

    .image-background img, 
    .video-background video {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.5rem;
    }
    
    .banner-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-spacing {
        padding: 60px 0;
    }
    
    .purpose-title {
        font-size: 2rem;
    }
    
    .hero-section .carousel-indicators {
        bottom: 20px;
    }
    
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 10%;
    }
    
    .hero-section .carousel-control-prev-icon,
    .hero-section .carousel-control-next-icon {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 100%;
        width: 100%;
        overflow: hidden;
    }

    .image-background img, 
    .video-background video {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Event Info Enhancement */
.event-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

/* All the other styles from the footer will go here */
/* ... existing code ... */

/* Add all the styles that were after the footer */ 

/* Đảm bảo section banner không bị ảnh hưởng bởi margin/padding từ element cha */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container-fluid {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.row {
    margin: 0;
}

.col, .col-md-12 {
    padding: 0;
    margin: 0;
} 