/* Contact Page Styles - Mobile First */
.contact-hero {
    position: relative;
    min-height: 300px;
    height: auto;
    padding: 100px 20px 80px;
    background: url('https://images.unsplash.com/photo-1516975080664-ed2fc6a32937?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
    overflow: hidden;
}

.contact-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 203, 222, 0.9) 0%, rgba(226, 168, 200, 0.9) 100%);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;

.contact-form-container {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

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

.form-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #999;
    pointer-events: none;
    transition: var(--transition);
    background-color: #f9f9f9;
    padding: 0 5px;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(242, 203, 222, 0.3);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]):valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    color: var(--primary-color);
    background-color: #fff;
    padding: 0 8px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.contact-form .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.contact-info {
    display: grid;
    gap: 25px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-box .icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.2rem;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.info-content p {
    margin: 5px 0;
    color: #555;
    line-height: 1.6;
}

.info-content p strong {
    color: var(--text-color);
}

.map-container {
    margin-top: 60px;
    text-align: center;
}

.map-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.map-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Map Container */
.map-container {
    margin-top: 40px;
    width: 100%;
}

.map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
    min-height: 400px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

.map-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-image-container {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* 2:1 aspect ratio */
    overflow: hidden;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-overlay h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.map-overlay i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.map-address {
    margin-top: 20px;
    text-align: center;
}

.map-address p {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #555;
}

.map-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-link i {
    margin-right: 8px;
}

.map-link:hover {
    color: #d46a8e;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .contact-hero {
        padding: 120px 30px 100px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .info-box {
        padding: 25px;
    }
}

@media (min-width: 768px) {
    .contact-hero {
        height: 400px;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .contact-form-container {
        padding: 40px;
    }
}

@media (min-width: 992px) {
    .contact-container {
        gap: 50px;
        padding: 0;
    }
    
    .contact-hero h1 {
        font-size: 3.5rem;
    }
}

/* Specific mobile optimizations */
@media (max-width: 575.98px) {
    .contact-hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-box .icon {
        margin: 0 auto 15px;
    }
}
    .map-container {
        margin-top: 30px;
    }
    
    .map-wrapper {
        border-radius: 8px;
    }
    
    .map-address p {
        font-size: 1rem;
    }
}
    overflow: hidden;
    border: 1px solid #eee;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 0 auto 60px;
    }
    
    .contact-info {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 300px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .map-container h2 {
        font-size: 1.8rem;
    }
    
    #map {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-box .icon {
        margin: 0 auto 15px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .map-container h2 {
        font-size: 1.6rem;
    }
    
    #map {
        height: 300px;
    }
}
