/* --- Genel Ayarlar ve Değişkenler --- */
:root {
    --primary-color: #00a8cc; /* Medikal Turkuaz */
    --primary-dark: #008ca3;
    --secondary-color: #2c3e50; /* Koyu Mavi/Gri */
    --accent-color: #ffa502; /* Vurgu Rengi */
    --text-color: #555555;
    --heading-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e1e1e1;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 30px rgba(0,0,0,0.1);
    --brand-gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.text-center {
    text-align: center;
}

.main-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}
.sub-title {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-header h3 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #777;
}

/* --- Loading Screen --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.1s ease, visibility 0.1s;
}

.sound-wave {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
}

.bar {
    width: 8px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 4px;
    animation: sound 1.2s infinite ease-in-out;
}

.bar:nth-child(1) { animation-delay: 0.0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes sound {
    0%, 100% { height: 20%; opacity: 0.5; }
    50% { height: 100%; opacity: 1; background-color: var(--secondary-color); }
}

.loading-text {
    margin-top: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- Header --- */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 28px;
    color: var(--secondary-color);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0;
}

.logo span {
    color: var(--primary-color);
}

.logo-sub {
    display: block;
    font-size: 10px;
    color: #777;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: right;
    font-weight: 600;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--secondary-color);
    position: relative;
}

.nav-links a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:not(.btn-contact):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    align-items: center;
}

.nav-social a {
    color: var(--secondary-color);
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-social a:hover {
    color: var(--primary-color);
}

.btn-contact {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 5px 15px rgba(0, 168, 204, 0.3);
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.burger {
    display: none;
    cursor: pointer;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: var(--transition);
    transform-origin: center;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('./yz/banner4.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding-top: 80px; /* Header payı */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(124, 125, 125, 0.8), rgba(0, 168, 204, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero .badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.hero h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero h2 span {
    color: #81ecec;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-social {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-social a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-primary, .btn-secondary, .btn-white {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 168, 204, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* --- Brands Section --- */
.brands-section {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.brands-title {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.6;
}

.brand-item {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- About Section --- */
.about-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--brand-gradient);
    color: var(--white);
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 168, 204, 0.4);
    border: 5px solid var(--white);
}

.experience-badge .years {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    line-height: 1.2;
}

.about-content {
    flex: 1;
}

.mission-vision-wrapper {
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .mission-vision-wrapper {
        grid-template-columns: 1fr;
    }
}

.mv-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    height: 100%; /* Equal height */
}

.mv-item h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-item h5 i {
    color: var(--primary-color);
}

.mv-item p {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: #777;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 18px;
}

/* --- Services Section --- */
#services {
    background: var(--brand-gradient);
}

#services .sub-title {
    color: var(--white);
    opacity: 0.9;
}

#services .section-header h3 {
    color: var(--white);
}

#services .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 168, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--brand-gradient);
    color: var(--white);
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: #777;
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 25px;
    background: var(--brand-gradient);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* --- Process Section --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: center;
    position: relative;
}

.step {
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 60px;
    font-weight: 900;
    color: rgba(0,0,0,0.05);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.step h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* --- FAQ Section --- */
.row-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.faq-content {
    flex: 1;
}

.faq-image {
    flex: 1;
}

.faq-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.accordion-header i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.accordion-body p {
    padding: 20px;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #eee;
}

/* --- CTA Section --- */
.cta-section {
    background: var(--brand-gradient);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    margin-top: 30px;
}

.btn-white:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* --- Contact Section --- */
.contact-wrapper {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-card i {
    font-size: 30px;
    color: var(--primary-color);
}

.info-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 14px;
    color: #666;
}

.contact-form-box {
    flex: 1.5;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

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

.modern-form input, .modern-form textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #333;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
}

.modern-form label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s ease all;
}

.modern-form input:focus ~ label,
.modern-form input:valid ~ label,
.modern-form textarea:focus ~ label,
.modern-form textarea:valid ~ label {
    top: -20px;
    font-size: 12px;
    color: var(--primary-color);
}

.modern-form .bar {
    position: relative;
    display: block;
}

.btn-block {
    width: 100%;
}

/* --- Footer --- */
footer {
    background: #1a252f;
    color: #ecf0f1;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-brand p {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4, .footer-hours h4, .footer-contact h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-hours h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li, .footer-hours li, .footer-contact li {
    margin-bottom: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact strong {
    color: var(--white);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #95a5a6;
}

/* --- Animations --- */
.fade-in-up {
    animation: fadeInUp 1s ease backwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.reveal-left, .reveal-right, .reveal-bottom {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-bottom { transform: translateY(50px); }

.reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Reviews Slider --- */
.reviews-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.reviews-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 50px;
}

.reviews-track-container {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.review-card {
    flex: 0 0 calc(33.333% - 20px); /* 3 items visible with gap adjustment */
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    user-select: none;
}

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

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
    }
}

.reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.reviews-prev { left: 0; }
.reviews-next { right: 0; }

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-info h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.review-rating {
    color: var(--accent-color);
    font-size: 14px;
}

.review-text {
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgba(0, 168, 204, 0.1);
}

/* --- Blog Section Styles --- */
.blog-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #888;
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-card h3, .blog-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.blog-card h3 a, .blog-card h4 a {
    color: var(--heading-color);
    transition: var(--transition);
    text-decoration: none;
}

.blog-card h3 a:hover, .blog-card h4 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.read-more-btn i {
    transition: transform 0.3s;
}

.read-more-btn:hover {
    color: var(--primary-dark);
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 25px;
    background: var(--brand-gradient);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.blog-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.blog-btn i {
    transition: transform 0.3s;
}

.blog-btn:hover i {
    transform: translateX(5px);
}

/* --- Blog Page Specifics --- */
.blog-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.markdown-body {
    flex: 2;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: #444;
    font-size: 17px; /* Increased font size */
    line-height: 1.8;
}

.sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(0, 168, 204, 0.8)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
    margin-bottom: 60px;
}

.blog-meta-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.blog-meta-detail span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta-detail i {
    color: var(--primary-color);
}

.blog-featured-image {
    margin-bottom: 30px;
}

.blog-featured-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb span {
    color: #81ecec;
}

/* --- Sidebar --- */
.sidebar-widget {
    background: var(--primary-dark);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.sidebar-widget p {
    color: rgba(255, 255, 255, 0.9);
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    position: relative;
    color: var(--white);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--white);
}

.category-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.category-list a:hover {
    color: var(--white);
    padding-left: 5px;
}

.recent-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-posts img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.post-info h5 {
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-info h5 a {
    color: var(--heading-color);
}

.post-info h5 a:hover {
    color: var(--primary-color);
}

.post-info span {
    font-size: 12px;
    color: #999;
}

/* --- Markdown Body for Blog Details --- */
.markdown-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--secondary-color);
    position: relative;
    padding-left: 20px;
}

.markdown-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: var(--primary-color);
    border-radius: 5px;
}

.markdown-body p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.markdown-body ul {
    margin-bottom: 30px;
    padding-left: 10px;
}

.markdown-body li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    list-style: none;
}

.markdown-body li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 16px;
    background: rgba(0, 168, 204, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.markdown-body blockquote {
    background: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 15px 15px 0;
}

/* Blog CTA Box */
.blog-cta-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    padding: 35px;
    border-left: 5px solid var(--primary-color);
    margin: 50px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 168, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-cta-box::after {
    content: '\f2a2'; /* FontAwesome icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 150px;
    color: rgba(0, 168, 204, 0.05);
    transform: rotate(-15deg);
}

.blog-cta-box h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}

/* Share Buttons */
.share-buttons {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-buttons span {
    font-weight: 600;
    color: var(--secondary-color);
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 18px;
}

.share-btn:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.share-btn.fb { background: #3b5998; }
.share-btn.x-twitter { background: #000000; }
.share-btn.wa { background: #25d366; }

/* Responsive Blog Wrapper */
@media (max-width: 992px) {
    .blog-wrapper {
        flex-direction: column;
    }
    .sidebar {
        position: static;
        width: 100%;
        margin-top: 40px;
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero h2 { font-size: 42px; }
    .about-wrapper { flex-direction: column; gap: 40px; }
    .row-flex { flex-direction: column; }
    .contact-wrapper { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .experience-badge { right: 10px; bottom: -20px; width: 120px; height: 120px; }
}

/* --- Dropdown Styles (Desktop Default) --- */
.nav-links li { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 6px; }
.has-dropdown > a .caret { font-size: 12px; color: var(--secondary-color); transition: transform 0.3s; display: inline-block; }
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    display: none;
    padding: 10px 0;
    z-index: 1200;
}

/* Gap Fix: Bridge the space between nav item and dropdown */
.dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown li a { display: block; padding: 10px 15px; color: var(--secondary-color); }
.dropdown li a:hover { background: var(--light-bg); color: var(--primary-color); }
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown:hover > a .caret { transform: rotate(180deg); }

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Sola hizalama */
        width: 70%; /* Biraz daha geniş */
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 50px 30px; /* İç boşluk */
        overflow-y: auto; /* Uzun menüler için scroll */
    }
    
    .nav-links li {
        width: 100%; /* Tam genişlik */
        opacity: 0;
    }

    .nav-links a {
        display: block; /* Tıklanabilir alan genişlesin */
        padding: 10px 0;
        font-size: 18px; /* Daha okunaklı */
        color: #333;
    }
    
    .nav-active { transform: translateX(0%); }
    
    .burger { display: block; }
    
    .hero h2 { font-size: 32px; }
    .section-header h3 { font-size: 28px; }
    .brands-grid { gap: 15px; }
    .brand-item { font-size: 18px; }

    .dropdown {
        position: static;
        min-width: 100%;
        border: none;
        box-shadow: none;
        padding-left: 20px; /* Alt linkler içeride */
        background: transparent;
        display: none; /* Varsayılan gizli */
    }

    .dropdown li {
        opacity: 1; /* Animasyon beklememesi için görünür yap */
    }

    .dropdown li a {
        font-size: 16px;
        padding: 8px 0;
        color: #777;
    }

    .has-dropdown .dropdown { display: none; }
    .has-dropdown:hover .dropdown { display: none; } /* Disable hover on mobile */
    .has-dropdown.open .dropdown { display: block; }
    
    .has-dropdown > a {
        justify-content: space-between;
        width: 100%;
    }
    
    .has-dropdown > a .caret { transform: rotate(0deg); transition: transform 0.3s ease; display: inline-block; }
    .has-dropdown:hover > a .caret { transform: rotate(0deg); } /* Reset hover on mobile */
    .has-dropdown.open > a .caret { transform: rotate(180deg); }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Instagram Feed Styles --- */
.instagram-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

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

.instagram-header i {
    font-size: 40px;
    color: #E1306C;
    margin-bottom: 15px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 0 15px;
}

.instagram-item {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.instagram-item img, .instagram-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    gap: 20px;
    font-size: 18px;
    font-weight: 600;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover img, .instagram-item:hover video {
    transform: scale(1.1);
}

.type-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 2;
}

/* --- Lightbox Styles --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-media {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: #fff;
    margin-top: 15px;
    text-align: center;
    font-size: 16px;
    max-width: 600px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.prev-btn { left: -80px; }
.next-btn { right: -80px; }

@media (max-width: 768px) {
    .lightbox-close { right: 0; top: -50px; }
    .prev-btn { left: -20px; font-size: 30px; }
    .next-btn { right: -20px; font-size: 30px; }
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 900;
}

.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

.burger.toggle .line1 { transform: rotate(45deg) translate(5px, 5px); }
.burger.toggle .line2 { opacity: 0; }
.burger.toggle .line3 { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Floating Action Buttons --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.fab-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: scale(0);
    transition: transform 0.3s;
}

.fab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.fab-btn:hover::before {
    transform: scale(1.5);
}

.fab-btn.whatsapp {
    background: #25D366;
}

.fab-btn.phone {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

#products {
    background: var(--brand-gradient);
}

#products .sub-title {
    color: var(--white);
    opacity: 0.9;
}

#products .section-header h3 {
    color: var(--white);
}

#products .line {
    background: var(--white);
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-content {
    padding: 25px;
}

.product-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.product-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --- Hearing Loss Types Section --- */
.hearing-loss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card-type {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-card-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.type-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card-type h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.type-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    min-height: 80px; /* Aligns the "Causes" sections roughly */
}

.causes-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
}

.causes-box h5 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.causes-box ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.causes-box ul li i {
    color: var(--primary-color);
    margin-top: 4px; /* Align icon with text top */
    font-size: 12px;
}


