/* İlgi İletişim & Konum Widget Styles */

.ilgi-iletisim-konum-wrapper {
    width: 100%;
    position: relative;
}

/* Hero Section */
.ilgi-hero-contact {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ilgi-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.85) 0%, rgba(30, 123, 166, 0.75) 100%);
    z-index: 1;
}

.ilgi-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.ilgi-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ilgi-hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #1e7ba6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ilgi-hero-phone:hover {
    background: #1a6b92;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.ilgi-hero-phone svg {
    width: 24px;
    height: 24px;
}

/* Map & Contact Section */
.ilgi-map-contact-section {
    position: relative;
    width: 100%;
    min-height: 450px;
}

.ilgi-map-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.ilgi-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Contact Card */
.ilgi-contact-card-wrapper {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 400px;
    width: 100%;
}

.ilgi-contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ilgi-contact-logo {
    text-align: center;
    margin-bottom: 25px;
}

.ilgi-contact-logo img {
    max-width: 180px;
    height: auto;
}

.ilgi-contact-company {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

.ilgi-contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ilgi-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ilgi-contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.ilgi-contact-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: rgba(30, 123, 166, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e7ba6;
}

.ilgi-contact-icon svg {
    width: 20px;
    height: 20px;
}

.ilgi-contact-text {
    flex: 1;
    padding-top: 3px;
}

.ilgi-contact-text a,
.ilgi-contact-text p {
    font-size: 15px;
    color: #5a6c7d;
    text-decoration: none;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.ilgi-contact-text a:hover {
    color: #1e7ba6;
}

/* Responsive - Large Desktop */
@media (max-width: 1400px) {
    .ilgi-contact-card-wrapper {
        right: 40px;
        max-width: 380px;
    }
}

/* Responsive - Desktop */
@media (max-width: 1200px) {
    .ilgi-contact-card-wrapper {
        right: 30px;
        max-width: 360px;
    }
    
    .ilgi-contact-card {
        padding: 35px 30px;
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .ilgi-hero-contact {
        height: 350px;
    }
    
    .ilgi-hero-title {
        font-size: 36px;
    }
    
    .ilgi-hero-phone {
        font-size: 18px;
        padding: 16px 35px;
    }
    
    .ilgi-map-contact-section {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    
    .ilgi-map-container {
        height: 400px;
        order: 1;
    }
    
    .ilgi-contact-card-wrapper {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        padding: 40px 20px;
        order: 2;
        background: #f8f9fa;
    }
    
    .ilgi-contact-card {
        max-width: 600px;
        margin: 0 auto;
        animation: fadeInUp 0.6s ease-out;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .ilgi-hero-contact {
        height: 300px;
    }
    
    .ilgi-hero-content {
        padding: 30px 20px;
    }
    
    .ilgi-hero-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .ilgi-hero-phone {
        font-size: 16px;
        padding: 14px 30px;
    }
    
    .ilgi-hero-phone svg {
        width: 20px;
        height: 20px;
    }
    
    .ilgi-map-container {
        height: 350px;
    }
    
    .ilgi-contact-card-wrapper {
        padding: 30px 15px;
    }
    
    .ilgi-contact-card {
        padding: 30px 25px;
    }
    
    .ilgi-contact-logo img {
        max-width: 150px;
    }
    
    .ilgi-contact-company {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .ilgi-contact-items {
        gap: 15px;
    }
    
    .ilgi-contact-item {
        padding: 12px;
    }
    
    .ilgi-contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .ilgi-contact-text a,
    .ilgi-contact-text p {
        font-size: 14px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .ilgi-hero-contact {
        height: 280px;
    }
    
    .ilgi-hero-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .ilgi-hero-phone {
        font-size: 15px;
        padding: 12px 25px;
        gap: 10px;
    }
    
    .ilgi-hero-phone svg {
        width: 18px;
        height: 18px;
    }
    
    .ilgi-map-container {
        height: 300px;
    }
    
    .ilgi-contact-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .ilgi-contact-logo {
        margin-bottom: 20px;
    }
    
    .ilgi-contact-logo img {
        max-width: 130px;
    }
    
    .ilgi-contact-company {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .ilgi-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    
    .ilgi-contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .ilgi-contact-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .ilgi-contact-text {
        padding-top: 0;
    }
}

/* Accessibility */
.ilgi-hero-phone:focus,
.ilgi-contact-text a:focus {
    outline: 3px solid rgba(30, 123, 166, 0.5);
    outline-offset: 2px;
}

.ilgi-hero-phone:focus:not(:focus-visible),
.ilgi-contact-text a:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ilgi-contact-card,
    .ilgi-hero-phone,
    .ilgi-contact-item {
        animation: none;
        transition: none;
    }
    
    .ilgi-hero-phone:hover,
    .ilgi-contact-item:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .ilgi-hero-contact {
        height: auto;
        padding: 40px 20px;
        background: #1a3a5c;
    }
    
    .ilgi-hero-overlay {
        display: none;
    }
    
    .ilgi-map-container {
        display: none;
    }
    
    .ilgi-contact-card-wrapper {
        position: relative;
        padding: 20px;
        background: transparent;
    }
    
    .ilgi-contact-card {
        box-shadow: none;
        border: 2px solid #e9ecef;
    }
}

/* Loading State */
.ilgi-map-container iframe {
    background: #f8f9fa;
}

.ilgi-map-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid #e9ecef;
    border-top-color: #1e7ba6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ilgi-map-container iframe[src] + ::before {
    display: none;
}
