﻿/* Font Düzeltmeleri */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@100;300;400;500;600;700;800;900&display=swap');

/* Temel deÄŸiÅŸkenler */
:root {
    --font-family: 'Rajdhani', sans-serif;
    --heading-font: 'Rajdhani', sans-serif;
    /* Palette from ColorHunt: #3E1E68 #5D2F77 #E45A92 #FFACAC */
    --primary-color: #3E1E68;
    /* deep purple (main) */
    --primary-2: #5D2F77;
    /* secondary purple */
    --btn-start: #E45A92;
    /* pink accent start */
    --btn-end: #FFACAC;
    /* pink accent end */
    --primary-gradient-start: #5D2F77;
    --primary-gradient-end: #3E1E68;
    --btn-accent-rgb: 228, 90, 146;
    --secondary-color: #FFACAC;
    --info-color: #5D2F77;
    --warning-color: #ffd8a8;
    --danger-color: #ffb3b3;
    --dark-color: #0f1720;
    /* keep header/footer dark */
    --light-color: #fbfbfc;
    --gray-color: #8a8f98;
    --accent-check: #E45A92;
    /* checkmark/list accent */
}

/* Genel font uygulamasÄ± */
body {
    font-family: var(--font-family) !important;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.section-heading {
    font-family: var(--heading-font) !important;
    font-weight: 700;
}

.lead {
    font-family: var(--font-family) !important;
}

/* Genel Ayarlar */
body {
    background-color: #fff;
    color: #555;
    /* padding-top: 70px; */
    /* Removed - causes gap on dashboard pages */
    /* fixed navbar telafisi */
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.section-heading {
    color: #222;
}

/* Animated Gradient for Section Headings */
.section-heading {
    background: linear-gradient(90deg,
            #3E1E68 0%,
            #5D2F77 25%,
            #E45A92 50%,
            #5D2F77 75%,
            #3E1E68 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

/* Animated Logo Characters */
.logo-text {
    display: inline-flex;
    align-items: center;
}

.logo-char {
    display: inline-block;
    font-family: var(--heading-font) !important;
    font-weight: var(--logo-weight, 700);
    transition: font-weight 0.1s ease;
    color: white;
}

/* Butonlar */
.btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--btn-start) 0%, var(--btn-end) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--btn-accent-rgb), 0.12);
}

.btn-outline-primary {
    border: 2px solid rgba(0, 0, 0, 0.04);
    color: var(--btn-start) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--btn-start), var(--btn-end)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--btn-accent-rgb), 0.2);
}

.btn-outline-primary:active,
.btn-outline-primary:focus {
    color: var(--btn-start) !important;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* BÃ¶lÃ¼m baÅŸlÄ±klarÄ± */
.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

@media (max-width: 991px) {
    #navbarNav.show {
        background-color: #1a242f !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        margin: 10px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 9999 !important;
    }

    #navbarNav.collapsing {
        background-color: #1a242f !important;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-dark .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

.navbar.fixed-top {
    background-color: transparent;
}

/* Tool pages and error pages start with dark navbar */
.page-tool .navbar.fixed-top,
.page-error .navbar.fixed-top {
    background-color: rgba(23, 32, 42, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled {
    background-color: rgba(23, 32, 42, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand img {
    height: 36px;
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    height: 30px;
}

.navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hero-section {
    /* Sert geÃ§iÅŸli, hareketli gradyen: Ã§ok koyu mor â†’ aÃ§Ä±k mor */
    background: linear-gradient(135deg, #0d0418 0%, #3d1a5c 35%, #667eea 70%, #9d4edd 100%);
    background-size: 300% 300%;
    animation: gradient 10s ease-in-out infinite;
    padding: 120px 0 90px;
    margin-top: -70px;
    /* navbar offset */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    /* Extra width for seamless movement if needed */
    height: 100%;
    background: url('../img/hero-tech-pattern.png') repeat;
    background-size: 512px auto;
    background-position: center center;
    opacity: 0.12;
    /* Slightly more visible tech lines */
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
    /* Better integration with gradient */
    animation: heroTextureMove 60s linear infinite;
    transform: translate(var(--hero-tx, 0), var(--hero-ty, 0));
    transition: transform 0.2s ease-out;
}

@keyframes heroTextureMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 512px 512px;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-section .container {
    z-index: 2;
}

/* Effects removed */

.hero-section h1,
.hero-section h2 {
    color: white;
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 1.2rem;
    font-weight: 800;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1199px) {

    .hero-section h1,
    .hero-section h2 {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {

    .hero-section h1,
    .hero-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {

    .hero-section h1,
    .hero-section h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 575px) {

    .hero-section h1,
    .hero-section h2 {
        font-size: 1.85rem;
    }
}

/* Hero Section Spacing Fix */
.hero-section {
    padding-top: 115px;
    /* Reduced from 140px to 115px for tighter look */
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    /* Background reverted to original or handled by HTML classes */
}

/* Pricing Responsive Wrapper */
.pricing-responsive-wrapper {
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .pricing-responsive-wrapper .row {
        /* Default row behavior is fine with col-12, but if forced column: */
        /* flex-direction: column; */
    }

    .pricing-card {
        max-width: 100%;
        /* Allow full width on mobile */
        width: 100%;
        margin-bottom: 30px;
        /* Add spacing between stacked cards */
    }

    /* Ensure last card doesn't have huge margin if not needed */
    .col-lg-4:last-child .pricing-card {
        margin-bottom: 0;
    }
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 1.6rem;
}

/* Statistics Counter Responsive Font */
.stats-number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    /* Minimum 2rem, preferred 5vw, max 3.5rem */
    font-weight: 800;
    line-height: 1.2;
}

/* Fallback/Additional adjustments for very small screens */
@media (max-width: 480px) {
    .stats-number {
        font-size: 2.5rem;
        /* Explicit smaller size for very narrow screens if clamp isn't supported well */
    }
}


.hero-image {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
    max-width: 100%;
    height: auto;
}

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

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

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

/* Swiper Slider â€“ oklar metne binmesin */
.hero-swiper {
    padding: 0 0 50px 0;
}

@media (max-width: 991px) {
    .hero-swiper {
        padding: 0 0 40px 0;
    }
}

@media (max-width: 576px) {
    .hero-swiper {
        padding: 0 0 40px 0;
    }
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #f8f9fa !important;
    width: 25px;
    border-radius: 5px;
}

.hero-section .swiper-pagination {
    bottom: 0px !important;
}

/* Ã–zellikler (Neden Biz?) */
.features-section {
    background-image: url('../img/pattern-light.png');
    background-repeat: repeat;
    padding: 80px 0;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Hizmetler */
#services {
    padding: 80px 0;
}

#services .row {
    margin-bottom: 60px;
}

#services .row:last-child {
    margin-bottom: 0;
}

#services img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#services img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#services h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #222;
}

#services .custom-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

#services .custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.75rem;
}

#services .custom-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

#services .btn {
    padding: 0.75rem 1.5rem;
}

/* NasÄ±l Ã‡alÄ±ÅŸÄ±r? */
.steps-section {
    background-color: #f8f9fa;
    background-image: url('../img/pattern-dots.png');
    background-repeat: repeat;
    padding: 80px 0;
}

.step-card {
    position: relative;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-2), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-card p {
    text-align: center;
    color: #6c757d;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50%;
    width: 100%;
    height: 2px;
    border-top: 2px dashed #ced4da;
    z-index: -1;
}

/* FiyatlandÄ±rma (PlanlarÄ±mÄ±z) */
.pricing-section {
    background-image: url('../img/pattern-light-2.png');
    background-repeat: repeat;
    padding: 80px 0;
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.pricing-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    pointer-events: none;
}

.popular-ribbon span {
    position: absolute;
    display: block;
    width: 220px;
    padding: 8px 0;
    background-color: var(--btn-start);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    transform: rotate(45deg);
    top: 18px;
    right: -60px;
}

.card-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--primary-color);
}

.pricing-card h5 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card ul {
    margin-bottom: auto;
    padding-left: 0;
    list-style: none;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.pricing-card .btn {
    margin-top: 1.5rem;
}

/* Packages Swiper Navigation */
.packages-swiper {
    position: relative;
    padding: 60px 10px !important;
    overflow: visible !important;
    margin: 0 auto !important;
    /* Center the swiper container */
}

.packages-swiper .swiper-slide {
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    padding: 30px 0;
}

.packages-swiper .swiper-slide-active {
    opacity: 1;
}

.packages-swiper .pricing-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
    width: 100%;
    max-width: 380px;
}

@media (max-width: 767px) {
    .packages-swiper .pricing-card {
        transform: scale(0.85);
    }
}

.packages-swiper .swiper-slide-active .pricing-card {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    border-color: var(--primary-color);
}

@media (max-width: 767px) {
    .packages-swiper .swiper-slide-active .pricing-card {
        transform: scale(1);
    }
}

.packages-swiper .swiper-button-next,
.packages-swiper .swiper-button-prev {
    color: var(--primary-color) !important;
    background: rgba(var(--primary-2-rgb), 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.packages-swiper .swiper-button-next {
    right: 5px !important;
}

.packages-swiper .swiper-button-prev {
    left: 5px !important;
}

.packages-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Ä°statistikler */
.stats-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.stats-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--primary-2-rgb), 0.1);
}

.stats-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.stats-card:hover .stats-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Soft Colors for Icons */
.bg-soft-primary {
    background-color: rgba(62, 30, 104, 0.08);
    color: #3E1E68;
}

.bg-soft-success {
    background-color: rgba(40, 167, 69, 0.08);
    color: #28a745;
}

.bg-soft-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.bg-soft-warning {
    background-color: rgba(255, 193, 7, 0.12);
    color: #ffc107;
}

.stats-number {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: var(--heading-font) !important;
    line-height: 1;
}

.count-up-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: block;
    width: 100%;
}

.stats-label {
    color: #718096;
    font-weight: 600;
    margin-top: 5px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--heading-font) !important;
}

/* Testimonials */
.testimonial-section {
    padding: 80px 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-stars {
    color: #f39c12;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0;
}

.testimonial-position {
    color: #6c757d;
    font-size: 0.9rem;
}

.testimonial-swiper .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.testimonial-swiper .swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.5;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Footer */
footer {
    background-color: #17202a;
    color: white;
    padding-top: 3rem;
    padding-bottom: 1rem;
    width: 100%;
    margin: 0;
    position: relative;
    left: 0;
    right: 0;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: white;
}

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

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

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: white;
    text-decoration: none;
}

footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

.footer-bottom p {
    color: white !important;
    font-weight: 500;
    margin-bottom: 0;
}


/* Footer tam koyu bitiÅŸ ve marjin sÄ±fÄ±rlama */
.footer {
    background-color: #0b0d0f;
    margin-bottom: 0 !important;
    display: block;
}

.footer .footer-bottom {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-bottom p {
    margin: 0;
    /* gÃ¼vence amaÃ§lÄ± */
}

/* Footer iÃ§indeki son elemanda ekstra boÅŸluk kalmasÄ±n */
.footer .container> :last-child {
    margin-bottom: 0;
}

/* Sayfa altÄ±na boÅŸluk dÃ¼ÅŸmesini Ã¶nlemek iÃ§in global sÄ±fÄ±rlama */
html,
body {
    height: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* YÃ¼zen butonlar sayfa akÄ±ÅŸÄ±na dahil olmasÄ±n */






/* Back to Top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: all 0.28s ease;
    z-index: 10010;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 30px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    filter: brightness(0.95);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Chat/Support Modal */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 300px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f8f9fa;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}

.chat-input input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.chat-input button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.chat-message {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.user-message .message-avatar {
    margin-right: 0;
    margin-left: 10px;
    background-color: var(--primary-color);
    color: white;
}

.message-content {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 70%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bot-message .message-content {
    border-top-left-radius: 0;
}

.user-message .message-content {
    background-color: var(--primary-color);
    color: white;
    border-top-right-radius: 0;
}

.message-content p {
    margin-bottom: 0;
}

.support-options,
.support-answers {
    max-height: 300px;
    overflow-y: auto;
}

.support-question {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 10px;
    margin-bottom: 5px;
}

.support-question:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.support-back-btn {
    margin-top: 10px;
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: none;
    padding: 20px 30px 0;
}

.modal-body {
    padding: 20px 30px;
}

.modal-footer {
    border-top: none;
    padding: 0 30px 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-hide {
    opacity: 0;
    visibility: hidden;
}

.preloader .spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}

/* Ã–zel Listeler */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(2px);
    font-weight: 800;
    color: var(--accent-check);
    font-size: 0.95rem;
}

/* Formlar */
.custom-form .form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
}

.custom-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
}

.custom-form .form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Alert Container */
#alertContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* Animasyonlar */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Genel yuvarlak kÃ¶ÅŸeler */
.rounded-4 {
    border-radius: 15px !important;
}

/* Ã–zel Renkler */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-info {
    background-color: var(--info-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Ã–zel Butonlar */
.btn-outline-gradient {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-gradient:hover {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: white;
    border-color: transparent;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border: none;
    color: white;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary-gradient-end), var(--primary-gradient-start));
    color: white;
}

/* Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle i {
    font-size: 1.75rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .pricing-card.popular {
        transform: none;
        margin-top: 30px;
    }

    #services .row {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {

    .feature-card,
    .step-card,
    .pricing-card,
    .stats-card,
    .testimonial-card {
        margin-bottom: 30px;
    }

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

    .hero-section h1 {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .back-to-top {
        right: 20px !important;
        bottom: 90px !important;
        /* Adjusted from 145px to 90px for better mobile placement */
        z-index: 10020 !important;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 50px;
    }

    .hero-section h1 {
        font-size: 1.75rem;
        word-break: break-word;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 1.75rem;
        word-break: break-word;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .chat-container {
        height: 250px;
    }

    .message-content {
        max-width: 85%;
    }

    .feature-icon,
    .step-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stats-number {
        font-size: 2rem;
    }

    .stats-label {
        font-size: 0.8rem;
        /* Smaller label on extra small screens */
    }
}

/* --- PHASE 1 ENHANCEMENTS --- */
/* 1. Mobile Menu Opacity */
@media (max-width: 991px) {
    #navbarNav.show {
        background-color: #1a242f !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        margin: 10px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 9999 !important;
    }

    #navbarNav.collapsing {
        background-color: #1a242f !important;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* 2. Hover Effects */
.feature-card-square {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* 4. Pricing Buttons (More Visible) */
.pricing-card .btn-outline-primary {
    border-width: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(106, 17, 203, 0.3);
}

/* 404 Page Styles */
body.page-404 .navbar {
    background: #1a242f !important;
}

/* Texture Update */
#how-it-works,
.steps-section {
    background-image: url('../img/pattern-dots-new.png') !important;
    background-repeat: repeat;
    background-color: #f8f9fa;
}

/* Final CTA Section (Hero Match) */
/* Final CTA Section (Solid Theme Color) */
.final-cta {
    background-color: var(--primary-color);
    /* Deep Purple #3E1E68 */
    position: relative;
    overflow: hidden;
}

.final-cta h2,
.final-cta p,
.final-cta .lead {
    color: #ffffff !important;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 30%;
    background: url('../img/hero-tech-pattern-v2.svg') repeat;
    background-size: 512px auto;
    background-position: center center;
    opacity: 0.10;
    /* Slightly more visible on solid color */
    z-index: 1;
    pointer-events: none;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

/* Fix Swiper Centering */
.packages-swiper {
    margin: 0 auto !important;
    width: 100% !important;
    display: block !important;
}

.packages-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

/* --- Gooey Click Effect --- */
.gooey-btn {
    position: relative;
    z-index: 12;
}

.gooey-active-wrap {
    filter: url('#gooey-click');
}

.gooey-blob {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    width: 20px;
    height: 20px;
    opacity: 0;
}

@keyframes gooey-move {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* --- Pixel Card Effect --- */
.pixel-container {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 20px;
    width: 100%;
}

.pixel-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: grid;
    z-index: 2;
}

.pixel-grid .pixel {
    background: var(--primary-color);
    opacity: 0;
}

.pixel-container:hover .pixel {
    animation: pixel-fade 0.6s ease-out forwards;
}

@keyframes pixel-fade {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    30% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

.pixel-image {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.pixel-container:hover .pixel-image {
    transform: scale(1.08);
    filter: brightness(0.9) contrast(1.1);
}

/* --- Dropdown Submenu Support --- */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    background-color: #f8f5fa !important;
    /* Pastel purple background */
    border-radius: 12px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(62, 30, 104, 0.1);
    padding: 10px 0;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-menu.show {
    display: block;
}

.dropdown-submenu>.dropdown-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    color: #333 !important;
    /* Dark text */
    font-weight: 600;
    transition: all 0.2s ease;
}

.dropdown-submenu>.dropdown-item:after {
    content: "\f054";
    /* fa-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: auto;
    opacity: 0.5;
    color: var(--primary-color);
}

/* Active/Hover state for the category parent */
.dropdown-submenu:hover>.dropdown-item,
.dropdown-submenu>.dropdown-item:focus,
.dropdown-submenu>.dropdown-item[aria-expanded="true"] {
    background-color: rgba(93, 47, 119, 0.1);
    color: var(--primary-color) !important;
}

.dropdown-submenu .dropdown-item:hover {
    background-color: rgba(93, 47, 119, 0.15);
    color: var(--primary-color) !important;
}

/* Mobile Adjustments for Submenus */
@media (max-width: 991px) {
    .dropdown-submenu .dropdown-menu {
        position: static;
        display: none;
        /* Changed from block to none for toggle support */
        background: rgba(0, 0, 0, 0.2) !important;
        margin-left: 10px;
        box-shadow: none;
        border: none;
        padding: 5px 0;
    }

    .dropdown-submenu>.dropdown-item:after {
        content: "\f078";
        /* fa-chevron-down */
    }
}

/* --- Gooey Share Menu --- */
.menu {
    filter: url('#shadowed-goo');
    position: relative;
    width: 320px;
    /* Width to accommodate expanded items */
    height: 100px;
    box-sizing: border-box;
    font-size: 20px;
    text-align: left;
    margin-top: 15px;
    /* Spacing from description */
}

.menu-item,
.menu-open-button {
    background: #1a1a1a !important;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    margin-left: 0;
    position: absolute;
    top: 20px;
    color: #fff !important;
    text-align: center;
    line-height: 45px;
    transform: translate3d(0, 0, 0);
    transition: transform ease-out 200ms, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Specific styling for the open button */
.menu-open-button {
    z-index: 2;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
    transition-duration: 400ms;
    transform: scale(1.1, 1.1) translate3d(0, 0, 0);
    cursor: pointer;
}

.menu-open-button:hover {
    transform: scale(1.2, 1.2) translate3d(0, 0, 0);
}

.menu-open {
    display: none;
}

.menu-open:checked+.menu-open-button {
    transition-timing-function: linear;
    transition-duration: 200ms;
    transform: scale(0.8, 0.8) translate3d(0, 0, 0);
}

.menu-item:hover {
    background: #333 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Animations for items */
.menu-item {
    transition-duration: 180ms;
}

.menu-open:checked~.menu-item {
    transition-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

/* Spacing and Delays */
/* Note: Using 70px spacing for 60px balls + 10px gap */
.menu-open:checked~.menu-item:nth-child(3) {
    transition-duration: 170ms;
    transform: translate3d(55px, 0, 0);
}

.menu-open:checked~.menu-item:nth-child(4) {
    transition-duration: 250ms;
    transform: translate3d(110px, 0, 0);
}

.menu-open:checked~.menu-item:nth-child(5) {
    transition-duration: 330ms;
    transform: translate3d(165px, 0, 0);
}

.menu-open:checked~.menu-item:nth-child(6) {
    transition-duration: 410ms;
    transform: translate3d(220px, 0, 0);
}



/* Wider Menu Variant for SEO Result */
.menu.menu-wide {
    width: 100%;
    max-width: 650px;
}

/* Extra items for wider menus */
.menu-open:checked~.menu-item:nth-child(7) {
    transition-duration: 490ms;
    transform: translate3d(275px, 0, 0);
}

.menu-open:checked~.menu-item:nth-child(8) {
    transition-duration: 570ms;
    transform: translate3d(330px, 0, 0);
}

.menu-open:checked~.menu-item:nth-child(9) {
    transition-duration: 650ms;
    transform: translate3d(385px, 0, 0);
}

/* Final CTA Section (Hero Match) - RELOADED */
.final-cta {
    background: linear-gradient(135deg, #0d0418 0%, #3d1a5c 35%, #667eea 70%, #9d4edd 100%);
    background-size: 300% 300%;
    animation: gradient 10s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-tech-pattern-v2.svg') repeat;
    background-size: 512px auto;
    background-position: 0 0;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    animation: textureSlide 30s linear infinite;
}

@keyframes textureSlide {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 650px 0;
    }
}

.final-cta .container {
    position: relative;
    z-index: 2;
}