/* İletişim (Contact) Sayfası CSS - Yeni Modern Tasarım */

/* Sayfa Başlığı */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contact-header.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 3;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* İletişim Bölümü */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* İletişim Formu */
.contact-form-container {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    z-index: 0;
}

.contact-form-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.contact-form-container p {
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-form {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 0, 2, 0.1);
    background-color: #fff;
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group button {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.form-group button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: 1;
}

.form-group button:hover::before {
    left: 100%;
}

.form-group button span {
    position: relative;
    z-index: 2;
}

/* İletişim Bilgileri */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 3px solid transparent;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-gradient);
    z-index: 0;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: var(--shadow);
}

.info-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.info-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.3;
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.info-card:hover .info-icon::after {
    transform: scale(1.5);
    opacity: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--light-text);
    transition: var(--transition);
}

.info-card:hover .info-icon i {
    transform: scale(1.2);
}

.info-content {
    position: relative;
    z-index: 1;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 600;
}

.info-content p {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.6;
}

.info-content a {
    color: var(--text-color);
    transition: var(--transition);
    display: inline-block;
}

.info-content a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Sosyal Medya */
.social-contact {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
    border-image: var(--primary-gradient);
    border-image-slice: 1;
}

.social-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-gradient);
    z-index: 0;
    transition: var(--transition);
}

.social-contact:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.social-contact:hover::before {
    width: 100%;
    opacity: 0.05;
}

.social-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.social-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.social-contact:hover h3::after {
    width: 80px;
}

.social-contact .social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-contact .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.social-contact .social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(100%);
    transition: var(--transition);
}

.social-contact .social-icons a:hover {
    transform: translateY(-8px);
    box-shadow: 0 5px 15px rgba(99, 0, 2, 0.3);
}

.social-contact .social-icons a:hover::before {
    transform: translateY(0);
}

.social-contact .social-icons a i {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.social-contact .social-icons a:hover i {
    transform: scale(1.2);
}

/* Harita Bölümü */
.map-section {
    padding: 0;
    position: relative;
    z-index: 1;
}

.map-container {
    height: 450px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.map-container iframe {
    filter: grayscale(0.3);
    transition: filter 0.5s ease;
}

.map-container iframe:hover {
    filter: grayscale(0);
}

/* Map Overlay */
.map-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.map-directions {
    display: flex;
    align-items: center;
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 15px 25px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-weight: 500;
    gap: 10px;
}

.map-directions:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(99, 0, 2, 0.2);
}

.map-directions i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.map-directions:hover i {
    transform: translateX(5px);
}

/* SSS Bölümü */
.faq-section {
    padding: 100px 0;
    background-color: #f9f2e8;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    opacity: 0.05;
    z-index: 1;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.faq-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    font-weight: 700;
}

.faq-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.faq-section .section-header p {
    font-size: 1.1rem;
    color: #546e7a;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    background-color: var(--bg-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: top;
}

.faq-item.active .faq-question::before,
.faq-question:hover::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
    transition: var(--transition);
    flex: 1;
    padding-left: 5px;
}

.faq-item.active .faq-question h3,
.faq-question:hover h3 {
    color: var(--primary-color);
    transform: translateX(5px);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background-color: rgba(99, 0, 2, 0.03);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 25px;
    border-top: 1px solid rgba(99, 0, 2, 0.1);
}

.faq-answer p {
    margin: 0;
    color: #546e7a;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Animasyon Sınıfları */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Gecikme Animasyonları */
.info-card:nth-child(1) {
    transition-delay: 0.1s;
}

.info-card:nth-child(2) {
    transition-delay: 0.2s;
}

.info-card:nth-child(3) {
    transition-delay: 0.3s;
}

.info-card:nth-child(4) {
    transition-delay: 0.4s;
}

.social-contact {
    transition-delay: 0.5s;
}

.faq-item:nth-child(1) {
    transition-delay: 0.1s;
}

.faq-item:nth-child(2) {
    transition-delay: 0.2s;
}

.faq-item:nth-child(3) {
    transition-delay: 0.3s;
}

.faq-item:nth-child(4) {
    transition-delay: 0.4s;
}

.faq-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* Form Hata Mesajları */
.error-message {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    transition: all 0.3s ease;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.05);
}

/* Form Mesajları */
.form-message {
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.form-message .success-icon,
.form-message .error-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.form-message .success-icon {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.form-message .error-icon {
    background-color: rgba(211, 47, 47, 0.1);
    color: #d32f2f;
}

.form-message i {
    font-size: 1.8rem;
}

.form-message p {
    margin: 0;
    font-size: 1rem;
}

#form-success {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
    color: #388e3c;
}

#form-error {
    background-color: rgba(211, 47, 47, 0.1);
    border-left: 4px solid #d32f2f;
    color: #c62828;
}

/* Loader */
.btn-loader {
    margin-left: 10px;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Ayarlar */
@media screen and (max-width: 1200px) {
    .page-header h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .info-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .social-contact {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-form-container h2 {
        font-size: 1.8rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .faq-section .section-header p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-contact .social-icons {
        justify-content: center;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    
    .faq-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .faq-section .section-header h2::after {
        width: 60px;
        height: 3px;
    }
    
    .faq-section .section-header p {
        font-size: 0.95rem;
    }
} 