/* ========================================
   Contact Page - Enhanced Layout
   ======================================== */

/* Enhanced Page Header */
.page-header--contact {
    position: relative;
    padding: 120px 0 80px;
}

.page-header--contact .page-header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.page-header--contact .container {
    position: relative;
    z-index: 2;
}

.page-header__subtitle-contact {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    margin-top: 15px;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Contact Form */
.contact-form {
    flex: 0 0 45%;
    position: relative;
}

.contact-form__wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    min-height: 733px;
}

/* Contact Content */
.contact-content {
    flex: 1;
}

.contact-content__title {
    margin-bottom: 30px;
}

.contact-content__title .block-title__image {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #8bc34a 0%, #7cb342 100%);
    margin-bottom: 15px;
}

.contact-content__title p {
    font-size: 16px;
    color: #8bc34a;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-content__title h3 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-content__text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    text-align: justify;
}

/* Contact Info */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid #8bc34a;
    transition: all 0.3s ease;
}

.contact-info__item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(139, 195, 74, 0.15);
}

.contact-info__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8bc34a 0%, #7cb342 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info__icon i {
    font-size: 22px;
    color: #ffffff;
}

.contact-info__content {
    flex: 1;
}

.contact-info__content a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-info__content a:hover {
    color: #8bc34a;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #8bc34a 0%, #7cb342 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
}

.newsletter-form button {
    padding: 16px 35px;
    background: #ffffff;
    color: #8bc34a;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.newsletter-form button i {
    margin-left: 8px;
}

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

.map-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%);
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-header--contact {
        padding: 100px 0 60px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-form {
        flex: 0 0 100%;
    }
    
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .page-header__subtitle-contact {
        font-size: 16px;
    }
    
    .contact-content__title h3 {
        font-size: 28px;
    }
    
    .contact-content__text {
        font-size: 15px;
    }
    
    .contact-info__item {
        padding: 15px;
    }
    
    .contact-info__icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-info__icon i {
        font-size: 20px;
    }
    
    .contact-form__wrapper {
        min-height: 600px;
    }
    
    .newsletter-content h3 {
        font-size: 28px;
    }
    
    .newsletter-content p {
        font-size: 16px;
    }
    
    .map-container {
        height: 300px;
    }
}
