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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.company-name {
    font-family: 'Baskervville', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #1a202c;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.company-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.company-link:hover {
    text-decoration: none;
    color: inherit;
}

.company-link:visited {
    color: inherit;
}

.company-icon {
    height: 2.5rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
    border-radius: 2px;
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 0;
}

.tagline {
    font-family: 'Baskervville', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #2d3748;
    line-height: 1.2;
    font-style: italic;
}

.description {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact section */
.contact-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.contact-title {
    font-family: 'Baskervville', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a202c;
    text-align: center;
    margin-bottom: 0.25rem;
    font-style: italic;
}

.contact-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-row .form-group {
    flex: 1;
}

.form-label {
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
    padding: 0.75rem 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.submit-btn {
    background: linear-gradient(135deg, #d2691e 0%, #cd853f 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

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


/* Form submission states */
.contact-form.submitting {
    opacity: 0.7;
    pointer-events: none;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: #718096;
    font-size: 0.875rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .company-name {
        font-size: 2.25rem;
    }
    
    .company-icon {
        height: 2.25rem;
    }
    
    .tagline {
        font-size: 1.875rem;
        margin: 0;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 1.5rem;
        margin: 0 -0.5rem;
    }
    
    .contact-title {
        font-size: 1.25rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.875rem;
    }
    
    .company-icon {
        height: 1.875rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .contact-section {
        padding: 1.25rem;
    }
}
