/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

/* Main Container Layout */
.contact-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    box-sizing: border-box !important;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 800px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* The Grid: Sidebar (1 part) | Form (2 parts) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar Styling */
.contact-info {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--red);
}

.info-block {
    margin-bottom: 35px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block i {
    color: var(--red);
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: block;
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.info-block p {
    color: #aaa;
    line-height: 1.5;
    margin: 0;
}

/* Form Section Styling */
.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    color: #ccc;
    margin-bottom: 30px;
}

.callback-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

/* Input, Select, and Textarea Styling */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    height: 50px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--red);
    background: #161616;
    outline: none;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
}

/* Submit Button */
.submit-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 6px;
    align-self: flex-start;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: #b30000;
    transform: translateY(-2px);
}

/* Responsive Fix for Phones */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        order: 2;
    }

    .submit-btn {
        width: 100%;
    }
}