/*!
 * Diş Kliniği Scripti v1 - İletişim Sayfası CSS
 * Modern ve sade tasarım
 */

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
}

.modern-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modern-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.modern-hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-contact-icon {
    position: relative;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(0, 123, 255, 0.2),
        0 0 0 20px rgba(0, 123, 255, 0.1),
        0 0 0 40px rgba(0, 123, 255, 0.05);
    animation: pulse 4s ease-in-out infinite;
}

.modern-contact-icon i {
    font-size: 4rem;
    color: white;
}

.modern-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.modern-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 6s ease-in-out infinite;
}

.modern-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.modern-particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: -1.5s;
}

.modern-particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: -3s;
}

.modern-particle:nth-child(4) {
    bottom: 20%;
    right: 25%;
    animation-delay: -4.5s;
}

.modern-particle:nth-child(5) {
    top: 80%;
    left: 30%;
    animation-delay: -2s;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 20px 40px rgba(0, 123, 255, 0.2),
            0 0 0 20px rgba(0, 123, 255, 0.1),
            0 0 0 40px rgba(0, 123, 255, 0.05);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 25px 50px rgba(0, 123, 255, 0.3),
            0 0 0 25px rgba(0, 123, 255, 0.15),
            0 0 0 50px rgba(0, 123, 255, 0.08);
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

/* Contact Cards */
.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before,
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover::before,
.contact-form-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: rgba(0, 123, 255, 0.2);
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 123, 255, 0.05);
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
}

.contact-icon.emergency {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.contact-item:hover .contact-icon.emergency {
    box-shadow: 0 12px 25px rgba(220, 53, 69, 0.4);
}

.contact-details h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Social Media */
.social-media {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 123, 255, 0.1);
}

.social-media h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.social-link.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Contact Form */
.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.contact-form-card h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.form-control {
    border-radius: 15px;
    border: 2px solid rgba(0, 123, 255, 0.1);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: rgba(248, 249, 250, 0.5);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background: white;
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Map Section */
.map-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.map-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-section h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.map-container iframe {
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Form Validation */
.was-validated .form-control:valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.44-1.44L4.5 3.5 2.3 5.7l-.94-.94L0 6.73l2.3 2.3z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4 1.4-1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .modern-hero-title {
        font-size: 2.5rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .modern-contact-icon {
        width: 150px;
        height: 150px;
    }
    
    .modern-contact-icon i {
        font-size: 3rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .map-section {
        padding: 2rem 0;
    }
    
    .map-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .modern-hero-title {
        font-size: 2rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1rem;
    }
    
    .modern-contact-icon {
        width: 120px;
        height: 120px;
    }
    
    .modern-contact-icon i {
        font-size: 2.5rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .form-control {
        padding: 0.75rem 1rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
