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

body {
    font-family: 'Cormorant Garamond', serif;
    color: #4a4a4a;
    line-height: 1.6;
    background-color: rgb(207,217,192);
}

/* Login Section Styles */
.login-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgb(231,241,212) 0%, rgb(207,217,192) 100%);
    padding: 20px;
}

.login-container {
    background: rgb(253,255,231);
    padding: 60px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
}

.login-description {
    text-align: center;
    font-size: 1.2rem;
    color: #6b4423;
    margin-bottom: 40px;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-error {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-size: 0.95rem;
}

.logout-btn {
    color: #c62828 !important;
    font-weight: 600 !important;
}

.logout-btn:hover {
    color: #b71c1c !important;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(231,241,212);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 20px;
}

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

.nav-logo {
    font-family: 'Cormorant Garamond', cursive;
    font-size: 1.5rem;
    color: rgb(44,51,22);
    text-decoration: none;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    font-size: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgb(44,51,22);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #8b6f47;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: rgb(44,51,22);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.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);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgb(207,217,192);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        padding-top: 80px;
        gap: 40px;
    }

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

    .nav-menu a {
        font-size: 1.5rem;
    }

    .timeline-item-no-line .timeline-content {
        /*margin-left: 2.5rem;*/
    }
    
    .login-container {
        padding: 40px 30px;
    }
}

.hero {
    background: linear-gradient(to bottom, rgb(231,241,212) 0%, rgb(207,217,192) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

section {
    scroll-margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 60px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 10%;
    font-size: 50px;
    opacity: 0.3;
    animation: float 7s ease-in-out infinite;
}

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

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.couple-names {
    font-size: 4rem;
    font-family: 'Cormorant Garamond', cursive;
    margin: 20px 0;
    color: rgb(44,51,22);
    font-weight: 400;
}

.hero-description {
    font-size: 2rem;
}

.wedding-date {
    font-size: 1.5rem;
    margin: 10px 0;
    color: rgb(44,51,22);
    letter-spacing: 0.1em;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(44,51,22);
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgb(44,51,22);
}

/* Section Styling */
.section {
    padding: 80px 20px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: rgb(44,51,22);
    margin-bottom: 50px;
    font-family: 'Cormorant Garamond', cursive;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: rgb(44,51,22);
    margin: 20px auto;
}

.timeline-section {
    text-align: center;
    font-size: 1.5rem;
    color: rgb(44,51,22);
    margin-bottom: 25px;
    font-family: 'Cormorant Garamond', cursive;
    position: relative;
}

.section-description {
    text-align: center;
    font-size: 1.5rem;
    color: rgb(44,51,22);
    margin-bottom: 50px;
    font-family: 'Cormorant Garamond', cursive;
    position: relative;
}

.story-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.story-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.story-card h3 {
    color: #6b4423;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    position: relative;
    padding-left: 60px;
    height: 100%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: -50px;
    width: 2px;
    background: #d4b5a0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6b4423;
    border: 3px solid #fdfbf7;
}

.timeline-item-no-line {
    padding-left: 0;
}

.timeline-item-no-line::before {
    display: none;
}

.timeline-item-no-line .timeline-content {
    /*margin-left: 3.75rem;*/
}

.timeline-content {
    background: white;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.timeline-time {
    font-weight: bold;
    color: #8b6f47;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-title {
    color: #6b4423;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 1.1rem;
    margin-top: 20px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: stretch;
}

.location-card {
    background: white;
    padding: 40px;
    margin-left: 20px;
    margin-right: 20px;
    height: fit-content;
}

.location-card h3 {
    color: #6b4423;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.location-detail {
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-icon {
    font-size: 1.2rem;
    min-width: 25px;
}

.rsvp-section {
    background: rgb(207,217,192);
    padding: 80px 20px;
}

.travel-section {
    background: rgb(255,250,191);
    padding: 80px 20px;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgb(253,255,231);
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #6b4423;
    font-weight: 500;
    font-size: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d4b5a0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b6f47;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: rgb(44,51,22);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    background: #8b6f47;
}

.registry-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.registry-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer {
    background: rgb(231,241,212);
    color: rgb(44,51,22);
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin: 10px 0;
}

/* Radio button groups */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: left;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    min-width: 80px;
    white-space: nowrap;
    line-height: 1;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    flex-shrink: 0;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #d4b5a0;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.radio-label input[type="radio"]:checked {
    border-color: #6b4423;
}

.radio-label input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6b4423;
}

.radio-label span {
    flex-shrink: 0;
    line-height: 20px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .couple-names {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .rsvp-form {
        padding: 30px 20px;
    }

    .story-card,
    .location-card,
    .registry-info {
        padding: 30px 20px;
    }

    .location-grid {
        grid-template-columns: 1fr; /* Eine Spalte auf mobilen Geräten */
    }
}

@media (max-width: 480px) {
    .couple-names {
        font-size: 2rem;
    }

    .save-the-date {
        font-size: 1rem;
    }

    .wedding-date {
        font-size: 1.2rem;
    }

    .section {
        padding: 50px 15px;
    }

    .timeline-item-no-line .timeline-content {
        margin-left: 0;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.rsvp-hero-button {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 50px;
    background: rgb(253,255,231);
    color: rgb(44,51,22);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgb(253,255,231);
}

.rsvp-hero-button:hover {
    background: rgb(44,51,22);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgb(44,51,22);
    color: white;
}

.rsvp-hero-button:active {
    transform: translateY(-1px);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 6px 15px;
    background: #f5e6d3;
    color: #6b4423;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-link i {
    font-size: 1rem;
}

body {
    overflow-x: hidden;
}

.text-image-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}

.text-content h2 {
    color: #6b4423;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', cursive;
}

.text-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.image-content img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .text-image-container {
        grid-template-columns: 1fr;
    }
}
