/**
 * Contact/Kontakt Seite - Glass Morphism Design
 * Marleo-Handarbeit
 */

:root {
    --primary-pink: #ff66b2;
    --primary-blue: #3399ff;
    --light-pink: #ffe6f3;
    --light-blue: #e6f3ff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff66b2 0%, #764ba2 50%, #3399ff 100%);
}

/* =====================================
   CONTACT HERO SECTION
   ===================================== */

.contact-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(255, 102, 178, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    margin: 2rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero .hero-icon {
    font-size: 4rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.contact-hero p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =====================================
   CONTACT SECTION
   ===================================== */

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

/* =====================================
   CONTACT INFO CARDS
   ===================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(51, 153, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px rgba(51, 153, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.info-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card h3 i {
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:last-of-type {
    margin-bottom: 0;
}

.contact-item:hover {
    background: rgba(255, 102, 178, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--primary-pink);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.contact-item-content {
    flex: 1;
}

.contact-item-label {
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin-bottom: 0.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-value {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item-value a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-item-value a:hover {
    color: var(--primary-pink);
    text-decoration: underline;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 102, 178, 0.3);
    color: var(--primary-pink);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 102, 178, 0.4);
}

/* Hours List */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hours-list li:hover {
    background: rgba(51, 153, 255, 0.1);
}

.hours-day {
    font-weight: 600;
    color: var(--gray-dark);
}

.hours-time {
    color: var(--primary-blue);
    font-weight: 600;
}

.hours-time.closed {
    color: var(--gray-medium);
    font-style: italic;
}

/* =====================================
   CONTACT FORM CONTAINER
   ===================================== */

.contact-form-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(51, 153, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-container:hover {
    box-shadow:
        0 12px 40px rgba(51, 153, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

/* =====================================
   FAQ SECTION
   ===================================== */

.faq-section {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    padding: 0 1rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.faq-header p {
    color: var(--gray-medium);
    font-size: 1.1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(51, 153, 255, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-question:hover::before {
    opacity: 1;
}

.faq-question h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin: 0;
    flex: 1;
}

.faq-icon {
    color: var(--primary-pink);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--gray-dark);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================
   MAP SECTION
   ===================================== */

.map-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.map-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(51, 153, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
}

.map-placeholder {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--light-pink), var(--light-blue));
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.map-placeholder h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-hero {
        padding: 3rem 1.5rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        margin: 1rem 0.5rem;
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .contact-hero .hero-icon {
        font-size: 3rem;
    }

    .contact-hero h1 {
        font-size: 1.75rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 1rem 0.5rem;
    }

    .info-card,
    .contact-form-container {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .map-placeholder {
        padding: 3rem 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.5rem;
    }

    .info-card h3 {
        font-size: 1.2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hours-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .faq-header h2 {
        font-size: 1.75rem;
    }
}
