/* ==========================================
   Custom Styling for Semisounds Festival
   ========================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #ff1493 0%, #da1e7c 25%, #9c27b0 50%, #673ab7 75%, #8f00ff 100%);
    --primary-dark: linear-gradient(135deg, #8f00ff 0%, #673ab7 50%, #4a148c 100%);
    --accent-pink: #ff1493;
    --accent-purple: #9c27b0;
    --accent-dark-purple: #4a148c;
}

/* ==========================================
   General Styles
   ========================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* ==========================================
   Navigation Bar
   ========================================== */

.gradient-navbar {
    background: linear-gradient(135deg, rgba(143, 0, 255, 0.95) 0%, rgba(154, 39, 176, 0.95) 50%, rgba(255, 20, 147, 0.95) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, #ff1493 0%, #9c27b0 50%, #8f00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff1493 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff1493, #9c27b0);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ==========================================
   Hero Section
   ========================================== */

.gradient-bg {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.3) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(143, 0, 255, 0.3) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section>.container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.8s ease-out;
}

.hero-section .lead {
    font-size: clamp(1rem, 3vw, 1.5rem);
    opacity: 0.95;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.festival-info {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.info-item {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin: 0;
    opacity: 0.95;
}

.btn-light {
    background-color: #fff;
    color: #8f00ff !important;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
    color: #fff;
    border: 2px solid #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #8f00ff !important;
    transform: translateY(-2px);
}

.image-placeholder {
    animation: slideInRight 0.8s ease-out;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* ==========================================
   Section Styles
   ========================================== */

.section-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3e5f5 100%);
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.gradient-bg .section-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #fff;
}

/* ==========================================
   Acts Section
   ========================================== */

.act-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
}

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

.act-card:hover .act-image-placeholder {
    transform: scale(1.1);
}

.act-image-placeholder {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff1493, #9c27b0);
    transition: transform 0.3s ease;
}

.act-image-placeholder svg {
    width: 100%;
    height: 100%;
}

.act-card .card-body {
    padding: 1.5rem;
    background: #fff;
}

.act-card .card-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.act-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.act-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    height: 100%;
}

.act-card-link:hover {
    text-decoration: none;
}

/* ==========================================
   Location Section
   ========================================== */

.location-details {
    animation: slideInUp 0.8s ease-out;
}

.detail-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ff1493;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.detail-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-item p {
    margin: 0;
    opacity: 0.95;
}

.map-placeholder {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: slideInRight 0.8s ease-out;
}

.map-placeholder svg {
    width: 100%;
    height: 100%;
}

/* ==========================================
   Food Section
   ========================================== */

.food-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    padding: 1rem;
}

.food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.food-card:hover .food-image-placeholder {
    transform: scale(1.05) rotate(2deg);
}

.food-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #ff1493, #9c27b0);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-image-placeholder svg {
    width: 100%;
    height: 100%;
}

.food-card h5 {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.food-card p {
    font-size: 0.9rem;
}

/* ==========================================
   Footer
   ========================================== */

footer {
    background: var(--primary-dark);
    margin-top: 5rem;
}

footer h5 {
    font-weight: 700;
    font-size: 1.1rem;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ff1493 !important;
    padding-left: 5px;
}

footer p {
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

/* ==========================================
   Animations
   ========================================== */

@keyframes float {

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

    50% {
        transform: translateY(20px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-section .row {
        min-height: auto;
    }

    .order-lg-1,
    .order-lg-2 {
        order: 0 !important;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .nav-link::after {
        display: none;
    }

    .festival-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .location-details {
        margin-top: 2rem;
    }

    .btn {
        width: 100%;
        display: block;
        margin-bottom: 1rem;
    }

    .btn-light,
    .btn-outline-light {
        margin-right: 0 !important;
    }

    .image-placeholder,
    .map-placeholder {
        margin-top: 2rem;
    }

    .gradient-navbar {
        background: linear-gradient(90deg, rgba(143, 0, 255, 0.98) 0%, rgba(154, 39, 176, 0.98) 100%);
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .act-card,
    .food-card {
        margin-bottom: 1rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    footer .row>div {
        text-align: center;
        margin-bottom: 2rem;
    }

    .detail-item {
        margin-bottom: 1rem;
        border-left: none;
        border-top: 4px solid #ff1493;
    }
}

/* ==========================================
   Smooth Scrolling Enhancement
   ========================================== */

.smooth-scroll {
    scroll-behavior: smooth;
}

/* ==========================================
   Print Styles
   ========================================== */

@media print {

    .gradient-navbar,
    footer {
        background: #f0f0f0 !important;
        color: #000 !important;
    }

    .gradient-bg {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}