/**
 * State Archive - Premium Layout
 * Estilos para o redesign do archive de estado
 */

/* ============================================
   HERO PREMIUM
   ============================================ */
.state-hero--premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem 0;
    color: #fff;
}

.state-hero__content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.state-hero__flag {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.state-hero__text {
    flex: 1;
}

.state-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.state-hero__subtitle {
    font-size: 1.125rem;
    color: #ccc;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.state-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.state-link:hover {
    color: #e55a2b;
    text-decoration: underline;
}

.state-hero__count {
    font-size: 0.875rem;
    color: #ff6b35;
    font-weight: 600;
}

@media (max-width: 768px) {
    .state-hero__content {
        flex-direction: column;
        text-align: center;
    }

    .state-hero__title {
        font-size: 1.75rem;
    }
}

/* ============================================
   SPLIT LAYOUT (Map + Highlights)
   ============================================ */
.state-split__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.state-split__heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Map */
.state-map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.state-map--full {
    height: 600px;
}

/* Premium Highlights */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-highlights {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
    font-style: italic;
}

@media (max-width: 1024px) {
    .state-split__grid {
        grid-template-columns: 1fr;
    }

    .state-map {
        height: 400px;
    }
}

/* ============================================
   TABS
   ============================================ */
.state-tabs {
    margin-top: 2rem;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 2rem;
}

.tabs__button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -2px;
}

.tabs__button:hover {
    color: #ff6b35;
}

.tabs__button--active {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.tabs__panel {
    display: none;
}

.tabs__panel--active {
    display: block;
}

/* ============================================
   CALENDAR
   ============================================ */
.calendar {
    min-height: 600px;
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* FullCalendar customizations */
.fc {
    font-family: inherit;
}

.fc .fc-button-primary {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.fc .fc-button-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: #cc4a20;
    border-color: #cc4a20;
}

.fc-event {
    background-color: #ff6b35;
    border-color: #ff6b35;
    cursor: pointer;
}

.fc-event:hover {
    background-color: #e55a2b;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tabs__button {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .state-map--full {
        height: 400px;
    }
}