/* Hero Section */
.hero-section {
    background-color: var(--cream-bg);
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 1248px;
    margin: 0 auto;
}

/* Hero Logo */
.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    height: 120px;
    width: auto;
    margin: 0 auto;
}

/* Hero Text */
.hero-text {
    margin-bottom: 3rem;
}

.hero-text p {
    line-height: var(--leading-relaxed);
    color: var(--dark-gray);
    font-weight: var(--font-normal);
    letter-spacing: 0.3px;
}

/* Hero Gallery */
.hero-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery positioning */
.gallery-left {
    flex: 1;
    aspect-ratio: 3/4;
    transform: rotate(-5deg) translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-center {
    flex: 1.2;
    aspect-ratio: 3/4;
}

.gallery-right {
    flex: 1;
    aspect-ratio: 3/4;
    transform: rotate(5deg) translateY(20px);
    transition: transform 0.3s ease;
}



/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-logo img {
        height: 100px;
    }
    
    .gallery-left,
    .gallery-right {
        width: 240px;
        height: 340px;
    }
    
    .gallery-center {
        width: 280px;
        height: 380px;
    }
    
    .hero-gallery {
        gap: 1.5rem;
    }
}

/* Hero slider pro mobile */
.hero-slider-wrapper {
    display: none;
    width: 100%;
    position: relative;
}

.hero-slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar in Chrome/Safari */
.hero-slider-container::-webkit-scrollbar {
    display: none;
}

.hero-slider {
    display: flex;
    gap: 16px; /* 16px mezera mezi obrázky */
    padding-right: 2rem; /* Padding na konci pro lepší UX */
    transition: none; /* Disable animations for freeMode */
    transform: none !important; /* Cancel JavaScript transform */
}

.hero-slide {
    flex: 0 0 calc(90.91% - 14.55px); /* 90.91% = 100% / 1.1, minus gap proportion */
    min-width: calc(90.91% - 14.55px);
}

.hero-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* Progress bar */
.slider-progress {
    display: none;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-top: 20px;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: var(--primary-green);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.gallery-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-logo {
        display: none;
    }
    
    /* Header na mobilu */
    .header {
        background: var(--cream-bg) !important;
        box-shadow: none !important;
    }
    
    .header.scrolled {
        box-shadow: 0 4px 20px var(--shadow-hover) !important;
    }
    
    .logo-mobile img {
        transition: height 0.3s ease !important;
    }
    
    .header.scrolled .logo-mobile img {
        height: 50px !important; /* Zmenšené logo po scrollnutí */
    }
    
    .hero-text p {
        padding: 0 1rem;
    }
    
    .hero-gallery {
        margin-top: 2rem;
        overflow: visible;
    }
    
    .hero-slider-wrapper {
        display: block;
    }

    .slider-progress {
        display: block;
    }

    .gallery-desktop {
        display: none;
    }
    
    
    .gallery-image:hover {
        transform: none !important;
    }
    
    .info-left {
        margin-bottom: 0 !important;
    }
    
}

@media (max-width: 480px) {
    .hero-logo img {
        height: 60px;
    }
}

/* Info Section */
.info-section {
    background-color: var(--cream-bg);
    padding: 4rem 0;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: flex-start;
    max-width: 1248px;
    margin: 0 auto;
    position: relative;
}


/* Info Left Section */
.info-left-section {
    display: flex;
    flex-direction: column;
}

.info-left {
    margin-bottom: 3rem;
}

.info-title {
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.info-description {
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-weight: var(--font-normal);
}

/* Info Divider */
.info-divider {
    position: relative;
    display: flex;
    flex-direction: column;
}

.divider-line {
    display: none;
}


.info-details p {
    color: var(--dark-gray);
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--cream-bg);
    padding: 1rem 1.5rem;
    border: 1px solid var(--dark-gray);
}

.info-details p:first-child {
    border-bottom: none;
}

.info-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.info-icon-green {
    filter: brightness(0) saturate(100%) invert(43%) sepia(9%) saturate(1458%) hue-rotate(69deg) brightness(96%) contrast(91%);
}

/* Info Buttons */
.info-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1;
}

.info-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--cream-bg);
    border: 1px solid var(--dark-gray);
    border-top: none;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.info-button:first-child {

}

.info-button:hover {
    background-color: var(--primary-green);
    color: white;
}

.button-arrow {
    background-image: url('/images/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 2rem;
    height: 2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.info-button:hover .button-arrow {
    transform: translateX(5px);
    background-image: url('/images/arrow-right-white.svg');
}

/* Info Right */

.info-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Menu Section */
.menu-section {
    padding: 6rem 0;
    background-color: var(--cream-bg);
}

.menu-content {
    margin: 0;
}

.menu-title {
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    text-align: left;
    letter-spacing: 2px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr 2fr .2fr;
    align-items: center;
    gap: 2rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--dark-gray);
    cursor: pointer;
    transition: background-color 0.3s ease;
    overflow: visible;
}

.menu-item-title {
    font-weight: 500;
    color: var(--dark-gray);
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    border-right: 1px solid var(--dark-gray);
    padding: 2rem 0;
}

.menu-item-time {
    color: var(--dark-gray);
    opacity: 0.8;
    margin: 0;
    transition: transform 0.3s ease;
    border-right: 1px solid var(--dark-gray);
    padding: 2rem 0;
}


.menu-item-arrow {
    color: var(--dark-gray);
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-arrow {
    transform: translateX(3px);
}

/* Homepage News Section */
.news-title-homepage{
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Homepage Lounge Section */
.lounge-section {
    padding: 6rem 0;
	background-color: var(--cream-bg);
}

.lounge-content {
    margin: 0;
}

.lounge-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    align-items: center;
}

.lounge-text {
    flex: 1;
}

.lounge-button-wrapper {
    display: flex;
    align-items: flex-start;
}

.lounge-title {
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.lounge-description {
    line-height: 1.6;
    color: var(--dark-gray);
    font-weight: var(--font-normal);
    width: 75%;
}

.lounge-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--black);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: fit-content;
}

.lounge-button:hover {
    background-color: var(--dark-gray);
}

.lounge-button .button-arrow::after {
    content: '→';
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.lounge-button:hover .button-arrow::after {
    transform: translateX(5px);
}

.lounge-gallery-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

/* Lounge slider styles */
.lounge-slider-wrapper {
    position: relative;
    width: 100%;
    display: none;
}

.lounge-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.lounge-slider {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1rem;
}

.lounge-slide {
    flex: 0 0 calc(33.333% - 0.67rem);
    min-height: 200px;
}

.lounge-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

.slider-progress {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.slider-progress-bar {
    height: 100%;
    background: var(--primary-green);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 2px;
}

.lounge-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.lounge-image:hover img {
    transform: scale(1.05);
}


.lounge-carousel-track {
    display: flex;
    will-change: transform;
}

.lounge-carousel-image {
    flex: none;
    width: 85%;
    margin-right: 1rem;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.lounge-carousel-image:last-child {
    margin-right: 0;
}

.lounge-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Section Responsive */
@media (max-width: 1024px) {
    .info-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .info-section {
        padding: 3rem 0;
    }
    
    .info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-title {
        text-align: center;
    }
    
    .info-description {
        text-align: center;
        padding: 0 1rem;
    }
    
    .info-details {
        text-align: left;
    }
    
    .info-details p {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding: 2rem 0;
    }
    
    
    .info-button {
        padding: 0.8rem 1rem;
    }
    
    .menu-section {
        padding: 1rem 0 3rem 0;
    }
    
    .menu-title {
        margin-bottom: 1.5rem;
        text-align: center;
        
    }
    
    .menu-item {
        padding: 0;
        grid-template-columns: 1fr auto;
        border: 1px solid var(--dark-gray);
        border-bottom: none;
    }
    
    .menu-item:last-child{
        border-bottom: 1px solid var(--dark-gray);
    }
    
    .menu-item-title {
        font-weight: 500;
        letter-spacing: 0.5px;
        border-right: none;
        padding: 1rem 1rem;
    }
    
    .menu-item-time {
        display: none;
    }
    
    .menu-item-arrow {
        padding: 1rem 1rem;
    }
    
    .lounge-section {
        padding: 3rem 0;
    }
    
    .lounge-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .lounge-button-wrapper {
        justify-content: center;
        padding-top: 0;
    }
    
    .lounge-title {
        margin-bottom: 1.5rem;
    }
    
    .lounge-description {
        margin: 0;
        width: 100%;
    }
    
    .lounge-button {
        padding: 0.8rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
    
    .lounge-gallery-desktop {
        display: none;
    }
    
    .lounge-slider-wrapper {
        display: block;
    }
    
    /* Hide arrows on mobile */
    .lounge-slider-wrapper .slider-arrow {
        display: none;
    }
    
    /* Show progress bar on mobile */
    .lounge-slider-wrapper .slider-progress {
        display: block;
    }
    
    /* Mobile freeMode slider */
    .lounge-slider-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    /* Hide scrollbar in Chrome/Safari */
    .lounge-slider-container::-webkit-scrollbar {
        display: none;
    }
    
    /* Mobile slider settings */
    .lounge-slider {
        transition: none; /* Disable animations for freeMode */
        transform: none !important; /* Cancel JavaScript transform */
        gap: 1rem;
        padding-right: 2rem; /* Padding at the end for better UX */
    }
    
    /* Mobile slide width - show 1.1 slides */
    .lounge-slide {
        flex: 0 0 calc(90.91% - 0.9rem); /* 90.91% = 100% / 1.1, minus gap */
        min-width: calc(90.91% - 0.9rem);
    }
}