/* =========================================
   Contact Page Custom Styles
   ========================================= */

/* Hero Section */
.contact-hero {
    min-height: 30vh;
    background: var(--accent-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Header spacing */
}

.contact-hero-blob {
    position: absolute;
    width: 50%;
    height: 150%;
    top: -20%;
    right: -10%;
    background: var(--accent-blob);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
    filter: blur(50px);
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
}

/* Main Content Section */
.contact-content-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

/* Contact Info */
.contact-info-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-item i {
    width: 20px;
    color: var(--primary-color);
    /* secondary-color likely undefined globally, falling back to primary */
}

.contact-info-item p {
    color: #555;
    font-size: 0.9rem;
    padding-left: 30px;
    margin-top: -5px;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 141, 103, 0.1);
}

/* =========================================
   Mobile Optimization
   ========================================= */

@media (max-width: 768px) {

    /* Hero Adjustments */
    .contact-hero {
        min-height: auto;
        padding-top: 7rem;
        /* More space for header */
        padding-bottom: 3rem;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    /* Grid Stacking */
    .contact-content-section {
        padding: 3rem 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Form Adjustments */
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        text-align: center;
        margin-bottom: 1rem;
    }

    .contact-info-item p {
        padding-left: 0;
    }

    .contact-info-item h4 {
        justify-content: center;
    }
}