/* Contact Sayfası Özel Stilleri */

/* Genel Stil Değişkenleri */
:root {
    --primary-color: #c8a97e;
    --secondary-color: #192638;
    --text-color: #555;
    --light-bg: #f9f9f9;
    --dark-bg: #192638;
    --white: #fff;
    --border-color: #e5e5e5;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --burgundy-color: #800020;
    --burgundy-dark: #660016;
}

/* Header Sabitleme ve Açık Tema */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95) !important; /* Açık arka plan */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header:hover nav ul li a {
    color: var(
        --burgundy-color
    ) !important; /* Changed from brown to burgundy */
}

header nav ul li a.active {
    color: var(
        --burgundy-color
    ) !important; /* Changed active menu item color to burgundy */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Genel Başlık ve Alt Başlık Stilleri */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
}

.section-header h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    margin: 20px auto 0;
}

.contact-info-section .section-header h2:after,
.office-locations .section-header h2:after,
.faq-section .section-header h2:after {
    background-color: var(--burgundy-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Make all headings burgundy in contact page */
.contact-info-section h2,
.office-locations h2,
.contact-form-section h2,
.faq-section h2,
.hero-content,
.contact-card h3,
.location-details h3,
.map-feature h3,
.form-content h2,
.form-sidebar h3,
.faq-question h3 {
    color: var(--burgundy-color);
}

/* Fix icon colors in contact page */
.icon-wrapper i,
.contact-info li i,
.business-hours i,
.social-connect i,
.location-details i,
.location-contact i,
.map-feature i {
    color: var(--burgundy-color);
}

/* İletişim Bilgileri Bölümü */
.contact-info-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(
        139,
        0,
        0,
        0.1
    ); /* Changed to burgundy with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--burgundy-color); /* Changed from primary color to burgundy */
}

.contact-card h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-card a {
    display: inline-block;
    color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy-color */
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(
        --burgundy-dark
    ); /* Changed from var(--secondary-color) to burgundy-dark */
}

/* Ofis Lokasyonları Bölümü */
.office-locations {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.location-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.location-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.85rem;
    border-radius: 30px;
    font-weight: 500;
}

.location-details {
    padding: 25px;
}

.location-details h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.location-details address {
    font-style: normal;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.6;
}

.location-details address i,
.location-contact i {
    color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    margin-right: 10px;
}

.location-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.location-contact span {
    color: var(--text-color);
}

.map-link {
    color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.map-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.map-link:hover {
    color: var(
        --burgundy-dark
    ); /* Changed from darker primary color to darker burgundy */
}

.map-link:hover i {
    transform: translateX(5px);
}

/* Harita Özellikleri */
.office-map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.office-map-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 6px solid white;
    box-sizing: border-box;
    border-radius: 8px;
    pointer-events: none;
    z-index: 10;
}

.map-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.map-feature {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.map-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 169, 126, 0.2);
}

.map-feature .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(
        139,
        0,
        0,
        0.1
    ); /* Changed to burgundy with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.map-feature:hover .icon-wrapper {
    background-color: var(
        --burgundy-color
    ); /* Changed from #c8a97e to burgundy */
    transform: rotateY(180deg);
}

.map-feature .icon-wrapper i {
    font-size: 24px;
    color: var(--burgundy-color); /* Changed from #c8a97e to burgundy */
    transition: all 0.3s ease;
}

.map-feature:hover .icon-wrapper i {
    color: white;
}

.map-feature h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #192638;
}

.map-feature p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.map-feature .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.map-feature .btn i {
    margin-right: 8px;
}

.map-feature .outline-btn {
    color: #192638;
    border: 2px solid #e5e5e5;
    background-color: transparent;
}

.map-feature .outline-btn:hover {
    border-color: var(--burgundy-color); /* Changed from #c8a97e to burgundy */
    color: var(--burgundy-color); /* Changed from #c8a97e to burgundy */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.map-feature .badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(
        139,
        0,
        0,
        0.1
    ); /* Changed to burgundy background with opacity */
    color: var(--burgundy-color); /* Changed to burgundy color */
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* İletişim Formu Bölümü */
.contact-form-section {
    padding: 100px 0;
    background-color: var(--white);
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.form-content {
    padding: 50px;
    position: relative;
}

.form-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.form-content p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.appointment-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.1);
}

.consent-group {
    display: flex;
    align-items: flex-start;
}

.consent-group input {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}

.consent-group label {
    font-size: 0.9rem;
    line-height: 1.6;
}

.consent-group a {
    color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy-color */
    text-decoration: none;
}

.consent-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(
        --burgundy-dark
    ); /* Changed from darker primary color to darker burgundy */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-success {
    display: none;
    text-align: center;
    padding: 30px 0;
}

.form-success i {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.form-success p {
    color: var(--text-color);
}

.form-sidebar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 30px;
}

.form-sidebar.light-theme {
    background-color: #f8f9fa;
    color: #343a40;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-sidebar.light-theme h3 {
    color: #212529;
    font-weight: 600;
}

.form-sidebar.light-theme .contact-icon {
    background-color: #e9ecef;
    color: #8b0000;
}

.form-sidebar.light-theme .contact-text h4 {
    color: #343a40;
}

.form-sidebar.light-theme .contact-text p,
.form-sidebar.light-theme .contact-text a {
    color: #495057;
    text-decoration: none;
}

.form-sidebar.light-theme .social-links a {
    background-color: #e9ecef;
    color: #8b0000;
}

.form-sidebar.light-theme .social-links a:hover {
    background-color: #8b0000;
    color: #fff;
}

.contact-info h3,
.business-hours h3,
.social-connect h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3:after,
.business-hours h3:after,
.social-connect h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info ul,
.business-hours ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    margin-bottom: 20px;
}

.contact-info li i {
    color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info li div span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.contact-info li div a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info li div a:hover {
    color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
}

.business-hours {
    margin-bottom: 40px;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
}

.hours {
    opacity: 0.7;
}

.social-connect .social-links {
    display: flex;
    gap: 15px;
}
/* 
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(
        --burgundy-color
    ); 
    transform: translateY(-3px);
} */

/* Google Harita Bölümü */
.map-section {
    height: 450px;
}

.google-map {
    height: 100%;
    width: 100%;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Ensure hero content is positioned properly */
.hero .hero-content {
    padding-top: 80px;
}

/* SSS Bölümü */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.faq-toggle {
    color: var(
        --burgundy-color
    ); /* Changed from var(--primary-color) to burgundy */
    font-size: 1.2rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .form-container {
        grid-template-columns: 1fr;
    }

    .form-sidebar {
        order: -1;
    }

    .location-cards {
        grid-template-columns: 1fr;
    }

    .map-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .contact-info-section,
    .office-locations,
    .contact-form-section,
    .faq-section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .form-content {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .map-features {
        grid-template-columns: 1fr;
    }

    .office-map-container {
        height: 350px;
    }
}

@media screen and (max-width: 576px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .form-content h2 {
        font-size: 1.8rem;
    }

    .location-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-answer.active {
        padding: 0 20px 15px;
    }

    .office-map-container {
        height: 300px;
    }
}
