/* ====================================
   Contact Section - Premium Elegant Design
   Sophisticated Split Layout
   ==================================== */

/* Main Container */
.contact-premium-elegant {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Background Elements */
.contact-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    animation: float-element 25s ease-in-out infinite;
}

.element-1 {
    width: 500px;
    height: 500px;
        background: linear-gradient(135deg, #10b366, #25a2e2);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.element-2 {
    width: 400px;
    height: 400px;
        background: linear-gradient(135deg, #25a2e2, #10b366);
    bottom: -100px;
    left: -100px;
    animation-delay: 8s;
}

.element-3 {
    width: 350px;
    height: 350px;
        background: linear-gradient(135deg, #10b366, #25a2e2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes float-element {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* ====================================
   Left Side - Contact Information
   ==================================== */

.contact-info-premium {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #10b366 0%, #25a2e2 50%, #1e7aa8 100%);
    padding: 100px 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.info-bg-premium {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.info-content-premium {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Header Section */
.info-header-premium {
    margin-bottom: 60px;
}

.header-label-premium {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.label-line-left,
.label-line-right {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.label-text-premium {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 10px 26px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.info-title-premium {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.info-subtitle-premium {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    max-width: 450px;
}

/* Contact Items */
.contact-items-premium {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item-premium {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-item-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-item-premium:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-item-premium:hover::before {
    opacity: 1;
}

[dir="rtl"] .contact-item-premium:hover {
    transform: translateX(12px);
}

/* Icon Wrapper */
.item-icon-wrapper-premium {
    position: relative;
    flex-shrink: 0;
}

.icon-circle-premium {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.contact-item-premium:hover .icon-circle-premium {
    background: rgba(255, 255, 255, 0.95);
    color: #10b366;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.icon-circle-premium svg {
    width: 28px;
    height: 28px;
}

.icon-glow-premium {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.contact-item-premium:hover .icon-glow-premium {
    opacity: 1;
}

/* Content Wrapper */
.item-content-wrapper-premium {
    flex: 1;
}

.item-title-premium {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-details-premium {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
}

.contact-link-premium:hover {
    color: #ffffff;
}

.contact-link-premium:hover .link-icon {
    transform: translateX(6px);
}

[dir="rtl"] .contact-link-premium:hover .link-icon {
    transform: translateX(-6px);
}

.link-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-link-premium:hover .link-icon {
    background: rgba(255, 255, 255, 0.3);
}

.link-icon svg {
    width: 14px;
    height: 14px;
}

.address-text-premium {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

/* Decorative Shapes */
.decorative-shapes-premium {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.shape-premium {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float-shape-premium 20s ease-in-out infinite;
}

.shape-premium.shape-1 {
    width: 350px;
    height: 350px;
    top: -120px;
    left: -120px;
    animation-delay: 0s;
}

.shape-premium.shape-2 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    right: -80px;
    animation-delay: 10s;
}

@keyframes float-shape-premium {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, 40px) scale(1.1);
    }
}

/* ====================================
   Right Side - Form & Map
   ==================================== */

.contact-form-premium {
    background: #ffffff;
    min-height: 100vh;
    position: relative;
}

.form-map-container-premium {
    padding: 100px 70px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Form Section */
.form-section-premium {
    position: relative;
}

.form-header-premium {
    margin-bottom: 40px;
}

.form-title-premium {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    position: relative;
    display: inline-block;
}

.title-text {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #10b366, #25a2e2);
    border-radius: 3px;
}

.form-desc-premium {
    font-size: 17px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.form-body-premium {
    /* Form styles inherited from contact-form component */
}

/* Map Section */
.map-section-premium {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid rgba(16, 179, 102, 0.1);
}

.map-wrapper-premium {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.map-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 179, 102, 0.03), rgba(40, 102, 143, 0.03));
    pointer-events: none;
    z-index: 1;
}

.map-wrapper-premium iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 0;
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 1199px) {
    .contact-info-premium {
        padding: 80px 50px;
    }
    
    .form-map-container-premium {
        padding: 80px 50px;
    }
    
    .info-title-premium {
        font-size: 48px;
    }
    
    .form-title-premium {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .contact-info-premium {
        min-height: auto;
        padding: 70px 40px;
    }
    
    .form-map-container-premium {
        padding: 70px 40px;
        gap: 50px;
    }
    
    .info-title-premium {
        font-size: 40px;
    }
    
    .form-title-premium {
        font-size: 30px;
    }
    
    .contact-item-premium:hover {
        transform: translateY(-5px);
    }
    
    [dir="rtl"] .contact-item-premium:hover {
        transform: translateY(-5px);
    }
    
    .map-wrapper-premium {
        height: 420px;
    }
    
    .bg-element {
        display: none;
    }
}

@media (max-width: 767px) {
    .contact-info-premium {
        padding: 60px 30px;
    }
    
    .form-map-container-premium {
        padding: 60px 30px;
        gap: 40px;
    }
    
    .info-header-premium {
        margin-bottom: 40px;
    }
    
    .header-label-premium {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .label-line-left,
    .label-line-right {
        width: 40px;
    }
    
    .label-text-premium {
        font-size: 11px;
        padding: 8px 20px;
    }
    
    .info-title-premium {
        font-size: 32px;
    }
    
    .info-subtitle-premium {
        font-size: 16px;
    }
    
    .contact-items-premium {
        gap: 20px;
    }
    
    .contact-item-premium {
        padding: 24px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .icon-circle-premium {
        width: 56px;
        height: 56px;
        margin: 0 auto;
    }
    
    .icon-circle-premium svg {
        width: 24px;
        height: 24px;
    }
    
    .item-title-premium {
        font-size: 14px;
    }
    
    .contact-link-premium {
        font-size: 16px;
        justify-content: center;
    }
    
    .address-text-premium {
        font-size: 16px;
    }
    
    .form-title-premium {
        font-size: 26px;
    }
    
    .form-desc-premium {
        font-size: 16px;
    }
    
    .map-wrapper-premium {
        height: 350px;
    }
    
    .shape-premium {
        display: none;
    }
}

/* ====================================
   RTL Support
   ==================================== */

[dir="rtl"] .contact-item-premium {
    direction: rtl;
}

[dir="rtl"] .contact-link-premium {
    direction: rtl;
}

/* ====================================
   Print Styles
   ==================================== */

@media print {
    .contact-premium-elegant {
        background: #ffffff;
    }
    
    .contact-info-premium {
        background: #f7fafc;
        color: #000000;
        min-height: auto;
        padding: 40px 30px;
    }
    
    .info-title-premium,
    .info-subtitle-premium,
    .item-title-premium,
    .contact-link-premium,
    .address-text-premium {
        color: #000000;
    }
    
    .decorative-shapes-premium,
    .info-bg-premium,
    .icon-glow-premium,
    .map-overlay-premium {
        display: none;
    }
    
    .contact-form-premium {
        min-height: auto;
    }
    
    .form-map-container-premium {
        padding: 40px 30px;
    }
}
