body {
    overflow-x: hidden;
}

/* Make sure all elements use border-box */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent horizontal scroll on mobile */
body,
.contact-city-section {
    overflow-x: hidden;
}

/* Contact Navigation Highlight */
.navbar ul li:nth-child(8) a {
    color: #fad565;
}

/* Contact Page Header */
.contact-page-header {
    margin-top: 20px;
}

.contact-page-header h2 {
    color: #fad565;
    text-align: center;
    font-size: 30px;
}

.contact-page-header p {
    text-align: center;
    padding-bottom: 25px;
    color: white;
    font-size: large;
    margin-top: 10px;
}

/* Contact City Cards Section */
.contact-city-section {
    background: #000;
    padding: 60px 40px; /* Add horizontal padding */
}

.contact-city-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 100%; /* Fill container */
    margin: 0 auto;
    width: 100%;
}

.contact-city-card {
    flex: 1 1 0;
    max-width: none; /* Remove max-width for even distribution */
    width: 100%;
    min-width: 220px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.contact-city-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(199, 168, 131, 0.2);
}

.contact-city-image {
    width: 100%;
    height: 180px;
    object-fit: contain; /* Use contain for line art */
    background: #000;    /* Optional: keeps background black */
    display: block;

}

.contact-city-content {
    background: #1a1a1a !important;
    padding: 25px 20px !important;
    border-radius: 0 0 12px 12px;
    position: relative;
    text-align: center !important;
}

.contact-city-content h2 {
    color: #fff !important;
    font-size: 1.6em !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    background: transparent !important;
}

.contact-city-content > p {
    color: #bbb !important;
    font-size: 0.9em !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    background: transparent !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #333;
}

.contact-city-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: transparent !important;
    margin-top: 15px !important;
}

.contact-city-info-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding: 8px 0 !important;
    background: transparent !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

.contact-circle-icon {
    width: 36px !important;
    height: 36px !important;
    background: #fad565 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #fff !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.contact-city-info-row span:not(.contact-circle-icon) {
    color: #ddd !important;
    font-size: 1em !important;
    font-weight: 500 !important;
    background: transparent !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

/* Contact Gallery Styles */
.contact-gallery-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
}

.contact-gallery-row {
    display: flex;
    gap: 0;
}

.contact-gallery-hover-container {
    position: relative;
    display: inline-block;
}

.contact-gallery-hover-container img {
    display: block;
}

.contact-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.1em;
    text-align: center;
}

.contact-gallery-hover-container:hover .contact-gallery-overlay {
    opacity: 1;
}

.contact-gallery-overlay-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 32px 16px 24px 16px;
    box-sizing: border-box;
}

.contact-gallery-overlay-desc {
    margin-bottom: 0;
    font-size: 1.1em;
    line-height: 1.4;
    margin-top: 0;
}

.contact-gallery-overlay-icon {
    margin: 24px 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-gallery-overlay-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
    transition: transform 0.2s ease;
}

.contact-gallery-overlay:hover .contact-gallery-overlay-icon svg {
    transform: scale(1.1);
}

.contact-gallery-overlay-date {
    font-size: 1em;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: 1px;
}

/* Contact Navigation Bar */
.contact-navbars {
    width: 100%;
    overflow: hidden;
    padding: 15px;
    color: white;
    margin-top: 50px;
    position: relative;
    background-color: black;
}

.contact-navbars::before,
.contact-navbars::after {
    content: '';
    display: block;
    height: 2px;
    background-color: #fad565;
    width: 100%;
    position: absolute;
    left: 0;
}

.contact-navbars::before {
    top: 0;
}

.contact-navbars::after {
    bottom: 0;
}

.contact-horizontal-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: contact-scroll 15s linear infinite;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.contact-horizontal-scroll li {
    display: inline-block;
    margin-right: 10px;
    font-size: 22px;
}

.contact-horizontal-scroll a {
    text-decoration: none;
    color: white;
}

.contact-divider {
    color: white;
    font-size: 24px;
    margin-right: 10px;
}

/* Contact Page Specific Animations */
@keyframes contact-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Adjustments for Contact Page */
@media (max-width: 768px) {
    .contact-city-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-city-card {
        width: 100%;
        max-width: 350px;
    }

    .contact-gallery-overlay-desc {
        font-size: 0.9em;
    }

    .contact-gallery-overlay-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 600px) {
    .contact-city-section {
        display: block !important;
        padding: 0 !important;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin: 0 !important;
        background: #000 !important;
        overflow: visible !important;
    }
    .contact-city-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #000 !important;
        overflow: visible !important;
    }
    .contact-city-card {
        display: block !important;
        width: 95vw !important;
        max-width: 95vw !important;
        min-width: 0 !important;
        margin: 0 auto 16px auto !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        background: #000 !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 1 !important;
    }
    .contact-map-form-wrapper {
        display: block !important;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin: 0 !important;
    }
    .contact-map-form-wrapper > div {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    .contact-map-form-wrapper iframe {
        min-height: 220px !important;
        height: 40vw !important;
        max-height: 300px !important;
    }
}

/* Contact Form Styles (if needed) */
.contact-form-section {
    background: #181512;
    color: #fff;
    padding: 48px 40px;
}

.contact-form-section h2 {
    font-size: 2.2em;
    margin-bottom: 32px;
    font-weight: 600;
    color: #fff;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    padding: 12px 0;
    color: #fad565 !important;
    font-size: 1em;
    outline: none;
    margin-bottom: 24px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

/* .contact-form button {
    background: #c1a57b;
    color: #fff;
    border: none;
    padding: 14px 38px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #d3b78d;
} */

.contact-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.contact-checkbox-group input[type="checkbox"] {
    accent-color: #c1a57b;
    margin: 0;
    width: auto;
    border: none;
}

/* Curtain animation button */
.curtain-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #fad565 !important;
    color: #23201e !important;
    border: 1px solid #fad565;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px 13px !important;
    border-radius: 0;
    transition: color 0.3s;
    cursor: pointer;
    display: inline-block;
    outline: none;
    text-decoration: none !important;
}

.curtain-btn::before,
.curtain-btn::after {
    content: '';
    position: absolute;
    top: 0;
    width: 58%;
    height: 100%;
    background: #23201e;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
    transform: skewX(-18deg);
}

.curtain-btn::before {
    left: -8px;
    transform: translateX(-100%) skewX(-18deg);
}

.curtain-btn::after {
    right: -8px;
    transform: translateX(100%) skewX(-18deg);
}

.curtain-btn:hover::before,
.curtain-btn:focus::before {
    transform: translateX(0) skewX(-18deg);
}

.curtain-btn:hover::after,
.curtain-btn:focus::after {
    transform: translateX(0) skewX(-18deg);
}

.curtain-btn span {
    position: relative;
    z-index: 3;
    color: #111;
    background: transparent !important;
}

.curtain-btn:hover,
.curtain-btn:focus {
    color: #23201e !important;
}

.curtain-btn:hover span,
.curtain-btn:focus span {
    color: #fff !important;
    z-index: 3;
}

/* Force input and textarea text color for all forms */
input,
textarea {
    color: #fad565 !important;
    caret-color: #fad565 !important;
    background: transparent !important;
}

/* Autofill styles for Chrome, Safari, Edge */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-text-fill-color: #fad565 !important;
    caret-color: #fad565 !important;
    background: transparent !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* Autofill styles for Firefox */
input:-moz-autofill,
textarea:-moz-autofill {
    color: #fad565 !important;
    caret-color: #fad565 !important;
    background: transparent !important;
}
