/* ============================================
   Contact Page - Modern Redesign
   ============================================ */

/* Page Banner */
.contact-banner {
    position: relative;
    background: linear-gradient(135deg, #1e8449 0%, #2d5f3d 100%);
    padding: 100px 0;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.png') repeat;
    opacity: 0.1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.banner-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-subtitle {
    font-size: 1.3em;
    color: #ecf0f1;
    max-width: 700px;
    margin: 0 auto;
}

/* Company Image Fullwidth */
.company-image-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    max-height: 700px;
}

.company-image-fullwidth img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 700px;
}

/* Page Wrapper */
.contact-wrapper {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-wrapper .container {
    max-width: 1400px !important;
    width: 100%;
}

.page-grid {
    display: grid !important;
    grid-template-columns: minmax(200px, 240px) 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    max-width: none !important;
}

.page-main {
    min-width: 0;
    width: 100%;
    max-width: none;
}

/* Section Header */
.section-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
}

.section-title {
    font-size: 2.2em;
    color: #1e8449;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-description {
    font-size: 1.1em;
    color: #666;
    line-height: 1.7;
}

/* Contact Form */
.contact-form-modern {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.field-required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #27ae60;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.btn-submit {
    margin-top: 10px;
    padding: 16px 40px;
    font-size: 1.1em;
    font-weight: 600;
}

/* Contact Information List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-item strong {
    display: block;
    color: #333;
    font-size: 0.9em;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    word-break: break-word;
}

.contact-info-item a:hover {
    color: #1e8449;
    text-decoration: underline;
}

.contact-info-item span {
    color: #555;
    line-height: 1.7;
    display: block;
}

/* Sidebar */
.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-module {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.module-title {
    color: #1e8449;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 600;
    color: #333;
}

.hours-time {
    color: #666;
}

.cta-module {
    background: linear-gradient(135deg, #1e8449 0%, #27ae60 100%);
    color: #fff;
    text-align: center;
    padding: 30px 20px !important;
}

.cta-module .module-title {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.cta-module p {
    color: #ecf0f1;
    margin-bottom: 25px;
    font-size: 0.95em;
    line-height: 1.6;
}

.cta-module .btn-block {
    width: 100%;
    display: block;
    text-align: center;
    background: #fff;
    color: #1e8449;
    border: none;
    padding: 14px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-module .btn-block:hover {
    background: #f8f9fa;
    color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-banner {
        padding: 60px 0;
    }
    
    .banner-title {
        font-size: 2.5em;
    }
    
    .banner-subtitle {
        font-size: 1.1em;
    }
    
    .company-image-fullwidth {
        max-height: 300px;
    }
    
    .company-image-fullwidth img {
        max-height: 300px;
    }
    
    .contact-wrapper {
        padding: 40px 0;
    }
    
    .page-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-modern {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .section-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}
