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

:root {
    --cream: #FDF6E3;
    --cream-dark: #F5E6C8;
    --text-primary: #2C2C2C;
    --text-secondary: #666666;
    --accent: #D4AF37;
    --accent-hover: #B8941F;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --border: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--cream);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    text-align: center;
    width: 100%;
    max-width: 600px;
}

/* Logo */
.logo-container {
    margin-bottom: 2.5rem;
}

.logo {
    height: clamp(150px, 25vw, 400px);
    width: auto;
    max-width: 90%;
    object-fit: contain;
    margin: 0;
}

.logo-fallback {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Tagline */
.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.3;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    font-family: inherit;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* Form */
.invite-form {
    margin-top: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.invite-form.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.invite-form.show {
    display: block;
    animation: slideIn 0.4s ease-out;
}

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

.form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.optional {
    font-weight: 300;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.submit-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.cancel-button {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cancel-button:hover {
    background: var(--cream-dark);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--cream);
    margin-top: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .submit-button,
    .cancel-button {
        width: 100%;
    }
    
    .tagline {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: clamp(120px, 30vw, 200px);
        max-width: 95%;
    }
    
    .tagline {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        white-space: normal;
        line-height: 1.2;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
} 