/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-white) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: var(--pastel-lavender-rich);
    margin-bottom: 1rem;
}

.contact-hero .lead {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pastel-white) 0%, var(--pastel-lavender) 100%);
}

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

.contact-grid > * {
    min-width: 0;
}

/* Contact Info */
.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--pastel-mint-deep);
}

.contact-info p {
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-card);
}

.info-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
}

.info-item.email i { background: var(--pastel-lavender); color: var(--pastel-lavender-deep); }
.info-item.phone i { background: var(--pastel-rose); color: var(--pastel-rose-deep); }
.info-item.address i { background: var(--pastel-lemon); color: var(--pastel-lemon-deep); }

.info-item span {
    display: block;
    flex: 1 1 auto;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-text);
    min-width: 0;
    padding: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 2;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--color-heading);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

.form-group input[readonly] {
    background-color: #f7f7f7;
    border-color: #e0e0e0;
    cursor: not-allowed;
    color: #888;
}

.contact-form-wrapper .btn-primary {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }

    .contact-info {
        order: 2;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        min-width: 0;
    }

    .contact-form-wrapper {
        order: 1;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        min-width: 0;
    }
    
    .info-items {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center the items if they don't fill width */
        width: 100%;
    }

    .info-item {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        gap: 0.8rem;
        margin-bottom: 1rem;
        justify-content: flex-start; /* Keep icon and text aligned start within the item */
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.8rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem;
    }
    
    .contact-form-section {
        padding: 4rem 0;
    }

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

@media (max-width: 576px) {
    .container {
        padding: 0 1.2rem;
    }

    .contact-hero {
        padding: 40px 0;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .lead {
        font-size: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.8rem;
        border-radius: 20px;
    }
    
    .info-item {
        padding: 1rem;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .info-item i {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.1rem;
    }
    
    .info-item span {
        font-size: 0.85rem;
        width: auto;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .contact-form-wrapper .btn-primary {
        padding: 1rem;
        font-size: 1rem;
    }

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