:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f5f6fa;
    --gradient-start: #2c3e50;
    --gradient-end: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    min-height: 100vh;
}

header {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.3), rgba(231, 76, 60, 0.3));
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tariffs {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.tariffs h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tariff-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tariff-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tariff-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.speed {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.order-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
}

footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

footer a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.news {
    padding: 4rem 2rem;
    background-color: white;
}

.news-container {
    max-width: 800px;
    margin: 0 auto;
}

.news h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.news-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.news-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.news-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-content .highlight {
    background: linear-gradient(to right, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.news-content ul {
    list-style: none;
    padding-left: 1rem;
    margin: 1rem 0;
}

.news-content ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.news-content ul li::before {
    margin-right: 0.5rem;
}

.news-content a {
    color: var(--secondary-color);
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-content .signature {
    margin-top: 2rem;
    font-style: italic;
    color: var(--primary-color);
}

/* Стилі для секції "Про нас" */
.about {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.equipment-list {
    list-style: none;
    padding: 0;
}

.equipment-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.equipment-list li::before {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Стилі для секції "Переваги" */
.advantages {
    padding: 4rem 2rem;
    background-color: white;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Стилі для секції "Зона покриття" */
.coverage {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.coverage-container {
    max-width: 1200px;
    margin: 0 auto;
}

.coverage h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.coverage-map {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coverage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 70%);
}

.coverage-zone {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.coverage-zone:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.zone-dot {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.zone-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(231, 76, 60, 0.2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.zone-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coverage-zone:hover .zone-label {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tariff-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-content {
        padding: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .coverage-map {
        height: 300px;
    }
}

/* Анімації */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-content, .tariff-card {
    animation: fadeIn 0.6s ease-out;
}

/* Стилі для модального вікна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--accent-color);
}

.modal h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.modal input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.selected-tariff {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стилі для повідомлення про успішне замовлення */
.success-message {
    display: none;
    text-align: center;
    padding: 1rem;
    background-color: #e8f5e9;
    border-radius: 8px;
    margin-top: 1rem;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
} 
} 