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

/* ===================================
   CONTACT HERO SECTION
   =================================== */

.contact-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 700px;
    overflow: hidden;
}

.contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.3));
    z-index: 1;
}

/* ===================================
   CONTACT CONTENT - SPLIT LAYOUT
   =================================== */

.contact-content {
    padding: 0;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* Left Side - Contact Info */
.contact-info-side {
    background: var(--off-white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.info-section {
    margin-bottom: 20px;
}

.info-section .accent-line {
    width: 60px;
    height: 4px;
    background: var(--yellow);
    margin-bottom: 25px;
}

.info-section h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1.2;
    margin-bottom: 25px;
}

.info-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.info-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

/* Contact Channels */
.contact-channel {
    margin-bottom: 35px;
}

.contact-channel h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.contact-detail {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.contact-detail a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--yellow);
}

/* Commitment Section */
.commitment-section {
    margin-top: auto;
}

.commitment-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1.4;
}

/* Right Side - Contact Form */
.contact-form-side {
    background: var(--green);
    padding: 80px 60px;
}

.form-container h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1.2;
    margin-bottom: 20px;
}

.form-intro {
    font-size: 16px;
    line-height: 1.8;
    color: var(--off-white);
    margin-bottom: 40px;
}

/* ===================================
   CONTACT FORM STYLING
   =================================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 5px;
    background: white;
    color: #333;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    margin-top: 20px;
    align-self: flex-start;
    min-width: 200px;
}

/* ===================================
   SUCCESS MESSAGE MODAL
   =================================== */

.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-message.show {
    display: flex;
}

.success-content {
    background: white;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    animation: slideInUp 0.5s ease;
}

.success-content i {
    font-size: 60px;
    color: #4caf50;
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.success-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

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

/* ===================================
   RESPONSIVE DESIGN - CONTACT PAGE
   =================================== */

@media (max-width: 1200px) {
    .contact-info-side,
    .contact-form-side {
        padding: 60px 40px;
    }
    
    .info-section h2,
    .form-container h2 {
        font-size: 36px;
    }
    
    .commitment-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 968px) {
    .contact-hero {
        height: 40vh;
        min-height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 60px 30px;
    }
    
    .info-section h2,
    .form-container h2 {
        font-size: 32px;
    }
    
    .commitment-section h2 {
        font-size: 22px;
    }
    
    .info-section {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 35vh;
        min-height: 300px;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 50px 25px;
    }
    
    .info-section h2,
    .form-container h2 {
        font-size: 28px;
    }
    
    .commitment-section h2 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .btn-submit {
        width: 100%;
    }
    
    .success-content {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .success-content i {
        font-size: 50px;
    }
    
    .success-content h3 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 30vh;
        min-height: 250px;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 40px 20px;
    }
    
    .info-section h2,
    .form-container h2 {
        font-size: 24px;
    }
    
    .commitment-section h2 {
        font-size: 18px;
    }
    
    .contact-channel h3 {
        font-size: 13px;
    }
    
    .contact-detail {
        font-size: 13px;
    }
    
    .info-section p,
    .form-intro {
        font-size: 15px;
    }
    
    .success-content {
        padding: 30px 20px;
    }
}

/* ===================================
   FORM VALIDATION STATES
   =================================== */

.form-group input.error,
.form-group textarea.error {
    border: 2px solid #f44336;
}

.form-group input.success,
.form-group textarea.success {
    border: 2px solid #4caf50;
}

.error-message {
    color: #f44336;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* ===================================
   ANIMATIONS
   =================================== */

.contact-info-side,
.contact-form-side {
    animation: fadeIn 0.8s ease forwards;
}

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