/* Contact Form Page - Grey & Coffee Theme */

.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f3f0 0%, #ebe6e0 100%);
    padding: 3rem 1.5rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-back {
    display: inline-block;
    color: #8c8378;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.contact-back:hover {
    color: #6f4e37;
}

.contact-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #2d2926;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: #5c554d;
    font-size: 1.05rem;
}

.contact-subtitle strong {
    color: #6f4e37;
}

/* Form */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(45, 41, 38, 0.08), 0 2px 4px -2px rgba(45, 41, 38, 0.06);
    border: 1px solid #d6d0c8;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #3d3632;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label .required {
    color: #8b4049;
}

.form-label .optional {
    color: #8c8378;
    font-weight: 400;
    font-size: 0.85rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #d6d0c8;
    border-radius: 10px;
    background: #faf8f6;
    color: #2d2926;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #6f4e37;
    background: white;
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1);
}

.form-input::placeholder {
    color: #a39a90;
}

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

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238c8378' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #5c554d;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #6f4e37;
    cursor: pointer;
}

/* Submit Button */
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #7a5a42 0%, #6f4e37 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: linear-gradient(135deg, #6f4e37 0%, #5a3d2b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.35);
}

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

.form-submit svg {
    flex-shrink: 0;
}

/* Footer */
.contact-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #8c8378;
    font-size: 0.9rem;
}

/* Success/Error States */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
}

.contact-success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.contact-success h2 {
    font-size: 1.75rem;
    color: #2d2926;
    margin-bottom: 0.75rem;
}

.contact-success p {
    color: #5c554d;
    margin-bottom: 2rem;
}

.contact-success .btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #6f4e37;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-success .btn-home:hover {
    background: #5a3d2b;
}

/* Responsive */
@media (max-width: 640px) {
    .contact-page {
        padding: 2rem 1rem;
    }
    
    .contact-form {
        padding: 1.75rem;
    }
}
