/**
 * ============================================================
 * BAGS&GO - City Hub Template Styles
 * ============================================================
 * 
 * Styles for the city landing page template (page-city-hub.php)
 * Uses design tokens from base/_variables.css
 * 
 * @version 1.0.0
 * @since 2024-11-26
 * ============================================================
 */

/* ========================================
 * CITY HERO SECTION
 * ======================================== */

.city-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    overflow: hidden;
}

.city-hero__background {
    position: absolute;
    inset: 0;
    background-image: url('../images/city-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--color-secondary, #121E35);
}

.city-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 30, 53, 0.9) 0%,
        rgba(18, 30, 53, 0.7) 50%,
        rgba(18, 30, 53, 0.85) 100%
    );
}

.city-hero__container {
    position: relative;
    z-index: 1;
}

.city-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white, #fff);
}

.city-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 145, 77, 0.2);
    border: 1px solid var(--color-primary, #FF914D);
    border-radius: var(--border-radius-full, 9999px);
    font-size: var(--font-size-sm, 0.875rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--color-primary, #FF914D);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.city-hero__title {
    font-size: var(--font-size-4xl, 3rem);
    font-weight: var(--font-weight-bold, 700);
    line-height: var(--line-height-tight, 1.2);
    margin-bottom: 20px;
}

.city-hero__subtitle {
    font-size: var(--font-size-xl, 1.25rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.city-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.city-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.city-hero__stat-number {
    font-size: var(--font-size-3xl, 2rem);
    font-weight: var(--font-weight-bold, 700);
    color: var(--color-primary, #FF914D);
}

.city-hero__stat-label {
    font-size: var(--font-size-sm, 0.875rem);
    opacity: 0.8;
    margin-top: 4px;
}

.city-hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.city-hero__coming-soon {
    text-align: center;
}

.city-hero__launch-date {
    font-size: var(--font-size-xl, 1.25rem);
    margin-bottom: 24px;
    color: var(--color-primary, #FF914D);
}

/* ========================================
 * SECTION COMMON STYLES
 * ======================================== */

.section {
    padding: var(--section-padding-y, 80px) 0;
}

.section--alt {
    background-color: var(--color-gray-50, #F9FAFB);
}

.section--dark {
    background-color: var(--color-secondary, #121E35);
    color: var(--color-white, #fff);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__title {
    font-size: var(--font-size-3xl, 2rem);
    font-weight: var(--font-weight-bold, 700);
    color: var(--color-secondary, #121E35);
    margin-bottom: 16px;
}

.section--dark .section__title {
    color: var(--color-white, #fff);
}

.section__subtitle {
    font-size: var(--font-size-lg, 1.125rem);
    color: var(--color-gray-600, #4B5563);
    line-height: var(--line-height-relaxed, 1.625);
}

.section--dark .section__subtitle {
    color: var(--color-gray-300, #D1D5DB);
}

/* ========================================
 * SERVICES SECTION
 * ======================================== */

.city-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white, #fff);
    border-radius: var(--border-radius-lg, 16px);
    padding: 32px;
    box-shadow: var(--shadow-base, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    transition: var(--transition-all, all 250ms ease);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 145, 77, 0.1);
    border-radius: var(--border-radius-full, 9999px);
    margin-bottom: 20px;
    color: var(--color-primary, #FF914D);
}

.service-card__title {
    font-size: var(--font-size-xl, 1.25rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--color-secondary, #121E35);
    margin-bottom: 12px;
}

.service-card__description {
    font-size: var(--font-size-base, 1rem);
    color: var(--color-gray-600, #4B5563);
    line-height: var(--line-height-relaxed, 1.625);
    margin-bottom: 16px;
}

.service-card__price {
    font-size: var(--font-size-lg, 1.125rem);
    font-weight: var(--font-weight-bold, 700);
    color: var(--color-primary, #FF914D);
    margin-bottom: 16px;
}

.service-card__link {
    display: inline-block;
    font-weight: var(--font-weight-semibold, 600);
    color: var(--color-secondary, #121E35);
    text-decoration: none;
    transition: var(--transition-colors, color 250ms ease);
}

.service-card__link:hover {
    color: var(--color-primary, #FF914D);
}

/* ========================================
 * COVERAGE SECTION
 * ======================================== */

.city-coverage__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.city-coverage__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-white, #fff);
    border-radius: var(--border-radius-base, 8px);
    box-shadow: var(--shadow-xs, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
    transition: var(--transition-all, all 250ms ease);
}

.city-coverage__item:hover {
    box-shadow: var(--shadow-sm, 0 1px 3px 0 rgba(0, 0, 0, 0.1));
    transform: translateX(4px);
}

.city-coverage__icon {
    flex-shrink: 0;
    color: var(--color-primary, #FF914D);
}

.city-coverage__name {
    font-weight: var(--font-weight-medium, 500);
    color: var(--color-secondary, #121E35);
}

.city-coverage__cta {
    text-align: center;
}

.city-coverage__cta p {
    margin-bottom: 16px;
    color: var(--color-gray-600, #4B5563);
}

/* ========================================
 * HOW IT WORKS SECTION
 * ======================================== */

.city-how-it-works__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary, #FF914D);
    color: var(--color-white, #fff);
    font-size: var(--font-size-2xl, 1.5rem);
    font-weight: var(--font-weight-bold, 700);
    border-radius: var(--border-radius-full, 9999px);
    margin-bottom: 20px;
}

.step-card__title {
    font-size: var(--font-size-lg, 1.125rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--color-secondary, #121E35);
    margin-bottom: 12px;
}

.step-card__description {
    color: var(--color-gray-600, #4B5563);
    line-height: var(--line-height-relaxed, 1.625);
}

/* ========================================
 * PRICING SECTION
 * ======================================== */

.city-pricing__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--color-white, #fff);
    border-radius: var(--border-radius-xl, 24px);
    padding: 40px 32px;
    box-shadow: var(--shadow-base, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
    text-align: center;
}

.pricing-card--featured {
    background: var(--color-secondary, #121E35);
    color: var(--color-white, #fff);
    transform: scale(1.05);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary, #FF914D);
    color: var(--color-white, #fff);
    padding: 6px 20px;
    border-radius: var(--border-radius-full, 9999px);
    font-size: var(--font-size-sm, 0.875rem);
    font-weight: var(--font-weight-semibold, 600);
    white-space: nowrap;
}

.pricing-card__header {
    margin-bottom: 24px;
}

.pricing-card__title {
    font-size: var(--font-size-xl, 1.25rem);
    font-weight: var(--font-weight-semibold, 600);
}

.pricing-card--featured .pricing-card__title {
    color: var(--color-white, #fff);
}

.pricing-card__price {
    margin-bottom: 32px;
}

.pricing-card__currency {
    font-size: var(--font-size-xl, 1.25rem);
    font-weight: var(--font-weight-semibold, 600);
    vertical-align: top;
    color: var(--color-primary, #FF914D);
}

.pricing-card__amount {
    font-size: var(--font-size-5xl, 3.5rem);
    font-weight: var(--font-weight-bold, 700);
    line-height: 1;
    color: var(--color-primary, #FF914D);
}

.pricing-card__period {
    font-size: var(--font-size-base, 1rem);
    color: var(--color-gray-500, #6B7280);
}

.pricing-card--featured .pricing-card__period {
    color: var(--color-gray-300, #D1D5DB);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray-100, #F3F4F6);
    color: var(--color-gray-600, #4B5563);
}

.pricing-card--featured .pricing-card__features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: var(--color-gray-200, #E5E7EB);
}

.pricing-card__features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 145, 77, 0.1);
    color: var(--color-primary, #FF914D);
    border-radius: var(--border-radius-full, 9999px);
    font-size: 12px;
    font-weight: bold;
}

/* ========================================
 * FAQ SECTION
 * ======================================== */

.city-faq .faq-grid {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.city-faq .faq-item {
    background: var(--color-white, #fff);
    border: 1px solid var(--color-gray-200, #E5E7EB);
    border-radius: var(--border-radius-lg, 16px);
    overflow: hidden;
    transition: var(--transition-all, all 250ms ease);
}

.city-faq .faq-item:hover {
    border-color: var(--color-gray-300, #D1D5DB);
}

.city-faq .faq-item.is-active {
    border-color: var(--color-primary, #FF914D);
}

.city-faq .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--font-size-base, 1rem);
    font-weight: var(--font-weight-semibold, 600);
    color: var(--color-secondary, #121E35);
    transition: var(--transition-colors, color 250ms ease);
}

.city-faq .faq-question:hover {
    color: var(--color-primary, #FF914D);
}

.city-faq .faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-primary, #FF914D);
}

.city-faq .faq-item.is-active .faq-icon {
    transform: rotate(180deg);
}

.city-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.city-faq .faq-item.is-active .faq-answer {
    max-height: 500px;
}

.city-faq .faq-answer p {
    padding: 0 24px 24px;
    color: var(--color-gray-600, #4B5563);
    line-height: var(--line-height-relaxed, 1.625);
}

.city-faq__more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
 * CONTACT SECTION
 * ======================================== */

.city-contact__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.city-contact__title {
    font-size: var(--font-size-3xl, 2rem);
    font-weight: var(--font-weight-bold, 700);
    margin-bottom: 16px;
}

.city-contact__subtitle {
    font-size: var(--font-size-lg, 1.125rem);
    color: var(--color-gray-300, #D1D5DB);
    margin-bottom: 32px;
}

.city-contact__methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-base, 8px);
    color: var(--color-white, #fff);
    text-decoration: none;
    transition: var(--transition-all, all 250ms ease);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-method--whatsapp:hover {
    background: #25D366;
}

.city-contact__hours {
    color: var(--color-gray-400, #9CA3AF);
    font-size: var(--font-size-sm, 0.875rem);
    margin-bottom: 32px;
}

.city-contact__cta {
    margin-top: 16px;
}

/* ========================================
 * BUTTONS
 * ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--btn-padding-y, 12px) var(--btn-padding-x, 24px);
    font-size: var(--btn-font-size, 1rem);
    font-weight: var(--btn-font-weight, 600);
    text-decoration: none;
    border-radius: var(--btn-border-radius, 8px);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-all, all 250ms ease);
}

.btn--primary {
    background: var(--color-primary, #FF914D);
    color: var(--color-white, #fff);
    border-color: var(--color-primary, #FF914D);
}

.btn--primary:hover {
    background: var(--color-primary-hover, #E87F3D);
    border-color: var(--color-primary-hover, #E87F3D);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-white, #fff);
    border-color: var(--color-white, #fff);
}

.section:not(.section--dark) .btn--outline {
    color: var(--color-secondary, #121E35);
    border-color: var(--color-secondary, #121E35);
}

.btn--outline:hover {
    background: var(--color-white, #fff);
    color: var(--color-secondary, #121E35);
}

.btn--lg {
    padding: var(--btn-lg-padding-y, 16px) var(--btn-lg-padding-x, 32px);
    font-size: var(--btn-lg-font-size, 1.125rem);
}

.btn--xl {
    padding: 20px 40px;
    font-size: var(--font-size-xl, 1.25rem);
}

.btn--block {
    width: 100%;
}

/* ========================================
 * CONTAINER
 * ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max, 1400px);
    margin: 0 auto;
    padding: 0 var(--section-padding-x, 24px);
}

/* ========================================
 * RESPONSIVE STYLES
 * ======================================== */

@media (max-width: 1024px) {
    .city-hero {
        min-height: 60vh;
        padding: 140px 0 60px;
    }
    
    .city-hero__title {
        font-size: var(--font-size-3xl, 2.5rem);
    }
    
    .city-hero__stats {
        gap: 32px;
    }
    
    .pricing-card--featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section__header {
        margin-bottom: 40px;
    }
    
    .city-hero {
        min-height: 80vh;
        padding: 120px 0 60px;
    }
    
    .city-hero__title {
        font-size: var(--font-size-2xl, 2rem);
    }
    
    .city-hero__subtitle {
        font-size: var(--font-size-base, 1rem);
    }
    
    .city-hero__stats {
        gap: 24px;
    }
    
    .city-hero__stat-number {
        font-size: var(--font-size-2xl, 1.75rem);
    }
    
    .city-hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .city-hero__actions .btn {
        width: 100%;
    }
    
    .city-services__grid,
    .city-how-it-works__steps {
        gap: 24px;
    }
    
    .city-coverage__grid {
        grid-template-columns: 1fr;
    }
    
    .city-pricing__cards {
        grid-template-columns: 1fr;
    }
    
    .city-contact__methods {
        flex-direction: column;
        width: 100%;
    }
    
    .contact-method {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .city-hero__title {
        font-size: var(--font-size-xl, 1.75rem);
    }
    
    .section__title {
        font-size: var(--font-size-2xl, 1.5rem);
    }
    
    .service-card {
        padding: 24px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .btn--lg {
        padding: 14px 24px;
        font-size: var(--font-size-base, 1rem);
    }
}
