/* Contact Page Styles */

/* Locations Wrapper */
.locations-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.0rem;
    color: #2c3e50;
}

.locations-wrapper .locations-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.locations-wrapper .locations-heading h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.locations-wrapper .locations-heading p {
    font-size: 0.95rem;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.locations-wrapper .locations-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-green);
    margin: 1rem auto 0;
}

/* Locations Grid */
.locations-wrapper .locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.locations-wrapper .location-item {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 1.25rem;
}

.locations-wrapper .location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Make grid more responsive for different screen sizes */
@media (max-width: 767px) {
    .locations-wrapper .locations-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .locations-wrapper .location-item {
        padding: 1rem;
    }

    .locations-wrapper .location-title {
        font-size: 1.2rem;
        margin: 0 0 0.6rem;
    }
}

@media (max-width: 480px) {
    .locations-wrapper .locations-grid {
        grid-template-columns: 1fr;
    }
}

.locations-wrapper .location-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #2c3e50;
}

.locations-wrapper .location-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.locations-wrapper .location-address,
.locations-wrapper .location-hours {
    margin-top: 0.25rem;
}

.locations-wrapper .location-address p {
    margin: 0;
    line-height: 1.4;
    color: #777;
    font-size: 0.9rem;
}

.locations-wrapper .location-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.locations-wrapper .location-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.locations-wrapper .location-contact a:hover {
    color: var(--color-green);
}

.locations-wrapper .location-contact i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
}

.locations-wrapper .location-hours-grid {
    display: grid;
    gap: 0.2rem;
    margin-top: 0.4rem;
}

.locations-wrapper .hours-row {
    display: grid;
    grid-template-columns: 1fr auto;
    font-size: 0.85rem;
    color: #777;
}

.locations-wrapper .hours-day {
    font-weight: 500;
    color: #2c3e50;
    padding-right: 0.75rem;
}

/* Map and form wrapper */
.locations-wrapper .map-form-wrapper {
    margin-top: 3rem;
}

/* Custom select styling */
.locations-wrapper .custom-select-wrapper {
    position: relative;
    width: 100%;
}

.locations-wrapper .custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.locations-wrapper .custom-select:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(45, 152, 66, 0.2);
}

.locations-wrapper .custom-select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-green);
    font-size: 0.85rem;
}

/* Contact form styling */
.locations-wrapper #emailForm {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.locations-wrapper #emailForm h1 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.locations-wrapper #emailForm label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #2c3e50;
    font-size: 0.9rem;
}

.locations-wrapper #emailForm input,
.locations-wrapper #emailForm textarea,
.locations-wrapper #emailForm select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background-color: #fff;
    font-size: 0.9rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.locations-wrapper #emailForm input:focus,
.locations-wrapper #emailForm textarea:focus,
.locations-wrapper #emailForm select:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(45, 152, 66, 0.2);
}

.locations-wrapper #emailForm input::placeholder,
.locations-wrapper #emailForm textarea::placeholder {
    color: #aaa;
}

.locations-wrapper #emailForm .btn-default {
    background-color: var(--color-green);
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    align-self: flex-end;
}

.locations-wrapper #emailForm .btn-default:hover {
    background-color: #238039;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.locations-wrapper #emailForm .btn-default i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.locations-wrapper #emailForm .btn-default:hover i {
    transform: translateX(3px);
}