/* ============================================
   ASAP Towing V2 - Location Page Styles
   (Hero styles are in global.css)
   ============================================ */

/* ============================================
   Section Label
   ============================================ */
.section-label {
    display: inline-block;
    background: rgba(113, 178, 128, 0.2);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* ============================================
   Main Map Section
   ============================================ */
.section-map {
    padding-top: 70px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.main-map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--accent-green);
}

.main-map-wrapper iframe {
    display: block;
    filter: grayscale(20%) contrast(1.1) brightness(0.95);
    transition: filter 0.5s ease;
}

.main-map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(1) brightness(1);
}

.map-info-card {
    position: absolute;
    top: 30px;
    left: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    padding: 50px 30px;
    border-radius: 15px;
    z-index: 20;
    border: 1px solid rgba(113, 178, 128, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    max-width: 300px;
}

.map-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--btn-cta-start), var(--btn-cta-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.map-info-icon i {
    font-size: 1.3rem;
    color: var(--text-white);
}

.map-info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--accent-green);
}

.map-info-content address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.map-info-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.map-info-phone:hover {
    color: var(--accent-green);
}

.map-info-phone i {
    color: var(--accent-green);
}

.btn-sm {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
}

/* ============================================
   Location Cards
   ============================================ */
.location-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
}

.location-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.location-card-icon-green {
    background: linear-gradient(135deg, #237A57, #093028);
}

.location-card-icon-red {
    background: linear-gradient(135deg, var(--btn-cta-start), var(--btn-cta-mid));
}

.location-card-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.location-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.location-card address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.location-card address strong {
    color: var(--accent-green);
}

.location-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(113, 178, 128, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.location-note i {
    color: var(--accent-green);
    margin-top: 2px;
}

/* Hours Mini List */
.hours-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-mini-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-mini-list li:last-child {
    border-bottom: none;
}

.hours-mini-list .day {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-mini-list .time {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
}

.hours-mini-list .time.highlight {
    background: linear-gradient(135deg, var(--btn-cta-start), var(--btn-cta-mid));
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Contact Mini List */
.contact-mini-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-mini-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--text-white);
}

.contact-mini-item:hover {
    background: rgba(113, 178, 128, 0.15);
    transform: translateX(5px);
}

.contact-mini-item i {
    font-size: 1.5rem;
    color: var(--accent-green);
    width: 30px;
    text-align: center;
}

.contact-mini-item div strong {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.contact-mini-item div span {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ============================================
   Directions Section
   ============================================ */
.direction-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.direction-card:hover {
    border-color: var(--accent-green);
}

.direction-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.direction-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.direction-icon i {
    font-size: 1.3rem;
    color: var(--text-white);
}

.direction-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.direction-steps {
    padding-left: 25px;
    margin: 0 0 1.5rem 0;
}

.direction-steps li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    position: relative;
}

.direction-steps li::marker {
    color: var(--accent-green);
    font-weight: 700;
}

.direction-time {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(113, 178, 128, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.direction-time i {
    color: var(--accent-green);
}

/* ============================================
   Coverage Info
   ============================================ */
.coverage-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coverage-zone {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.coverage-zone:hover {
    border-color: var(--accent-green);
}

.zone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.zone-badge {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.zone-primary {
    background: var(--accent-green);
    color: #000;
}

.zone-secondary {
    background: rgba(113, 178, 128, 0.3);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.zone-long {
    background: rgba(235, 51, 73, 0.2);
    color: var(--btn-cta-start);
    border: 1px solid var(--btn-cta-start);
}

.zone-radius {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.coverage-zone p {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.zone-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zone-cities span {
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Highway Coverage
   ============================================ */
.highway-coverage {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highway-coverage h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.highway-coverage h3 i {
    color: var(--accent-green);
}

.highway-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.highway-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highway-item:hover {
    background: rgba(113, 178, 128, 0.15);
}

.highway-shield {
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 0.85rem;
    min-width: 55px;
    text-align: center;
}

.highway-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Area Cards
   ============================================ */
.area-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.area-card:hover {
    background: rgba(113, 178, 128, 0.15);
    border-color: var(--accent-green);
    transform: translateY(-3px);
}

.area-card i {
    color: var(--accent-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.area-card h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
    padding: 80px 0;
}

.cta-wrapper {
    background: linear-gradient(135deg, rgba(113, 178, 128, 0.15) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(19, 78, 94, 0.2) 100%);
    border: 2px solid rgba(113, 178, 128, 0.4);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(113, 178, 128, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(19, 78, 94, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-ring-green 2s infinite;
}

.cta-icon i {
    font-size: 2.5rem;
    color: var(--text-white);
}

@keyframes pulse-ring-green {
    0% {
        box-shadow: 0 0 0 0 rgba(113, 178, 128, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(113, 178, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(113, 178, 128, 0);
    }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-title span {
    color: var(--accent-green);
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-white);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.cta-phone-link:hover {
    color: var(--accent-green);
    transform: scale(1.05);
}

.cta-phone-link i {
    font-size: 2.5rem;
    color: var(--accent-green);
}

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

/* ============================================
   Cookie Banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    border-top: 3px solid var(--accent-green);
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner.hide {
    bottom: -100%;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex: 1;
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
}

.cookie-text h5 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-green), var(--btn-gradient-mid));
    color: #000;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(113, 178, 128, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.cookie-btn-settings:hover {
    background: var(--accent-green);
    color: #000;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-green);
}

.cookie-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
}

.cookie-modal-close:hover {
    color: var(--text-white);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-option {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-option h5 {
    margin: 0 0 0.25rem;
    color: var(--text-white);
}

.cookie-option p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 28px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--accent-green);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(22px);
}

.cookie-toggle.disabled .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991.98px) {
    .section-map {
        margin-top: -30px;
    }
    
    .map-info-card {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        margin-bottom: -1px;
        border-radius: 15px 15px 0 0;
    }
    
    .main-map-wrapper {
        border-radius: 0 0 20px 20px;
    }
    
    .highway-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-phone-link {
        font-size: 2.25rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .section-map {
        margin-top: -20px;
    }
    
    .map-info-card {
        padding: 20px;
    }
    
    .map-info-icon {
        width: 45px;
        height: 45px;
    }
    
    .map-info-icon i {
        font-size: 1.1rem;
    }
    
    .map-info-content h3 {
        font-size: 1rem;
    }
    
    .map-info-phone {
        font-size: 1rem;
    }
    
    .main-map-wrapper iframe {
        height: 350px;
    }
    
    .location-card {
        padding: 1.5rem;
    }
    
    .location-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .location-card-icon i {
        font-size: 1.5rem;
    }
    
    .direction-card {
        padding: 1.5rem;
    }
    
    .direction-icon {
        width: 45px;
        height: 45px;
    }
    
    .direction-icon i {
        font-size: 1.1rem;
    }
    
    .direction-header h4 {
        font-size: 1.05rem;
    }
    
    .highway-coverage {
        padding: 1.5rem;
    }
    
    .highway-item {
        padding: 10px 12px;
    }
    
    .highway-shield {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .highway-name {
        font-size: 0.8rem;
    }
    
    .area-card {
        padding: 1rem 0.75rem;
    }
    
    .area-card i {
        font-size: 1.1rem;
    }
    
    .area-card h5 {
        font-size: 0.8rem;
    }
    
    .cta-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-phone-link {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-phone-link i {
        font-size: 2rem;
    }
    
    .cta-icon {
        width: 80px;
        height: 80px;
    }
    
    .cta-icon i {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-cta,
    .cta-buttons .btn-grad {
        width: 100%;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-icon {
        font-size: 2rem;
    }
    
    .cookie-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}