/* === pages.css — стилі для сторінок About Us і Contacts === */

/* === ABOUT US PAGE === */
.about-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f26522;
    padding-bottom: 10px;
}

.about-section h3 {
    color: #555;
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.feature-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #f26522;
}

.feature-card h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.highlight-box {
    background: linear-gradient(135deg, #f26522, #ff8c42);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.highlight-box h3 {
    color: white;
    margin-bottom: 15px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
}

.service-item h4 {
    color: #f26522;
    margin-bottom: 10px;
}

/* === CONTACTS PAGE === */
.contacts-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.contacts-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacts-header h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 15px;
}

.contacts-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #f26522;
}

.contact-card h3 {
    color: #f26522;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info {
    text-align: left;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info .icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: #f26522;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-section {
    margin: 50px 0;
}

.map-section h2 {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.service-areas {
    background: linear-gradient(135deg, #f26522, #ff8c42);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.service-areas h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-areas p {
    font-size: 16px;
    margin-bottom: 10px;
}

.working-hours {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
    border-left: 5px solid #f26522;
}

.working-hours h3 {
    color: #333;
    margin-bottom: 15px;
}

.working-hours p {
    font-size: 18px;
    color: #555;
    margin: 5px 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    /* About Us responsive */
    .about-content {
        padding: 0 15px;
    }
    
    .about-section h2 {
        font-size: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contacts responsive */
    .contacts-content {
        padding: 0 15px;
    }
    
    .contacts-header h1 {
        font-size: 28px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .map-container {
        height: 300px;
    }
}