@view-transition {
    navigation: auto;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f7f7f7;
}

/* Contact Form Styles */
.contact-form-container {
    background-color: white;
    padding: 30px 30px 0px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    height: calc(100% - 30px); /* Account for margin-bottom */
}

h1 {
    font-family: 'Special Gothic Expanded One', sans-serif;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-family: Montserrat, sans-serif;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: #252525;
    border-width: 2px;
    outline: none;
    box-shadow: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-button {
    position: relative;
    background-color: transparent;
    cursor: pointer;
    border: 2px solid #252525;
    overflow: hidden;
    border-radius: 30px;
    color: #333;
    transition: all 0.5s ease-in-out;
    font-family: Montserrat, sans-serif;
    width: 260px;
    font-size: 18px;
    padding: 12px 24px;
    margin: 30px auto;
    display: block;
}

.contact-button:hover {
    color: #fff;
    background-color: #1A1A1A;
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
}

.contact-button::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.5s ease-in-out;
    background-color: #333;
    border-radius: 30px;
    visibility: hidden;
    height: 10px;
    width: 10px;
    z-index: -1;
}

.contact-button:hover::after {
    visibility: visible;
    transform: scale(100) translateX(2px);
}

/* Map Container */
.map-container {
    height: calc(100% - 30px); /* Match the form container height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Footer */
.vertical-footer {
    position: fixed;
    top: 50%;
    left: 0;
    right: auto;
    transform: translateY(-50%);
    color: #333;
    padding: 0;
    z-index: 1000;
}

.vertical-footer ul {
    list-style: none;
    margin: 5px;
    padding: 0;
    writing-mode: sideways-lr;
    text-orientation: mixed;
    font-family: Montserrat, sans-serif;
}

.vertical-footer ul li {
    margin: 0;
}

.vertical-footer ul li a {
    margin-bottom: 10px;
    display: inline-block;
    text-decoration: underline;
    color: black;
    font-size: 14px;
}

.vertical-footer ul li a:hover {
    text-decoration: none;
    color: black;
}

/* Navigation Icons */
.logoimg {
    max-height: 60px;
    height: 60px;
}

.cartimg {
    max-height: 26px;
    height: 26px;
    margin-right: 25px;
    margin-top: 17px;
    float: right;
    vertical-align: middle;
}

.menuimg {
    max-height: 26px;
    height: 26px;
    margin-right: 35px;
    margin-top: 17px;
    float: right;
}

/* Form Validation Styles */
.invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}