/* Contact Page Styles */

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-top: 130px;
}

main {
    flex: 1;
}

.content-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background: var(--bg-body);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.map-section {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 60px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Info Section */
.contact-info-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-color);
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-header {
    margin-bottom: 35px;
}

.info-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-header p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-card:last-child {
    border-bottom: none;
}

.info-card:hover {
    padding-left: 10px;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #ff8c1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.card-content p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.card-content p + p {
    margin-top: 4px;
}

/* Contact Form Section */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-color);
}

.form-container h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.input-wrapper:focus-within,
.textarea-wrapper:focus-within {
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.input-wrapper i,
.textarea-wrapper i {
    position: absolute;
    left: 12px;
    top: 12px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.input-wrapper input,
.textarea-wrapper textarea {
    flex: 1;
    padding: 10px 12px 10px 40px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    outline: none;
}

.input-wrapper input::placeholder,
.textarea-wrapper textarea::placeholder {
    color: #cbd5e1;
}

.textarea-wrapper {
    padding-top: 6px;
}

.textarea-wrapper textarea {
    resize: vertical;
    padding-top: 10px;
}

.error-text {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-color), #ff8c1a);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    align-self: flex-start;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 60px 20px;
    }

    .map-section {
        height: 300px;
    }

    .contact-info-section,
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .info-header h3,
    .form-container h3 {
        font-size: 1.4rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i {
        font-size: 1.4rem;
    }

    .info-card {
        padding: 20px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .content-section {
        padding: 40px 15px;
    }

    .map-section {
        height: 250px;
    }

    .contact-info-section,
    .contact-form-wrapper {
        padding: 20px 15px;
    }

    .info-header {
        margin-bottom: 25px;
    }

    .info-header h3,
    .form-container h3 {
        font-size: 1.2rem;
    }

    .info-header p {
        font-size: 0.9rem;
    }

    .card-icon {
        width: 55px;
        height: 55px;
    }

    .card-icon i {
        font-size: 1.2rem;
    }

    .card-content h4 {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .form-container h3 {
        margin-bottom: 20px;
    }

    .contact-form {
        gap: 18px;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
}
