/* Contact Page Specific Styles */

/* Base overrides and layout */
.py-6 {
    padding-top: clamp(3rem, 8vw, 8rem);
    padding-bottom: clamp(3rem, 8vw, 8rem);
}

@media (max-width: 767px) {
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.font-light {
    font-weight: 300;
}

/* Cinematic Hero Section */
.contact-hero-section {
    position: relative;
    min-height: 70vh;
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 991px) {
    .contact-hero-section {
        min-height: 60vh;
        padding-top: 120px;
    }
}

@media (max-width: 767px) {
    .contact-hero-section {
        min-height: 40vh;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .contact-hero-section .hero-title {
        font-size: 2.5rem;
    }
    .contact-hero-section .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }
}

.contact-hero-section .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.contact-hero-section .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transform: scale(1.05);
    animation: zoomOutSlow 20s infinite alternate linear;
}

@keyframes zoomOutSlow {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.contact-hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.2) 50%, #050505 100%);
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 4;
}

.scroll-line {
    width: 100px;
    height: 1px;
    background: rgba(197, 160, 89, 0.5);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: var(--color-primary);
    animation: scrollSlide 2s infinite ease-in-out;
}

@keyframes scrollSlide {
    0% { transform: translateX(-30px); }
    100% { transform: translateX(100px); }
}

/* Contact Info & Form Section */
.contact-info-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-info-card:hover {
    background: rgba(25, 25, 25, 0.8);
    border-color: rgba(197, 160, 89, 0.2);
    transform: translateY(-5px);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-link:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.contact-form-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.form-floating-custom {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating-custom input,
.form-floating-custom select,
.form-floating-custom textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    padding: 1.25rem 1rem 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-floating-custom input:focus,
.form-floating-custom select:focus,
.form-floating-custom textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.1);
}

.form-floating-custom label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 300;
}

.form-floating-custom textarea ~ label {
    top: 1.5rem;
}

.form-floating-custom input:focus ~ label,
.form-floating-custom input:not(:placeholder-shown) ~ label,
.form-floating-custom select:focus ~ label,
.form-floating-custom select:not([value=""]) ~ label,
.form-floating-custom textarea:focus ~ label,
.form-floating-custom textarea:not(:placeholder-shown) ~ label {
    top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-primary);
    transform: translateY(0);
}

/* Hide default select arrow and add custom one */
.form-floating-custom select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-floating-custom select option {
    background: #111;
    color: #fff;
}


/* Project Inquiry Section */
.project-selector-card {
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    height: 100%;
}

.project-selector-card:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-5px);
}

.project-selector-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.project-selector-card:hover .material-symbols-outlined {
    color: var(--color-primary);
}

/* Why Contact Section */
.why-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 4px;
    height: 100%;
    transition: all 0.4s ease;
}

.why-card:hover {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(197, 160, 89, 0.15);
}

/* Office Showcase Section */
.office-showcase-img {
    width: 100%;
    height: clamp(300px, 40vw, 500px);
    object-fit: cover;
    border-radius: 4px;
}

.office-info-panel {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(2rem, 4vw, 4rem);
    border-radius: 4px;
    margin-top: -100px;
    position: relative;
    z-index: 2;
    margin-left: 2rem;
    margin-right: 2rem;
}

@media (min-width: 992px) {
    .office-info-panel {
        margin-top: 0;
        margin-left: -50px;
        margin-right: 0;
    }
}

/* Interactive Map Section */
.map-container {
    position: relative;
    height: 600px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(90%) contrast(1.2);
}

.map-overlay-card {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 2rem;
    border-radius: 4px;
    width: 320px;
    z-index: 2;
}

@media (max-width: 768px) {
    .map-container {
        height: 500px;
    }
    .map-overlay-card {
        top: auto;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 90%;
    }
}



/* Client Testimonials */
.testimonial-card-luxury {
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    height: 100%;
    transition: all 0.4s ease;
}

.testimonial-card-luxury:hover {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(197, 160, 89, 0.2);
    transform: translateY(-5px);
}

/* Premium CTA Section */
.premium-cta-section {
    background: #000;
}

.cta-bg-glow {
    position: absolute;
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.cta-glass-panel {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 4px;
}
@media (max-width: 1366px) {
   .contact-hero-section {
    position: relative;
    min-height: 46vh;
    padding-top: 50px;
   }
}

@media (max-width: 576px) {
   .contact-hero-section {
    position: relative;
    min-height: 33vh;
    padding-top: 50px;
   }
}