/* Import base styles from index.css */
@import url('index.css');

/* Override body opacity for page load */
body {
    opacity: 1 !important;
}

/* Ensure header is visible */
header {
    position: relative;
    z-index: 1000;
}

/* Contact Hero Section */
.contact-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: transparent;
    border-top: 2px solid transparent;
    background-image: linear-gradient(#0a0a0a, #0a0a0a), linear-gradient(90deg, #ff4824, #ff0b4e);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.contact-hero .hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ff4824, #ff0b4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #888;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Content Section */
.contact-content {
    padding: 80px 0;
}

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

/* Contact Info Styles */
.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    transition: all var(--duration-normal) var(--ease-out-quart), transform var(--duration-fast) var(--ease-out-back), box-shadow var(--duration-normal) var(--ease-out-quart);
    will-change: transform, box-shadow;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-text p {
    color: #888;
    margin-bottom: 0.25rem;
}

.contact-item .social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.contact-item .social-link {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.contact-item .social-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Contact Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 0;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(40, 40, 40, 0.95);
    color: #fff;
}

.form-group select option {
    background: rgba(40, 40, 40, 0.98) !important;
    color: #e0e0e0 !important;
    padding: 8px 12px !important;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:checked {
    background: rgba(255, 72, 36, 0.2) !important;
    color: #ffffff !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 72, 36, 0.5);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
    color: #888;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-top: 2px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), linear-gradient(90deg, #ff4824, #ff0b4e);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.02);
    height: 400px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: #b0b0b0;
}

.map-content p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .contact-content,
    .map-section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .map-placeholder {
        height: 300px;
    }
}

/* Form Status Messages */
.form-status {
    padding: 15px;
    border-radius: 0px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-status.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.form-status.loading {
    background: rgba(255, 72, 36, 0.1);
    color: #ff4824;
    border: 1px solid rgba(255, 72, 36, 0.3);
}

/* Form Validation Styles */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.input-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
}
