/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Хлебные крошки */
.breadcrumbs {
    background: #f5f5f5;
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #333;
    font-weight: 500;
}

/* Шапка */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/eskortagentstva.webp') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-bottom: 30px;
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
}

.header-logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Основное содержание */
main {
    padding: 0 0 40px;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 15px;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Карточки агентств */
.agency-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.agency-header {
    padding: 20px;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.agency-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.agency-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.agency-images img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    max-height: 300px;
    object-fit: cover;
}

.agency-images img:hover {
    transform: scale(1.03);
}

.agency-content {
    padding: 25px;
}

.agency-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.agency-info {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 4px solid #d4af37;
}

.agency-info h4 {
    margin-bottom: 15px;
    color: #444;
    font-size: 1.3rem;
}

.agency-info ul {
    list-style: none;
}

.agency-info li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.agency-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.fa-whatsapp {
    color: #25D366;
}

.fa-telegram {
    color: #0088cc;
}

.fa-envelope {
    color: #d44638;
}

.fa-phone {
    color: #34b7f1;
}

.fa-globe {
    color: #333;
}

.fa-map-marker-alt {
    color: #ea4335;
}

.agency-info a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
}

.agency-info a:hover {
    color: #004499;
    text-decoration: underline;
    transform: translateX(3px);
}

.agency-details {
    margin-top: 25px;
}

.agency-details h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.agency-details h5 {
    font-size: 1.2rem;
    color: #444;
    margin: 20px 0 10px;
}

.agency-details ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.agency-details ul li {
    margin-bottom: 8px;
}

/* Подвал */
footer {
    background: #222;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    opacity: 0.8;
}

footer p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    header {
        padding: 40px 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .intro h2 {
        font-size: 1.6rem;
    }

    .agency-header h3 {
        font-size: 1.5rem;
    }

    .agency-images {
        flex-direction: column;
        align-items: center;
    }

    .agency-images img {
        width: 100%;
    }

    .agency-content {
        padding: 15px;
    }

    .agency-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    .breadcrumbs {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .agency-info li {
        font-size: 0.9rem;
    }

    footer {
        padding: 20px 15px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
    }

    .footer-links a {
        margin: 5px 0;
    }
}
