/* ===== SVG STYLES ===== */
.hero-image svg,
.service-image,
.portfolio-image,
.about-image-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-image,
.portfolio-image {
    min-height: 200px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #22c55e;
    --secondary-color: #16a34a;
    --white: #ffffff;
    --dark: #1f2937;
    --light-gray: #f3f4f6;
    --text-color: #374151;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* ===== HEADER ===== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
}

.logo p {
    font-size: 12px;
    color: var(--secondary-color);
    margin: 5px 0 0 0;
}

.contacts-top {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone, .whatsapp {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.phone:hover, .whatsapp:hover {
    color: var(--primary-color);
}

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

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--primary-color);
}

.cta-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: var(--secondary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #f0fdf4 100%);
}

.hero-content h1 {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 20px;
}

.service-card p {
    padding: 0 20px;
    color: var(--text-color);
    font-size: 14px;
}

.service-card .price {
    padding: 10px 20px;
    color: var(--dark);
    font-weight: bold;
    font-size: 18px;
}

.btn-service {
    margin: 15px 20px 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-service:hover {
    background-color: var(--secondary-color);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 80px 0;
    background-color: var(--white);
}

.portfolio h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 197, 94, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .overlay p {
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.advantages {
    list-style: none;
}

.advantages li {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== CERTIFICATES SECTION ===== */
.certificates {
    padding-top: 50px;
    border-top: 2px solid var(--primary-color);
    margin-top: 50px;
}

.certificates h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.certificates p {
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.certs-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cert-item {
    background: var(--white);
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-item img {
    width: 100%;
    border-radius: 5px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-color);
    margin: 5px 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.hours {
    color: var(--secondary-color) !important;
    font-weight: bold;
    margin-top: 10px !important;
}

.contact-form h3 {
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin: 5px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .navbar a {
        display: block;
        padding: 10px;
    }

    .contacts-top {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .services h2,
    .portfolio h2,
    .contact h2 {
        font-size: 28px;
    }

    .certs-placeholder {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

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

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