/* 
* Sümeyye Türcan - Aile Danışmanı Website
* Color Palette:
* - Ana Renk: #2E4B4B (Koyu Gri-Yeşil)
* - İkincil Renk: #D32F4F (Canlı Kırmızı)
* - Arka Plan Rengi: #F9F6F2 (Açık Bej)
* - Metin Rengi: #3A3A3A (Koyu Gri)
*/

/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F9F6F2;
    color: #3A3A3A;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #2E4B4B;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #D32F4F;
}

.btn-primary {
    background-color: #D32F4F;
    border-color: #D32F4F;
    border-radius: 0;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #c02745;
    border-color: #c02745;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    color: #2E4B4B;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    color: #D32F4F;
    font-weight: 500;
}

/* Top Bar */
.top-bar {
    background-color: #fff;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.top-bar-text {
    margin-bottom: 0;
}

.top-bar .social-icons {
    display: flex;
    gap: 15px;
}

.top-bar .social-icon {
    color: #3A3A3A;
    font-size: 16px;
}

.top-bar .social-icon:hover {
    color: #D32F4F;
}

/* Header Styles */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    color: #2E4B4B;
}

.logo-subtitle {
    font-size: 12px;
    color: #3A3A3A;
    letter-spacing: 1px;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: #3A3A3A;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
    color: #D32F4F;
}
.dropdown-toggle::after {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D32F4F;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.dropdown a i {
    font-size: 12px;
    margin-left: 5px;
}

/* Hero Section with Slider */
.hero-section {
    position: relative;
    height: 80vh;
    color: white;
}

.hero-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244, 200, 209, 0.8); /* Kırmızı overlay */
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 30px;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 75, 75, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators button.active {
    background-color: #D32F4F;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.content-section:nth-child(even) {
    background-color: #fff;
}

/* Service Cards */
.service-card {
    background-color: white;
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: #D32F4F;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: #F9F6F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: #D32F4F;
}

.service-card h3 {
    color: #2E4B4B;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.service-link {
    color: #D32F4F;
    font-weight: 500;
    display: inline-block;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Timeline for About Section */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background-color: #e9ecef;
}

.timeline > li {
    position: relative;
    margin-bottom: 50px;
    min-height: 50px;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li .timeline-panel {
    float: left;
    position: relative;
    width: 46%;
    padding: 20px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.timeline > li .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline > li .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline > li .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #D32F4F;
    z-index: 100;
    border-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-heading h4 {
    margin-top: 0;
    color: #2E4B4B;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

/* Contact Section */
.contact-info-card, .contact-form-card {
    background-color: white;
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-list, .hours-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li, .hours-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    margin-right: 15px;
    color: #D32F4F;
    min-width: 20px;
}

.hours-list li span {
    font-weight: 600;
    margin-right: 10px;
    min-width: 120px;
    display: inline-block;
}

.social-media .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-media .social-icon {
    width: 40px;
    height: 40px;
    background-color: #F9F6F2;
    color: #D32F4F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-media .social-icon:hover {
    background-color: #D32F4F;
    color: white;
    transform: translateY(-3px);
}

.form-control {
    border-radius: 0;
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: #D32F4F;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
    margin-top: 0;
}

/* Mobil cihazlar için daha küçük boyut */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* Blog Slider Styles */
#blogSlider {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

#blogSlider .carousel-item {
    padding: 20px;
}

.blog-slide-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-slide-content h4 {
    color: #2E4B4B;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-slide-content .btn-outline-primary {
    color: #D32F4F;
    border-color: #D32F4F;
    align-self: flex-start;
    margin-top: 15px;
}

.blog-slide-content .btn-outline-primary:hover {
    background-color: #D32F4F;
    color: white;
}

/* Testimonial Slider Styles */
.testimonials-slider {
    padding: 20px 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    max-width: 800px;
    overflow: hidden;
}

.testimonial-content {
    padding: 30px;
    position: relative;
}

.testimonial-quote {
    color: #D32F4F;
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #3A3A3A;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F9F6F2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #2E4B4B;
    font-size: 24px;
}

.testimonial-info h5 {
    color: #2E4B4B;
    margin-bottom: 0;
    font-weight: 600;
}

.testimonial-info p {
    color: #666;
    margin-bottom: 0;
    font-style: normal;
    font-size: 14px;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    margin: 0 5px;
    padding: 0;
}

.testimonial-indicators button.active {
    background-color: #D32F4F;
}

/* Footer Styles */
footer {
    background-color: #2E4B4B;
    color: white;
    padding: 50px 0 20px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #D32F4F;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

footer p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

footer i {
    margin-right: 10px;
    color: #D32F4F;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: white;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2E4B4B;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-links li {
        margin-left: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .timeline:before {
        left: 40px;
    }
    
    .timeline > li .timeline-panel {
        width: calc(100% - 90px);
        float: right;
    }
    
    .timeline > li .timeline-badge {
        left: 15px;
        margin-left: 0;
    }
    
    .timeline > li.timeline-inverted > .timeline-panel {
        float: right;
    }
    
    .timeline > li.timeline-inverted > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    
    .timeline > li.timeline-inverted > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        max-height: 300px;
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .hero-section, .hero-slide {
        height: 60vh;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section, .hero-slide {
        height: 50vh;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .carousel-control-prev, 
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    margin-right: 20px;
    font-size: 14px;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background-color: #dc3545;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #c82333;
}

.cookie-btn-settings {
    background-color: #f8f9fa;
    color: #212529;
}

.cookie-btn-settings:hover {
    background-color: #e2e6ea;
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.cookie-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.cookie-modal-close {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
}

.cookie-modal-body {
    margin-bottom: 20px;
}

.cookie-preference {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.cookie-preference-title {
    font-weight: 500;
}

.cookie-modal-footer {
    text-align: right;
}

@media (max-width: 768px) {
    .cookie-consent .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
