/* 
  Özçınar Psikoteknik - Vanilla CSS (V3 Light Corporate/Medical)
  Designed for ultra-fast, 90+ PageSpeed 
  Mobile First Approach
*/

:root {
    /* Bright Corporate Colors */
    --color-primary: #D32F2F;
    /* Institutional Red */
    --color-primary-dark: #b71c1c;
    --color-primary-light: rgba(211, 47, 47, 0.08);

    --color-brand-blue: #0f172a;
    /* Slate 900 for serious trust text */
    --color-brand-blue-light: #1e293b;
    /* Slate 800 */

    --color-text-dark: #0f172a;
    /* Dark headings */
    --color-text-light: #334155; /* Slate 700 - Daha iyi kontrast için koyulaştırıldı */
    /* Slate 700 for P tags */
    --color-text-white: #ffffff;

    --color-bg-white: #ffffff;
    --color-bg-light: #f1f5f9; /* Slate 100 - Kontrast ayrımı için biraz daha belirgin */
    /* Slate 100 for alternating sections */
    --color-bg-dark: #0f172a;
    /* Footer background */

    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1EBE55;
    --color-border: #e2e8f0;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --shadow-red: 0 10px 25px -5px rgba(211, 47, 47, 0.3);

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Account for top bar and navbar */
    scroll-padding-top: 130px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-light);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -1px;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 900px;
}

section {
    padding: 6rem 0;
}

/* Top Bar (Corporate Contact Strip) */
.top-bar {
    background: var(--color-brand-blue);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-right a {
    color: var(--color-text-white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-right a:hover {
    color: var(--color-primary);
}

/* Global Navigation */
header.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--color-primary);
    border-bottom: 1px solid #dde3ed;
    transition: var(--transition);
    padding: 0.75rem 0;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
}

header.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: visible;
}

.logo img {
    height: 150px;
    width: auto;
    margin: -40px 0;
    display: block;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

.logo-text span {
    font-weight: 300;
    color: var(--color-primary);
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--color-primary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--color-text-dark);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-white);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-list li a {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

.mobile-nav-list li a.active {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    min-height: 52px;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
    color: var(--color-text-white);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-dark);
    border: 2px solid var(--color-border);
}

.btn-ghost:hover {
    background: var(--color-bg-light);
    border-color: var(--color-text-light);
}

.btn-whatsapp {
    background-color: var(--color-bg-white);
    color: var(--color-whatsapp-dark);
    border: 1px solid var(--color-border);
}

.btn-whatsapp:hover {
    border-color: var(--color-whatsapp);
    color: var(--color-whatsapp-dark);
}

/* Hero Section (Split Layout Light) */
.hero-section {
    position: relative;
    padding: 5rem 0 6rem;
    background-color: #f8fafc;
    background-image:
        radial-gradient(ellipse at 0% 0%, rgba(211, 47, 47, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(15, 23, 42, 0.04) 0%, transparent 50%),
        radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 28px 28px;
    overflow: hidden;
}

/* Sol kenar kırmızı aksan çizgisi */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    z-index: 1;
}

/* Sağ alt köşe dekoratif daire */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 40px solid rgba(211, 47, 47, 0.05);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-right {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(211, 47, 47, 0.2);
}

.hero-text {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Detailed Quick Access Links (Action Items) */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.quick-link-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: var(--color-bg-white);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.quick-link-badge span {
    color: var(--color-primary);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.quick-link-badge:hover {
    border-color: var(--color-primary);
    transform: translateX(4px);
    color: var(--color-primary-dark);
}

.quick-link-badge:hover span {
    transform: translateX(4px);
}

/* Trust Badges - Light Corporate Layout */
.trust-badges-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

/* Hero Image Wrapper */
@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes heroReveal {
    from {
        transform: translateY(20px) scale(0.98);
    }

    to {
        transform: translateY(0) scale(1);
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    will-change: transform;
    animation:
        heroReveal 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) both,
        heroFloat 6s ease-in-out 0.8s infinite;
}

/* Erişilebilirlik: animasyon kapalıysa durdur */
@media (prefers-reduced-motion: reduce) {
    .hero-image-wrapper {
        animation: none;
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 600px;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.hero-floating-card .stars {
    color: #FFC107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.hero-floating-card .rating-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.hero-floating-card .rating-text strong {
    color: var(--color-text-dark);
    font-size: 1rem;
}

.badge-content h4 {
    color: var(--color-text-dark);
    margin: 0 0 0.1rem 0;
    font-size: 1rem;
}

.badge-content p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 0.85rem;
}

/* Common Subpage Header */
.page-header {
    background-color: var(--color-brand-blue);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
    color: var(--color-text-white);
}

.page-header p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* Rich Cards (Services) */
.hizmet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hizmet-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hizmet-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: 2;
}

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

.hizmet-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hizmet-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Background Video Section (SRC) */
.video-bg-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--color-brand-blue);
    /* Fallback dark color */
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    /* Prevent interacting with video */
}

.video-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    /* Deep slate overlay */
    padding: 6rem 0;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #0f172a;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.table-container {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
}

.corporate-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--color-bg-white);
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 600px;
    box-shadow: var(--shadow-sm);
}

.corporate-table th,
.corporate-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.corporate-table th {
    background-color: var(--color-brand-blue);
    color: var(--color-text-white);
    font-weight: 600;
}

.corporate-table tbody tr:hover {
    background-color: var(--color-bg-light);
}

.corporate-table td:first-child {
    font-weight: 600;
    color: var(--color-text-dark);
}

/* Dark / Glassmorphism Tables (Overlay Themed) */
.table-container.dark-glass {
    background: rgba(30, 41, 59, 0.7);
    /* Translucent slate */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.dark-table {
    background: transparent;
    color: #cbd5e1;
    box-shadow: none;
}

.dark-table th,
.dark-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-table th {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(4px);
}

.dark-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-table td:first-child {
    color: #fff;
}

.schedule-table.dark-table th {
    background-color: rgba(211, 47, 47, 0.8);
}

/* FAQ Accordion - Light Mode */
.faq-section {
    background-color: var(--color-bg-light);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.accordion-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--color-text-dark);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.125rem;
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 2rem 1.5rem;
    margin: 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.contact-info-card h3 {
    color: var(--color-text-dark);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer (Corporate) */
.footer {
    background-color: var(--color-brand-blue);
    color: #cbd5e1;
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer .logo-text {
    color: var(--color-text-white);
}

.footer-col h4 {
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
}

.footer-col ul li a:hover {
    color: var(--color-bg-white);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.875rem;
}

.lsi-text {
    color: #475569;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop Responsiveness */
@media (max-width: 768px) {
    .table-container {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .quick-links {
        flex-direction: row;
    }

    .trust-badges-wrapper {
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
    }

    .hizmet-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .top-bar-left,
    .top-bar-right {
        margin: 0;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
    }

    .hero-section {
        padding: 5rem 0 8rem;
    }

    .hero-floating-card {
        bottom: -30px;
        left: -30px;
    }
}

/* =============================================
   PAGE LOAD & SCROLL REVEAL ANIMATION SYSTEM
   Only uses transform + opacity → GPU accelerated
   ============================================= */

/* --- Sayfa açılış: tüm body zoom-out --- */
@keyframes pageZoomOut {
    from {
        transform: scale(1.04);
        opacity: 0.7;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

body {
    animation: pageZoomOut 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

/* --- Scroll Reveal: başlangıç durumu --- */
.reveal {
    transform: translateY(40px) scale(0.97);
    transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Scroll Reveal: görünür olunca --- */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger gecikmeler */
.reveal.delay-1 {
    transition-delay: 0.1s;
}

.reveal.delay-2 {
    transition-delay: 0.2s;
}

.reveal.delay-3 {
    transition-delay: 0.3s;
}

.reveal.delay-4 {
    transition-delay: 0.4s;
}

/* Erişilebilirlik */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }

    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ================================================
   Corporate Hero Layout
   ================================================ */
@media (min-width: 1024px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }

    .hero-left {
        flex: 1;
    }

    .hero-right {
        flex: 1;
    }
}

/* end of file */

/* ================================================
   Hero Slideshow
   ================================================ */
.hero-slideshow {
    position: relative;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    max-height: 520px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.03);
}

.slide-img.slide-active {
    opacity: 1;
    position: relative;
    transform: scale(1);
}

/* Dot indicators */
.slide-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slide-dot.dot-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.3);
}

/* ================================================
   Machine Showcase (video replacement)
   ================================================ */
.machine-showcase {
    position: relative;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.machine-showcase-inner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.machine-main-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: block;
    transition: transform 0.6s ease;
}

.machine-showcase-inner:hover .machine-main-img {
    transform: scale(1.01);
}

/* Glowing backdrop */
.machine-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(211, 47, 47, 0.12),
        0 30px 80px rgba(211, 47, 47, 0.08);
    pointer-events: none;
    z-index: 1;
}

/* Floating badge cards on showcase */
.machine-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 3;
    backdrop-filter: blur(8px);
    animation: badgeFloat 4s ease-in-out infinite;
}

.machine-badge--top-left {
    top: -18px;
    left: -18px;
    animation-delay: 0s;
}

.machine-badge--bottom-right {
    bottom: -18px;
    right: -18px;
    animation-delay: 1.5s;
}

.machine-badge--bottom-left {
    bottom: 30px;
    left: -18px;
    animation-delay: 0.75s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.machine-badge-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.machine-badge-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.machine-badge-sub {
    font-size: 0.72rem;
    color: var(--color-text-light);
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    .machine-badge {
        animation: none;
    }

    .slide-img {
        transition: opacity 0.1s;
    }
}

@media (max-width: 640px) {
    .machine-badge--top-left {
        top: -10px;
        left: 8px;
    }

    .machine-badge--bottom-right {
        bottom: -10px;
        right: 8px;
    }

    .machine-badge--bottom-left {
        display: none;
    }
}
/* --- Müşteri Yorumları (Testimonials) --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
    background: var(--color-bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.testimonial-stars {
    color: #FFC107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testimonial-text {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.25rem;
}
.testimonial-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text-dark);
}
.testimonial-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #34a853; /* Google Green for local guide/verified */
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- Blog Kartları (Anasayfa & Blog Sayfası için) --- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media(min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.blog-thumb {
    width: 100%;
    height: 200px;
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}
.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.blog-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    flex-grow: 1;
}
.blog-content a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.blog-content a:hover {
    color: var(--color-primary-dark);
    gap: 0.75rem;
}
