/* Contact Page Styles */

:root {
    --primary-color: #d94f04;
    --primary-hover: #b34303;
    --light-bg: #fff8e1;
    --text-color: #2c2f33;
    --border-color: #e0d4b8;
    --card-shadow: 0 8px 25px rgba(0,0,0,0.15);
    --card-hover-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

body {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f5f0e8 100%);
    min-height: 100vh;
}

.contact-main {
    padding-top: 80px; /* Adjust for fixed header */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-container:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-5px);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b0000 100%);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero2.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.contact-info > * {
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-info p {
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
    opacity: 0.95;
}

.contact-info ul li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact-info ul li:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.contact-info ul i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 2.5rem;
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 1.3rem;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-decoration: none;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    color: #fff;
}

.contact-form-container {
    padding: 3rem;
    background: rgba(255,255,255,0.5);
}

.contact-form-container h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(217, 79, 4, 0.25);
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
}

.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), #e55a0a);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(217, 79, 4, 0.3);
}

.btn-custom:hover {
    background: linear-gradient(135deg, #b34303, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 79, 4, 0.4);
    color: white;
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading Button Styles */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-custom:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alert Animations */
.alert {
    animation: slideDown 0.3s ease-out;
    border: none;
    border-radius: 10px;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Focus Enhancements */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(217, 79, 4, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-color);
}

/* Required Field Indicator */
.text-danger {
    font-weight: bold;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-info {
        padding: 2rem;
        text-align: center;
    }
    .contact-info ul {
        justify-content: center;
    }
    .contact-form-container {
        padding: 2rem;
    }
} 