/* =========================================
   GRUNDLEGENDE RESET & TYPOGRAFIE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    
    /* Hintergrundbild für die gesamte Seite */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('pepealina.jpg');
    background-size: 100% auto; 
    background-position: center top;
    background-repeat: repeat-y; 
    background-attachment: fixed;
    min-height: 100vh;
}

/* =========================================
   NAVIGATION (Hellrosa zu Dunkelrosa)
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    /* Verlauf: Hellrosa (#ffb6c1) zu Dunkelrosa (#c71585) */
    background: linear-gradient(135deg, #ffb6c1 0%, #c71585 100%);
    position: sticky;
    top: 1rem;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 15px;
    margin: 0 5%;
}

.logo.signature-font {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 1rem;
    background: transparent;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease-out;
}

/* =========================================
   SEKTIONEN (Boxen - Transparent)
   ========================================= */
section {
    padding: 5rem 5%;
}

/* 70% Weiß (30% transparent) + Blur-Effekt */
.about {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    margin: 2rem 5%;
    padding: 3rem;
}

.contact {
    background-color: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    margin: 2rem 5%;
    padding: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* =========================================
   KONTAKTFORMULAR (Kompakt)
   ========================================= */
.contact form {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.contact form input[type="text"],
.contact form input[type="email"],
.contact form input[type="number"],
.contact form textarea {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact form input:focus,
.contact form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.contact form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Honeypot */
.honeypot {
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: static !important;
}

/* Captcha-Bereich */
.captcha-challenge {
    background: #f0f4f8;
    padding: 0.8rem;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    margin: 0.5rem 0;
}

.captcha-challenge p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
    font-size: 0.95rem;
}

#captcha-answer {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
}

#captcha-answer:focus {
    border-color: #667eea;
    outline: none;
}

/* Submit Button */
.contact form button[type="submit"] {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    margin-top: 0.5rem;
    width: auto;
    align-self: flex-start;
}

.contact form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    opacity: 0.95;
}

.contact form button[type="submit"]:active {
    transform: translateY(0);
}

/* =========================================
   FOOTER (Sehr klein, gleiche Farbe)
   ========================================= */
footer {
    text-align: center;
    padding: 0.5rem;
    background: #2c3e50;
    color: #95a5a6;
    font-size: 0.75rem;
    line-height: 1.4;
}

footer a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

footer a[href*="alinamathilda.de"]:visited { color: #95a5a6; }
footer a[href*="alinamathilda.de"]:hover { color: #ffffff; }

footer a[href*="flyingtux.de"]:visited { color: #95a5a6; }
footer a[href*="flyingtux.de"]:hover { color: #ff0000; }

.footer-heart {
    color: #ff6b81;
    margin: 0 4px;
    display: inline-block;
}

/* =========================================
   ANIMATIONEN
   ========================================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin: 1rem;
        border-radius: 12px;
    }
    .logo.signature-font { font-size: 1.8rem; }
    .nav-links {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        width: 100%;
        margin-left: 0;
    }
    .hero h1 { font-size: 2.2rem; }
    
    section { padding: 2rem 1rem; }
    .about, .contact {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .contact form {
        padding: 1.2rem;
        margin: 1rem;
    }
    .contact form button[type="submit"] { width: 100%; align-self: stretch; }
    
    /* Footer auf Mobile noch etwas anpassen */
    footer {
        font-size: 0.35rem;
        padding: 0.4rem;
    }
}
