
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    font-size: 18px;
}

.container {
    max-width: 2400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #F9FAFB;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #2C3E50;
}

/* Skrytí header-right na desktopu */
.header-right {
    display: none;
}

       .logo img {
    height: 120px;
    width: auto;
    margin-right: 10px;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-right: 40px;
        }


       nav a {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 700;
    font-size: 21.6px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;              /* Plynulá animace */
    position: relative;
}

nav a:hover {
    color: #3BB273;                         /* Změní barvu na zelenou */
    transform: translateY(-2px);            /* Mírně vysune nahoru */
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #3BB273;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;                            /* Podtržení zleva doprava */
}

html {
    scroll-behavior: smooth;
}



        .hero {
            padding: 30px 0 20px 0;
            background: #F9FAFB;
        }

        .hero-content {
           display: grid;
           grid-template-columns: 1fr 1fr;
           gap: 0px;
           align-items: center;
           position: relative;
           
        }

        .hero-image {
    position: relative;
    z-index: 1;
        }

        .hero-image img {
              width: 100%;
              max-width: 500px;
              object-fit: cover;
              border-radius: 6px;box-shadow: 0 10px 30px rgba(0,0,0,0.8);
              margin-left: 50%;
        }


.hero-text {
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 44.79px;
    color: #F9FAFB;
    margin-bottom: 40px;
    line-height: 1.4;
}

.hero-text h1 span {
    background: #388A64;
    padding: 8px 20px;
    display: block;
    margin-bottom: 5px;
    width: fit-content;
    border-radius: 6px;
}

.hero-text p {
    color: #2C3E50;
    margin-bottom: 0px;
    font-size: 21.6px;
    margin-left: 100px;

}
    


        .hero-text .highlight {
            font-weight: bold;
            color: #2C3E50;
        }

.cta-section {
     background: #F9FAFB;
     padding: 40px 0 82px 0;
     text-align: center;
     margin-top: -10px;
    
     
}

        .cta-link {
            color: #8E3B46;
            text-decoration: none;
            font-weight: 500;
            display: inline-block;
            font-size: 18px;
            margin-top: 30px;
            

           
        }

        .about {
            padding: 60px 0;
            background: #388A64;
             background: linear-gradient(to bottom, #3d9b6f 0%, #388A64 50%, #2f7554 100%);
            color: #F9FAFB;
            margin-top: -30px;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 30px;
            align-items: start;
            font-size: 18px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .about h2 {
            margin-bottom: 20px;
            font-weight: normal;
            font-size: 44.79px;

        }

        .about p {
            margin-bottom: 0px;
        }

        .about-image img {
            width: 100%;
            border-radius: 6px;
            max-width: 400px;
            object-fit: cover;
            border-radius: 6px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        }
        

        .features {
            padding: 80px 0;
            display: flex;
            align-items: center;
            padding-top: 0px;
            margin-top: 30px;

        
}
        

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 10px;
    align-items: stretch;
}


.feature-column h3 {
    font-size: 44.79px;
    margin-bottom: 20px;
    color: #2C3E50;
    text-align: center;
    font-weight: normal;
    
}

.feature-box {
    border: 2px solid #3BB273;
    border-radius: 6px;
    width: 90%;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    
    
}


       
        .feature-box ul {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 0;
    color: #2C3E50;
    font-size: 21.6px;
    padding-top: 20px;
    padding-bottom: 20px;
    


}

.feature-box li {
    margin-bottom: 8px;
}

        .app-section {
            padding: 30px 0;
            background: #388A64;
            background: linear-gradient(to bottom, #3d9b6f 0%, #388A64 50%, #2f7554 100%);
            color:#F9FAFB
        }

        .app-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 30px;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .phone-mockup {
            text-align: right;
            padding-right: 20px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            
        }
    

        .phone-mockup img {
            max-width: 400px;
          
        }


        
       .app-text {
    text-align: left;
    font-size: 18px;
    color: #F9FAFB

    }

    .app-text p {
    margin-bottom: 5px;
    line-height: 0.8;        
}
.app-text p.app-description {
    line-height: 1.4;        /* Jen pro tento konkrétní <p> */
    margin-top: 15px;        /* Volitelně: větší mezera nahoře */
}
.app-text h3 {
    font-size: 31.1px;
   font-weight: normal;
}

        .app-text h2 {
            font-size: 44.79px;
            margin-bottom: 0px;
            font-weight: normal;
        }


        .btn-try {
            background: #A69F95;
            color: #F9FAFB;
            padding: 12px 30px;
            border-radius: 25px;
            text-decoration: none;
            display: inline-block;
            margin-top: 40px;
            font-weight: 500;
            box-shadow: 3px 3px 8px rgba(0,0,0,0.8);
        }

        .note {
            font-size: 18px;
            margin-top: 20px;
            color: #F9FAFB
        }

        .instagram {
            padding: 40px 0;
            background: #F9FAFB;
        }

        .instagram-content {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 100px;
            align-items: center;
             max-width: 1600px;
            margin: 0 auto;

            
        }

.instagram h4 {
            font-size: 18px;
            color: #8E3B46;
            margin-bottom: 20px;
            text-align: center;
            font-weight: normal;
            margin-top: -0px;
            
        }

        .instagram h3 {
            color: #2C3E50;
            font-size: 31.1px;
            line-height: 1.2;
            font-weight: normal;
        }

        .instagram h2 {
            font-size: 44.79px;
            color: #2C3E50;
            font-weight: normal;
        }

    
        .instagram p {
            margin-bottom: 15px;
            color: #2C3E50;
            font-size: 18px;
        }

        .btn-instagram {
            background: #3BB273;
            color: #F9FAFB;
            padding: 12px 30px;
            border-radius: 25px;
            text-decoration: none;
            display: inline-block;
            margin-top: 20px;
            font-weight: 500;
            box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
            font-size: 18px;
             transition: all 0.3s ease;              /* Plynulá animace */
}

.btn-instagram:hover {
    background: #2C3E50;                   
    transform: translateY(-3px);            /* Vysune nahoru */
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4); /* Větší stín */
}
        

        .instagram-image img {
            width: 100%;
            border-radius: 6px;
            max-width: 400px;
            margin-top: 40px;
            margin-bottom: 40px;
        }

        footer {
            background: #388A64;
            background: linear-gradient(to bottom, #3d9b6f 0%, #388A64 50%, #2f7554 100%);
            color: #F9FAFB;
            padding: 20px 0 30px;
            line-height: 0.8;
            
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .footer-content {
            display: flex;
            max-width: 1700px;
            margin: 0 auto;
            margin-left: 60px;
            justify-content: space-between;
            margin-top: 30px;
        }

        .footer-contact h3 {
            font-size: 44.73px;
            margin-bottom: 20px;
        }

        .contact-info {
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
           transition: all 0.3s ease;              /* Plynulá animace */
}

.contact-info:hover {
    color:#2C3E50;                   
}
.contact-info a {
    color: #F9FAFB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #2C3E50;
}

        .footer-right h2 {
            font-size: 44.73px;
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .copyright {
            margin-top: 30px;
            opacity: 0.8;
            font-size: 18px;
        }

/* DESKTOP - výchozí styly (žádná media query) */

.mobile-br {
    display: none;  /* Skryje mobilní br na desktopu */
}

/* NOTEBOOK/TABLET - do 1024px */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .hero-text {
        margin-left: -150px;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }

       .hero-image img {
              width: 100%;
              max-width: 500px;
              object-fit: cover;
              border-radius: 6px;box-shadow: 0 10px 30px rgba(0,0,0,0.8);
              margin-left: 10%;
    
    .about-content, .app-content, 
    
    .instagram-content {
        gap: 60px;
    }
    
    /* Instagram sekce pro mobil */
    .instagram {
    padding: 40px 0;  /* Přidejte celkový padding */
}
    .instagram h4 {
        font-size: 15px;
        margin-top: 10px;  /* Prostor nad h4 */
        margin-bottom: 30px;  /* Prostor pod h4 */
    }
    .instagram h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-top: 20px;  
    margin-bottom: 20px;  /* Prostor mezi h3 a h2 */
}
    .btn-instagram {
        font-size: 15px;  /* Menší text tlačítka */
        padding: 10px 20px;  /* Menší tlačítko */
        margin-top: 15px;
    }
    .feature-column h3,
    .about h2,
    .app-text h2,
    .instagram h2 {
        font-size: 38px;
        margin-top: 30px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
}

/* MOBIL - do 768px */

@media (max-width: 768px) {
    /* Layout */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0 px;
        align-items: start;
    }
    .hero-text {
        grid-row: 2;
        margin-left: -16px;
        margin-top: -125px;
    }
    .about-content,
    .features-grid,
    .app-content,
    .instagram-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
        .desktop-br {
        display: none;  /* Skryje desktop br na mobilu */
    }
    
    .mobile-br {
        display: block;  /* Zobrazí mobilní br */
    }
    
    /* Hero sekce */

    .hero-image {
        grid-column: 1;
        grid-row: 1;
        ;
         }

  .hero-image img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    margin-left: 0;
    
        }

          

    
    .hero-text p {

    margin-left: 0px;
    font-size: 16px;
    margin-top: 0px;
    line-height: 1.2;
    display: block;

    }

    
    .hero-text h1 {
      grid-column: 2;
      grid-row: 1;
        font-size: 23.04px;
        margin-bottom: 0px;
        margin-left: 0px;
        z-index: 10;
        position: relative;
    }
    .hero-text h1 span {
        padding: 4px 10px;  /* Menší padding pro mobil */



    }

.cta-section p {
    font-size: 16px;
    margin-top: -10px;
}

   /* CTA sekce pro mobil */
    .cta-link {
        font-size: 16px; 
        margin-top: 30px; /* Menší text pro mobil */
    }

    /* About sekce pro mobil */
.about{
    margin-top: -40px;
}

.about-image{
    text-align: center;
}

    .about h2 {
        font-size: 23.04px;
        margin-bottom: 20px;
        line-height: 1.2;  /* Normální řádkování */
    }
    
    .about p {
        font-size: 16px;  /
        line-height: 1.2;  /* ZMĚNA z 0.6 na 1.4 - aby se řádky nepřekrývaly */
        margin-bottom: 0px;  /* Mezera mezi odstavci */
    }
    
    .about-image img {
        max-width: 300px;  /* Menší obrázek na mobilu */
        margin: 20px auto;
     display: block;
    }

        /* Features sekce pro mobil - nový přístup */
    .features {
        padding: 20px 0;
        text-align: center;  /* Vycentruje vše */
    }
    
    .features .container {
        padding: 0 40px;  
        margin: 0;
    
    }
    
    .features-grid {
        display: block;  /* Změna na block */
        padding: 0;  /* Stejný padding zleva i zprava */
    }
    
    .feature-column {
        margin: 0 auto 40px;  /* Vycentruje každý sloupec */
        max-width: 100%;
        width: calc(100% - 40px);  /* 100% mínus padding */
    }
    
    .feature-box {
        text-align: left;  /* Text uvnitř vlevo */
        margin: 0 auto;
        width: 90%;
       padding: 5px 15px;
    }
    
    .feature-column h3 {
        text-align: center;  /* Nadpis na střed */

    }

 .feature-box ul {
        font-size: 16px;  /* ZMĚNA z 16px - text v seznamu */
        line-height: 1.5;  /* Přidáno řádkování */
        padding-left: 30px;
        margin: 0;
    }
    
    .feature-box li {
        margin-bottom: 10px;  /* Mezera mezi položkami */
    }

        /* App section pro mobil */
    .phone-mockup {
        text-align: center;  /* Vycentruje obrázek */
        padding: 0;
        justify-content: center;
        margin: 0 auto;
    }

     /* Instagram sekce pro mobil */
    .instagram h4 {
        font-size: 16px;  /* Menší nadpis */
        margin-bottom: 25px;
    }
    
    .instagram h3 {
        font-size: 19.2px;  /* Menší nadpis */
        line-height: 1.3;
        margin-top: 0px;
        margin-bottom: 10px;
    }
    
    .instagram h2 {
        font-size: 27.65px;  /* Už máte v Nadpisy - lze změnit */
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .instagram p {
        font-size: 16px;  /* Menší text */
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .btn-instagram {
        font-size: 16px;  /* Menší tlačítko */
        padding: 10px 25px;
    }
    
.instagram-image {
    text-align: center;
}

    .instagram-image img {
        max-width: 300px;
        margin:20px auto
        display: block;
    }
    
    
    .phone-mockup img {
        max-width: 250px;  /* Upravte velikost dle potřeby */
        margin: 0 auto;
    }
    
    .app-text h3 {
        font-size: 19.2px;  /* Menší nadpis */
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .app-text h2 {
        font-size: 27.65px;  /* Menší nadpis */
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .app-text p {
        font-size: 16px;  /* Menší text */
        line-height: 1.4;  /* Normální řádkování */
        margin-bottom: 8px;
    }
    
    .app-text p.app-description {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 0px;
    }

        .btn-try {
        font-size: 16px;  /* Menší text */
        padding: 10px 20px;  /* Menší padding */
    }
    
    .note {
        font-size: 13.33px;  /* Menší poznámka */
        line-height: 1.4;
    }


        /* Footer pro mobil */
    .footer-content {
        text-align: center;  /* Vycentruje vše */
        gap: 30px;
        margin-left: 0;  /* Odstraní levý margin */
        flex-direction: column;
        margin-top:30px ;
    }
    
    .footer-contact h3 {
        font-size: 27.65px;  /* Menší nadpis */
        margin-bottom: 15px;
    }
    
    .footer-contact p {
        font-size: 16px;  /* Menší text */
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .footer-right h2 {
        font-size: 27.65px;  /* Menší nadpis */
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .copyright {
        font-size: 13.33px;  /* Menší copyright */
        margin-top: 20px;
    }
    
    /* Nadpisy */
    .feature-column h3,
    .about h2,
    .app-text h2,
    .instagram h2 {
        font-size: 27.65px;
    }
    
    /* Logo */
    .logo {
        margin-right: auto;
    }
    .logo img {
        height: 70px;
        margin-left: -30px;
        margin-right: 0;
    }
    
    /* Navigace a hamburger menu */
    .header-content {
        position: relative;
        justify-content: space-between;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .hamburger {
        display: flex !important;  /* OPRAVENO: flex místo none */
        order: 2;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #F9FAFB;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 20px;
        justify-content: flex-start;
        align-items: stretch;
    }
    
    nav.active {
        right: 0;
    }
    
    nav a:not(.btn-app) {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        font-size: 16px;
    }
    
    /* Tlačítko v headeru pro mobil */

    .header-right .btn-app {
        display: none !important;  /* Skryje tlačítko */

  .header-right .btn-app {
    display: inline-block !important;
    font-size: 16px;
    padding: 8px 15px;
    order: 1;
    font-size: 0;  /* Skryje původní text */
}

.header-right .btn-app::before {
    content: "App Gaido";  /* Nový text */
    font-size: 16px;  /* Vrátí velikost písma */
}
    
    /* Další mobilní styly */
    body {
        font-size: 16px;
    }
    
    .phone-mockup img {
        max-width: 300px;
    }
    
    .feature-box {
        height: auto;
        padding: 20px;
    }
    
    .feature-box ul {
        font-size: 16px;
    }
}

/* Hamburger menu styly (mimo media query) */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2C3E50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

nav a[href="#app"] {
    display: none;
}

</style>