/* City SEO Pages - Shared Styles */

/* Body & Container Background */
body {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    /* Start of file */
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

main.container {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 100vh;
    position: relative;
}

main.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

main.container>* {
    position: relative;
    z-index: 1;
}

/* Age Gate Popup */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-gate-box {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(147, 51, 234, 0.3);
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.age-gate-box .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.age-gate-box h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.age-gate-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.age-gate-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-gate-btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.age-gate-btn.yes {
    background: linear-gradient(135deg, #9333ea 0%, #7c28c4 100%);
    color: #fff;
}

.age-gate-btn.yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.age-gate-btn.no {
    background: #374151;
    color: #fff;
}

.age-gate-btn.no:hover {
    background: #4b5563;
}

.age-gate-hidden {
    display: none !important;
}

/* Hero Section */
.city-hero {
    background: linear-gradient(135deg, #9333ea 0%, #7c28c4 100%);
    color: #fff;
    padding: 48px 20px;
    text-align: center;
    margin-bottom: 32px;
    border-radius: 16px;
}

.city-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 14px;
    line-height: 1.3;
}

.city-hero p {
    font-size: 1rem;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 18px;
}

.city-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.city-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

/* Content Sections */
.city-section {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.city-section h2 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #9333ea;
    display: inline-block;
}

.city-section h3 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin: 18px 0 10px;
}

.city-section p {
    color: #4b5563;
    margin-bottom: 14px;
    line-height: 1.7;
}

.city-section ul {
    margin: 14px 0 18px 22px;
    color: #4b5563;
}

.city-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Feature Grid */
.city-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.city-feature-card {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: all 0.2s;
}

.city-feature-card:hover {
    border-color: #9333ea;
}

.city-feature-card .icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.city-feature-card h4 {
    color: #1a1a1a;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.city-feature-card p {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 0;
}

/* Category Grid */
.city-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.city-category-card {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    padding: 16px 12px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.city-category-card:hover {
    border-color: #e11d48;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.25);
}

.city-category-card svg {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto 6px;
    fill: #e11d48;
}

.city-category-card span {
    font-size: 1.6rem;
    display: none;
    /* Hide old spans if any remain */
    margin-bottom: 6px;
}

.city-category-card strong {
    font-size: 0.8rem;
}

/* Popular Products */
.city-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.city-product-card {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.city-product-card:hover {
    border-color: #e11d48;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.25);
}

.city-product-card .img {
    width: 100%;
    height: 100px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.city-product-card .img svg {
    width: 48px;
    height: 48px;
    fill: #e11d48;
}

.city-product-card h4 {
    font-size: 0.85rem;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.city-product-card .price {
    color: #e11d48;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Delivery Zone - Similar to index.html */
.city-delivery-zone {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.city-delivery-zone h2 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.city-delivery-zone p {
    color: #4b5563;
    margin-bottom: 16px;
}

.city-delivery-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.city-delivery-features div {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.city-neighborhoods {
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.city-neighborhoods strong {
    color: #9333ea;
}

/* Neighborhoods Grid */
.city-neighborhoods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.city-neighborhood-tag {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #374151;
}

/* Map */
.city-map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
    aspect-ratio: 16/9;
}

.city-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ */
.city-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.city-faq-item summary {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    color: #1a1a1a;
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
    list-style: none;
}

.city-faq-item summary::-webkit-details-marker {
    display: none;
}

.city-faq-item summary::after {
    content: '+';
    float: right;
    font-size: 1.2rem;
    color: #9333ea;
}

.city-faq-item[open] summary::after {
    content: '−';
}

.city-faq-item p {
    padding: 14px 18px;
    margin: 0;
    background-image: url('../../assets/backgrounds/premium-bg.webp');
    background-size: cover;
    background-position: center;
}

/* CTA Section */
.city-cta-section {
    background: linear-gradient(135deg, #9333ea 0%, #7c28c4 100%);
    color: #fff;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.city-cta-section h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    border: none;
    padding: 0;
    display: block;
    color: #fff;
}

.city-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.city-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.city-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.city-btn-primary {
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.city-btn-primary:hover {
    border-color: #9333ea;
    color: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(147, 51, 234, 0.15);
}

.city-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #9333ea 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.city-btn-whatsapp:hover {
    background: linear-gradient(135deg, #20bd5a 0%, #7e22ce 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.city-btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.city-btn-telegram:hover {
    background: linear-gradient(135deg, #0077b5 0%, #1f8ec4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.city-btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}

.city-btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214, 36, 159, 0.3);
}

.city-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Trust Badges */
.city-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}

.city-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #4b5563;
}

.city-trust-badge span {
    font-size: 1.2rem;
}

/* Breadcrumb */
.city-breadcrumb {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.city-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.city-breadcrumb a:hover {
    color: #9333ea;
}

/* WhatsApp Float Button */
.city-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.2s;
}

.city-whatsapp-float:hover {
    transform: scale(1.1);
}

.city-whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Responsive */
@media (max-width: 768px) {
    .city-hero {
        padding: 36px 16px;
    }

    .city-section {
        padding: 20px;
    }

    .city-cta-section {
        padding: 28px 20px;
    }

    .age-gate-box {
        padding: 36px 24px;
    }

    .age-gate-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* SEO Content Block */
.city-seo-content {
    text-align: left;
}

.city-seo-container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.city-seo-container p {
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #4b5563;
}

.city-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.city-faq-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.city-faq-item h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
}

.city-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.city-contact-list li {
    margin-bottom: 12px;
    color: #4b5563;
}

.city-contact-list a {
    color: #9333ea;
    text-decoration: none;
    font-weight: 600;
}

.city-contact-list a:hover {
    text-decoration: underline;
}

/* Pulsing Badges for Regional Pages */
@keyframes badge-pulse {
    0% {
        transform: scale(1);
        background-color: #e11d48;
        /* Vibrant Pink/Rose */
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

    50% {
        transform: scale(1.05);
        background-color: #be185d;
        /* Deeper Pink */
        box-shadow: 0 0 5px 5px rgba(190, 24, 93, 0.3);
    }

    100% {
        transform: scale(1);
        background-color: #e11d48;
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.local-badges li {
    background-color: #e11d48 !important;
    color: #fff !important;
    animation: badge-pulse 2s infinite;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}