/* 
* Téli Berek Vendégház - Contact Page CSS
* Custom styles for the Contact page
*/

/* ===== Page Header ===== */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    background-image: url('./assets/Galery/DSC_1172.JPG');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

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

.page-header h1 {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.contact-info2 {
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info2 .section-heading h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item .icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item .icon-box i {
    color: white;
    font-size: 20px;
}

.contact-item .content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item .content p {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-item .content a {
    color: var(--text-light);
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-item .content a:hover {
    color: var(--primary-color);
}

.registration-info {
    background-color: rgba(75, 111, 77, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.registration-info h5 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.registration-info p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Contact card styling adjustments */
.contact-info2 {
    padding: 50px;
}

.contact-item {
    margin-bottom: 25px;
}

.registration-info {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Map Section ===== */
.map-section {
    padding: 100px 0;
    background-color: white;
}

.map-wrapper {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

.directions {
    padding-top: 30px;
}

.direction-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.direction-item:hover {
    transform: translateY(-5px);
}

.direction-item .icon {
    width: 60px;
    height: 60px;
    background: rgba(75, 111, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.direction-item .icon i {
    color: var(--primary-color);
    font-size: 24px;
}

.direction-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.direction-item p {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991px) {
    .page-header {
        height: 30vh;
    }
    
    .contact-section, .map-section {
        padding: 70px 0;
    }
    
    .contact-info2 {
        margin-bottom: 40px;
    }
    
    .map-wrapper {
        padding: 30px;
    }
    
    .map-container iframe {
        height: 400px;
    }
    
    .direction-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .contact-section, .map-section {
        padding: 50px 0;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .map-wrapper {
        padding: 20px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 575px) {
    .page-header {
        height: 25vh;
        min-height: 200px;
    }
    
    .page-header h1 {
        font-size: 30px;
    }
    
    .contact-form-wrapper, .contact-info2 {
        padding: 20px;
    }
    
    .contact-item .icon-box {
        width: 40px;
        height: 40px;
    }
    
    .contact-item .icon-box i {
        font-size: 16px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}
