/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    height: 100vh;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Panel - Text Section */
.text-panel {
    flex: 1;
    background: linear-gradient(135deg, #1a4d3a 0%, #2d5a47 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content {
    max-width: 500px;
    padding: 2rem;
    text-align: center;
    color: white;
    overflow: hidden;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.name {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #d4af37;
    margin-bottom: 2rem;
    font-weight: 400;
}

.tagline-1 {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.tagline-2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: white;
    font-weight: 400;
}

.announcement {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: transparent;
    border: 2px solid #d4af37;
    color: white;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    border-radius: 5px;
}

.cta-button:hover {
    background: #d4af37;
    color: #1a4d3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-section {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    text-align: left;
}

.social-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Right Panel - Portrait Section */
.portrait-panel {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portrait-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1) contrast(1.1);
    transition: transform 0.3s ease;
}

.portrait-image:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-title {
        font-size: 3rem;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .tagline-2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .text-panel {
        flex: 1;
        min-height: 60vh;
        padding: 1rem 0;
    }
    
    .portrait-panel {
        flex: 1;
        min-height: 40vh;
        order: -1;
    }
    
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .name {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .tagline-1 {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .tagline-2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .content {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .social-section {
        position: static;
        text-align: center;
        margin-top: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Form adjustments for mobile */
    .form-title {
        font-size: 1.4rem;
        margin-top: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .back-button {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.8rem;
        padding: 10px 8px 6px 8px;
    }
    
    .submit-button {
        font-size: 0.8rem;
        padding: 8px 30px;
    }
}

@media (max-width: 480px) {
    .container {
        min-height: 100vh;
    }
    
    .text-panel {
        min-height: 65vh;
        padding: 0.5rem 0;
    }
    
    .portrait-panel {
        min-height: 35vh;
    }
    
    .main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }
    
    .name {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .tagline-1 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .tagline-2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .announcement {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .content {
        padding: 1rem;
        max-width: 100%;
    }
    
    .social-section {
        margin-top: 1.5rem;
    }
    
    .social-text {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Form adjustments for very small screens */
    .form-title {
        font-size: 1.2rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .back-button {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.75rem;
        padding: 8px 6px 5px 6px;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .submit-button {
        font-size: 0.75rem;
        padding: 8px 25px;
    }
    
    .form-row {
        margin-bottom: 0.6rem;
    }
    
    .form-group {
        margin-bottom: 0.6rem;
    }
}

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

.content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* Initial state for animations */
.content > * {
    opacity: 0;
    transform: translateY(30px);
}

/* Header Content Animation */
.header-content {
    transition: all 0.6s ease-in-out;
}

.header-content.move-up {
    transform: translateY(-30px) scale(0.8);
    opacity: 0.7;
}

/* Middle Content Animation */
.middle-content {
    transition: all 0.6s ease-in-out;
    position: relative;
}

.middle-content.slide-out {
    transform: translateX(-120%);
    opacity: 0;
}

/* Form Styles */
.content-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.main-content {
    transition: all 0.6s ease-in-out;
}

.main-content.slide-out {
    transform: translateX(-100%);
    opacity: 0;
}

.signup-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.6s ease-in-out;
    transform: translateX(100%);
    opacity: 0;
}

.signup-form.slide-in {
    transform: translateX(0);
    opacity: 1;
}

.back-button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: block;
    width: fit-content;
    z-index: 10;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-2px);
}

.form-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.6rem;
    color: #d4af37;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 400;
    margin-top: 1rem;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.form-group {
    position: relative;
    flex: 1;
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 10px 8px 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.15);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -8px;
    left: 5px;
    font-size: 0.8rem;
    color: #d4af37;
    background: linear-gradient(135deg, #1a4d3a 0%, #2d5a47 100%);
    padding: 0 5px;
}

.form-group textarea {
    resize: vertical;
    min-height: 50px;
}

.submit-button {
    background: transparent;
    border: 2px solid #d4af37;
    color: white;
    padding: 10px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    width: 100%;
    margin-top: 0.5rem;
    display: block;
    opacity: 1;
    visibility: visible;
}

.submit-button:hover {
    background: #d4af37;
    color: #1a4d3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}




