/* Global Styles & Variables */
:root {
    --primary: #0284c7;
    /* Classic Medical Blue */
    --primary-dark: #0369a1;
    --secondary: #0f172a;
    /* Dark Slate for text */
    --light-bg: #f8fafc;
    /* Very light cool gray */
    --white: #ffffff;
    --text-main: #334155;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    /* Font Families */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    /* Standard rounded corners */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1e293b;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    background-color: #e0f2fe;
    /* Light Blue */
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-content .txt-type {
    background: linear-gradient(120deg, var(--primary), #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-right: 4px solid var(--primary);
    padding-right: 6px;
    font-weight: 800;
    /* Extra bold */
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0% {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }

    100% {
        border-color: transparent
    }
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 540px;
}

.car-img {
    width: 100%;
    border-radius: 12px;
    /* box-shadow: var(--shadow); Removed per user request */
}

.badge-img {
    position: absolute;
    top: -80px;
    right: 40px;
    width: 200px;
    z-index: 10;
}

.image-wrapper {
    position: relative;
}

/* Features Stripes */
.features {
    padding: 40px 0;
    background-color: var(--primary);
    color: var(--white);
    margin-top: -1px;
    /* Stitch to hero */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:last-child {
    border-right: none;
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* Services */
.services {
    background-color: var(--white);
}

.section-header h2 {
    color: var(--primary-dark);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #f0f9ff;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.service-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* About */
.about {
    background-color: var(--light-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-text .subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 2.2rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text strong {
    color: var(--secondary);
    font-weight: 600;
}

.about-text .btn {
    margin-top: 10px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.about-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-text p {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .about-grid {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }
}

/* Notice */
.notice-box {
    background-color: #fff7ed;
    /* Orange 50 */
    border: 1px solid #fed7aa;
    /* Orange 200 */
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.notice-icon {
    color: #ea580c;
    font-size: 1.5rem;
}

.notice-text h3 {
    color: #9a3412;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.notice-text p {
    color: #9a3412;
    font-size: 0.95rem;
    margin: 0;
}

/* Reviews (Infinite Slider) */
.reviews {
    overflow: hidden;
    background-color: var(--white);
}

.slider {
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Gradient Edges for fade effect */
.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(350px * 10);
    /* slide width * number of slides */
    gap: 30px;
    padding-bottom: 20px;
    /* space for shadow */
}

/* Pause on hover */
.slide-track:hover {
    animation-play-state: paused;
}

.slide {
    height: auto;
    width: 350px;
    display: flex;
}

.review-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.review-card .stars {
    color: #f59e0b;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer span {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 5 - 150px));
    }

    /* Adjust based on content */
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .slider::before,
    .slider::after {
        width: 50px;
    }

    .slide {
        width: 300px;
    }

    .slide-track {
        width: calc(300px * 10);
    }
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.contact-info {
    background-color: var(--secondary);
    color: var(--white);
    padding: 50px;
}

.contact-info h2 {
    color: var(--white);
}

.contact-info p {
    color: #cbd5e1;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--primary);
    /* Light Blue */
}

.info-item i {
    color: #38bdf8;
}

.info-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-form-wrapper {
    padding: 50px;
    background-color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

/* Process / Hizmet Sürecimiz (Premium Cards) */
.process {
    background-color: #f8fafc;
    /* Ensure light bg for contrast */
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    text-align: left;
    /* Left align for professional look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.15);
    border-color: rgba(2, 132, 199, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #e0f2fe;
    /* Light blue bg */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    margin-left: 0;
    /* Reset center */
    transition: all 0.4s ease;
    border: none;
    box-shadow: none;
}

.process-step:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--secondary);
    font-size: 80px;
    font-weight: 800;
    opacity: 0.05;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    border: none;
    font-family: var(--font-heading);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Add a bottom accent bar on hover */
.process-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.process-step:hover::after {
    width: 100%;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 30px 20px;
    }
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo {
    filter: brightness(0) invert(1);
    height: 50px;
    margin-bottom: 20px;
    width: auto;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

/* Connecting Line (Desktop) */
.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #cbd5e1;
    z-index: 0;
    display: block;
}

.step-icon {
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    color: var(--primary);
    font-size: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid var(--white);
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Default state for mobile badge (hidden on desktop) */
.badge-mobile {
    display: none;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .feature-card:last-child {
        border-bottom: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-grid::before {
        display: none;
        /* Hide line on mobile */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }

    /* Mobile Badge Logic */
    .badge-img {
        display: none;
    }

    /* Hide large absolute badge on mobile */

    .hero-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        /* Center buttons on mobile */
    }

    .badge-mobile {
        display: block;
        height: 65px;
        /* Adjust height to match buttons approx */
        width: auto;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .social-links {
        justify-content: center;
    }
}