/* ========================================
   Lonkova Caffe - Homepage Stylesheet
   ======================================== */

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(62, 39, 35, 0.7) 0%,
        rgba(45, 74, 62, 0.5) 50%,
        rgba(62, 39, 35, 0.6) 100%
    );
}

/* Dekorativni listy - skryte pri pouziti foto pozadi */
.leaf-decoration {
    display: none;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--leaf-medium);
    color: var(--paper);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--paper);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 .accent {
    text-transform: lowercase;
    color: var(--gold-soft);
    font-style: italic;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--cream);
    font-style: italic;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== O NAS ========== */
.about {
    background: var(--paper);
    position: relative;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 20px 20px 60px 20px;
    position: relative;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 180px;
    height: 180px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--rust-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--rust-medium);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1rem;
    color: var(--rust-dark);
    margin-bottom: 0.25rem;
}

.about-feature-text p {
    font-size: 0.85rem;
    color: var(--rust-light);
    margin: 0;
}

/* ========== MENU ========== */
.menu {
    background: var(--cream);
    position: relative;
}

.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--paper), transparent);
}

.menu-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-category {
    background: var(--paper);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(62, 39, 35, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(62, 39, 35, 0.1);
}

.menu-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--leaf-light), var(--leaf-medium));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.menu-category h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--rust-dark);
    margin-bottom: 1rem;
}

.menu-items {
    list-style: none;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--cream-dark);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-name {
    font-weight: 500;
    color: var(--rust-medium);
}

.menu-item-price {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--copper);
}

/* Menu tags */
.menu-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    background: var(--leaf-medium);
    color: white;
    margin-left: 0.35rem;
    vertical-align: middle;
}

/* ========== NEWS / AKCE & NOVINKY ========== */
.news {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.news::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--copper) 0%, transparent 70%);
    opacity: 0.06;
    pointer-events: none;
}

.news::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--leaf-medium) 0%, transparent 70%);
    opacity: 0.08;
    pointer-events: none;
}

/* News Carousel */
.news-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.news-swiper {
    overflow: hidden;
}

.news-swiper .swiper-slide {
    width: 360px;
    height: auto;
}

/* Center items when 3 or fewer */
.news-few-items .swiper-wrapper {
    justify-content: center;
}

.news-items-1 .swiper-wrapper {
    justify-content: center;
}

.news-items-2 .swiper-wrapper {
    justify-content: center;
    gap: 24px;
}

.news-items-3 .swiper-wrapper {
    justify-content: center;
    gap: 24px;
}

/* Navigation arrows */
.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--rust-dark);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.news-nav:hover {
    background: var(--copper);
    color: white;
}

.news-nav svg {
    width: 24px;
    height: 24px;
}

.news-nav-prev {
    left: 0;
}

.news-nav-next {
    right: 0;
}

.news-nav.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.news-nav.swiper-button-disabled:hover {
    background: var(--white);
    color: var(--rust-dark);
}

/* Show more button */
.news-more {
    text-align: center;
    margin-top: 3rem;
}

.news-empty {
    text-align: center;
    color: var(--rust-medium);
    padding: 3rem;
    font-style: italic;
}

/* News Card - Modern design */
.news-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.9rem;
    background: var(--leaf-medium);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.news-card-badge::before {
    content: '✦';
    font-size: 0.55rem;
}

.news-card-badge.accent {
    background: var(--copper);
}

.news-card-badge.accent::before {
    content: '★';
}

.news-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--rust-dark);
    margin-bottom: 1rem;
    line-height: 1.35;
    font-weight: 600;
}

.news-card p {
    color: var(--rust-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: auto;
}

.news-card time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--rust-light);
    font-weight: 500;
}

.news-card time::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b7355' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--copper);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-card-link:hover {
    color: var(--copper-dark);
    gap: 10px;
}

.news-card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-card-link:hover::after {
    transform: translateX(3px);
}

/* ========== PARTIES SECTION ========== */
.parties {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--rust-dark) 0%, var(--rust-medium) 100%);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.parties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.parties-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.parties-content .section-label {
    color: var(--copper-light);
}

.parties-content .section-title {
    color: var(--paper);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.parties-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.parties-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.parties-features li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.parties-features li:last-child {
    border-bottom: none;
}

.parties-image {
    position: relative;
}

.parties-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.parties-image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ========== KONTAKT ========== */
.contact {
    background: var(--paper);
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--rust-dark);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--rust-medium);
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--leaf-medium);
    margin-bottom: 0.25rem;
}

.contact-item-text p {
    color: var(--rust-medium);
    font-size: 1.05rem;
}

.contact-item-text a {
    color: var(--rust-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-text a:hover {
    color: var(--leaf-medium);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--rust-dark);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    background: var(--copper);
    transform: translateY(-3px);
}

.contact-hours {
    background: var(--cream);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-hours h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--rust-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hours-list {
    list-style: none;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
    color: var(--rust-medium);
}

.hours-time {
    color: var(--leaf-medium);
    font-weight: 600;
}

.hours-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--paper);
    border-radius: 10px;
    border-left: 3px solid var(--copper);
    font-size: 0.9rem;
    color: var(--rust-light);
}

/* ========== CONTACT MAP ========== */
.contact-map {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.contact-map iframe {
    width: 100%;
    box-shadow: 0 10px 40px rgba(62, 39, 35, 0.1);
}

/* ========== RESPONSIVE - HOME ========== */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .parties-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .parties-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .parties-content .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .about-badge {
        width: 120px;
        height: 120px;
        right: 0;
    }

    /* News carousel mobile */
    .news-carousel-container {
        padding: 0 1rem;
    }

    .news-swiper .swiper-slide {
        width: 300px;
    }

    .news-nav {
        display: none;
    }

    .news-few-items .swiper-wrapper,
    .news-items-1 .swiper-wrapper,
    .news-items-2 .swiper-wrapper,
    .news-items-3 .swiper-wrapper {
        justify-content: flex-start;
        gap: 0;
    }

    .news-card-content {
        padding: 1.5rem;
    }

    .news-card h3 {
        font-size: 1.3rem;
    }

    .news-card p {
        font-size: 0.9rem;
    }
}

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

    .hero-cta {
        flex-direction: column;
    }
}
