/* ─── BASE & RESET ───────────────────────────── */
.places-page {
    background-color: var(--bg-cream); /* Warm cream background like Breads Bakery */
    color: var(--text-coffee); /* Rich coffee/dark brown text */
    margin: 0;
    font-family: var(--font-sans);
}

/* ─── SINGLE LOCATION SPLIT LAYOUT ──────────────── */
.single-location-section {
    display: flex;
    min-height: calc(100vh - 80px);
    width: 100%;
    margin-top: 0; /* Fixed gap: header spacing already handled by body padding-top */
    background-color: var(--bg-cream);
}

.location-image-side {
    width: 50%;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-cream);
}

.location-image-side img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-info-side {
    width: 50%;
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-cream-light); /* Slightly lighter warm cream for details */
    color: var(--text-coffee);
    border-left: 1px solid rgba(197, 160, 89, 0.15);
}

/* Original Title Styling: Garamond & Black */
.location-info-side .places-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-heading);
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-transform: none;
}

.location-info-side .gold-line {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 30px;
}

.location-intro-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-brown);
    margin-bottom: 35px;
    font-weight: 300;
}

/* Info grid layout */
.location-info-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}

.info-row {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: start;
    gap: 15px;
}

.info-icon {
    color: var(--gold-dark);
    font-size: 1.2rem;
    margin-top: 2px;
}

.info-content h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-dark);
    margin: 0 0 5px 0;
    font-weight: 600;
}

.info-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-coffee);
    margin: 0;
}

.info-content a {
    color: var(--text-coffee);
    text-decoration: none;
    border-bottom: 1px solid rgba(69, 37, 28, 0.25);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.info-content a:hover {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
}

/* CTAs Container */
.location-actions-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.place-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.place-action-btn.btn-primary {
    background-color: var(--bg-dark);
    color: var(--white);
    border: 1px solid var(--bg-dark);
}

.place-action-btn.btn-primary:hover {
    background-color: var(--bg-dark-hover);
    border-color: var(--bg-dark-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 103, 71, 0.2);
}

.place-action-btn.btn-secondary {
    background-color: transparent;
    color: var(--bg-dark);
    border: 1px solid var(--bg-dark);
}

.place-action-btn.btn-secondary:hover {
    background-color: rgba(0, 103, 71, 0.05);
    transform: translateY(-2px);
}

/* ─── CATEGORIES & GALLERY SECTIONS ──────────────── */
.categories-grid-section {
    padding: 80px 8%;
    background-color: var(--bg-cream);
    background-image: linear-gradient(rgba(249, 248, 246, 0.5), rgba(249, 248, 246, 0.5)), url("../banner/banner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(0, 103, 71, 0.08);
}

.places-header {
    text-align: center;
    margin-bottom: 50px;
}

.places-header h1,
.places-header h2,
.places-header .places-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-heading);
    margin: 10px 0 15px 0;
    line-height: 1.2;
}

.places-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-brown);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* ─── CONTACTS / PLACES GRID PAGE (contatti.html) ──────────────── */
.places-main {
    padding: 60px 8% 100px;
    max-width: 1350px;
    margin: 0 auto;
    width: 100%;
}

.places-main .places-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.places-main .places-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-heading);
    margin: 10px 0 15px;
    line-height: 1.2;
}

.place-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    margin-bottom: 8px;
    display: block;
}

/* ─── CONTACTS LIST (contatti.html) ──────────────── */
.contacts-list {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-entry {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 1.6fr;
    gap: 50px;
    padding: 48px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.28);
}

.contact-entry:last-child {
    border-bottom: 1px solid rgba(197, 160, 89, 0.28);
}

.contact-entry-head .place-eyebrow {
    margin-bottom: 10px;
}

.contact-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-heading);
    line-height: 1.2;
    margin: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    align-items: baseline;
}

.contact-row dt {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-dark);
}

.contact-row dd {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-coffee);
}

.contact-row dd a {
    color: var(--text-coffee);
    text-decoration: none;
    border-bottom: 1px solid rgba(69, 37, 28, 0.25);
    transition: var(--transition-smooth);
}

.contact-row dd a:hover {
    color: var(--gold-dark);
    border-bottom-color: var(--gold-dark);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.text-link {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(150, 108, 30, 0.4);
    padding-bottom: 3px;
    transition: var(--transition-smooth);
}

.text-link:hover {
    color: var(--gold-darker);
    border-bottom-color: var(--gold-darker);
}

@media (max-width: 768px) {
    .contact-entry {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 36px 0;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .contact-name {
        font-size: 1.7rem;
    }
}

/* Breads Bakery Collage Grid Styles */
.gallery-grid-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px auto 0 auto;
    max-width: 1200px;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 3;
}

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

@media (min-width: 992px) {
    .gallery-grid-container {
        flex-direction: row;
        height: 620px;
    }
    
    .gallery-featured-item {
        width: 33.333%;
        height: 100%;
        aspect-ratio: auto;
    }
    
    .gallery-subgrid {
        width: 66.666%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-subgrid .gallery-item {
        aspect-ratio: auto;
        height: 100%;
    }
}

/* ─── RESPONSIVE STYLES ────────────────────────── */
@media (max-width: 992px) {
    .single-location-section {
        flex-direction: column-reverse; /* Image on top on mobile, text below */
        min-height: auto;
    }

    .location-image-side {
        display: none;
    }

    .location-info-side {
        width: 100%;
        border-left: none;
        padding: 40px 6%;
        justify-content: flex-start;
    }

    .location-info-side .places-title {
        font-size: 2.4rem;
    }

    .gallery-subgrid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Sticky menu CTA bar on mobile */
    .location-actions-container .menu-cta-btn {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1100;
        width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        padding: 18px 20px;
        background-color: var(--bg-dark);
        color: var(--white);
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.15);
    }

    .location-actions-container .menu-cta-btn:hover {
        background-color: var(--bg-dark-hover);
        color: var(--white);
        transform: none;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.15);
    }

    .has-menu-cta .minimal-footer {
        padding-bottom: 110px;
    }
}

@media (max-width: 768px) {
    .places-main {
        padding: 40px 5% 70px;
    }

    .places-main .places-title {
        font-size: 2.3rem;
    }

    .places-header h1,
    .places-header h2,
    .places-header .places-title {
        font-size: 2rem;
    }

    .location-actions-container {
        flex-direction: column;
    }

    .place-action-btn {
        width: 100%;
    }

    /* Banner di sfondo nascosto da telefono */
    .categories-grid-section {
        background-image: none;
    }
}