/* --- CSS Variables for Contact Page --- */
:root {
    --cup-primary-blue: #282d6e;
    --cup-primary-red: #b91c38;
    --cup-gradient: linear-gradient(90deg, #282d6e 0%, #b91c38 100%);
    --cup-bg-light: #f9f9f9;
    --cup-text-dark: #333;
    --cup-border-color: #ddd;
    --cup-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Global Resets for this section --- */
#contact-page-main {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    overflow-x: hidden;
    background-color: #fff;
}

#contact-page-main * {
    box-sizing: border-box;
}

/* --- Hero Section --- */
.cup-hero {
    position: relative;
    width: 100%;
    height: 350px;
    background-image: url('../images/contact-us-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cup-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: rgba(255, 255, 255, 0.3); */
    background: rgba(0, 0, 0, 0.6);
}

.cup-hero-content {
    position: relative;
    z-index: 2;
}

.cup-hero-content h1 {
    font-size: 4rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 0;
}

/* --- Container Utility --- */
.cup-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- Split Section (Info + Form) --- */
.cup-split-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

/* Left Column: Info */
.cup-info-col {
    flex: 1;
    padding-top: 20px;
}

.cup-logo-wrapper {
    margin-bottom: 30px;
}

.cup-logo {
    max-width: 180px;
    height: auto;
}

.cup-address-block h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 700;
}

.cup-address-block p {
    font-size: 1.4rem;
    color: #000;
    margin-top: 0;
    margin-bottom: 25px;
}

.cup-contact-details .cup-detail-row {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 15px;
}

.cup-contact-details strong {
    font-weight: 800;
    margin-right: 5px;
}

/* Right Column: Form */
.cup-form-col {
    flex: 1;
}

.cup-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--cup-shadow);
    border: 1px solid #eee;
}

.cup-form-title {
    color: var(--cup-primary-red);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.cup-contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cup-form-row {
    display: flex;
    gap: 20px;
}

.cup-form-row-full {
    width: 100%;
}

.cup-input, .cup-select, .cup-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--cup-border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: #666;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
}

.cup-input::placeholder, .cup-textarea::placeholder {
    color: #ccc;
}

.cup-input:focus, .cup-select:focus, .cup-textarea:focus {
    border-color: var(--cup-primary-red);
}

.cup-select {
    color: #666;
    cursor: pointer;
}

.cup-textarea {
    resize: vertical;
    min-height: 120px;
}

.cup-submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: var(--cup-gradient);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.cup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 28, 56, 0.4);
}

/* --- Maps Section (UPDATED) --- */
.cup-map-section {
    padding-top: 0;
    padding-bottom: 80px;
}

/* New Single Full Map Container */
.cup-map-full {
    width: 100%;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--cup-shadow);
    background: #e0e0e0; /* Loading placeholder color */
}

.cup-map-full iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    /* Optional: Keep the grayscale effect until hover */
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.cup-map-full:hover iframe {
    filter: grayscale(0%);
}

/* --- Responsive Media Queries --- */

/* Tablet & Mobile */
@media screen and (max-width: 900px) {
    .cup-hero {
        height: 250px;
    }
    .cup-hero-content h1 {
        font-size: 3rem;
    }
    .cup-split-section {
        flex-direction: column;
        gap: 40px;
    }
}

/* Mobile Small */
@media screen and (max-width: 600px) {
    .cup-hero-content h1 {
        font-size: 2.5rem;
    }
    .cup-form-row {
        flex-direction: column;
        gap: 15px;
    }
    .cup-form-card {
       padding: 4rem;
    }
    
    /* Adjust map height for small screens */
    .cup-map-full {
        height: 300px;
    }
}