/* CSS Variables for Autumn Sunset Theme */
:root {
    --deep-red: #8B2E1F;
    --burnt-orange: #D4662A;
    --warm-yellow: #E8A65D;
    --forest-green: #3A5A40;
    --dark-olive: #2D3A2E;
    --cream: #F5F1E8;
    --text-primary: #F5F1E8;
    --text-secondary: rgba(245, 241, 232, 0.7);
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Gradient Background */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        135deg,
        var(--deep-red) 0%,
        var(--burnt-orange) 25%,
        var(--forest-green) 50%,
        var(--dark-olive) 75%,
        var(--deep-red) 100%
    );
    background-size: 400% 400%;
    transition: background-position 0.3s ease;
}

/* Landing Page Styles */
.content-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.content-wrapper:hover {
    opacity: 0.95;
}

.name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-align: center;
    animation: fadeIn 1.5s ease-out;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* Contact Page Styles */
.contact-page {
    padding: 2rem;
}

.contact-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    align-self: flex-start;
    margin-bottom: 3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.contact-container {
    width: 100%;
    animation: fadeIn 1s ease-out;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
}

label {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

input,
textarea {
    background: rgba(245, 241, 232, 0.08);
    border: 1px solid rgba(245, 241, 232, 0.2);
    border-radius: 4px;
    padding: 1rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--warm-yellow);
    background: rgba(245, 241, 232, 0.12);
    box-shadow: 0 0 0 3px rgba(232, 166, 93, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.submit-button {
    background: var(--warm-yellow);
    color: var(--dark-olive);
    border: none;
    border-radius: 4px;
    padding: 1.2rem 2.5rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 1rem;
}

.submit-button:hover {
    background: var(--burnt-orange);
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 102, 42, 0.3);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-page {
        padding: 1.5rem;
    }
    
    .contact-wrapper {
        padding: 1rem;
    }
    
    .back-link {
        margin-bottom: 2rem;
    }
    
    .contact-title {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        gap: 1.5rem;
    }
    
    .submit-button {
        width: 100%;
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 3.5rem;
    }
}
