/* --- Zmienne Martim-Style --- */
:root {
    --primary: #0a192f;
    /* Ciemny granat Martim */
    --gold: #c5a059;
    /* Stonowane złoto */
    --light-bg: #f9f9f9;
    /* Jasnoszare tło dla kontrastu */
    --text-main: #222;
    --text-muted: #777;
    --transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Nawigacja --- */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 5%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary);
}

.menu-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.menu-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    transition: var(--transition);
}

.menu-links a:hover {
    color: var(--gold);
}

.book-btn {
    border: 1px solid var(--primary);
    padding: 10px 25px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.book-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Hamburger button - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url('https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&q=80&w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 10px;
}

.location {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: var(--gold);
}

/* --- Sekcja O Nas --- */
.about {
    padding: 120px 10%;
    background: #fff;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.text-side {
    flex: 1;
}

.image-side {
    flex: 1;
}

.section-tag {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.thin-line {
    width: 60px;
    border: 0;
    border-top: 1px solid var(--gold);
    margin-bottom: 30px;
}

.img-frame {
    padding: 20px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.img-frame:hover {
    transform: scale(1.02);
    border-color: var(--gold);
}

/* --- Grid Kuchnia --- */
.grid-container {
    display: flex;
    height: 500px;
}

.grid-item {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 1;
    transition: var(--transition);
}

.overlay h3 {
    color: #fff;
    letter-spacing: 5px;
    border-bottom: 1px solid var(--gold);
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item:hover .overlay {
    background: rgba(197, 160, 89, 0.4);
}

/* --- Menu Preview --- */
.menu-preview {
    padding: 100px 20%;
    background: var(--light-bg);
    text-align: center;
}

.menu-list {
    margin-top: 50px;
}

.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
}

.dots {
    flex-grow: 1;
    border-bottom: 1px solid #ddd;
    margin: 0 15px;
}

.btn-dark {
    display: inline-block;
    margin-top: 50px;
    background: var(--primary);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* --- Footer --- */
.footer {
    background: #fff;
    padding: 80px 10% 20px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-info h4,
.footer-hours h4 {
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--gold);
}

.bottom-bar {
    text-align: center;
    font-size: 0.6rem;
    color: #aaa;
    letter-spacing: 1px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* --- Animacje --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Mobile & tablet: hamburger + overlay menu ========== */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .menu-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 80px 24px 40px;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .main-nav.nav-open .menu-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .menu-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .menu-links a {
        display: block;
        padding: 18px 16px;
        font-size: 0.9rem;
    }

    .book-btn {
        margin-top: 24px;
        text-align: center;
        display: inline-block;
    }

    .nav-container {
        position: relative;
    }

    .nav-container .book-btn {
        display: none;
    }

    .main-nav.nav-open .nav-container .book-btn {
        display: inline-block;
        position: fixed;
        top: 72%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1002;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .grid-container {
        flex-direction: column;
        height: auto;
    }

    .grid-item {
        height: 280px;
    }

    .about {
        padding: 80px 6%;
    }

    .menu-preview {
        padding: 80px 6%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .location {
        font-size: 0.7rem;
        letter-spacing: 4px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer {
        padding: 60px 6% 20px;
    }

    .subpage-hero {
        margin-top: 0;
        min-height: 35vh;
    }

    .menu-content {
        margin: 50px auto;
        padding: 0 6%;
    }

    .menu-section {
        margin-bottom: 50px;
    }

    .contact-container {
        padding: 60px 6%;
    }

    .dual-gallery,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .img-wrapper {
        height: 300px;
    }

    .contact-hero {
        min-height: 40vh;
    }

    .contact-hero h1,
    .subpage-hero h1 {
        font-size: 2.2rem;
    }
}

/* ========== Small phones: tighter layout ========== */
@media (max-width: 600px) {
    .main-nav {
        padding: 16px 5%;
    }

    .logo {
        font-size: 1.4rem;
    }

    .hero {
        padding: 0 5%;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .about {
        padding: 60px 5%;
    }

    h2 {
        font-size: 2rem;
    }

    .menu-preview {
        padding: 60px 5%;
    }

    .menu-row {
        flex-wrap: wrap;
        gap: 4px;
        font-size: 1.1rem;
    }

    .menu-row span:first-child {
        width: 100%;
        order: 1;
    }

    .menu-row .dots {
        display: none;
    }

    .menu-row span:last-child {
        order: 2;
        width: 100%;
        text-align: right;
    }

    .btn-dark {
        padding: 14px 28px;
        font-size: 0.75rem;
        margin-top: 36px;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .grid-item {
        height: 220px;
    }

    .overlay h3 {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .footer-grid {
        margin-bottom: 30px;
    }

    .bottom-bar p {
        font-size: 0.55rem;
        line-height: 1.5;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .menu-item h3 {
        font-size: 1.1rem;
    }

    .description {
        max-width: 100%;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .menu-content {
        margin: 40px auto;
        padding: 0 5%;
    }

    .contact-container {
        padding: 50px 5%;
    }

    .dual-gallery {
        margin-bottom: 80px;
    }

    .img-wrapper {
        height: 240px;
    }

    .city-label {
        font-size: 1.5rem;
    }
}

/* ========== Very small screens ========== */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .menu-links a {
        font-size: 0.85rem;
    }
}

/* --- Style dedykowane dla podstrony Menu --- */

.subpage-hero {
    height: 40vh;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)),
        url('https://www.classicjourneys.com/wp-content/uploads/2021/07/servletImageServer-1005-1290x728.jpeg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
    /* Miejsce na nav */
}

.separator-gold {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
}

.menu-content {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 5%;
}

.menu-section {
    margin-bottom: 80px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: left;
}

.category-title span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-left: 10px;
}

.item-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.menu-item {
    transition: var(--transition);
    padding: 10px 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.menu-item h3 {
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.menu-item .price {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--gold);
}

.menu-item .price::after {
    content: ' PLN';
    font-size: 0.7rem;
    font-weight: 400;
}

.description {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    max-width: 80%;
}

/* Interaktywny Hover */
.menu-item:hover {
    transform: translateX(10px);
}

.menu-item.highlight {
    padding-left: 20px;
    border-left: 2px solid var(--gold);
}

/* Active link w nawigacji */
.menu-links a.active {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

/* Responsywność */
@media (max-width: 600px) {
    .menu-item h3 {
        font-size: 1.1rem;
    }

    .description {
        max-width: 100%;
    }
}

/* --- Kontakt & Rezerwacja --- */

.contact-hero {
    height: 50vh;
    background-image: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.6)),
        url('https://images.unsplash.com/photo-1498654896293-37aacf113fd9?auto=format&fit=crop&q=80&w=1600');
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5%;
}

/* Galeria Miast */
.dual-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 120px;
}

.city-card {
    text-align: center;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
    margin-bottom: 20px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.city-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.city-card:hover img {
    transform: scale(1.05);
}

.city-desc {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--text-muted);
}

/* Układ Grid dla Kontaktu i Formularza */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    align-items: start;
}

.info-block {
    margin-bottom: 50px;
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.small-text {
    font-size: 0.75rem;
    color: var(--gold);
    margin-top: 5px;
}

.social-links a {
    display: inline-block;
    margin-right: 20px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 2px;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* Formularz */
.elegant-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.elegant-form input,
.elegant-form select,
.elegant-form textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.elegant-form input:focus,
.elegant-form select:focus,
.elegant-form textarea:focus {
    border-color: var(--gold);
}

.full-width {
    width: 100%;
    cursor: pointer;
    border: none;
}

/* Responsywność */
@media (max-width: 900px) {

    .dual-gallery,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .img-wrapper {
        height: 300px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
}