
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    }

/* Header */




header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #111;
    color: #fff;
    position: relative;
    z-index: 1000;
}

header p{
    color: #f0f4f8;
     font-family: 'Dancing Script', cursive;
     font-size: 1.3rem;
 
}


.menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.menu li a:hover {
    color: #28a745;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
}

/* Responzivita */
@media (max-width: 768px) {
    .menu {
        display: none; /* skryté štandardne */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        background: #111;
        padding: 20px 0;
        border-radius: 0 0 10px 10px;
        text-align: center;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }
}

/* Hero pozadie úvod */
/* Hero sekcia */
.hero {
    height: 100vh; /* default - na veľkých obrazovkách */
    background: url("images/zahony.jpeg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: white;
    position: relative;
}

/* tmavší overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 2rem;
    color: #fff; /* biely text */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* tmavý okraj/tieň */

    /* animácia na začiatku */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease-out forwards;
}

/* CTA button */
.btn-cta {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 50px; /* pekné zaoblenie */
    background: linear-gradient(135deg, #28a745, #85d56f); /* lineárny zelený gradient */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Hover efekt */
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responzivita */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .btn-cta { font-size: 1rem; padding: 12px 28px; }
}

/* efekt fade-in + posun */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responzívne zmenšenie */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
}


/* postupné znižovanie výšky hero */
@media (max-width: 1024px) {
    .hero {
        height: 85vh;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
}



/* Sekcia About */
/* -------------------- About Sekcia -------------------- */
.about {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.about .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Ikonka nad H2 */
.icon-wrapper {
    font-size: 3rem;
    color: #2e7d32; 
    margin-bottom: 15px;
    display: inline-block;
    opacity: 0; /* začína neviditeľná */
    transform: translateY(-20px);
    animation: dropFade 1s ease-out forwards;
}

/* animácia */
@keyframes dropFade {
    0% { opacity: 0; transform: translateY(-20px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* H2 s animáciou rozťahovania */
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    display: inline-block;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: revealText 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* animácia rozťahovania textu */
@keyframes revealText {
    0% { opacity: 0; transform: scaleX(0); }
    100% { opacity: 1; transform: scaleX(1); }
}

/* Odsek */
.about p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* -------------------- Work Sekcia -------------------- */
.work {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.work .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Ikonka */
.work .icon-wrapper {
    font-size: 3rem;
    color: #d35400;
    margin-bottom: 15px;
    display: inline-block;
    opacity: 0;
    transform: scale(0);
    animation: popIn 0.8s ease-out forwards;
}

/* animácia ikonky */
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.3) rotate(-30deg); }
    80% { transform: scale(1.1) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Nadpis */
.work h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease forwards;
    animation-delay: 0.5s;
}

/* animácia nadpisu */
@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Text */
.work p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* -------------------- Reasons Sekcia -------------------- */

.reasons {
    padding: 60px 15px;
    background: linear-gradient(135deg, #f0f4f8, #ffffff);
    text-align: center;
}

/* Kontejner s maximálnou šírkou, centrovanie */
.reasons .container {
    max-width: 1200px;  /* menšie ako 100%, nie celá obrazovka */
    margin: 0 auto;      /* centrovanie */
    padding: 0 20px;     /* vnútorné okraje po stranách */
}


/* Nadpis */
.reasons h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* flexibilný grid */
    gap: 25px;
    justify-items: center; /* centrovanie kariet */
}

/* Karty */
.reason {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    width: 100%;
    max-width: 250px;  /* nebudú príliš veľké */
}
/* Ikonky v Reasons sekcii */
/* Ikonky */
.reason i {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 15px;
    display: inline-block;
    animation: floatIcon 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

/* Jemné kývanie ikoniek (float efekt) */
@keyframes floatIcon {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-2deg); }
    50% { transform: translateY(0) rotate(2deg); }
    75% { transform: translateY(-5px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}


/* Hover efekt */
.reason:hover i {
    transform: scale(1.3) rotate(5deg);
}

.reason h3 { font-size: 1.2rem; margin-bottom: 10px; }
.reason p { font-size: 1rem; color: #555; line-height: 1.6; }


/* Hover efekt ikonky */
.reason:hover i {
    transform: rotate(8deg) scale(1.1);
    transition: transform 0.3s ease;
}



/* Responzivita */
@media (max-width: 1024px) {
    .reasons-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 600px) {
    .reasons-grid { grid-template-columns: 1fr; }
    .reason { max-width: 100%; }
}



.gallery {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.gallery .container {
    max-width: 1100px;  /* obmedzená šírka */
    margin: 0 auto;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

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

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1; /* rovnaká šírka a výška */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* zachová pomer a vyplní celý rám */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Responzivita */
@media (max-width: 1024px) {
    .gallery-grid { gap: 15px; }
}

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr; gap: 15px; }
}

/************/
.highlight-title {
    font-family: 'Dancing Script', cursive; /* písané písmo */
    font-weight: 700;
    font-size: 2.8rem;
    color: #555; /* tmavozelená */
    line-height: 1.3;
    text-align: center;
    margin-bottom: 50px;
}

/* Responzivita */
@media (max-width: 768px) {
    .highlight-title { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .highlight-title { font-size: 1.8rem; }
}


/* Sekcia Pricing */
.pricing {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.pricing .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Ikonka nad nadpisom */
.pricing .icon-wrapper {
    font-size: 3rem;
    color: #28a745; /* tmavozelená */
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(-20px);
    animation: dropFade 1s ease-out forwards;
}

/* H2 – písaný font */
.highlight-title {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: 2.8rem;
    color: #2e7d32; /* tmavozelená */
    line-height: 1.3;
    margin-bottom: 40px;
}

/* Odseky */
.pricing p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Call-to-action tlačidlo */
.pricing .btn-cta {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #28a745, #85d56f);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-top: 30px;
}

.pricing .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Animácie */
@keyframes dropFade {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responzivita */
@media (max-width: 768px) {
    .highlight-title { font-size: 2.2rem; }
    .pricing p { font-size: 1rem; }
    .pricing .btn-cta { font-size: 1rem; padding: 12px 28px; }
}

@media (max-width: 480px) {
    .highlight-title { font-size: 1.8rem; }
    .pricing p { font-size: 0.95rem; }
    .pricing .btn-cta { font-size: 0.95rem; padding: 10px 25px; }
}


/* Sekcia Pricing */
.pricing {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.pricing .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Ikonka nad nadpisom */
.pricing .icon-wrapper {
    font-size: 3rem;
    color: #28a745; /* tmavozelená */
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(-20px);
    animation: dropFade 1s ease-out forwards;
}

/* H2 – písaný font */
.highlight-title {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: 2.8rem;
    color: #2e7d32; /* tmavozelená */
    line-height: 1.3;
    margin-bottom: 40px;
}

/* Odseky */
.pricing p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Call-to-action tlačidlo */
.pricing .btn-cta {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #28a745, #85d56f);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-top: 30px;
}

.pricing .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Animácie */
@keyframes dropFade {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responzivita */
@media (max-width: 768px) {
    .highlight-title { font-size: 2.2rem; }
    .pricing p { font-size: 1rem; }
    .pricing .btn-cta { font-size: 1rem; padding: 12px 28px; }
}

@media (max-width: 480px) {
    .highlight-title { font-size: 1.8rem; }
    .pricing p { font-size: 0.95rem; }
    .pricing .btn-cta { font-size: 0.95rem; padding: 10px 25px; }
}
/** Footer******/

footer {
    background-color: #111;
    color: #fff;
    padding: 60px 20px 30px 20px;
    text-align: center;
}

footer .footer-top h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #28a745; /* eko zelená */
}

/* Footer content – 3 stĺpce */
footer .footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    flex-wrap: wrap;
}

footer .footer-column {
    flex: 1;
    min-width: 250px;
    margin: 10px;
    text-align: center;
}

footer .footer-column i {
    font-size: 3rem;
    color: #FFD700; /* zlatá */
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

footer .footer-column i:hover {
    transform: scale(1.2) rotate(5deg);
}

footer .footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

footer .footer-column p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer bottom */
footer .footer-bottom p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Responzivita */
@media (max-width: 1024px) {
    footer .footer-content {
        flex-direction: column;
        align-items: center;
    }
    footer .footer-column {
        margin-bottom: 30px;
    }
}
.js{
    color: red;
}
