/* Początek sekcji hero */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* Efekt światła za kursorem */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #f39c12, #e67e22, #8e44ad);
    opacity: 0.4;
    border-radius: 50%;
    filter: blur(80px);
    transition: top 0.05s linear, left 0.05s linear;
}

/* Sekcja hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('/assets/banner_centered.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 0 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0d0d0d, #1a1a1a, #131313, #0d0d0d);
    background-size: 400% 400%;
    animation: heroGradient 30s ease infinite;
    z-index: 0;
    opacity: 0.5;
  }
  

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}



.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #f39c12;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Animacje */
.animate-slide-in {
    transform: translateY(-50px);
    opacity: 0;
    animation: slideIn 1s forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards 0.5s;
}

.animate-slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s forwards 1s;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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


/* Responsywność */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
        justify-content: center;
        padding-top: 0;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        width: 100%;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
        width: 100%;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    #cursor-glow {
        width: 100px;
        height: 100px;
        filter: blur(60px);
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.8rem;
    }
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@media (hover: none), (pointer: coarse) {
    #cursor-glow {
      display: none !important;
    }
  }
  