/* Contact Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contact-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    margin-top: 80px;
    background-attachment: fixed;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.breadcrumb-item {
    margin: 0 5px;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin-right: 10px;
    color: #94a3b8;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start; /* stretch yerine start kullanıldı */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Contact Info */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    box-sizing: border-box;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-text h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact-text p, .contact-text a {
    color: var(--light-text);
    margin: 0;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 5px;
    font-style: italic;
}

/* Social Links */
.social-links {
    background: white;
    padding: 25px 30px;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
}

.social-links h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: center;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Contact Map */
.contact-map {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 500px;
    width: 100%;
    box-sizing: border-box;
}

.contact-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.map-overlay:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-overlay i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.map-overlay h4 {
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.map-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.contact-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.contact-cta .cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-content i {
    font-size: 3rem;
    opacity: 0.2;
}

.cta-content h3 {
    font-size: 1.5rem;
    margin: 0 0 5px;
}

.cta-content p {
    margin: 0;
    opacity: 0.9;
}

.cta-content .btn {
    margin-left: auto;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
}

.cta-content .btn:hover {
    background: #f0f4ff;
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-section {
    background-color: #f8fafc;
}

.faq-section .section-title {
    margin-bottom: 1.5rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px;
    border-top-color: #f1f5f9;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
}

/* Animation for map overlay */
.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.map-overlay:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-overlay i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.map-overlay h4 {
    margin: 0 0 5px 0;
    color: var(--text-color);
}

.map-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Fix for pricing section */
.pricing-section {
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popüler';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    padding: 25px;
    background: #f8fafc;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.pricing-body {
    padding: 25px;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-body li {
    padding: 8px 0;
    color: var(--light-text);
    position: relative;
    padding-left: 25px;
}

.pricing-body li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.pricing-notes {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.note-box {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 3px solid var(--primary-color);
}

.note-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 3px;
}

.note-box p {
    margin: 0;
    color: var(--light-text);
    line-height: 1.6;
}


.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-toggle i {
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 25px 25px;
    color: var(--light-text);
    line-height: 1.7;
}

/* Active State */
.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-question {
    background-color: #f8fafc;
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
}

.faq-item.active .faq-toggle i {
    color: white;
    transform: rotate(180deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 400px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content .btn {
        margin: 15px auto 0;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
    
    .contact-info-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 15px;
    }
    
    .map-overlay {
        position: static;
        margin: 20px;
        width: auto;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
    
    .contact-cta {
        padding: 25px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-content i {
        display: none;
    }
}
