/* 45FEST Custom Styles */

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Base styles */
body {
    overflow-x: hidden;
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Impact, sans-serif;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: normal;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Decorative elements */
.paint-splatter-1 {
    position: absolute;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

.paint-splatter-2 {
    position: absolute;
    z-index: 0;
    opacity: 0.7;
    pointer-events: none;
}

.graffiti-element {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Header logo paint splatter */
.logo-splatter {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: auto;
    z-index: -1;
    opacity: 0.9;
}

/* Hero section decorations */
.hero-graffiti-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    transform: rotate(-15deg);
}

.hero-graffiti-2 {
    bottom: 10%;
    right: 5%;
    width: 120px;
    transform: rotate(10deg);
}

/* Animation for graffiti elements */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

.animated-element {
    animation: float 8s ease-in-out infinite;
}

/* Custom button hover effects */
.btn-fest {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-fest::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-fest:hover::after {
    transform: translateX(0);
}

/* Container for content gutters */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: clamp(1rem, 5vw, 2.5rem);
    padding-right: clamp(1rem, 5vw, 2.5rem);
}

/* Responsive adjustments */
@media (max-width: 1536px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }

    .hero-graffiti-1, .hero-graffiti-2 {
        width: 80px; /* Smaller on mobile */
    }

    .logo-splatter {
        width: 150px; /* Smaller on mobile */
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Responsive fixes */
@media (max-width: 768px) {
    /* Fix title spacing on mobile */
    .hero-title {
        font-size: 4.5rem;
        line-height: 1;
    }

    /* Ensure icons display properly on mobile */
    img.object-contain {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Improve card spacing on mobile */
    .card-hover {
        margin-bottom: 1.5rem;
    }

    /* Better spacing for sections on mobile */
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Fix for Tailwind @apply warnings */
.tailwind-apply-fix {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.heading-font {
    font-family: 'Impact', sans-serif;
}

/* Hero Title Styles */
.hero-title {
    color: #A855F7;
    text-shadow:
        0 0 20px rgba(168, 85, 247, 0.4),
        0 0 40px rgba(168, 85, 247, 0.2);
}

.glow-effect {
    position: relative;
    display: inline-block;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Hero image effects */
.hero-image-container {
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(168, 85, 247, 0.2), rgba(59, 130, 246, 0.2));
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(to right, rgba(168, 85, 247, 0.5), rgba(59, 130, 246, 0.5));
    border-radius: 0.5rem;
    z-index: 0;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.hero-image-container:hover::after {
    opacity: 0.5;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAElBMVEUAAAD///////////////////8+Uq06AAAABnRSTlMAoKCgYGBgpk/oAAAAQklEQVQ4y2NgQAX8DIxgwsDAwMjAwAilGRkYkGlGRkYGZJqJAQ8gqIaRkZERXQ0TuhomRnQ1zIzoalgYGFgYqAQAf6MJYQo6wIUAAAAASUVORK5CYII=');
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}

/* Ensure all icons display properly */
.w-16, .w-24 {
    object-fit: contain;
    max-width: 100%;
}

/* Improve z-index handling for overlapping elements */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

/* Ensure decorative elements don't interfere with content */
.relative {
    position: relative;
}

/* Form field focus states */
input:focus {
    outline: none;
    border-color: #6913D8;
    box-shadow: 0 0 0 2px rgba(105, 19, 216, 0.3);
}

/* Add more spacing between sections */
section {
    margin-bottom: 4rem;
}
