/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gotu', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #2C2C2C;
    background: #F5F0EB;
    overflow-x: hidden;
}

/* Save the Date Section */
.save-the-date-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #431a14 0%, #52211A 50%, #431a14 100%);
    position: relative;
    padding: 20px 20px 100px 20px; /* Added bottom padding for scroll indicator */
}

.std-container {
    max-width: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.save-the-date-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 14px;
    color: #F5F0EB;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    opacity: 0.9;
}

.arrow-down {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-right: 2px solid #F5F0EB;
    border-bottom: 2px solid #F5F0EB;
    transform: rotate(45deg);
    opacity: 0.9;
}

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

/* Form Section */
.form-section {
    min-height: 100vh;
    background: #E8DDD5;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-container {
    max-width: 600px;
    width: 100%;
    background: transparent;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: #431a14;
    margin: 0 auto 30px;
}

.form-header h1 {
    font-family: 'Gotu', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #431a14;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

/* Wedding Details */
.wedding-details {
    margin-top: 0;
}

.wedding-details p {
    font-family: 'Gotu', sans-serif;
    color: #431a14;
    margin: 5px 0;
    font-weight: 400;
}

.wedding-date {
    font-size: 18px;
    margin-bottom: 15px !important;
}

.wedding-venue {
    font-size: 16px;
    font-weight: 400;
}

.wedding-address {
    font-size: 14px;
    opacity: 0.9;
}

/* Form Styles */
.address-form {
    width: 100%;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0 0 12px 0;
    border: none;
    border-bottom: 1px solid #431a14;
    background: transparent;
    font-family: 'Gotu', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #431a14;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8B7B6B;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #431a14;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    padding-top: 10px;
    line-height: 1.5;
}

/* Submit Button */
.submit-btn {
    display: block;
    margin: 50px auto 0;
    padding: 14px 50px;
    background: transparent;
    border: 1px solid #431a14;
    border-radius: 30px;
    font-family: 'Gotu', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #431a14;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: #431a14;
    color: #E8DDD5;
}

/* Success Message */
.success-message {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

.success-message p {
    font-family: 'Gotu', sans-serif;
    font-size: 16px;
    color: #431a14;
    font-weight: 400;
}

/* Footer Message */
.footer-message {
    max-width: 600px;
    width: 100%;
    margin-top: 80px;
    text-align: center;
}

.footer-message p {
    font-family: 'Gotu', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #431a14;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .save-the-date-section {
        min-height: 100vh;
        padding: 40px 20px;
    }
    
    .save-the-date-image {
        max-width: 400px;
    }
    
    .form-section {
        padding: 60px 20px;
    }
    
    .form-header h1 {
        font-size: 24px;
    }
    
    .wedding-date {
        font-size: 16px;
    }
    
    .wedding-venue {
        font-size: 14px;
    }
    
    .wedding-address {
        font-size: 12px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        margin-bottom: 20px;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .footer-message {
        margin-top: 60px;
    }
    
    .footer-message p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .save-the-date-image {
        max-width: 320px;
    }
    
    .form-header h1 {
        font-size: 22px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-indicator span {
        font-size: 12px;
    }
}
