/* Mobile-first base styles */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    transition: left 0.5s cubic-bezier(.77,0,.18,1);
    overflow-y: auto;
}
.contact-modal-overlay.active {
    left: 0;
}
.contact-modal-overlay.hidden {
    display: none;
}
.contact-modal-content.contact-modal-full {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
    background: #181818;
    z-index: 3100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.2rem 0.5rem !important;
    overflow: visible;
    font-size: 1rem;
}
.contact-modal-textinfo h3 {
    font-size: 0.2rem;
    font-weight: bold;
    background: linear-gradient(235deg, #000000, #000000);
    color: #F4CB0D;
    padding: 20px;
    clip-path: polygon(0 0, 200% 10%, 100% 100%, 0% 90%);
    text-align: left;
}
.strong {
    font-size: 1.8rem;
}
.contact-modal-form,
.contact-modal-info {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    overflow: visible;
}
.contact-modal-form {
    gap: 1.2rem;
    max-width: 100vw;
    min-width: 0;
    background:
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        #111 url('../images/contactus.jpg') center center/cover no-repeat;
    border-right: none;
    border-bottom: 2px solid #F4CB0D;
    box-sizing: border-box;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
}
.contact-modal-form h2 {
    color: #F4CB0D;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
}
.contact-modal-form label {
    color: #F4CB0D;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}
.contact-modal-form input,
.contact-modal-form textarea {
    background: #222;
    color: #F4CB0D;
    border: 1px solid #F4CB0D;
    border-radius: 6px;
    padding: 0.7em 1em;
    font-size: 1rem;
    margin-top: 0.2em;
    margin-bottom: 0.7em;
    transition: border 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.contact-modal-form input:focus,
.contact-modal-form textarea:focus {
    outline: none;
    border-color: #fff700;
    background: #181818;
}
.contact-modal-form button,
.contact-modal-submit {
    background: #F4CB0D;
    color: #181818;
    border: none;
    border-radius: 6px;
    padding: 0.8em 1.5em;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5em;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px #F4CB0D33;
}
.contact-modal-form button:hover,
.contact-modal-submit:hover {
    background: #181818;
    color: #F4CB0D;
    border: 1px solid #F4CB0D;
}
.contact-modal-status {
    min-height: 1.2em;
    color: #F4CB0D;
    font-size: 1rem;
    margin-top: 0.7em;
    text-align: center;
    width: 100%;
}
.contact-modal-info {
    background: #222;
    color: #F4CB0D;
    border-radius: 0;
    border-left: none;
    border-top: 2px solid #F4CB0D;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    box-sizing: border-box;
    padding: 1.2rem 0.5rem 1rem 0.5rem;
}
.contact-modal-info h3 {
    margin-top: 0;
    color: #F4CB0D;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}
.contact-modal-info p {
    color: #F4CB0D;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    text-align: center;
}
.contact-modal-map {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px #F4CB0D33;
    margin-top: 0.5em;
    display: flex;
    justify-content: center;
}
.contact-modal-map iframe {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
    background: #181818;
    border-radius: 8px;
}
.contact-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 2.2rem;
    background: transparent;
    border: none;
    color: #F4CB0D;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3200;
    transition: color 0.2s;
    line-height: 1;
}

/* Tablet and up: side-by-side layout */
@media (min-width: 700px) {
  .contact-modal-content.contact-modal-full {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2.5rem !important;
    min-height: 600px !important;
    max-width: 900px !important;
    height: 100vh !important;
    max-height: 100vh !important;
  }
  .contact-modal-form,
  .contact-modal-info {
    max-width: 50vw;
    height: 100vh;
    padding: 2.5rem 2rem 2rem 2rem;
    border-right: 2px solid #F4CB0D;
    border-bottom: none;
  }
  .contact-modal-info {
    border-right: none;
    border-left: 2px solid #F4CB0D;
    border-top: none;
  }
  .contact-modal-form {
    border-bottom: none;
    border-right: 2px solid #F4CB0D;
  }
  .contact-modal-close {
    font-size: 3.2rem;
  }
}

.relative-map {
    position: relative;
}

.map-link-floating {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.6); /* Optional background for visibility */
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #f4CB0D;
    text-decoration: underline;
}

.map-link-floating:hover {
    text-decoration: none;
}
.contact-modal-form select {
    background: #222;
    color: #F4CB0D;
    border: 1px solid #F4CB0D;
    border-radius: 6px;
    padding: 0.7em 1em;
    font-size: 1rem;
    margin-top: 0.2em;
    margin-bottom: 0.7em;
    transition: border 0.2s, background 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.contact-modal-form select:focus {
    outline: none;
    border-color: #fff700;
    background: #181818;
}