/**
 * Location Page Styles
 * Will and Estate Lawyers Australia
 * 
 * File: /assets/css/location-page.css
 * Used on: Brisbane, Gold Coast, Sunshine Coast, Milton, Ashgrove, etc.
 */

/* ============================================
   LOCATION HERO
   ============================================ */

.location-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 4rem 1.5rem;
}

.location-hero-container {
    max-width: 1280px;
    margin: 0 auto;
}

.location-badge {
    display: inline-block;
    background-color: rgba(244, 165, 185, 0.2);
    color: var(--pink-light);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.location-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--pink-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============================================
   OFFICE CARDS SECTION
   ============================================ */

.offices-section {
    background-color: var(--white);
    padding: 4rem 1.5rem;
}

.section-title {
    text-align: center;
    color: var(--navy);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-dark);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.offices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.office-card {
    background-color: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--pink);
}

.office-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--pink-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.office-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--pink);
}

.office-card h3 {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.office-card .office-type {
    color: var(--pink);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.office-details {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.office-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.office-details li svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
    stroke: var(--pink);
}

.office-cta {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    background-color: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s;
}

.office-cta:hover {
    background-color: var(--pink);
    color: var(--navy);
}

/* ============================================
   SERVICES AT LOCATION
   ============================================ */

.location-services-section {
    background-color: var(--gray);
    padding: 4rem 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.location-service-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid var(--gray-light);
    transition: all 0.3s;
}

.location-service-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.location-service-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.location-service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 0.5rem;
}

.location-service-note {
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.location-service-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
    padding: 4rem 1.5rem;
    background-color: var(--white);
}

.map-container {
    max-width: 1280px;
    margin: 0 auto;
}

.map-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
}

@media (max-width: 767px) {
    .map-wrapper iframe {
        height: 300px;
    }
}

/* ============================================
   AREAS SERVED
   ============================================ */

.areas-section {
    background-color: var(--gray);
    padding: 4rem 1.5rem;
}

.areas-container {
    max-width: 1280px;
    margin: 0 auto;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.area-item:hover {
    background-color: var(--pink-light);
    transform: translateX(4px);
}

.area-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--pink);
    flex-shrink: 0;
}

/* ============================================
   CONTACT INFO CARD
   ============================================ */

.location-contact-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

.location-contact-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info-list li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--pink);
    flex-shrink: 0;
}

.contact-info-list a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-list a:hover {
    color: var(--pink-light);
}

/* ============================================
   LOCAL TESTIMONIALS
   ============================================ */

.local-testimonials {
    background-color: var(--white);
    padding: 4rem 1.5rem;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--gray);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--pink);
    line-height: 1;
    opacity: 0.3;
}

.testimonial-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy);
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--gray-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .location-hero {
        padding: 2.5rem 1.5rem;
    }

    .location-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .office-card {
        padding: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
