/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Hero Header - Matches Site Theme */
.contactPageHeader {
    width: 100%;
    min-height: 35vh;
    padding-top: 14vh;
    padding-bottom: 6vh;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url("../content/uploads/2021/04/IMG_20200703_130354e1-scaled.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.contactPageHeader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(60, 75, 65, 0.4) 0%, rgba(40, 50, 45, 0.5) 100%);
}

.contactHeaderContent {
    width: 80vw;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.contactPageTitle {
    font-family: 'Noto Serif', serif;
    font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
    font-weight: 400;
    margin-bottom: 1%;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.contactPageSubtitle {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.95rem, 1vw + 0.3rem, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: subtitleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes subtitleReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Content Section */
.contactContent {
    width: 100%;
    background: linear-gradient(180deg, #f0f4f0 0%, #e8ece8 100%);
    padding: 8vh 0 10vh 0;
}

.contactWrapper {
    width: 85vw;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

/* Contact Info Side */
.contactInfo {
    padding: 2rem 0;
}

.contactInfoTitle {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1.4rem, 1.8vw + 0.3rem, 2rem);
    font-weight: 400;
    color: var(--dark, #1a3326);
    margin-bottom: 1rem;
}

.contactInfoText {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--gray-600, #555555);
    margin-bottom: 2.5rem;
}

.contactMethods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contactMethod {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contactMethod:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contactIcon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary, #5c7a65);
    border-radius: 50%;
    color: white;
}

.contactIcon svg {
    width: 22px;
    height: 22px;
}

.contactMethodInfo h3 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500, #777777);
    margin-bottom: 0.3rem;
}

.contactMethodInfo a,
.contactMethodInfo p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1em;
    color: var(--dark, #1a3326);
    text-decoration: none;
    margin: 0;
    line-height: 1.5;
}

.contactMethodInfo a:hover {
    color: var(--accent, #e09900);
}

.contactMethodInfo .subtext {
    font-size: 0.85em;
    color: var(--gray-500, #777777);
    margin-top: 0.2rem;
}

/* Contact Form Container */
.contactFormContainer {
    background: white;
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: relative;
}

.formTitle {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1.2rem, 1.4vw + 0.3rem, 1.6rem);
    font-weight: 400;
    color: var(--dark, #1a3326);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200, #e8ece8);
}

/* Form Styles */
.contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.formRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.formGroup {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.formGroup label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--gray-600, #555555);
}

.formGroup input,
.formGroup select,
.formGroup textarea {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1em;
    padding: 0.9rem 1rem;
    border: 2px solid var(--gray-300, #d0d4d0);
    border-radius: 4px;
    background: var(--off-white, #f8f9f8);
    color: var(--gray-700, #333333);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.formGroup input:focus,
.formGroup select:focus,
.formGroup textarea:focus {
    outline: none;
    border-color: var(--primary, #5c7a65);
    box-shadow: 0 0 0 3px var(--primary-dim, rgba(92, 122, 101, 0.08));
}

.formGroup input::placeholder,
.formGroup textarea::placeholder {
    color: var(--gray-400, #a0a4a0);
}

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

.formGroup select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Submit Button */
.submitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    
    padding: 1rem 2rem;
    margin-top: 0.5rem;
    
    background: linear-gradient(135deg, var(--primary, #5c7a65) 0%, var(--primary-dark, #4a6052) 100%);
    color: white;
    border: none;
    border-radius: 4px;
    
    cursor: pointer;
    transition: all 0.3s ease;
}

.submitBtn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.submitBtn:hover {
    background: linear-gradient(135deg, var(--primary-dark, #4a6052) 0%, var(--dark-lighter, #2d503c) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 122, 101, 0.3);
}

.submitBtn:hover svg {
    transform: translate(3px, -3px);
}

.submitBtn:active {
    transform: translateY(0);
}

/* Form Success Message */
.formSuccess {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 4px;
    
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
}

.formSuccess.active {
    display: flex;
}

.successIcon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    background: linear-gradient(135deg, var(--primary, #5c7a65) 0%, var(--primary-dark, #4a6052) 100%);
    border-radius: 50%;
    color: white;
}

.successIcon svg {
    width: 40px;
    height: 40px;
}

.formSuccess h3 {
    font-family: 'Noto Serif', serif;
    font-size: 1.8em;
    font-weight: 400;
    color: var(--dark, #1a3326);
    margin-bottom: 0.8rem;
}

.formSuccess p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1em;
    color: var(--gray-600, #555555);
    line-height: 1.6;
}

/* CTA Section */
.contactCTA {
    width: 100%;
    padding: 10vh 0;
    background: linear-gradient(135deg, var(--primary, #5c7a65) 0%, var(--primary-dark, #4a6052) 100%);
    text-align: center;
    position: relative;
}

.contactCTA .ctaContent {
    width: 80vw;
    max-width: 700px;
    margin: auto;
    color: white;
    position: relative;
    z-index: 1;
}

.contactCTA .ctaTitle {
    font-family: 'Noto Serif', serif;
    font-size: clamp(1.5rem, 2.5vw + 0.3rem, 2.5rem);
    font-weight: 400;
    margin-bottom: 1vh;
    color: white;
}

.contactCTA .ctaSubtitle {
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(0.9rem, 1vw + 0.3rem, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3vh;
}

.ctaPhoneBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    
    font-family: 'Noto Sans', sans-serif;
    font-size: clamp(1rem, 1.1vw + 0.3rem, 1.3rem);
    font-weight: 600;
    
    padding: 1rem 2.5rem;
    
    background: var(--accent, #e09900);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(224, 153, 0, 0.3);
}

.ctaPhoneBtn svg {
    width: 24px;
    height: 24px;
}

.ctaPhoneBtn:hover {
    background: var(--accent-light, #f0b733);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(224, 153, 0, 0.4);
}

/* ============================================
   CONTACT RESPONSIVE STYLES
   ============================================ */

@media (max-width: 992px) {
    .contactWrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contactInfo {
        order: 2;
    }
    
    .contactFormContainer {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contactPageHeader {
        background-attachment: scroll;
        min-height: 30vh;
        padding-top: 12vh;
    }
    
    .contactContent {
        padding: 5vh 0 8vh 0;
    }
    
    .contactWrapper {
        width: 90vw;
        gap: 2.5rem;
    }
    
    .formRow {
        grid-template-columns: 1fr;
    }
    
    .contactFormContainer {
        padding: 2rem 1.5rem;
    }
    
    .contactFormContainer iframe {
        height: 560px !important;
    }
}


@media (max-width: 480px) {
    .contactPageHeader {
        min-height: 28vh;
        padding-top: 10vh;
        padding-bottom: 4vh;
    }
    
    .contactWrapper {
        width: 92vw;
    }
    
    .contactFormContainer {
        padding: 1.5rem 1.2rem;
    }
    
    .contactFormContainer iframe {
        height: 480px !important;
    }
    
    .contactMethod {
        padding: 1rem;
    }
    
    .contactIcon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    
    .contactIcon svg {
        width: 18px;
        height: 18px;
    }
    
    .submitBtn {
        width: 100%;
    }
    
    .contactCTA {
        padding: 8vh 0;
    }
    
}
