/* Основні кольори та шрифти */
:root {
    --primary-navy: #0a1d37;    /* Глибокий темно-синій */
    --electric-blue: #007bff;   /* Акцентний блакитний */
    --light-gray: #f4f7f9;      /* Фон секцій */
    --white: #ffffff;
    --text-dark: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
p {margin-bottom: 15px;}
/* Шапка (Header) */
.header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px; /* Налаштуй під свій logo.png */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--electric-blue);
}

/* Кнопки */
.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--electric-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--primary-navy);
    color: var(--white);
    margin-top: 20px;
}

/* Геройська секція (Hero) */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #fff 50%, var(--light-gray) 50%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2.8rem;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
}

.hero-img {
    width: 100%;
    border-radius: 10px;
    /* Можна додати тінь, як на макеті */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

/* Секції заголовків */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--electric-blue);
    margin: 10px auto 0;
}

/* Послуги та Автопарк */
.services, .fleet, .benefits {
    padding: 80px 0;
}

.services-grid, .fleet-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(267px, 1fr));
    gap: 30px;
}

.service-card, .fleet-card, .benefit-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover, .fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon img, .benefit-icon {
    width: 60px;
    margin-bottom: 20px;
}

.fleet-car-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Футер та Контакти */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
}

.footer-title {
    color: var(--white);
    margin-bottom: 30px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 10px;
    width: 320px;
}

#contact-form input, #contact-form textarea {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: white;
}

/* Адаптивність */
@media (max-width: 992px) {
    .hero-container, .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-title { font-size: 2rem; }
    .nav-links { display: none; } /* Для простоти, можна додати мобільне меню пізніше */
    .header-container {
    flex-direction: column;
}
}