/* Event-Seite Hochzeits-Template user/eventtemplates/wedding/style.css */

/* Allgemeine Styles */
:root {
    --primary-color: #d8a374;
    --secondary-color: #6e8367;
    --accent-color: #9e5a6c;
    --light-color: #f8f5f1;
    --dark-color: #412e38;
    --white-color: #ffffff;
    --section-padding: 80px 0;
    --font-script: 'Great Vibes', cursive;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: var(--light-color);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
}

.script-font {
    font-family: var(--font-script);
    font-weight: 400;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.75rem;
    color: var(--dark-color);
}

.script-font.section-title {
    font-size: 3.5rem;
}

.btn-wedding {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(216, 163, 116, 0.3);
}

.btn-wedding:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(158, 90, 108, 0.4);
}

/* Florale Überlagerungen */
.floral-overlay {
    position: fixed;
    z-index: 10;
    pointer-events: none;
    height: 100%;
    width: 300px;
    background-size: contain;
    background-repeat: repeat-y;
    opacity: 0.15;
}

.floral-left {
    left: 0;
    top: 0;
    background-image:
        radial-gradient(circle at 30% 20%, var(--primary-color) 2px, transparent 2px),
        radial-gradient(circle at 70% 40%, var(--secondary-color) 3px, transparent 3px),
        radial-gradient(circle at 20% 60%, var(--primary-color) 2px, transparent 2px),
        radial-gradient(circle at 60% 80%, var(--secondary-color) 2px, transparent 2px),
        radial-gradient(circle at 40% 50%, var(--accent-color) 1.5px, transparent 1.5px);
    background-size: 300px 500px;
}

.floral-right {
    right: 0;
    top: 0;
    background-image:
        radial-gradient(circle at 70% 20%, var(--primary-color) 2px, transparent 2px),
        radial-gradient(circle at 30% 40%, var(--secondary-color) 3px, transparent 3px),
        radial-gradient(circle at 80% 60%, var(--primary-color) 2px, transparent 2px),
        radial-gradient(circle at 40% 80%, var(--secondary-color) 2px, transparent 2px),
        radial-gradient(circle at 60% 50%, var(--accent-color) 1.5px, transparent 1.5px);
    background-size: 300px 500px;
}

/* Dekorative Elemente */
.ornament {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    background-size: contain;
    background-repeat: repeat-x;
    opacity: 0.7;
}

.top-ornament {
    top: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, var(--primary-color) 20%, var(--primary-color) 80%, transparent 100%);
    background-size: 100% 1px;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(180deg);
}

.bottom-ornament {
    bottom: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, var(--primary-color) 20%, var(--primary-color) 80%, transparent 100%);
    background-size: 100% 1px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header */
.event-header {
    height: 100vh;
    min-height: 700px;
    position: relative;
    color: var(--white-color);
    overflow: hidden;
}

.header-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.header-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.header-names {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 40px 60px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
}

.header-names h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.names {
    font-family: var(--font-script);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bride, .groom {
    display: block;
    font-size: 4.5rem;
}

.and {
    display: block;
    font-size: 3.5rem;
    margin: 10px 0;
    position: relative;
}

.and::before, .and::after {
    content: '';
    height: 2px;
    width: 50px;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 50%;
}

.and::before {
    right: calc(50% + 30px);
}

.and::after {
    left: calc(50% + 30px);
}

.wedding-date {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--white-color);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(216, 163, 116, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.scroll-down a:hover {
    background-color: rgba(216, 163, 116, 0.8);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Einladungskarte */
.invitation-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(216, 163, 116, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    background-repeat: repeat;
}

.invitation-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    pointer-events: none;
}

.invitation-content {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Countdown */
.countdown-container {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.countdown-container h2 {
    margin-bottom: 30px;
    font-size: 3rem;
    color: var(--accent-color);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    margin: 0 20px;
    min-width: 100px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Veranstaltungsort */
.venue-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
}

.venue-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.venue-icon i {
    font-size: 2rem;
    color: white;
}

.venue-card h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.venue-card address, .travel-info .travel-content {
    font-style: normal;
    line-height: 1.8;
}

.event-map {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-map {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.venue-placeholder {
    text-align: center;
    padding: 30px;
}

.venue-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Custom Map-Marker */
.wedding-map-marker {
    background: none;
    border: none;
}

.wedding-map-marker i {
    font-size: 2rem;
    color: var(--accent-color);
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

/* Agenda / Timeline */
.timeline {
    position: relative;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    display: flex;
    position: relative;
}

.timeline-content.left {
    flex-direction: row-reverse;
}

.timeline-badge {
    color: var(--white-color);
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
    flex-shrink: 0;
    margin: 0 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.timeline-panel {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: calc(100% - 120px);
    position: relative;
}

.timeline-panel::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-content.left .timeline-panel::before {
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent var(--white-color);
}

.timeline-content.right .timeline-panel::before {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent var(--white-color) transparent transparent;
}

.timeline-time {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-title {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.4rem;
}

.timeline-description {
    line-height: 1.6;
    color: #666;
}

/* RSVP Form */
.rsvp-card {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
}

.rsvp-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(216, 163, 116, 0.3);
    border-radius: 5px;
    pointer-events: none;
}

#rsvp-form {
    position: relative;
    z-index: 1;
}

#rsvp-form .form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px;
    border-radius: 5px;
}

#rsvp-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(216, 163, 116, 0.25);
}

#rsvp-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
}

#rsvp-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1.5rem;
    background-color: var(--white-color);
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(216, 163, 116, 0.1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(216, 163, 116, 0.25);
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white-color);
}

/* Kontakte */
.contact-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-image {
    height: 250px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.contact-card:hover .contact-image img {
    transform: scale(1.05);
}

.contact-info {
    padding: 25px;
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-role {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-details {
    margin-bottom: 15px;
}

.contact-details p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-details i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.contact-cta {
    padding: 40px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-cta h3 {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Galerie */
.gallery-container {
    margin: -15px;
}

.gallery-item {
    padding: 15px;
}

.gallery-link {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
}

.gallery-link img {
    transition: transform 0.4s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-link:hover img {
    transform: scale(1.05);
}

.gallery-link::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.gallery-link:hover::before {
    opacity: 1;
}

/* Zusätzliche Informationen */
.info-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 1.8rem;
    color: white;
}

/* Footer */
.event-footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding-top: 0;
}

.footer-gallery {
    overflow: hidden;
}

.footer-gallery-item {
    height: 200px;
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-content {
    padding: 60px 0;
    position: relative;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.footer-text {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-links {
    margin-top: 40px;
    text-align: center;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Slick Slider Anpassungen */
.slick-dots {
    position: absolute;
    bottom: 20px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 12px;
    height: 12px;
    cursor: pointer;
    color: transparent;
    border: 2px solid var(--white-color);
    outline: none;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s;
}

.slick-dots li.slick-active button {
    background: var(--white-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .floral-overlay {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .header-names {
        padding: 30px 40px;
    }
    
    .script-font.section-title {
        font-size: 3rem;
    }

    .bride, .groom {
        font-size: 3.5rem;
    }

    .and {
        font-size: 3rem;
    }

    .timeline-item {
        margin-bottom: 30px;
    }

    .timeline-content.left, .timeline-content.right {
        flex-direction: row;
    }

    .timeline-panel {
        width: calc(100% - 120px);
    }

    .timeline-content.left .timeline-panel::before, 
    .timeline-content.right .timeline-panel::before {
        display: none;
    }
    
    .floral-overlay {
        width: 150px;
        opacity: 0.1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .script-font.section-title {
        font-size: 2.5rem;
    }
    
    .header-names {
        padding: 25px 30px;
    }
    
    .bride, .groom {
        font-size: 3rem;
    }
    
    .and {
        font-size: 2.5rem;
    }
    
    .timeline-badge {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.3rem;
        margin: 0 20px;
    }
    
    .timeline-panel {
        width: calc(100% - 90px);
        padding: 20px;
    }
    
    .countdown-item {
        margin: 0 10px;
        min-width: 80px;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    .floral-overlay {
        display: none;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .header-names {
        padding: 20px;
    }
    
    .bride, .groom {
        font-size: 2.5rem;
    }
    
    .and {
        font-size: 2rem;
    }
    
    .and::before, .and::after {
        width: 30px;
    }
    
    .and::before {
        right: calc(50% + 20px);
    }
    
    .and::after {
        left: calc(50% + 20px);
    }
    
    .script-font.section-title {
        font-size: 2.2rem;
    }
    
    .invitation-card, .rsvp-card {
        padding: 25px;
    }
    
    .event-map, .no-map {
        height: 350px;
    }
    
    .timeline-badge {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
        margin: 0 15px;
    }
    
    .timeline-panel {
        width: calc(100% - 70px);
        padding: 15px;
    }
    
    .countdown-item {
        margin: 0 5px;
        min-width: 70px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
}
/* Styling für die Location-Tabs */
.location-tabs-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.location-tabs {
    display: inline-flex;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.location-tabs .nav-item {
    margin: 0 5px;
}

.location-tabs .nav-link {
    border-radius: 30px;
    padding: 10px 20px;
    color: #333;
    background-color: transparent;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.location-tabs .nav-link i {
    margin-right: 8px;
}

.location-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.location-tabs .nav-link.active {
    background-color: var(--accent-color, #e75e8d);
    color: white;
    box-shadow: 0 4px 10px rgba(231, 94, 141, 0.3);
}

/* Anpassungen für die Karten in mehreren Locations */
.event-map {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.wedding-map-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-map-marker i {
    font-size: 30px;
    color: var(--accent-color, #e75e8d);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Verbesserte Darstellung der Venue Card */
.venue-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.venue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-color, #e75e8d);
}

.venue-card .venue-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color, #e75e8d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(231, 94, 141, 0.3);
}

.venue-card .venue-icon i {
    font-size: 30px;
}

.venue-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.venue-card address {
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .location-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        width: 100%;
        padding: 5px;
    }
    
    .location-tabs .nav-link {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .venue-card {
        margin-bottom: 30px;
    }
    
    .event-map, .no-map {
        height: 250px;
    }
}