/* Contact Section - New Design with Background Image */
.contact-section {
    position: relative;
    min-height: 100vh; /* Standard viewport height - won't cause scaling */
    padding: 0;
    overflow: hidden;
    /* Background directly on section */
    background-image: url('../images/contact-bg-img2.jpg'); /* Update path */
    background-size: cover;
    background-position: center center; /* Center the image */
    background-repeat: no-repeat;
    background-color: #000;
    /* Override content-section margins to touch browser edges */
    margin: 6rem 0 0 0;
    border-radius: 0 !important;
    border: none !important; /* Remove border that shows between sections */
    box-shadow: none !important; /* Remove any shadow */
}

/* Black fade overlay */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: 2;
}

/* Page Container - Full Width for Contact Section */
.contact-section .page-container {
    position: relative;
    z-index: 3;
    padding: 0; /* Remove padding for full width */
    max-width: 100%; /* Full width */
    min-height: 100vh;
}

/* Contact Layout - Forms Positioned Lower */
.contact-layout {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Push forms to bottom instead of center */
    gap: 3rem; /* Gap between cards */
    padding: 2rem 2rem 6rem 2rem; /* Less top padding, more bottom padding */
}

/* Quick Booking Card (Centered Top) */
.quick-booking-card {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 520px;
    width: 100%;
    text-align: center;
    z-index: 10;
    margin-top: 600px; /* Push forms down to reveal more background */
}

.quick-booking-card h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.quick-booking-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Use primary button style from main stylesheet */
.quick-booking-card .btn-component {
    width: 100%;
    background: #00a8e8;
    color: white;
}

.quick-booking-card .btn-component:hover {
    background: #0090c9;
}

/* Got a Question Form (Centered Below Quick Booking) */
.contact-form-overlay {
    background: rgba(0, 168, 232, 0.14); /* Blue at 14% opacity as per design */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
   /* border: 1px solid rgba(255, 255, 255, 0.1);*/
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.contact-form-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Form Styles for Overlay */
.contact-form-overlay .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-overlay .form-group label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.contact-form-overlay .input-component input,
.contact-form-overlay .textarea-component textarea {
    background: rgba(255, 255, 255, 0.95);
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
    color: #1a1a1a;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form-overlay .input-component input::placeholder,
.contact-form-overlay .textarea-component textarea::placeholder {
    color: #999;
}

.contact-form-overlay .input-component input:focus,
.contact-form-overlay .textarea-component textarea:focus {
    background: white;
    border-color: #00a8e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
}

.contact-form-overlay .textarea-component textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form-overlay .btn-component {
    width: 100%;
    margin-top: 0.5rem;
    /* Use secondary button style - outline with cyan border */
    background: transparent;
    border: 2px solid #00a8e8;
    color: #00a8e8;
}

.contact-form-overlay .btn-component:hover {
    background: #00a8e8;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        gap: 2.5rem;
        padding: 6rem 2rem 4rem 2rem;
    }

    .quick-booking-card {
        max-width: 90%;
        margin-top: 2rem;
    }

    .contact-form-overlay {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .contact-section .page-container {
        padding: 0;
    }

    .contact-layout {
        padding: 4rem 1rem 2rem 1rem;
        gap: 2rem;
        min-height: 100vh;
    }

    .quick-booking-card {
        padding: 1.5rem 2rem;
        max-width: 100%;
        margin-top: 1rem;
    }

    .quick-booking-card h3 {
        font-size: 1.3rem;
    }

    .contact-form-overlay {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .contact-form-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-layout {
        padding: 3rem 1rem 2rem 1rem;
        gap: 1.5rem;
    }

    .quick-booking-card {
        padding: 1.25rem 1.5rem;
        margin-top: 0.5rem;
    }

    .contact-form-overlay {
        padding: 1.5rem 1rem;
    }

    .contact-form-overlay .form-group {
        margin-bottom: 1.25rem;
    }
}