/* CONTACT PAGE */

.contact-page {
    margin: 0;
    background-color: #090909;
    font-family: Arial, sans-serif;
}


/* MAIN PAGE BOX */

.contact-page .page-box {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    background-color: white;
}


/* HEADER */

.contact-page .page-header {
    background-color: darkgreen;
    color: white;
    text-align: center;
    padding: 20px;
}

.contact-page .page-header h1 {
    margin: 0;
    font-size: 38px;
}

.contact-page .page-header a {
    color: white;
    text-decoration: none;
}

.contact-page .page-header a:hover {
    color: lightblue;
}


/* SMALL CLICKABLE IMAGE LINKS */

.contact-page .small-image-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.contact-page .small-image-link {
    position: relative;
    display: inline-block;
    width: 175px;
    height: 120px;
    text-decoration: none;
    overflow: hidden;
}

.contact-page .small-image-link img {
    width: 175px;
    height: 120px;
    object-fit: cover;
    display: block;
}

.contact-page .small-image-link span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(241, 243, 244);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 100%;

}

.contact-page .small-image-link:hover span {
    color: pink;
}

/* CONTACT CONTENT */

.contact-page .contact-content {
    padding: 20px 25px 25px 25px;
}

.contact-page .contact-content > h2 {
    color: darkgreen;
    font-size: 30px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 20px;
}


/* LOCATION AND MAP ROW */

.contact-page .location-map-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
}


/* NEWBURY PARK STORE BOX */

.contact-page .store-box {
    width: 300px;
    background-color: #f7f7f7;
    border: 1px solid #dddddd;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
}

.contact-page .store-box h3 {
    color: darkgreen;
    font-size: 20px;
    margin: 0 0 10px 0;
}

.contact-page .store-box p {
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 12px 0;
}

.contact-page .store-box a {
    color: darkgreen;
    font-weight: bold;
    text-decoration: none;
}

.contact-page .store-box a:hover {
    color: black;
    text-decoration: underline;
}
.contact-page .small-image-link:hover span {
    color: pink;
}

/* GOOGLE MAP BOX */

.contact-page .map-box {
    width: 380px;
    background-color: #f7f7f7;
    border: 1px solid #dddddd;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.contact-page .map-box iframe {
    display: block;
    margin: 0 auto;
}


/* CONTACT FORM */

.contact-page .contact-form {
    width: 620px;
    margin: 0 auto 20px auto;
    background-color: #f7f7f7;
    border: 1px solid #dddddd;
    padding: 12px;
    box-sizing: border-box;
}

.contact-page .contact-form h2 {
    color: darkgreen;
    font-size: 20px;
    text-align: center;
    margin: 0 0 8px 0;
}

.contact-page .contact-form label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-top: 6px;
    margin-bottom: 2px;
}

.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea {
    width: 100%;
    padding: 4px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    border: 1px solid #cccccc;
}

.contact-page .contact-form textarea {
    height: 25px;
    resize: vertical;
}

.contact-page .contact-form button {
    background-color: darkgreen;
    color: white;
    border: none;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 8px;
    cursor: pointer;
}

.contact-page .contact-form button:hover {
    background-color: lightblue;
    color: darkgreen;
}


/* BOTTOM NAVIGATION */

.contact-page .bottom-nav {
    background-color: lightblue;
    text-align: center;
    padding: 18px;
    white-space: nowrap;
}

.contact-page .bottom-nav a {
    color: darkgreen;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    margin-right: 25px;
}

.contact-page .bottom-nav a:last-child {
    margin-right: 0;
}

.contact-page .bottom-nav a:hover {
    color: black;
}


/* FOOTER */

.contact-page .page-footer {
    background-color: darkgreen;
    color: white;
    text-align: center;
    padding: 18px;
}

.contact-page .page-footer p {
    margin: 0;
}