@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --accent-primary: #27ae60;
    --accent-primary-bright: #2ecc71;
    --text-main: #2d2d2d;
    --text-muted: #5f6368;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.primary-text {
    color: var(--accent-primary);
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Global Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-primary);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
}

.btn:hover {
    background: #ffffff;
    color: var(--accent-primary) !important;
    border-color: var(--accent-primary);
}

.btn-solid:hover {
    background: var(--accent-primary-bright);
    color: #ffffff !important;
    border-color: transparent;
}

.btn-danger:hover {
    background: #a82020 !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #ffffff;
    /* Beyaz arka plan */
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Soft shadow for white header */
}

.nav-auth {
    display: flex;
    align-items: center;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    color: var(--text-main);
}

.logo-white {
    color: var(--accent-primary) !important;
    transition: var(--transition-smooth);
}

nav.scrolled .logo-white {
    color: var(--text-main) !important;
}

.premium-footer .logo-white {
    color: var(--text-main) !important;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main) !important;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    opacity: 0.9;
}

nav.scrolled .nav-links a {
    color: var(--text-main) !important;
}

nav.scrolled .nav-links a.active {
    color: var(--accent-primary) !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary) !important;
    opacity: 1;
}

/* Modern Hero Section */
.modern-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
    padding: 120px 5% 50px;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.modern-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.modern-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.modern-hero-text {
    flex: 1.2;
    max-width: 700px;
}

.modern-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.1s;
}

.modern-hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #1e4d2b;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.modern-hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.modern-hero-search {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

.modern-search-input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    color: #333;
    background: transparent;
}

.modern-search-btn {
    background: var(--accent-primary);
    color: #ffffff;
    border: none;
    padding: 0 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-search-btn:hover {
    background: var(--accent-primary-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.modern-hero-stats {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.5s;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
}

.stat-badge i {
    color: #f59e0b;
}

.stat-badge:last-child i {
    color: var(--accent-primary);
}

.modern-hero-image-wrapper {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInUp 1s forwards 0.3s;
}

.modern-hero-image {
    width: 90%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 30px 100px 30px 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.modern-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.floating-trust-badge {
    position: absolute;
    bottom: 50px;
    left: 0;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.ftb-icon {
    width: 50px;
    height: 50px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ftb-text {
    display: flex;
    flex-direction: column;
}

.ftb-text strong {
    color: #1e293b;
    font-size: 1.1rem;
    line-height: 1.2;
}

.ftb-text span {
    color: #64748b;
    font-size: 0.9rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@media (max-width: 1024px) {
    .modern-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .modern-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .modern-hero-stats {
        justify-content: center;
    }

    .modern-hero-image-wrapper {
        width: 100%;
        height: 400px;
        margin-top: 40px;
        margin-bottom: 70px;
        justify-content: center;
    }

    .modern-hero-image {
        width: 100%;
        border-radius: 30px;
    }

    .floating-trust-badge {
        bottom: -55px;
        left: 50%;
        transform: translateX(-50%);
        animation: none;
        white-space: nowrap;
    }
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    border-radius: 24px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}



.service-card-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-card-action {
    position: relative;
    margin-top: auto;
    padding: 0 24px 24px;
}

.service-card-title-row {
    margin-bottom: 8px;
}

.service-price-tag-inline {
    position: absolute;
    top: 22px;
    right: -42px;
    width: 160px;
    background: linear-gradient(45deg, #10b981, #059669);
    color: #ffffff;
    padding: 8px 0;
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card-img {
        height: 120px;
    }

    .service-card-content {
        padding: 12px;
        gap: 6px;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card-desc {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .service-price-tag-inline {
        top: 8px;
        right: 8px;
        padding: 3px 7px;
        font-size: 0.6rem;
        border-radius: 6px;
    }

    .service-card-action {
        padding: 0 12px 12px;
    }

    .service-card-hover-btn {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin: 0;
        width: 100%;
        padding: 8px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
}

/* Fotoğraf alt karartma */
.service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
}

.service-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card h3 {
    font-size: 1.55rem;
    margin: 0;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.service-card-meta {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 0;
    flex-wrap: wrap;
}

.service-card-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.service-card-meta div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-card-meta div:not(:last-child)::after {
    content: '';
    width: 3px;
    height: 3px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-left: 12px;
}

.service-card-meta div i {
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.service-card-hover-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #10b981;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

.service-card-hover-btn:hover {
    background: #059669;
    transform: scale(1.02);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    display: block;
}

/* Specialist Profiles */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.profile-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: var(--transition-smooth);
}

.profile-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-primary);
}

.profile-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-info {
    padding: 20px;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-title {
    color: var(--accent-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

footer {
    padding: 40px 10%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

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

.stat-value {
    display: block;
    font-weight: 600;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* =========================================
   HAMBURGER MENU
   ========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 1050;
    flex-direction: column;
    padding: 90px 8% 40px;
    gap: 8px;
    overflow-y: auto;
}

.mobile-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-drawer a {
    display: block;
    padding: 16px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
    color: var(--accent-primary);
}

.mobile-nav-drawer .mobile-auth-btns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mobile-nav-drawer .mobile-auth-btns a {
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    flex: 1;
}

/* =========================================
   RESPONSIVE
   ========================================= */
/* =========================================
   RESPONSIVE
   ========================================= */
.hero-title {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 800px;
}

.how-it-works-section {
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 100px 10%;
}

.section-title-alt {
    font-weight: 700;
}

.cta-section {
    padding: 0 10%;
    margin: 80px 0;
}

.cta-container {
    background: #f4f6f5;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-content {
    flex: 1;
    min-width: 300px;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: #1e4d2b;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text {
    color: #4a5568;
    font-size: 1.5rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

.reviews-section {
    padding: 80px 10%;
    background: var(--bg-secondary);
}

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

/* Review Card Styles */
.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
}

.review-stars {
    color: #f1c40f;
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.review-text {
    color: #4a5568;
    font-size: 1.3rem;
    line-height: 1.6;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent-primary);
}

.author-name {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 1.2rem;
}

.author-location {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Blog Styles */
.blog-section {
    background: #ffffff;
    padding: 100px 10%;
}

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

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: var(--accent-primary);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    min-height: 3.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-main);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 1.35rem;
    margin-bottom: 25px;
    min-height: 4rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-blog {
    padding: 0.6rem 1.5rem;
    font-size: 1.05rem;
    width: fit-content;
    background: var(--accent-primary);
    color: #fff !important;
    border: none;
}

/* CTA Image handling */
.cta-image {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

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

.step-card {
    text-align: center;
    padding: 20px 10px;
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .step-card:not(:last-child)::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 50px;
        right: -30px;
        font-size: 2.5rem;
        color: var(--accent-primary);
        opacity: 0.3;
    }
}

.step-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(39, 174, 96, 0.08);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 1.4rem;
}

.step-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.step-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.step-desc {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Fix line-clamp lints */
/* (Duplicates removed) */

@media (max-width: 768px) {
    .step-card {
        padding: 30px 20px;
    }

    .how-it-works-grid {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .cta-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-auth {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 35px 5%;
    }

    .how-it-works-section {
        padding: 35px 5%;
    }

    .cta-section {
        padding: 0 5%;
        margin: 30px 0;
    }

    .reviews-section {
        padding: 35px 5%;
    }

    .blog-section {
        padding: 35px 5%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 120px 5% 60px;
    }

    .modern-hero {
        padding: 100px 5% 50px;
        overflow-x: hidden;
    }

    .modern-hero-title {
        font-size: 2rem;
    }

    .modern-hero-subtitle {
        font-size: 1.05rem;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .modern-hero-text {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    /* Hero Search Optimization */
    .modern-hero-search {
        flex-direction: column;
        padding: 12px;
        background: rgba(255, 255, 255, 0.95);
    }

    .modern-search-input {
        width: 100%;
        flex: none;
        padding: 12px 15px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .modern-search-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-radius: 10px;
    }

    .hero-search-container {
        flex-direction: column;
        border-radius: 12px;
    }

    /* CTA Section */
    .cta-content {
        padding: 40px 25px;
        text-align: center;
    }

    .cta-container {
        flex-direction: column;
    }

    .cta-container.reverse {
        flex-direction: column-reverse;
    }

    .cta-image {
        min-height: 250px;
        width: 100%;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .detailed-services {
        grid-template-columns: 1fr;
    }

    .specialists-grid {
        grid-template-columns: 1fr;
    }

    /* Profile stats */
    .profile-stats {
        gap: 10px;
    }

    /* Reviews */
    .review-card {
        padding: 25px;
    }

    /* Blog Excerpt Polish */
    .blog-excerpt {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .blog-title {
        font-size: 1.5rem;
        min-height: auto;
    }
}


/* =========================================
   WIZARD MODAL STYLES (Armut Style)
   ========================================= */
.wizard-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    /* Changed from flex for initial hide */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.wizard-modal {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    height: 90vh;
    max-height: 800px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.wizard-icon-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.wizard-icon-btn:hover {
    background: #f5f5f5;
}

.wizard-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.wizard-summary {
    padding: 15px 20px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.wizard-progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 15px;
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: var(--accent-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.wizard-summary-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.wizard-details-text,
.wizard-time-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.wizard-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
}

.wizard-help-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: var(--text-main);
}

.wizard-help-btn {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 5px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s;
}

.wizard-help-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.wizard-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px 20px;
}

.wizard-question-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-main);
}

.wizard-question-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.wizard-options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wizard-option {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.wizard-option:hover {
    border-color: #bdbdbd;
}

.wizard-option.selected {
    border-color: var(--accent-primary);
    background: rgba(39, 174, 96, 0.03);
}

.wizard-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.wizard-radio.selected {
    border-color: var(--accent-primary);
}

.wizard-radio.selected::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.wizard-option span {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
}

.wizard-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #ffffff;
}

.wizard-next-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #e0e0e0;
    color: #9e9e9e;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: not-allowed;
    transition: all 0.3s;
}

.wizard-next-btn.active {
    background: var(--accent-primary);
    color: #ffffff;
    cursor: pointer;
}

.wizard-next-btn.active:hover {
    background: #219653;
}

.wizard-submit-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--accent-primary);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-submit-btn:hover {
    background: #219653;
}


@media (max-width: 600px) {
    .wizard-modal {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
}