/* Základní resetování */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

/* Barevné proměnné */
:root {
    /*** COLORS ***/
    --primary-color: #c59e2d;
    /* Golden */
    --primary-color-light: #dabb5d;
    /* Lighter Golden for hover */
    --secondary-color: #2e444f;
    /* Dark Blue */
    --black-color: #000;
    --white-color: #fff;
}

/*** RESUABLE ***/
.row {
    width: 1140px;
    margin: 0 auto;
}

/* Nadpisy - tmavě modré, tučné */
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 5rem;
    /* Dvakrát větší nadpisy */
    margin-bottom: 2rem;
}

h3 {
    font-size: 3.6rem;
    /* Dvakrát větší nadpisy */
}

/* Základní styly pro odkazy a tlačítka v celém dokumentu */
a:not(.nav-link),
.btn:not(.navbar-toggler) {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:not(.nav-link):hover,
.btn:not(.navbar-toggler):hover {
    color: var(--primary-color-light);
}

/* Tlačítka s primární barvou */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color) !important;
    /* Bílý font na tlačítkách s !important pro přepsání Bootstrapu */
    font-weight: 800;
}

.btn-primary:active,
.btn-primary:focus {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-color-light);
    border-color: var(--primary-color-light);
    color: var(--white-color) !important;
    /* Bílý font zůstává při hoveru */
}

/*** HEADER 
header {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url(img/dimusum-background-asijske-knedlicky.jpg);
    background-color: var(--black-color);
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
} ***/

.header-text h1 {
    color: var(--white-color);
    font-size: 8rem;
    /* Dvakrát větší */
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
    /* Extra tučné */
}

/* Navigace - vždy černá */
.nav-bar {
    background-color: var(--black-color) !important;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Úprava hamburgeru - pouze ikona bez pozadí */
.navbar-toggler {
    background-color: transparent;
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--white-color) !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    /* Zlatá barva při hoveru */
}

/* Pro mobilní zobrazení - menu pod sebou */
@media (max-width: 767.98px) {
    #mainNav.show {
        display: block !important;
    }

    #mainNav ul {
        flex-direction: column;
        align-items: center;
    }

    #mainNav ul li {
        margin-bottom: 0.5rem;
    }
}

/* Specifické styly pro lokace 
.location-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url(photos/dimsumspot-andel-00.webp);
    background-size: cover;
    background-position: center;
    height: 100vh;
    /* Full-screen jako homepage
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* Obecný header */
header {
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specifické pozadí pro hlavní stránku */
.header-home {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url(img/dimusum-background-asijske-knedlicky.jpg);
    background-color: var(--black-color);
}

/* Specifické pozadí pro Anděl */
.header-andel {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url(photos/dimsumspot-andel-00.webp);
    background-color: var(--black-color);
    background-size: cover;
}

/* Specifické pozadí pro Letná */
.header-letna {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url(photos/dimsumspot-letna-00.webp);
    background-color: var(--black-color);
    background-size: cover;
}

/* Specifické pozadí pro Palackého */
.header-palackeho {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url(photos/dimsumspot-palackeho-00.webp);
    background-color: var(--black-color);
    background-size: cover;
}

/* Specifické pozadí pro Liberec */
.header-liberec {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)), url(photos/dimsumspot-liberec-00.webp);
    background-color: var(--black-color);
    background-size: cover;
}

/* Sekce O nás s SVG logem na pozadí */
.about-us {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.about-us::before {
    content: "";
    position: absolute;
    background-image: url('favicon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    /* Změněno z 80% na contain pro celé logo */
    background-position: center;
    /* Centrujeme logo */
    opacity: 0.1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Restaurační info sekce */
#restaurant-info {
    padding: 5rem 0;
}

/* Info sekce pro pobočku */
.branch-info {
    font-size: 1.2rem;
    line-height: 1.8;
}

.branch-info p {
    margin-bottom: 1.5rem;
}

.branch-info strong {
    color: var(--secondary-color);
    font-weight: 800;
}

.opening-hours {
    margin-bottom: 1.5rem;
}

.opening-hours td:first-child {
    font-weight: 800;
    padding-right: 15px;
}

.opening-hours td {
    padding-bottom: 5px;
}

.contact-info {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-info:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-info h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-info a {
    font-size: 1.2rem;
    font-weight: 800;
}

/* Opravený styl pro kruhové ikony - modré pozadí, bílé ikony, po najetí zlaté pozadí */
.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* Pro vertikální centrování všech ikon */
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    /* tmavě modré pozadí (secondary) */
    border-radius: 50%;
    font-size: 1.5rem;
    margin-right: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Barva samotných ikon na bílou */
.icon-circle i {
    color: var(--white-color);
}

/* Při najetí změna pozadí na zlatou (primary) */
.icon-circle:hover {
    background-color: var(--primary-color);
}

/* Ikony zůstanou bílé i při hoveru */
.icon-circle:hover i {
    color: var(--white-color);
}

/* Pro obrázek ve Wolt ikoně - oprava vertikálního zarovnání */
.icon-img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    /* Zachová poměr stran */
    filter: brightness(0) invert(1);
    /* Převod barevného loga na bílé */
}

/* Oprava zobrazení ikon v řádku */
.delivery-services,
.social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Kruhové obrázky se zlatým ohraničením */
.circle-image {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Sekce s restauracemi */
.restaurants {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* Restaurant circles */
.restaurant-circle {
    text-align: center;
    transition: transform 0.3s ease;
}

.restaurant-circle:hover {
    transform: translateY(-10px);
}

.restaurant-circle img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-color);
}

.restaurant-circle h3 {
    margin-bottom: 0.3rem;
}

/* Menu sekce - světlejší pozadí pro lepší čitelnost */
#menu {
    background-color: var(--white-color);
}

/* Záložky menu */
.nav-tabs {
    border-bottom: 2px solid var(--primary-color);
}

.nav-tabs .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 800;
    border: none;
    padding: 0.8rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: var(--white-color) !important;
    background-color: var(--primary-color);
    border: none;
}

.nav-tabs .nav-link:hover:not(.active) {
    border-color: transparent;
    color: var(--primary-color) !important;
}

/* Tabulky menu */
.table {
    color: var(--secondary-color);
}

.table thead th {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 800;
    text-transform: uppercase;
    border: none;
}

.table tbody tr:hover {
    background-color: rgba(197, 158, 45, 0.1);
}

/* Mapa na plnou šířku */
.map-full-width {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.map-full-width iframe {
    width: 100vw;
    height: 500px;
    border: 0;
}

/* Gallery section - nová implementace */
.gallery {
    padding: 5rem 0;
    background-color: var(--black-color);
}

.gallery h2 {
    color: var(--white-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 80%;
    height: 80%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--white-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white-color);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Footer */
footer {
    background-color: var(--secondary-color) !important;
}

.amenities-list {
    list-style: none;
    padding-left: 0;
}

.amenities-list li {
    margin-bottom: 0.5rem;
}

/* Vylepšení seznamu v patičce */
.amenities-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Rozdělí seznam na dva sloupce */
    gap: 10px 20px;
    /* Mezery mezi položkami (řádky mezery, sloupce mezery) */
}

.amenities-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.amenities-list i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

/* Pro mobilní zařízení - jeden sloupec */
@media (max-width: 576px) {
    .amenities-list {
        grid-template-columns: 1fr;
    }
}

/* Karusel s galerií v pobočce */
.restaurant-gallery {
    background-color: var(--black-color);
}

.carousel-inner {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px;
    }
}

/* Responsive fixes */
@media (max-width: 992px) {
    .row {
        width: 100%;
        padding: 0 15px;
    }

    .header-text h1 {
        font-size: 6rem;
    }

    h2 {
        font-size: 3.5rem;
    }

    h3 {
        font-size: 2.5rem;
    }

    .circle-image {
        width: 250px;
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    .location-header {
        height: 70vh;
    }

    .circle-image {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Voucherino wrapper styling */
.voucherino-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--white-color) !important; /* Bílé pozadí */
    padding: 5rem 0;
}

/* Rezervační widget */
#reservation {
    background-color: #f8f9fa;
}

.reservation-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Override stylů widgetu pokud potřeba */
.reservation-wrapper iframe {
    border: none;
    min-height: 500px;
}

@media (max-width: 768px) {
    .reservation-wrapper {
        padding: 1rem;
    }
}