/* ============================================
   KOMPLETNÍ CSS - DORTY NA POSLEDNÍ CHVÍLI
   ============================================ */

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f8f8f8;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVIGACE
   ============================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    background: #535848;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 130px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 23px;
    transition: color 0.3s ease;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.underline-hover {
    position: relative;
}

.underline-hover:hover a {
    color: #f5d6a1;
}

/* Dropdown styly */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #535848;
    min-width: 200px;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #535848;
    min-width: 180px;
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    list-style: none;
}

.dropdown-submenu:hover .submenu {
    display: block;
}

.dropdown-content > li > a,
.submenu > li > a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.dropdown-content > li > a:hover,
.submenu > li > a:hover {
    background-color: #6e7360;
}

.dropdown-submenu > a {
    position: relative;
}

.dropdown-submenu > a::after {
    content: '▸';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HERO SEKCE
   ============================================ */
.hero-section {
    padding: 180px 0 80px;
    background: #fff;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #86855f;
    color: white;
}

.btn-primary:hover {
    background: #9b9a6b;
}

.btn-outline {
    background: transparent;
    color: #86855f;
    border: 1px solid #86855f;
}

.btn-outline:hover {
    background: #86855f;
    color: white;
}

.hero-image {
    position: relative;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-position: center;
    object-fit: cover;
    border-radius: 10px;
}

/* ============================================
   INFO SEKCE
   ============================================ */
.info {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
    width: 100%;
}

.info .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #d4a574;
    border-radius: 50%;
    margin-bottom: 20px;
}

.info .contact-icon i {
    font-size: 28px;
    color: white;
}

.info h1 {
    font-size: 2rem;
    color: #8b7355;
    margin-bottom: 50px;
    font-weight: 600;
}

.info-container1 {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.info-box {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    background-color: white;
    border: 2px solid #d4a574;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: transparent;
    border: 2px solid #d4a574;
    border-radius: 50%;
    margin-bottom: 20px;
}

.info-icon i {
    font-size: 32px;
    color: #8b7355;
}

.info-box h3 {
    font-size: 1.5rem;
    color: #8b7355;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-box p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   GALERIE
   ============================================ */
.order-section {
    background: #fff;
    padding: 40px 0;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 64px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 500px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
}

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

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(134, 133, 95, 0.2);
}

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

/* ============================================
   KORPUSY (NABÍDKA DORTŮ)
   ============================================ */
.korpusy {
    background-color: #ffffff;
    padding: 3rem 1rem;
    width: 100%;
}

.wrapper {
    max-width: 55%;
    width: 100%;
    margin: auto;
}

.wrapper h1 {
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: #000000;
    font-weight: 400;
    font-size: 2rem;
}

.korpusy-container {
    position: relative;
    margin-bottom: 25px;
    border-radius: 10px;
    background-color: #fff;
    border: solid #d9baa6 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.druhy-korpusu,
.druhy-korpusu2 {
    background-color: #fff;
    color: #111;
    font-size: 1rem;
    width: 100%;
    padding: 1.5rem 2rem;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-weight: 500;
}

.cena-dortu {
    color: rgb(255, 255, 255);
    font-size: 18px;
    background-color: #86855e;
    border-radius: 10px;
    padding: 5px 20px;
    white-space: nowrap;
}

.hit-badge-corner,
.hit-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d1b7a1;
    color: #fff;
    font-weight: bold;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1;
    z-index: 1;
}

/* ============================================
   INFO O DORTECH
   ============================================ */
.info-dorty {
    background: #fff;
    padding: 0 1rem 4rem 1rem;
    width: 100%;
}

.info-wrapper {
    max-width: 900px;
    width: 100%;
    margin: auto;
    border: 3px solid #d1b7a1;
    border-radius: 10px;
    padding: 2rem;
}

.info-wrapper h2 {
    text-align: center;
    color: #86855e;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-container {
    display: grid;
    gap: 2rem;
}

.info-column h3 {
    font-size: 1.2rem;
    color: #86855e;
    margin-bottom: 1rem;
}

.info-column ul {
    list-style: disc;
    padding-left: 1.5rem;
    line-height: 1.8;
}

.info-column ul li {
    margin-bottom: 0.5rem;
}

/* ============================================
   DOPLŇKOVÉ SLUŽBY
   ============================================ */
.sluzby {
    background: #f9f9f9;
    padding: 3rem 1rem;
    width: 100%;
}

.sluzby-wrapper {
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.sluzby-wrapper h2 {
    text-align: center;
    color: #86855e;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.sluzby-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.sluzba-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #d1b7a1;
    border-radius: 10px;
    background: #fff;
    padding: 1rem 1.2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.sluzba-item .plus {
    font-weight: bold;
    font-size: 1.2rem;
    color: #86855e;
}

.sluzba-item .text {
    flex: 1;
    font-size: 1rem;
    color: #333;
    min-width: 150px;
}

.sluzba-item .cena {
    background: #f8f6ed;
    border: 1px solid #86855e;
    border-radius: 10px;
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
    color: #333;
    white-space: nowrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: #000000;
    color: #ffff;
    padding: 60px 40px 30px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffff;
}

.footer-text {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.instagram-icon {
    width: 37px;
    height: auto;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.instagram-icon:hover {
    opacity: 0.8;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.social-icon:hover {
    background-color: #ffffff;
    color: #222;
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #86855f;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(134, 133, 95, 0.3);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #9b9a6b;
    transform: translateY(-5px);
}

/* ============================================
   RESPONZIVNÍ ÚPRAVY
   ============================================ */

/* Tablety - do 1024px */
@media screen and (max-width: 1024px) {
    /* .nav {
        padding: 0.5rem 2rem 0.5rem 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 20px;
    } */
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .wrapper {
        max-width: 70%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablety - do 768px */
@media screen and (max-width: 768px) {
    /* .nav {
        padding: 0.5rem 1rem;
    }
    
    .logo img {
        width: 100px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: #535848;
        width: 100%;
        height: 100%;
        padding: 80px 2rem 2rem 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        font-size: 20px;
        display: block;
        padding: 12px 0;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .underline-hover::after {
        display: none;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        background-color: rgba(255,255,255,0.1);
        box-shadow: none;
        margin-top: 10px;
        border-radius: 8px;
        padding: 8px 0;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content > li > a {
        padding: 10px 15px;
        font-size: 18px;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .dropdown-submenu .submenu {
        position: static;
        margin-left: 20px;
        margin-top: 10px;
        background-color: rgba(255,255,255,0.08);
        border-radius: 6px;
        padding: 6px 0;
    }
    
    .submenu > li > a {
        font-size: 16px;
        line-height: 1.4;
        padding: 8px 12px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .dropdown-submenu.active .submenu {
        display: block;
    }
    
    .dropdown-submenu > a::after {
        content: '▼';
    } */
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 500px;
        padding-top: 40px;
        object-position: center 70%;
    }
    
    .info {
        padding: 40px 15px;
    }
    
    .info h1 {
        font-size: 1.7rem;
    }
    
    .info-container1 {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .info-box {
        max-width: 100%;
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding-bottom: 50px;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .wrapper {
        max-width: 90%;
    }
    
    .wrapper h1 {
        font-size: 1.7rem;
    }
    
    .druhy-korpusu,
    .druhy-korpusu2 {
        padding: 1.2rem 1.3rem;
        font-size: 0.95rem;
    }
    
    .cena-dortu {
        font-size: 16px;
    }
    
    .info-wrapper h2,
    .sluzby-wrapper h2 {
        font-size: 1.6rem;
    }
    
    .info-column h3 {
        font-size: 1.1rem;
    }
    
    .sluzby-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Mobilní telefony - do 480px */
@media screen and (max-width: 480px) {
    /* .logo img {
        width: 80px;
    }
    
    .nav-links {
        padding: 70px 2rem 2rem 2rem;
    }
    
    .nav-links a {
        font-size: 18px;
    }
    
    .dropdown-content > li > a {
        font-size: 16px;
    }
    
    .submenu > li > a {
        font-size: 14px;
    } */
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }
    
    .hero-image img {
        height: 280px;
    }
    
    .info {
        padding: 35px 10px;
    }
    
    .info h1 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .info-box {
        padding: 25px 15px;
        min-width: 100%;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-icon i {
        font-size: 28px;
    }
    
    .info-box h3 {
        font-size: 1.25rem;
    }
    
    .info-box p {
        font-size: 0.95rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 40px;
    }
    
    .gallery-item {
        height: 320px;
    }
    
    .korpusy {
        padding: 2.5rem 0.8rem;
    }
    
    .wrapper {
        max-width: 95%;
        padding: 0;
    }
    
    .wrapper h1 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .korpusy-container {
        margin-bottom: 18px;
    }
    
    .druhy-korpusu,
    .druhy-korpusu2 {
        padding: 1rem 1rem;
        font-size: 0.9rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
    
    .cena-dortu {
        font-size: 14px;
        padding: 4px 12px;
        align-self: flex-start;
    }
    
    .hit-badge-corner,
    .hit-icon {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        top: 8px;
        right: 8px;
    }
    
    .info-dorty {
        padding: 0 0.8rem 3rem 0.8rem;
    }
    
    .info-wrapper {
        padding: 1.3rem;
    }
    
    .info-wrapper h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .info-container {
        gap: 1.5rem;
    }
    
    .info-column h3 {
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
    }
    
    .info-column ul {
        font-size: 0.9rem;
        padding-left: 1.2rem;
        line-height: 1.7;
    }
    
    .sluzby {
        padding: 2.5rem 0.8rem;
    }
    
    .sluzby-wrapper h2 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .sluzby-grid {
        gap: 1rem;
    }
    
    .sluzba-item {
        padding: 0.8rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    
    .sluzba-item .plus {
        font-size: 1.1rem;
    }
    
    .sluzba-item .text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .sluzba-item .cena {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
    }
    
    footer {
        padding: 40px 15px 25px;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 1.15rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Extra malé mobily - do 360px */
@media screen and (max-width: 360px) {
    /* .logo img {
        width: 70px;
    }
    
    .nav-links a {
        font-size: 16px;
    }
     */
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .info h1 {
        font-size: 1.3rem;
    }
    
    .info-box h3 {
        font-size: 1.15rem;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .wrapper h1 {
        font-size: 1.35rem;
    }
    
    .druhy-korpusu,
    .druhy-korpusu2 {
        font-size: 0.85rem;
        padding: 0.9rem;
    }
    
    .cena-dortu {
        font-size: 13px;
        padding: 3px 10px;
    }
    
    .info-wrapper h2,
    .sluzby-wrapper h2 {
        font-size: 1.25rem;
    }
    
    .info-column ul,
    .sluzba-item .text {
        font-size: 0.85rem;
    }
    
    .footer-logo {
        font-size: 1.35rem;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}