/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #cc0000;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #2d2d2d;
    color: #ffffff;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background-color: #000000;
    border-bottom: 2px solid #cc0000;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 48px;
    background-image: url("logo.png");
    background-size: cover;
    width: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    margin-right: 15px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #cc0000;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('bg-black.jpg') no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cc0000;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    background-color: rgba(204, 0, 0, 0.2);
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
}

.feature-item strong {
    display: block;
    font-size: 18px;
    color: #cc0000;
}

.feature-item span {
    font-size: 14px;
    color: #cccccc;
}

.small-text {
    font-size: 14px;
    color: #aaaaaa;
    margin-top: 15px;
}

/* SEO Section */
.seo-section {
    background-color: #3a3a3a;
    padding: 80px 0;
    text-align: center;
}

.seo-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.seo-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #cc0000;
    margin: 15px auto 0;
}

.seo-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.step-item {
    background-color: #2d2d2d;
    padding: 30px 20px;
    border-radius: 5px;
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #cc0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
}

.step-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #cc0000;
    margin: 15px auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #cccccc;
}

/* Types Section */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.type-card {
    background-color: #3a3a3a;
    border: 1px solid #444;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
    padding: 30px 20px;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

.type-icon {
    margin-bottom: 20px;
    background-image: url(good.jpg);
    height: 176px;
    background-position: bottom;
    background-size: cover;
    text-align: right;
    padding-right: 10px;
    font-size: 31px;
    align-content: end;
}

.type-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #cc0000;
}

.type-card p {
    margin-bottom: 20px;
    color: #cccccc;
}

.type-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.type-features li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ffffff;
    position: relative;
    padding-left: 20px;
}

.type-features li:before {
    content: '✓';
    color: #cc0000;
    position: absolute;
    left: 0;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #3a3a3a;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #cc0000;
}

/* FAQ Section */
.faq {
    background-color: #3a3a3a;
    padding: 80px 0;
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #2d2d2d;
    border-radius: 5px;
    border-left: 3px solid #cc0000;
}

.faq-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #cc0000;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('bg-black.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #cc0000;
}

.cta p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-row input {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    border: 1px solid #555;
    background-color: #2d2d2d;
    color: #ffffff;
    border-radius: 4px;
    font-size: 16px;
}

.form-row input:focus {
    outline: none;
    border-color: #cc0000;
}

/* Contacts Section */
.contacts-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contacts-info {
    flex: 2;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #cc0000;
}

.contact-item p {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #cc0000;
}

.contacts-map{
    width: 100%;
    border-radius: 5px;
    flex: 3;
    min-width: 300px;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 50px 0 20px;
    border-top: 2px solid #cc0000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    align-items: center;
    align-content: center;
}

.footer-logo .logo-icon {
    width: 200px;
    height: 70px;
    font-size: 18px;
}

.footer-logo .logo-text h4 {
    font-size: 18px;
}

.footer-logo .logo-text p {
    font-size: 12px;
    color: #aaaaaa;
}

.footer-nav h4,
.footer-contacts h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #cc0000;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #cc0000;
}

.footer-contacts p {
    margin-bottom: 5px;
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #aaaaaa;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-red {
    background-color: #cc0000;
    color: #ffffff;
}

.btn-red:hover {
    background-color: #aa0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #3a3a3a;
    margin: 5% auto;
    padding: 30px;
    border: 2px solid #cc0000;
    border-radius: 5px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalopen 0.5s;
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #cc0000;
}

#formTitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #cc0000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    background-color: #2d2d2d;
    color: #ffffff;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #cc0000;
}

.form-note {
    font-size: 14px;
    color: #aaaaaa;
    text-align: center;
    margin-top: 20px;
    display: block;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        max-width: 300px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row input {
        min-width: auto;
    }

    .contacts-content {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .type-card h3 {
        font-size: 20px;
    }
}
.time-buttons button {
    width: 100%;
    background-color: #cc0100;
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
}
span.message-close {
    position: absolute;
    right: 16px;
    font-size: 24px;
    top: 0px;
}