/* Basic styles will be added here */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #333;
}

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

/* Header */
header {
    border-bottom: 1px solid #eee;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    padding: 10px 0;
}

.top-bar > .container,
nav > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* For burger menu positioning */
}

nav > .container {
    justify-content: center;
    font-weight: bold;
}

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

.logo-text {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.logo-highlight {
    color: #00a859;
}

.logo-text-footer {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: block;
    margin-bottom: 20px;
}

.logo-text-footer .logo-highlight{
    color: #00a859;
}

.logo span {
    max-width: 150px;
    font-size: 12px;
    color: #666;
}

.logo img {
    height: 50px; /* Placeholder */
    margin-right: 15px;
}

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

.work-time {
    font-size: 14px;
    margin-right: 20px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.phone {
    font-size: 18px;
    font-weight: bold;
    margin-right: 20px;
}

.callback-btn {
    background-color: transparent;
    border: 2px solid #00a859;
    color: #00a859;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: center;
    border-top: 1px solid #eee;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-color: #f0f4f8;
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.features li {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.features li img {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    font-weight: bold;
}

.main-cta {
    background-color: #00a859;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

/* Installation Types Section */
.installation-types {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    padding: 60px 0;
}

.types-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.type-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
}

.type-card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

.type-card p {
    font-size: 14px;
    color: #666;
    flex-grow: 1;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
}

.details-btn {
    background-color: #00a859;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    align-self: center;
}

/* All Types Section */
.all-types {
    padding: 60px 0;
}

.checkbox-container {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkbox-list li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.checkbox-list li img {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

/* Service Details Section */
.service-details {
    padding: 60px 0;
}

.service-details.gray-bg {
    background-color: #f9f9f9;
}

.container-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.service-image {
    flex-basis: 45%;
}

.service-image img {
    max-width: 100%;
    border-radius: 10px;
}

.service-info {
    flex-basis: 100%;
}

.service-info h3 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-includes {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.include-block h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.include-block ul {
    list-style-type: disc;
    padding-left: 20px;
}

.include-block ul li {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
}

.service-cta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.service-cta .price {
    font-size: 28px;
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-top: -30px;
    margin-bottom: 50px;
    color: #666;
}

.benefits-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.benefit-item {
    flex-basis: 22%;
}

.benefit-item img {
    height: 60px;
    margin-bottom: 20px;
}

.benefit-item p {
    font-size: 16px;
    font-weight: bold;
}

/* Info Blocks Section */
.info-blocks {
    padding: 60px 0;
    margin-top: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}

.info-card h4 {
    font-size: 18px;
    margin-top: 0;
}

.info-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 0;
}

.info-card ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.info-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #00a859;
    padding: 20px 30px;
    border-radius: 10px;
}

.cta-icon {
    font-size: 40px;
    font-weight: bold;
    color: #00a859;
    border: 3px solid #00a859;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text h4 {
    margin: 0 0 5px 0;
    font-size: 20px;
}

.cta-text p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* Steps Section */
.steps {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.step-item {
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    flex-basis: 30%;
}

.step-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.step-icon-container img {
    height: 70px;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #00a859;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid white;
}

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

.step-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Works Section */
.works {
    padding: 60px 0;
}

.gallery-container {
    margin-bottom: 50px;
}

.main-image {
    margin-bottom: 15px;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    border-radius: 10px;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.thumbnails img {
    width: 100px;
    height: 75px;
    border-radius: 5px;
    border: 3px solid transparent;
    cursor: pointer;
}

.thumbnails img.active {
    border-color: #00a859;
}

.work-example {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.work-image {
    flex-basis: 40%;
}

.work-image img {
    max-width: 100%;
    border-radius: 10px;
}

.work-description {
    flex-basis: 60%;
}

.work-description h4 {
    font-size: 22px;
    margin-top: 0;
}

.work-description p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

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

.faq-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.faq-item summary {
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #00a859;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.6;
    color: #666;
}

/* Final CTA Section */
.final-cta {
    background-color: #333;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}
.final-cta h3 {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 20px;
}
.final-cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Master Call Section */
.master-call {
    padding: 80px 0;
}
.master-image {
    flex-basis: 40%;
    align-self: flex-end;
}
.master-image img {
    max-width: 100%;
}
.master-form {
    flex-basis: 100%;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}
.master-form h4 {
    font-size: 28px;
    margin: 0;
    margin-top: 20px;
}
.master-form p {
    font-size: 18px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 30px;
}
.master-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.master-form input[type="text"],
.master-form input[type="tel"] {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
.privacy-policy {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
}
.privacy-policy input {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: #ccc;
    padding: 60px 0 20px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-about img {
    height: 40px;
    margin-bottom: 20px;
}
.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
}
.legal-info p {
    font-size: 12px;
    color: #888;
    margin: 5px 0;
}
.footer-links h4, .footer-contacts h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    margin-bottom: 15px;
}
.footer-links a, .footer-bottom a {
    color: #ccc;
    text-decoration: none;
}
.footer-links a:hover, .footer-bottom a:hover {
    color: white;
}
.footer-contacts .phone {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}
.socials {
    margin-top: 20px;
}
.socials a {
    margin-right: 15px;
}
.socials img {
    height: 30px;
}
.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* === Responsive Design === */

/* Tablets and small desktops */
@media (max-width: 992px) {
    .top-bar > .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 90%;
    }

    .types-container, .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .type-card, .step-item {
        flex-basis: 80%;
        max-width: 500px;
    }

    .container-flex {
        flex-direction: column;
        gap: 30px;
    }

    .service-image, .service-info, .work-image, .work-description, .master-image, .master-form {
        flex-basis: 100%;
    }

    .service-includes, .benefits-container, .checkbox-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    nav {
        display: none; /* Hide nav by default on smaller screens */
    }
    
    nav.active {
        display: block; /* Show when active */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }

    nav ul li {
        text-align: center;
        margin: 10px 0;
    }

    .burger-menu {
        display: flex; /* Show burger on smaller screens */
    }

    .info .phone,
    .info .work-time,
    .info .callback-btn {
        display: none; /* Hide some info in header on mobile */
    }

    .top-bar > .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    nav {
        padding: 15px 0;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-content h1, .section-title {
        font-size: 28px;
    }
    
    .final-cta h3 {
        font-size: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .work-example {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about, .footer-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

html {
    scroll-behavior: smooth;
}

/* Equipment Section */
.equipment {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* Burger Menu */
.burger-menu {
    display: none; /* Hidden by default */
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
} 