/* Contact Page Styles */

/* Hero Section with Blur */
.contact-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    /* Navbar adjustment if needed */
}

.hero-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a high-quality event image */
    background-image: url('https://www.thetamarindtree.in/wp-content/uploads/2024/09/SAL04106-1500x1000.jpg');
    background-size: cover;
    background-position: center;
    /* The Blur Effect */
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transform: scale(1.1);
    /* Scale up to hide blurred edges */
}

/* Overlay to darken slightly for text readability */
.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-title {
    color: white;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Contact Option Buttons */
.btn-contact-option {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact-option:hover {
    background: white;
    color: var(--charcoal);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Form Styles */
.contact-form-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Optional: Negative margin to overlap hero slightly if desired, keeping separate for now */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-heading {
    font-family: 'Gallient', serif;
    color: var(--charcoal);
    font-size: 2.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding: 10px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: var(--gold);
    background: transparent;
}

.btn-primary-custom {
    background: var(--gold);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Steps Animation */
#form-step-1,
#form-step-2 {
    transition: opacity 0.3s ease;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode Overrides */
[data-theme="dark"] .contact-form-card {
    background: var(--bg-card, #1e1e1e);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-label {
    color: var(--text-muted);
}

[data-theme="dark"] .form-heading {
    color: var(--text-main);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    color: var(--text-main);
    border-bottom-color: #333;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    border-bottom-color: var(--gold);
}

/* Trust Section */
.trust-section {
    background-color: var(--bg-surface-alt, #f6ebf3) !important;
}

[data-theme="dark"] .trust-section {
    background-color: #1a1a1a !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .contact-form-card {
        padding: 30px 20px;
    }
}