/* ===================================
   Seção Localização - Full Width com Fundo
   =================================== */

.location-section {
    padding: 100px 0;
    background: #1a1f3a;
    background-image: linear-gradient(
            135deg,
            rgba(26, 31, 58, 0.65) 0%,
            rgba(17, 24, 39, 0.7) 100%
        ),
        url("https://blog.ublink.com.br/wp-content/uploads/2022/08/Paulista.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.location-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.015) 2px,
            rgba(255, 255, 255, 0.015) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.015) 2px,
            rgba(255, 255, 255, 0.015) 4px
        );
    pointer-events: none;
}

/* ===================================
   Cabeçalho da Seção
   =================================== */

.location-section .section-header {
    position: relative;
    z-index: 1;
}

.location-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.location-section .section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    height: 4px;
    background-color: var(--color-primary);
    width: 0;
    transition: none;
    border-radius: 2px;
}

.location-section .section-title.title-visible::after {
    animation: underlineGrow 0.8s ease-out 0.3s both;
}

@keyframes underlineGrow {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.location-section .section-subtitle {
    color: #e5e7eb;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ===================================
   Grid Principal
   =================================== */

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: start;
}

/* ===================================
   Destaque Av. Paulista
   =================================== */

.location-highlight {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.location-highlight:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.highlight-badge i {
    font-size: 16px;
    color: #ffffff;
}

.location-highlight h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.highlight-description {
    font-size: 1rem;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 32px;
}

.highlight-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.feature-item i {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.feature-item small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: #d1d5db;
    margin-top: 2px;
}

/* ===================================
   Mapa Preview
   =================================== */

.location-map-preview {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.location-map-preview:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.map-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.map-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.map-link i {
    font-size: 18px;
}

/* ===================================
   Pontos de Referência
   =================================== */

.location-landmarks {
    margin-top: 60px;
    text-align: center;
}

.landmarks-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.landmarks-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    height: 4px;
    background-color: var(--color-primary);
    width: 0;
    transition: none;
    border-radius: 2px;
}

.landmarks-title.title-visible::after {
    animation: underlineGrow 0.8s ease-out 0.3s both;
}

.landmarks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.landmark-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 16px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    transition: all 0.3s ease;
}
.landmark-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.landmark-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.landmark-icon i {
    font-size: 24px;
    color: var(--white);
}

/* Cores dos ícones - Todos em vermelho #c8102e */
.landmark-icon.transport {
    background: linear-gradient(135deg, #c8102e, #a00d25);
}

.landmark-icon.culture {
    background: linear-gradient(135deg, #c8102e, #a00d25);
}

.landmark-icon.services {
    background: linear-gradient(135deg, #c8102e, #a00d25);
}

.landmark-icon.health {
    background: linear-gradient(135deg, #c8102e, #a00d25);
}

.landmark-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.landmark-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landmark-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #e5e7eb;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landmark-list li:last-child {
    border-bottom: none;
}

.landmark-list li i {
    color: #ffffff;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.landmark-list li span {
    flex: 1;
}

/* ===================================
   Responsividade
   =================================== */

/* Tablets */
@media (max-width: 992px) {
    .location-section {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .location-highlight {
        padding: 32px 28px;
    }

    .highlight-features {
        gap: 16px;
    }

    .map-container {
        height: 400px;
    }

    .landmarks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .landmark-card {
        padding: 28px 24px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .location-section {
        padding: 70px 0;
        background-attachment: scroll;
    }

    .location-grid {
        gap: 24px;
        margin-bottom: 50px;
    }

    .location-highlight {
        padding: 28px 24px;
    }

    .highlight-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .location-highlight h3 {
        font-size: 1.5rem;
    }

    .highlight-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .highlight-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 24px;
    }

    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .feature-item i {
        font-size: 28px;
    }

    .map-container {
        height: 350px;
    }

    .map-link {
        padding: 14px;
        font-size: 0.9rem;
    }

    .landmarks-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .landmarks-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .landmark-card {
        padding: 28px 24px;
    }

    .landmark-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .landmark-icon i {
        font-size: 24px;
    }

    .landmark-card h4 {
        font-size: 1.15rem;
        margin-bottom: 14px;
    }

    .landmark-list li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

/* Animações */
@media (prefers-reduced-motion: no-preference) {
    .landmark-card {
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .landmark-card:nth-child(1) {
        animation-delay: 0.1s;
    }
    .landmark-card:nth-child(2) {
        animation-delay: 0.2s;
    }
    .landmark-card:nth-child(3) {
        animation-delay: 0.3s;
    }
    .landmark-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
