/* === REDESIGN: PIZZA ITALY STYLE (pizzeria-v-ulicke-kezmarok) === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Source+Sans+3:wght@400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --bg-light: #FAF6EE;         /* Warm linen/cream from pizza.jpg */
    --text-dark: #2F211C;        /* Rich dark espresso text */
    --text-muted: #6E5E58;       /* Warm earth gray */
    --accent-terracotta: #8C2F20; /* Deep Italian terracotta red */
    --accent-green: #2B4E38;     /* Dark forest olive green */
    --border-hairline: rgba(47, 33, 28, 0.08);
    --border-hover: rgba(140, 47, 32, 0.2);
    --sans: 'Source Sans 3', sans-serif;
    --serif: 'Fraunces', serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--sans);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: 7rem; /* Spacing for fixed navbar */
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- Floating Linen Glassmorphic Navbar --- */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2.5rem;
    background: rgba(250, 246, 238, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-hairline);
    box-shadow: 0 10px 40px rgba(47, 33, 28, 0.06);
    position: fixed;
    top: 1.5rem;
    left: 4%;
    width: 92%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: 50px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.nav__brand {
    display: flex;
    flex-direction: column;
}

.nav__logo {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--accent-terracotta);
}

.nav__sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-green);
    margin-top: 0.15rem;
    font-weight: 700;
}

.nav__burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
}

.nav__panel {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__panel a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.nav__panel a:hover {
    color: var(--accent-terracotta);
    opacity: 1;
}

.nav__cta {
    background: var(--accent-terracotta) !important;
    color: #FFF !important;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(140, 47, 32, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.nav__cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(140, 47, 32, 0.35);
}

@media (max-width: 900px) {
    .nav__burger {
        display: block;
    }
    .nav__panel {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        width: 100%;
        background: #FAF6EE;
        border: 1px solid var(--border-hairline);
        padding: 2rem;
        border-radius: 24px;
        box-shadow: 0 15px 35px rgba(47, 33, 28, 0.1);
        gap: 1.5rem;
    }
    .nav.is-open .nav__panel {
        display: flex;
    }
}

/* --- Immersive Cinematic Background Hero --- */
.hero {
    position: relative;
    min-height: 90svh;
    display: flex;
    align-items: center;
    padding: 6rem 5vw;
    /* Full-screen background image with a low-opacity elegant linen cream blend */
    background: linear-gradient(180deg, rgba(250, 246, 238, 0.95) 0%, rgba(250, 246, 238, 0.88) 100%), url('img/hero.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media (min-width: 860px) {
    .hero__inner {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero__content {
    position: relative;
}

.hero__eyebrow {
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6.5vw, 4.8rem);
    line-height: 1.05;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 i {
    font-style: italic;
    color: var(--accent-terracotta);
    font-weight: 600;
}

.hero__lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

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

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    font-size: 0.85rem;
}

.btn--primary {
    background: var(--accent-terracotta);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(140, 47, 32, 0.15);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(140, 47, 32, 0.35);
}

.btn--secondary {
    background: var(--accent-green);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(43, 78, 56, 0.15);
}

.btn--secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(43, 78, 56, 0.35);
}

.hero__visual {
    position: relative;
}

/* Elegant overlapping photo with thin border */
.hero__img-wrap {
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-hairline);
    box-shadow: 0 20px 45px rgba(47, 33, 28, 0.08);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__img-wrap:hover {
    transform: translateY(-5px) scale(1.02);
}

/* --- Menu / Best Sellers --- */
.best-sellers {
    padding: 7rem 5vw;
    background: #FFF;
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.section-tag {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-green);
    font-weight: 700;
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.section-title i {
    font-style: italic;
    color: var(--accent-terracotta);
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.best-sellers__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 580px) {
    .best-sellers__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .best-sellers__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Elegant Thin-Bordered Cards */
.pizza-card {
    background: var(--bg-light);
    border: 1px solid var(--border-hairline);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease;
}

.pizza-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(140, 47, 32, 0.05);
}

.pizza-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-bottom: 1px solid var(--border-hairline);
}

.pizza-card__body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pizza-card h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pizza-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pizza-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.pizza-card__price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-terracotta);
}

.btn-add {
    background: var(--accent-terracotta);
    color: #FFF;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(140, 47, 32, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-add:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(140, 47, 32, 0.35);
}

.btn-add .arrow {
    font-size: 0.95rem;
}

/* --- Split Section (Offers & About) --- */
.split-section {
    padding: 6rem 5vw;
}

.split-section__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
}

@media (min-width: 860px) {
    .split-section__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.offers-col .section-tag {
    text-align: left;
}

.split-title {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.split-title i {
    font-style: italic;
    color: var(--accent-terracotta);
    font-weight: 600;
}

.offers-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 480px) {
    .offers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.offer-card {
    background: #FAF6EE;
    border: 1px solid var(--border-hairline);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.offer-badge {
    align-self: flex-start;
    background: var(--accent-green);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.offer-card--accent .offer-badge {
    background: var(--accent-terracotta);
}

.offer-card h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.offer-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.offer-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-terracotta);
}

.about-card {
    background: #FFF;
    border: 1px solid var(--border-hairline);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(47, 33, 28, 0.03);
}

.about-card__img {
    aspect-ratio: 16/10;
}

.about-card__body {
    padding: 2.5rem;
}

.about-card__body .section-tag {
    text-align: left;
}

.about-card h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card h2 i {
    font-style: italic;
    color: var(--accent-terracotta);
    font-weight: 600;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- Contact & Map --- */
.contact {
    padding: 7rem 5vw;
    background: #FFF;
    border-top: 1px solid var(--border-hairline);
}

.contact__grid {
    display: grid;
    gap: 4rem;
    align-items: stretch;
}

@media (min-width: 860px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__info .section-tag {
    text-align: left;
}

.contact__info h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact__info h2 i {
    font-style: italic;
    color: var(--accent-terracotta);
    font-weight: 600;
}

.contact__info p {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.contact__info strong {
    color: var(--accent-terracotta);
}

.contact__actions {
    margin-top: 2rem;
}

.contact__map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-hairline);
    box-shadow: 0 10px 30px rgba(47, 33, 28, 0.03);
}

/* Elegant Location Panel */
.map-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #FAF6EE 0%, #EFEBE4 100%);
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-size: 30px 30px;
    background-image: linear-gradient(to right, #000 1px, transparent 1px), linear-gradient(to bottom, #000 1px, transparent 1px);
}

.map-branding {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.map-branding strong {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.map-branding p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--accent-terracotta);
    color: #FFF;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(140, 47, 32, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(140, 47, 32, 0.35);
}

/* --- Footer --- */
.footer {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 3rem 5vw;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid var(--border-hairline);
    line-height: 1.5;
}

.footer a {
    text-decoration: underline;
}

.footer a:hover {
    color: var(--text-dark);
}
