/* ==========================================================================
   LINA ARCHITECTURE - CONTACT PAGE CSS
   Futuristic, Modern, Premium Design
   ========================================================================== */

/* ============================================
   CONTACT HERO
   ============================================ */
.contact-hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: #0a192f;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(196, 167, 125, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 167, 125, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(196, 167, 125, 0.05) 0%, transparent 30%);
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 10px) scale(1.02); }
}

.contact-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.85) 100%);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumb */
.contact-hero .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.contact-hero .breadcrumb-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-hero .breadcrumb-link:hover {
    color: #c4a77d;
}

.contact-hero .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.contact-hero .breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ============================================
   CONTACT MAIN SECTION
   ============================================ */
.contact-main {
    background: #ffffff;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c4a77d 0%, #dfc9a0 50%, #c4a77d 100%);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #c4a77d 0%, #dfc9a0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #0a192f;
    box-shadow: 0 8px 24px rgba(196, 167, 125, 0.3);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    color: #5a6a7a;
    font-size: 1rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0a192f;
}

.form-required {
    color: #c4a77d;
}

.form-input-wrapper {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    transition: color 0.3s ease;
    z-index: 1;
}

.form-textarea-wrapper .form-input-icon {
    top: 20px;
    transform: none;
}

.form-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 1rem;
    font-family: inherit;
    color: #0a192f;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:hover {
    background: #f3f4f6;
}

.form-input:focus {
    background: #ffffff;
    border-color: #c4a77d;
    box-shadow: 0 0 0 4px rgba(196, 167, 125, 0.1);
}

.form-input:focus + .form-input-icon,
.form-input-wrapper:focus-within .form-input-icon {
    color: #c4a77d;
}

/* Invalid State */
.form-group.invalid .form-input {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-group.invalid .form-input-icon {
    color: #ef4444;
}

.form-error {
    display: none;
    font-size: 0.8125rem;
    color: #ef4444;
}

.form-group.invalid .form-error {
    display: block;
}

/* Select Styles */
.form-select-wrapper {
    position: relative;
}

.form-select {
    appearance: none;
    cursor: pointer;
    padding-right: 48px;
}

.form-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.form-select:focus ~ .form-select-arrow {
    color: #c4a77d;
}

/* Textarea */
.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Checkbox */
.form-checkbox-group {
    margin-top: 8px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #5a6a7a;
    line-height: 1.5;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #f8f9fa;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.form-checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: #ffffff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.form-checkbox:checked + .form-checkbox-custom {
    background: #c4a77d;
    border-color: #c4a77d;
}

.form-checkbox:checked + .form-checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.form-checkbox:focus + .form-checkbox-custom {
    box-shadow: 0 0 0 4px rgba(196, 167, 125, 0.2);
}

.form-checkbox-text a {
    color: #c4a77d;
    text-decoration: underline;
}

.form-checkbox-text a:hover {
    color: #0a192f;
}

/* Submit Button */
.form-submit {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 600;
}

.form-submit-loading {
    display: none;
}

.form-submit.loading .form-submit-text,
.form-submit.loading .form-submit-icon {
    display: none;
}

.form-submit.loading .form-submit-loading {
    display: inline-block;
}

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success.show {
    display: block;
}

.contact-form-wrapper.success .contact-form {
    display: none;
}

.contact-form-wrapper.success .form-success {
    display: block;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #ffffff;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.form-success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 12px;
}

.form-success-text {
    color: #5a6a7a;
    margin-bottom: 24px;
}

/* ============================================
   CONTACT DETAILS
   ============================================ */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-details-card {
    background: #0a192f;
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-details-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(196, 167, 125, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-details-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-details-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 32px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item:not(.contact-info-static):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(196, 167, 125, 0.3);
    transform: translateX(8px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #c4a77d 0%, #dfc9a0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a192f;
    font-size: 1.125rem;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
}

.contact-info-arrow {
    color: #c4a77d;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Social Links */
.contact-social {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: #c4a77d;
    color: #0a192f;
    transform: translateY(-4px);
}

/* Promise Card */
.contact-promise {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #c4a77d 0%, #dfc9a0 100%);
    border-radius: 16px;
    color: #0a192f;
}

.contact-promise-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #c4a77d;
}

.contact-promise-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-promise-content p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   GOOGLE MAPS SECTION
   ============================================ */
.contact-map-section {
    position: relative;
}

.contact-map-header {
    background: #f8f5f0;
    padding: 24px 0;
}

.contact-map-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-map-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: #5a6a7a;
}

.contact-map-info-item i {
    color: #c4a77d;
    font-size: 1.125rem;
}

.contact-map-wrapper {
    position: relative;
    height: 450px;
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.contact-map-wrapper:hover .contact-map-iframe {
    filter: grayscale(0%) contrast(1);
}

.contact-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.1) 0%, transparent 30%, transparent 70%, rgba(10, 25, 47, 0.1) 100%);
    pointer-events: none;
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
    position: relative;
    padding: 60px 0;
    background: #0a192f;
    overflow: hidden;
}

.cta-strip-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-dots.svg') repeat;
    opacity: 0.05;
}

.cta-strip-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-strip-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.cta-strip-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.contact-form-wrapper,
.contact-details-card,
.contact-promise {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.contact-form-wrapper.animate,
.contact-details-card.animate,
.contact-promise.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-details-card.animate {
    transition-delay: 0.15s;
}

.contact-promise.animate {
    transition-delay: 0.3s;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form-wrapper {
        padding: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .contact-details-card {
        padding: 24px;
    }
    
    .contact-map-info {
        gap: 24px;
    }
    
    .contact-map-info-item span {
        display: none;
    }
    
    .contact-map-wrapper {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-form-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
    
    .form-input {
        padding: 14px 14px 14px 44px;
    }
    
    .contact-info-item {
        padding: 12px;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    .contact-social-links {
        justify-content: center;
    }
}
