/* ==========================================
   CONTACT PAGE STYLING
   ========================================== */

/* 1. Base Setup & Typo Fix */
.contact-main {
    background-color: #fcfcfc;
    min-height: 100vh;
    padding-top: clamp(140px, 15vw, 180px); /* Clears transparent/solid header gracefully */
}

/* 2. Hero Section */
.contact-hero {
    margin-bottom: 60px;
    padding: 0 20px 60px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-hero .hero-subtitle {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 20px;
    color: #1a1a1a; /* Changed text color from teal to black to better match */
}

.contact-hero .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.contact-hero .hero-intro {
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* 3. Layout Grid */
.contact-container {
    padding-bottom: 120px;
    max-width: 1100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

/* 4. Contact Info (Sticky Left Column) */
.contact-info-wrapper {
    position: relative;
}

.contact-info-sticky {
    position: sticky;
    top: 120px; /* Floats beautifully as they scroll */
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #1a1a1a;
    margin-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

.info-block p, .info-block a {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.7;
    color: #666666;
    transition: color 0.3s ease;
    text-decoration: none;
    margin: 0;
}

/* FIX: Email/Tel Link Hovers from teal to black */
.info-block a:hover {
    color: #1a1a1a; /* Changed from #007769 */
}

/* 5. Contact Form (Right Column - Elite Paper Style) */
.lux-contact-form {
    background: transparent; /* Removed the heavy box */
    padding: 0;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Force strict column stacking */
.lux-contact-form .input-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-bottom: 40px;
    position: relative;
}

.lux-contact-form .input-group label {
    display: block !important;
    width: 100%;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #1a1a1a;
    margin-bottom: 5px;
}

/* Elite "Paper" Inputs */
.lux-contact-form input[type="text"],
.lux-contact-form input[type="email"],
.lux-contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none;
    appearance: none;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d4d4d4; /* Only bottom border */
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.4s ease;
    resize: vertical;
}

/* Softer, italicized placeholders */
.lux-contact-form input::placeholder,
.lux-contact-form textarea::placeholder {
    color: #bbbbbb;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 18px;
}

/* FIX: Input Focus from standard black box to signature black line */
.lux-contact-form input:focus,
.lux-contact-form textarea:focus {
    border-bottom: 1px solid #1a1a1a; /* Crisp dark line on focus */
}

/* FIX: MAJOR Submit Button Refactor (Applying Paper Form Aesthetic) */
.contact-submit-btn {
    display: inline-block;
    padding: 20px 40px;
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid transparent; /* Adding transparent border statically */
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.4s ease, transform 0.2s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: transparent; /* Changed from teal */
    color: #1a1a1a;         /* Changed to black */
    border-color: #1a1a1a;  /* Added black border */
    transform: none;        /* The user wants clean, no lift */
}

/* 6. Terms & Checkbox Alignment */
.form-terms {
    margin-top: 25px;
}

.checkbox-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer;
    accent-color: #1a1a1a;
}

.terms-text {
    font-family: var(--font-sans);
    font-size: 12px;
    color: #666666;
    line-height: 1;
}

#contact-form-message {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .form-row-split {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-info-sticky {
        position: relative;
        top: 0;
    }
}