
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
body {
    background-color: white;
    color: #000000;
}

/* HEADER */

header {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: 1500px;
    margin: auto;
}
.logo img {
    width: 110px;
    height: auto;
}
nav {
    display: flex;
    align-items: center;
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin: 0 40px;
}
.nav-links li:last-child {
    margin-right: 0;
}
.nav-links a {
    position: relative;
    text-decoration: none;
    color: #404040;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}
.nav-links a.active {
    font-weight: 900;
    color: darkgreen;
}
.nav-links a:hover {
    color: darkgreen;
}
.nav-links li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #2c9f42; 
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}
.nav-links li a:hover::after {
    transform: scaleX(1);
}
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.burger div {
    width: 30px;
    height: 3px;
    background-color: black;
}

@media screen and (max-width: 800px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        background: white;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        width: 100vw;  
        height: 100vh; 
        background: rgba(255, 255, 255, 0.97);
    }
    .nav-links li {
        margin: 35px 0;
        padding: 0;
    }
    .nav-active {
        display: flex;
        z-index: 999;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .burger {
        display: flex;
        z-index: 999;
    }
}

section {
    max-width: 1500px;
    margin: auto; 
}
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 30px;
}
.hero-text {
    max-width: 38%;
}
.hero-text h1 {
    color: #30A934;
    font-size: 80px;
    line-height: 90px;
    font-weight: 900;
}
.hero-text p {
    font-size: 23px;
    margin-top: 10px;
    font-weight: 400;
}
.hero-text .subheadline {
    font-size: 30px;
    font-weight: 700;
}
.btn {
    font-size: 23px;
    display: inline-block;
    background: #30A934;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
    margin-top: 30px;
}
.btn:hover {
    background: darkgreen;
}
.hero-image img {
    width: 100%;
    max-width: 693px;
    animation: fadeIn 5s;
    border-radius: 10px;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media screen and (max-width: 1260px) {
    .hero-text {
        padding-right: 40px;
    }
    .hero-text h1 {
        font-size: 50px;
        line-height: 60px;
    }
    .hero-text p {
        font-size: 16px;
        margin-top: 10px;
    }
    .hero-text .subheadline {
        font-size: 18px;
    }
    .btn {
        font-size: 18px;
    }
}

@media screen and (max-width: 880px) {
    .hero {
        flex-direction: column; 
        text-align: center;
        padding: 40px 16px;
    }
    .hero-text,
    .hero-image {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .hero-image img {
        max-width: 100%; 
        margin-top: 40px;
    }
    .hero-text h1 {
        font-size: 40px;
        line-height: 45px;
    }
}

.specs {
    background: white;
    padding: 50px 30px;
    text-align: center;
}
.specs h2 {
    font-size: 40px;
    font-weight: 900;
    color: black;
    line-height: 48px;
}
.specs h2 span {
    color: #30A934;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.specs-item {
    background: #eee;
    padding: 40px;
    border-radius: 10px;
    font-size: 23px;
    font-weight: 400;
}
.specs-item span {
    font-size: 45px;
    color: #30A934;
    font-weight: 900;
}
.green-line-section {
    padding: 15px 30px;
    margin: auto;
}
.green-line {
    height: 4px;
    background-color: #30A934; 
    max-width: 1500px;
}

@media screen and (max-width: 880px) {
    .specs {
        padding: 20px 16px;
    }
    .specs h2 {
        font-size: 30px;
        line-height: 35px;
    }
    .specs-grid {
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 16px;
    }
    .specs-item {
        padding: 25px;
        font-size: 20px;
    }
    .specs-item span {
        font-size: 34px;
    }
    .green-line-section {
        padding: 15px 16px;
    }
}

.info {
    display: flex;
    justify-content: space-between;
    padding: 50px 30px;
    background: white;
}

.info-list {
    list-style: none;
    padding: 0;
    max-width: 468px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 40px;
}
.icon {
    width: 35px;  
    height: auto;
    margin-top: 5px;
    margin-right: 25px;
}
.dimensions h3 {
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 20px;
}
.dimensions img {
    width: 100%;
    max-width: 778px;
}

@media screen and (max-width: 1330px) {
    .info-list {
        max-width: 370px;
        padding-right: 30px;
    }
    .info-list li {
        font-size: 18px;
    }
    .icon {
        width: 25px;
        margin-right: 15px;
    }
    .dimensions h3 {
        font-size: 22px;
    }
}

@media screen and (max-width: 880px) {
    .info {
        padding: 40px 16px;
        padding-top: 20px;
        flex-direction: column; 
    }
    .info-list {
        width: 100%;
        max-width: 70%;
        padding-right: 0;
        margin: auto;
    }
    .info-list li {
        margin-bottom: 30px;
    }
    .dimensions h3 {
        text-align: center;
        margin: 15px 0;
    }
    .dimensions img {
        width: 100%;
        max-width: 100%;
    }
}


.footer {
    background-color: #8E8E8E;
    color: white;
}
.footer-wrap {
    max-width: 1500px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px;
    flex-wrap: wrap;
}
.footer-left {
    max-width: 560px;
    display: flex;
    align-items: flex-start;
}
.footer-left img {
    max-width: 200px;
    margin-right: 50px;
}
.footer-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.footer-nav-div hr {
    color: white;
    margin-bottom: 15px;
}
.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}
.footer-nav a:hover {
    text-decoration: underline;
}

.footer-text {
    max-width: 400px;
    font-size: 1rem;
}

.footer-right {
    text-align: right;
    font-size: 16px;
}

.footer-right a {
    color: white;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 880px) {
    .footer-wrap {
        padding: 20px 16px;
        flex-direction: column;
    }
    .footer-left {
        flex-direction: column;
        margin-bottom: 35px;
        text-align: center;
    }
    .footer-left img {
        max-width: 200px;
        margin-right: 0;
        margin: auto;
    }
    .footer-nav-div {
        margin: auto;
        margin-top: 30px;
    }
    .footer-nav {
        gap: 15px;
        margin-bottom: 15px;
        text-align: center;
        justify-content: center;
    }
    .footer-nav a {
        font-size: 15px;
    }
    .footer-right {
        text-align: center;
    }
}


/* ČO ROBÍME */

.services {
    text-align: center;
}
.services-intro, .services-grid, .services-footer {
    padding: 50px 30px;
}
.services-intro h2 {
    color: #30A934;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.services-intro p {
    max-width: 700px;
    margin: 0 auto 75px;
    font-size: 19px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.service-card {
    background: #F4F4F4;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 150px;
}

.service-card:nth-child(7), 
.service-card:nth-child(8), 
.service-card:nth-child(9) {
    margin-bottom: 0;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img.service-card-main-image {
    width: 250px;
    display: block;
    margin: 0 auto 15px;
    position: relative;
    top: -175px;
}

.service-card .info-list li {
    margin-bottom: 15px;
    font-size: 18px;
}
.service-card h3 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 25px;
    margin-top: -160px;
    text-transform: uppercase;
}
.service-card ul li .icon {
    width: 20px;
    height: auto;
    display: inline;
    margin: 0;
    margin-right: 10px;
    margin-top: 3px;
}

.services-footer {
    text-align: center;
    padding-top: 10px;
}

.services-footer h3 {
    color: #30A934;
    font-size: 35px;
    font-weight: 900;
}

.services-footer p {
    margin-top: 15px;
    font-size: 30px;
    font-weight: 900;
}

@media screen and (max-width: 1175px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card:nth-child(7),
    .service-card:nth-child(8) {
        margin-bottom: 150px;
    }
}

@media screen and (max-width: 800px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card:nth-child(7),
    .service-card:nth-child(8),
    .service-card {
        padding: 40px;
        margin-bottom: 90px;
    }
    .service-card img.service-card-main-image {
        width: 160px;
        top: -126px;
        margin-bottom: 54px;
    }
    .services-intro h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .services-intro p {
        margin: 0 auto 35px;
        font-size: 18px;
    }
    .service-card h3 {
        font-size: 22px;
    }
    .service-card .info-list {
        max-width: 100%;
    }
    .services-footer h3 {
        font-size: 27px;
    }
    .services-footer p {
        font-size: 22px;
    }
}


/* GALÉRIA */

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px;
}

.img-wrapper {
    overflow: hidden;
    border-radius: 5px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrapper img.img-gallery {
    width: 160%;
    height: 100%;
    max-width: 200%;
    object-fit: cover;
    display: block;
    position: relative;
    left: -30%;
}

.img-overlay {
    position: relative;
    display: inline-block;
}

.icon-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* KONTAKT */

.contact {
    padding-bottom: 200px;
    background-color: #ffffff;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.contact-box {
    flex: 1;
    padding: 0 75px;
    text-align: left;
    border-right: 1px solid #000000;
    font-weight: 500;
    height: 170px;
    padding-top: 5px;
}

.contact-box:last-child {
    border-right: none;
}

.contact-box h3 {
    color: #30A934;
    font-weight: 900;
    margin-bottom: 23px;
}

.contact-box p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.contact-box p a {
    color: #000000;
    text-decoration: none;
}

.contact-box img {
    width: 25px;
    height: auto;
}

@media (max-width: 1000px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    .contact-box {
        padding: 10px 0;
    }

    .contact-box {
        padding: 10px 16px;
        text-align: center;
        border-right: none;
        height: 170px;
        margin: auto;
    }
    .contact-box h3 {
        text-align: center;
    }
    .contact-box p {
        justify-content: center;
        margin: 15px 0;
        text-align: center;
    }
    .contact {
        padding-bottom: 40px;
        margin-top: -30px;
    }
}
