/**
 * İletişim Sayfası CSS
 * Diş Kliniği Web Sitesi
 */

/* Sayfa Başlığı */
.page-header {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../varliklar/resimler/patterns/dots.svg');
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-header-content .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.page-header-image {
    position: relative;
    z-index: 1;
}

.page-header-image img {
    max-height: 400px;
    animation: float 3s ease-in-out infinite;
}

/* Şekil Ayırıcı */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* İletişim Kartları */
.contact-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 100px;
    height: 100px;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.contact-card:hover .contact-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* Form Stilleri */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 1rem;
    border: 2px solid #eee;
    padding: 1rem 1rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 115, 85, 0.25);
}

.form-floating > label {
    padding: 1rem;
    color: #666;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Harita */
.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    border: none;
}

.map-info ul li {
    padding: 0.5rem 0;
    color: #666;
}

.map-info ul li i {
    color: var(--primary-color);
    width: 24px;
}

/* SSS Akordiyon */
.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 1rem;
}

.accordion-button {
    border-radius: 1rem !important;
    background: #fff;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #fff;
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1.5rem;
    background: #fff;
    border-radius: 0 0 1rem 1rem;
}

/* CTA Bölümü */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.cta-section .btn-light:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* Animasyonlar */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
        text-align: center;
    }
    
    .page-header-content h1 {
        font-size: 2.5rem;
    }
    
    .page-header-image {
        margin-top: 40px;
    }
    
    .page-header-image img {
        max-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .contact-icon {
        width: 80px;
        height: 80px;
    }
    
    .accordion-button {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
    }
} 