@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&display=swap');

@font-face {
    font-family: 'Santique Regular';
    src: url('./fonts/santique.ttf') format('truetype');
}

:root {
    --primary-color: #d4a373;
    --secondary-color: #fefae0;
    --text-color: #4a4a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Avenir Light', 'Helvetica Neue Light', 'Helvetica Light', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 300;
    padding-top: 60px;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('./images/jeroen-lisette.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -60px;
}

.hero-content h1 {
    font-family: 'Corinthia', cursive;
    font-size: 7rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-content .date {
    font-family: 'Avenir Light', 'Helvetica Neue Light', 'Helvetica Light', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

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

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-family: 'Avenir Light', 'Helvetica Neue Light', 'Helvetica Light', Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

h3 {
    font-family: 'Avenir Light', 'Helvetica Neue Light', 'Helvetica Light', Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

#programma {
    margin-bottom: 0;
}

#locatie {
    background-color: white;
    position: relative;
    z-index: 1;
}

#rsvp {
    margin-top: 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.time-block {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 120px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.time-block:last-child {
    margin-bottom: 0;
}

.time-block::before {
    content: '';
    position: absolute;
    left: 73px;
    top: 15px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
}

.time {
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--primary-color);
    width: 60px;
    text-align: right;
}

.event-details {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.event-icon {
    width: 40px;
    height: 40px;
    margin-right: 1.5rem;
}

.event-text {
    flex: 1;
}

.event-details h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 300;
}

.event-details p {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.dresscode {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.location-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.venue-address {
    margin: 2rem 0;
    font-style: normal;
    line-height: 1.6;
    font-size: 1.2rem;
}

.map-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.location-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.donate-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.donate-btn:hover {
    background-color: #c19363;
}

.time-block.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.time-block.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.time-block:nth-child(1) { transition-delay: 0.1s; }
.time-block:nth-child(2) { transition-delay: 0.2s; }
.time-block:nth-child(3) { transition-delay: 0.3s; }
.time-block:nth-child(4) { transition-delay: 0.4s; }

.time-block {
    will-change: opacity, transform;
}

.rsvp-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.rsvp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 4px;
    background: repeating-linear-gradient(
        -45deg,
        var(--primary-color),
        var(--primary-color) 10px,
        transparent 10px,
        transparent 20px
    );
}

.card-inner {
    padding: 3rem;
    background: linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        white 2px
    );
}

.form-header {
    margin-bottom: 2rem;
    text-align: left;
}

.form-header h3 {
    font-family: 'Corinthia', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input[type="number"] {
    width: 80px;
}

.form-footer {
    margin-top: 2rem;
    text-align: right;
}

.form-footer button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.form-footer button:hover {
    background-color: #c19363;
}

@media (max-width: 768px) {
    .nav-content {
        justify-content: flex-end;
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;
        flex-direction: column;
        background: white;
        padding: 80px 2rem 2rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 4px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .time-block {
        padding-left: 60px;
    }
    
    .time-block::before {
        left: 23px;
    }
    
    .time {
        width: auto;
        text-align: left;
        font-size: 1rem;
    }

    .card-inner {
        padding: 2rem;
    }
}

/* Add a reusable class for the secondary background */
.bg-secondary {
    background-color: var(--secondary-color);
}

/* Update section spacing */
section {
    padding: 5rem 2rem;
}

#programma {
    margin-bottom: 0;
}

#locatie {
    background-color: white;
    position: relative;
    z-index: 1;
}

#rsvp {
    margin-top: 0;
}

.countdown-section {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.time-value {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--primary-color);
    font-family: 'Avenir Light', 'Helvetica Neue Light', 'Helvetica Light', Helvetica, Arial, sans-serif;
}

.time-label {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .countdown-container {
        gap: 1rem;
    }

    .countdown-block {
        min-width: 70px;
    }

    .time-value {
        font-size: 2.5rem;
    }

    .time-label {
        font-size: 0.8rem;
    }
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal-button:hover {
    background-color: #c19363;
}

/* Add loading state to form button */
.form-footer button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

#cadeau {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
}

#cadeau p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.kas-image-container {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.kas-image {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.footer {
    background-color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
}

.footer-content {
    position: relative;
    display: inline-block;
}

.footer-text {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
    position: relative;
}

.letter {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.1s ease;
    position: relative;
}

/* Pacman */
.pacman {
    position: absolute;
    width: 40px;
    height: 40px;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    z-index: 2;
}

.pacman-top,
.pacman-bottom {
    background: var(--primary-color);
    height: 20px;
    width: 40px;
    position: absolute;
    left: 0;
}

.pacman-top {
    border-radius: 20px 20px 0 0;
    transform-origin: bottom;
}

.pacman-bottom {
    border-radius: 0 0 20px 20px;
    bottom: 0;
    transform-origin: top;
}

/* Hover animations */
.footer-content:hover .pacman {
    display: block;
    animation: move-pacman 3s linear forwards;
}

.footer-content:hover .pacman-top {
    animation: chomp-top 0.3s linear infinite;
}

.footer-content:hover .pacman-bottom {
    animation: chomp-bottom 0.3s linear infinite;
}

@keyframes move-pacman {
    from {
        left: -50px;
    }
    to {
        left: calc(100% + 50px);
    }
}

@keyframes chomp-top {
    0% { transform: rotate(0); }
    50% { transform: rotate(-45deg); }
    100% { transform: rotate(0); }
}

@keyframes chomp-bottom {
    0% { transform: rotate(0); }
    50% { transform: rotate(45deg); }
    100% { transform: rotate(0); }
}

/* Reset animations */
.footer-content:not(:hover) .letter {
    opacity: 1;
}

.footer-content:not(:hover) .pacman {
    display: none;
    animation: none;
}

.footer-content:not(:hover) .pacman-top,
.footer-content:not(:hover) .pacman-bottom {
    animation: none;
}

/* Link styles */
.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #c19363;
}

.attendance-group {
    margin-bottom: 2rem;
}

.radio-group {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.radio-group input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-group label {
    cursor: pointer;
    margin-left: 0.8rem;
    line-height: 1.4;
    padding-top: 2px;
}

/* Custom radio button styling */
.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    outline: none;
    transition: all 0.2s ease;
}

.radio-group input[type="radio"]:checked {
    background-color: var(--primary-color);
    box-shadow: inset 0 0 0 3px white;
}

.radio-group input[type="radio"]:hover {
    border-color: #c19363;
}

/* Styles for submitted form */
.form-group input:disabled,
.form-group textarea:disabled,
.radio-group input:disabled + label {
    opacity: 0.7;
    cursor: not-allowed;
}

.submitted .form-footer button {
    background-color: #cccccc;
    cursor: not-allowed;
}

.submitted {
    position: relative;
}

.submitted::after {
    content: '✓ Verstuurd';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

#contact {
    padding: 5rem 2rem;
    text-align: center;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    font-family: 'Corinthia', cursive;
    font-size: 2.5rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-note {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .contact-cards {
        gap: 1.5rem;
    }

    .contact-card {
        width: 100%;
        max-width: 300px;
    }
} 