/* 
   =============================================
   CONTACT US PAGE STYLES (contact-design.css)
   Follows SKILL.md Luxury Guidelines
   ============================================= 
*/

/* --- 1. HERO SECTION --- */
.contact-hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 60vh;
    padding: 120px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-dark);
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.7) 100%);
    z-index: 2;
}

.contact-hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: panGrid 60s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    padding: var(--space-4);
}

.contact-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(237, 139, 51, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.contact-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    font-family: var(--font-heading);
}

.contact-hero p {
    font-size: 18px;
    color: var(--color-light);
    line-height: 1.6;
    margin-bottom: var(--space-5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 2. BREADCRUMB --- */
.contact-breadcrumb {
    background-color: var(--color-white);
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-breadcrumb li {
    font-size: 14px;
    color: var(--color-text-muted);
}

.contact-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-breadcrumb a:hover {
    color: var(--color-dark);
}

/* --- 3. QUICK CONTACT INFORMATION --- */
.quick-contact {
    padding: 120px 0;
    background-color: #F8F9FA;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.quick-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    z-index: 1;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(237, 139, 51, 0.05) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: rgba(237, 139, 51, 0.2);
}

.quick-card:hover::before {
    opacity: 1;
}

.quick-icon {
    font-size: 35px;
    color: var(--color-primary);
    margin-bottom: 25px;
    display: inline-block;
    padding: 20px;
    width: 80px;
    height: 80px;
    line-height: 40px;
    background: rgba(237, 139, 51, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.quick-card:hover .quick-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.quick-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
    color: var(--color-dark);
}

.quick-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1.6;
}

.quick-card a.quick-link {
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-top: var(--space-3);
    transition: color 0.3s ease;
}

.quick-card a.quick-link:hover {
    color: var(--color-primary);
}

/* --- 4. MAIN CONTACT FORM SECTION --- */
.contact-form-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 55% 41%;
    gap: 4%;
    align-items: stretch;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.contact-form-wrapper > p {
    color: var(--color-text-muted);
    margin-bottom: 15px;
    font-size: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-dark);
    font-size: 12px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 13px;
    transition: all 0.3s ease;
    color: var(--color-dark);
}

.form-control::placeholder {
    color: #A0A0A0;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(237, 139, 51, 0.08);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

textarea.form-control {
    height: 80px;
    resize: vertical;
}

.contact-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

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

.contact-floating-card {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.floating-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.floating-stat i {
    font-size: 20px;
    color: var(--color-primary);
}

.floating-stat h4 {
    font-size: 18px;
    margin: 0;
    color: var(--color-dark);
}

.floating-stat span {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* --- 6. INTERACTIVE OFFICE LOCATION --- */
.office-location {
    padding: 120px 0;
    background-color: var(--color-white);
}

.office-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    align-items: center;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
}

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

.office-info h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.office-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.office-detail-item i {
    font-size: 24px;
    color: var(--color-primary);
    margin-top: 5px;
}

.office-detail-content h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.office-detail-content p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- 8. PROJECT TYPES --- */
.project-types {
    padding: 120px 0;
    background-color: var(--color-white);
}

.project-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-top: 50px;
}

.project-type-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-type-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-type-card:hover img {
    transform: scale(1.1);
}

.project-type-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-white);
}

.project-type-overlay h4 {
    font-size: 20px;
    margin: 0;
    color: var(--color-white);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.project-type-card:hover .project-type-overlay h4 {
    transform: translateY(0);
}

/* --- 9. FAQ SECTION --- */
.faq-section {
    padding: 120px 0;
    background-color: #F8F9FA;
}

.faq-wrapper {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    font-family: var(--font-heading);
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 20px;
    display: none;
    color: var(--color-text-muted);
    line-height: 1.6;
}



/* --- 11. TESTIMONIALS --- */
.contact-testimonials {
    padding: 120px 0;
    background-color: var(--color-white);
}

/* --- 12. FINAL CTA --- */
.contact-cta {
    position: relative;
    padding: 120px 0;
    text-align: center;
    background-color: var(--color-dark);
    overflow: hidden;
}

.contact-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.contact-cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.contact-cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-5);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1199px) {
    .quick-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .contact-hero {
        padding: 150px 20px 80px;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .contact-image-wrapper {
        min-height: 400px;
        order: -1; /* Image on top */
    }
    .why-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .office-location-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 400px;
        margin-bottom: 40px;
    }
    .timeline-step {
        width: 100%;
        padding: 0 0 40px 40px;
        left: 0 !important;
    }
    .process-timeline::before {
        left: 0;
        transform: none;
    }
    .timeline-step::after {
        left: -10px;
        right: auto;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .form-control {
        font-size: 16px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .contact-floating-card {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-top: 20px;
    }
    .contact-image-wrapper {
        display: flex;
        flex-direction: column;
    }
    .contact-image-wrapper img {
        position: relative;
        height: 300px;
    }
    .floating-stat {
        flex-direction: row;
        text-align: left;
    }
    .floating-stat h4 {
        margin-bottom: 2px;
    }
    .why-contact-grid, .quick-contact-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .quick-contact, .contact-form-section, .why-contact, .office-location, .consultation-process, .project-types, .faq-section, .social-proof, .contact-testimonials, .contact-cta {
        padding: 80px 0 !important;
    }
}
