/* Main Styles für index.php */

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes subtitleFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ctaFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes trustFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Touch Device Optimization */
.touch-device .btn {
    min-height: 44px; /* iOS Touch-Target-Mindestgröße */
}

/* Hero Background Styling */
.hero-content-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

/* Bildergalerie Hover-Effekte */
.gallery-card {
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

/* Glass-Card Styling für besseren Kontrast */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Button-Fallback falls CSS nicht lädt */
.btn, .elegant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: linear-gradient(135deg, #C9A18C 0%, #A8876F 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 161, 140, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 161, 140, 0.4);
    background: linear-gradient(135deg, #D4AE98 0%, #B8936F 100%);
}

.btn-secondary {
    background: white;
    color: #2D2D2D;
    border: 2px solid #C9A18C;
    box-shadow: 0 4px 15px rgba(201, 161, 140, 0.15);
}

.btn-secondary:hover {
    background: #C9A18C;
    color: white;
    border-color: #C9A18C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 161, 140, 0.3);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
    border-radius: 10px;
}

.btn-xl {
    padding: 22px 44px;
    font-size: 1.25rem;
    border-radius: 12px;
    font-weight: 600;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Elegant Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: titleFadeIn 1s ease-out;
}

.hero-subtitle {
    animation: subtitleFadeIn 1s ease-out 0.2s both;
}

.cta-container {
    animation: ctaFadeIn 1s ease-out 0.4s both;
}

.trust-indicators {
    animation: trustFadeIn 1s ease-out 0.6s both;
}

/* Elegant Card Styling */
.elegant-card {
    animation: cardSlideIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.elegant-card:nth-child(1) { animation-delay: 0.1s; }
.elegant-card:nth-child(2) { animation-delay: 0.2s; }
.elegant-card:nth-child(3) { animation-delay: 0.3s; }
.elegant-card:nth-child(4) { animation-delay: 0.4s; }
.elegant-card:nth-child(5) { animation-delay: 0.5s; }
.elegant-card:nth-child(6) { animation-delay: 0.6s; }

.elegant-icon {
    font-family: 'Times New Roman', serif;
}

/* Gallery Enhancements */
.gallery-item {
    animation: galleryFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item:nth-child(1) { animation-delay: 0.2s; }
.gallery-item:nth-child(2) { animation-delay: 0.4s; }
.gallery-item:nth-child(3) { animation-delay: 0.6s; }

/* Enhanced Background */
.bg-gradient-elegant {
    background: linear-gradient(135deg, 
        #FDFDFD 0%, 
        #F8F8F8 25%, 
        rgba(230, 213, 199, 0.1) 50%, 
        #F8F8F8 75%, 
        #FDFDFD 100%
    );
    min-height: 100vh;
}

/* Navigation Styling */
.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #2D2D2D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #C9A18C;
}

/* Animation utilities */
.animate-spin {
    animation: spin 1s linear infinite;
}

.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem); }
.group:hover .group-hover\:rotate-12 { transform: rotate(12deg); }
.group:hover .group-hover\:text-yellow-200 { color: #fef08a; }
.group:hover .group-hover\:text-rose-300 { color: #fda4af; }
.group:hover .group-hover\:text-purple-300 { color: #c4b5fd; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero-content-wrapper {
        min-height: 50vh !important;
    }
    
    .hero-text h1 {
        font-size: 2.5rem !important;
    }
}

/* Registration Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: none;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #c9a18c;
    font-family: 'Playfair Display', serif;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #c9a18c;
    text-decoration: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #c9a18c;
    box-shadow: 0 0 0 2px rgba(201, 161, 140, 0.2);
}

.form-group.captcha {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.error-messages {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
}

.error {
    margin-bottom: 5px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #c9a18c, #d4af37);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8907a, #c09e26);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 161, 140, 0.3);
}
