/* =========================================
   STYLE.CSS - GIUSEPPE PALERMO (FINAL)
   ========================================= */

/* 1. FONTS IMPORTIEREN */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&display=swap');

/* 2. VARIABLEN (FARBPALETTE) */
:root {
    --ita-green: #009246;
    --ita-white: #f8f8f8;
    --ita-red:   #ce2b37;
    --gold:      #d4af37;
    --dark-bg:   #080808;
    --dark-surface: #141414;
}

/* 3. BASIS EINSTELLUNGEN */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif; /* Lesbare Schrift für Fließtext */
    background: var(--dark-bg);
    color: var(--ita-white);
    line-height: 1.6;
    overflow-x: hidden; /* Verhindert seitliches Wackeln */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.text-center { text-align: center; }

/* 4. TYPOGRAFIE */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* Edle Überschriften */
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--ita-white);
    font-style: italic;
}

.lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
}

/* Logo Styles */
.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: var(--ita-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    line-height: 1;
}
.logo.gold { color: var(--gold); }
.font-heavy { font-weight: 900; text-shadow: 1px 1px 0px #000; letter-spacing: 1px; }

/* Animiertes Logo (Flaggen-Effekt) */
.logo-animated {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    background: linear-gradient(120deg, var(--ita-green) 0%, var(--ita-white) 25%, var(--ita-red) 50%, var(--ita-white) 75%, var(--ita-green) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: flagShineLogo 4s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
    padding-bottom: 5px;
}
@keyframes flagShineLogo { to { background-position: 200% center; } }


/* 5. BUTTONS */
.ita-font-btn {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 1px;
}

.cta-btn {
    background: linear-gradient(135deg, var(--ita-red), #900);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(206,43,55,0.4);
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(206,43,55,0.6);
}

.big-btn { font-size: 1.2rem; padding: 18px 50px; }
.full-width { width: 100%; }

/* Pulsierende Animation für Buttons */
@keyframes pulseGold {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(206, 43, 55, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(206, 43, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(206, 43, 55, 0); }
}
.pulse-button {
    animation: pulseGold 2s infinite;
    background: linear-gradient(45deg, #ce2b37, #ff4d4d);
    border: 2px solid white;
}


/* 6. NAVIGATION & TOP BAR */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    z-index: 5000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.glass-effect {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Telefonnummer Design */
.phone-link { 
    color: var(--ita-white); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 1.1rem; /* Elegant, nicht zu riesig */
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-family: 'Montserrat', sans-serif; 
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.phone-link:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
.phone-icon {
    font-size: 1.2rem;
    color: var(--ita-green);
    display: inline-block;
    animation: shakePhone 3s infinite ease-in-out;
}
@keyframes shakePhone { 
    0%, 50%, 100% { transform: rotate(0deg); } 
    10%, 30% { transform: rotate(15deg); } 
    20%, 40% { transform: rotate(-15deg); } 
}


/* 7. HERO SECTION */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 90px;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.5;
}
.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%; z-index: 2;
    background: radial-gradient(circle at center, transparent 0%, var(--dark-bg) 90%);
}
.hero-content {
    position: relative; z-index: 3;
    max-width: 900px; padding: 20px;
}

/* Motto Animation (SOLO MUSICA ITALIANA) */
.flag-title-animated {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 6.5rem;
    line-height: 0.9;
    margin: 20px 0;
    background: linear-gradient(90deg, var(--ita-green) 0%, var(--ita-white) 15%, var(--ita-red) 30%, var(--ita-green) 50%, var(--ita-white) 65%, var(--ita-red) 80%, var(--ita-green) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: flagShine 5s linear infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
}
@keyframes flagShine { to { background-position: 200% center; } }

.hero-subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #eee;
    margin-top: 20px;
    text-shadow: 0 2px 5px black;
}
.badge-top {
    display: block; color: var(--gold); text-transform: uppercase;
    letter-spacing: 4px; font-weight: 700; font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}


/* 8. SEKTIONEN & INTRO */
.intro-section { padding: 120px 0; background: var(--dark-surface); }
.split-layout { display: flex; align-items: center; gap: 60px; }
.intro-text { flex: 1; }
.intro-image { flex: 1; }

.image-frame {
    padding: 15px; border: 1px solid var(--gold);
    transform: rotate(2deg); transition: 0.5s;
}
.image-frame:hover { transform: rotate(0deg); }
.profile-shot { width: 100%; display: block; }


/* 9. REPERTOIRE & MARQUEE (LAUFSCHRIFT) */
.classics-premium {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--dark-bg), #111);
    overflow: hidden;
}
.section-uptitle {
    display: block; color: var(--gold); text-transform: uppercase;
    letter-spacing: 3px; font-weight: 700; margin-bottom: 10px; font-size: 0.9rem;
}

/* Große Namen */
.artist-wall { margin-bottom: 50px; }
.artist-huge {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin: 10px 20px;
    color: #222;
    -webkit-text-stroke: 1px #666;
    transition: 0.4s ease;
    cursor: default;
}
.artist-huge.ita-hover:hover {
    -webkit-text-stroke: 0;
    background: linear-gradient(90deg, var(--ita-green), var(--ita-white), var(--ita-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transform: scale(1.05);
}

.divider-line {
    height: 3px; width: 150px;
    background: linear-gradient(to right, var(--ita-green), var(--ita-white), var(--ita-red));
    margin: 40px auto 60px;
    border-radius: 2px;
}

/* Laufschrift */
.marquee-wrapper {
    width: 100%; overflow: hidden; white-space: nowrap;
    margin-bottom: 20px; position: relative;
}
.marquee-wrapper::before { content: ""; position: absolute; top: 0; left: 0; width: 80px; height: 100%; z-index: 2; background: linear-gradient(to right, var(--dark-bg), transparent); }
.marquee-wrapper::after { content: ""; position: absolute; top: 0; right: 0; width: 80px; height: 100%; z-index: 2; background: linear-gradient(to left, var(--dark-bg), transparent); }

.marquee-content { display: inline-block; }
.marquee-content span {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; color: #777; font-weight: 700;
    margin: 0 20px; text-transform: uppercase; letter-spacing: 1px;
    transition: color 0.3s;
}
.marquee-content:hover span { color: #444; }
.marquee-content span:hover {
    color: var(--gold) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    cursor: default;
}

.scroll-left { animation: marqueeLeft 40s linear infinite; }
.scroll-right { animation: marqueeRight 45s linear infinite; }
@keyframes marqueeLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marqueeRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Drehende CD */
.cd-showcase { margin-top: 80px; display: flex; justify-content: center; }
.rotating-cd {
    width: 220px; border-radius: 50%; border: 4px solid #1a1a1a;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6); transition: 0.5s;
}
.rotating-cd:hover { transform: rotate(10deg) scale(1.1); border-color: var(--gold); }


/* 10. GALERIE */
.gallery-section { padding: 100px 0; background: var(--dark-surface); }
.gallery-subtitle {
    font-family: 'Playfair Display', serif; font-size: 2rem;
    color: var(--gold); text-align: center; margin-bottom: 30px;
    border-bottom: 1px solid #333; display: inline-block; padding-bottom: 5px;
}
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; justify-content: center;
}
.gallery-item {
    position: relative; overflow: hidden; height: 250px; cursor: pointer;
}
.gallery-item img, .gallery-item video {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.05); opacity: 0.8;
}
.play-icon {
    position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);
    font-size: 3rem; color: rgba(255,255,255,0.8); pointer-events: none;
    text-shadow: 0 0 10px black;
}

/* Animierte Italien-Rahmen */
@keyframes borderRotate {
    0% { border-color: var(--ita-green); box-shadow: 0 0 10px var(--ita-green); }
    33% { border-color: var(--ita-white); box-shadow: 0 0 10px var(--ita-white); }
    66% { border-color: var(--ita-red); box-shadow: 0 0 10px var(--ita-red); }
    100% { border-color: var(--ita-green); box-shadow: 0 0 10px var(--ita-green); }
}
.ita-border-anim {
    border: 3px solid var(--ita-green);
    animation: borderRotate 4s infinite linear;
    border-radius: 8px;
}


/* 11. LIVE PARALLAX */
.live-parallax {
    position: relative;
    height: 60vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effekt */
    border-top: 2px solid var(--gold);
}
.parallax-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.7); }
.live-content { position: relative; z-index: 2; padding: 20px; }
.live-content h2 { font-size: 4rem; margin-bottom: 20px; }
.live-content p { font-size: 1.5rem; margin-bottom: 40px; }


/* 12. FOOTER */
footer { background: #050505; padding: 80px 0 30px; border-top: 5px solid var(--ita-red); }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; }
.footer-link { display: block; color: #888; text-decoration: none; margin-bottom: 10px; font-size: 1.1rem; transition: 0.3s; }
.footer-link:hover { color: var(--gold); }
.bus-faded { width: 300px; opacity: 0.4; filter: grayscale(100%); transition: 0.5s; }
.footer-bus-wrap:hover .bus-faded { opacity: 1; filter: grayscale(0); }
.copyright { text-align: center; margin-top: 60px; color: #444; font-size: 0.8rem; }

/* Admin Zahnrad */
.admin-link { color: #333; font-size: 1.2rem; text-decoration: none; position: relative; top: 2px; }
.admin-link:hover { color: var(--gold); transform: rotate(90deg); }


/* 13. MODAL (KONTAKTFORMULAR) - MIT SCROLL FIX */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 8000; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.95); 
    backdrop-filter: blur(5px);
    
    /* Scrollen erlauben */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.modal-content-elegant {
    background: #141414;
    margin: 50px auto; /* Abstand oben */
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    margin-bottom: 100px; /* Platz unten zum Scrollen */
}

/* Modal Texte */
.modal-header h3 { 
    font-family: 'Playfair Display', serif; font-style: italic; 
    font-size: 2.5rem; color: var(--gold); margin-bottom: 5px; 
    text-shadow: 2px 2px 0px #000; 
}
.modal-header p { 
    font-family: 'Montserrat', sans-serif; color: #ccc; margin-top: 0; font-size: 0.95rem; 
}

/* Inputs & Labels (DUNKEL) */
.input-group label { 
    display: block; color: var(--gold); margin-bottom: 8px; font-size: 0.9rem; 
    font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; 
}
.input-group input, .input-group textarea { 
    background: #0a0a0a !important; 
    border: 1px solid #333; 
    padding: 12px; 
    border-radius: 4px; 
    color: white !important; 
    width: 100%; box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; font-size: 1rem; 
    transition: 0.3s; 
}
.input-group input:focus, .input-group textarea:focus { 
    border-color: var(--gold); background: #111 !important; outline: none; 
}

/* Captcha Code (Lesbar) */
.honey-pot { display: none !important; position: absolute; left: -9999px; }
.captcha-wrapper { display: flex; align-items: center; gap: 10px; }
.captcha-box { 
    background: #222; color: var(--gold); 
    font-family: 'Courier New', monospace; font-size: 1.5rem; font-weight: bold; 
    letter-spacing: 8px; padding: 10px 20px; 
    border: 1px dashed #555; border-radius: 5px; 
    flex-grow: 1; text-align: center; opacity: 1; 
}
#captchaInput { text-align: center; font-weight: bold; font-size: 1.2rem; }
.unselectable { -webkit-user-select: none; user-select: none; }

#refreshCaptcha { 
    background: #333; border: 1px solid #555; color: white; 
    font-size: 1.2rem; cursor: pointer; padding: 8px 12px; border-radius: 5px; 
}
#refreshCaptcha:hover { background: var(--ita-red); border-color: var(--ita-red); }

.close-btn { 
    position: absolute; top: 15px; right: 20px; 
    font-size: 2.5rem; color: #666; cursor: pointer; transition: 0.3s; z-index: 10;
}
.close-btn:hover { color: var(--ita-red); transform: rotate(90deg); }


/* 14. ADMIN & UPLOAD STYLES */
.admin-container { max-width: 800px; margin: 120px auto; padding: 30px; background: #1a1a1a; border: 1px solid var(--gold); border-radius: 10px; }
.upload-area { border: 2px dashed #444; padding: 30px; text-align: center; border-radius: 10px; background: #1a1a1a; transition: 0.3s; }
.upload-area:hover { border-color: var(--gold); background: #222; }
.file-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.file-item { position: relative; border: 1px solid #444; }
.file-item img, .file-item video { width: 100%; height: 100px; object-fit: cover; display: block; }
.delete-btn { position: absolute; top: 0; right: 0; background: red; color: white; border: none; cursor: pointer; font-size: 0.8rem; padding: 2px 6px; }

/* 15. LIGHTBOX */
.lightbox { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-content-wrapper { max-width: 90%; max-height: 80%; text-align: center; position: relative; }
.lightbox-content-wrapper img, .lightbox-content-wrapper video { max-width: 100%; max-height: 80vh; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 3rem; color: white; cursor: pointer; z-index: 10000; transition: 0.3s; }

/* 16. ANIMATIONS-HILFEN */
.scroll-block { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }


/* 17. MOBILE OPTIMIERUNG */
@media (max-width: 900px) {
    .flag-title-animated { font-size: 3.5rem; }
    .split-layout { flex-direction: column; }
    .footer-flex { flex-direction: column; text-align: center; }
    
    .hidden-mobile { display: none; } /* Nur verstecken, wenn wirklich nicht gewollt */
    
    .top-bar { padding: 0 20px; height: 80px; }
    .logo-animated { font-size: 1.8rem; }
    
    /* Parallax auf Handy aus */
    .live-parallax { background-attachment: scroll; }
    
    .cta-btn { padding: 10px 20px; font-size: 0.9rem; }
    .marquee-content span { font-size: 1.5rem; margin: 0 10px; }
    
/* Mobile Anpassung für das Modal */
    .modal-content-elegant {
        margin: 20px auto;   /* Abstand oben/unten, Mitte links/rechts */
        padding: 20px;       /* Kleinerer Innenabstand */
        width: 85%;          /* Sicherer als 95% */
        max-width: 100%;     /* Darf nicht breiter als Bildschirm sein */
        box-sizing: border-box; /* WICHTIG: Padding bleibt IN der Box */
        margin-bottom: 100px;   /* Platz unten fürs Scrollen */
        left: 0; 
        right: 0;
    }