:root {
    /* Colors */
    --primary-color: #3B82F6;
    --primary-hover: #2563EB;
    --secondary-color: #F3F4F6;
    --text-dark: #1F2937;
    --text-light: #2e3b56;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --success-color: #10B981;
    /* Spacing */
    --section-padding: 60px;
    --card-padding: 2rem;
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 50%;
    /* Transitions */
    --transition-base: all 0.3s ease;
}


/* Base Styles */

body {
    background-color: var(--white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* --- Image Cover Styles --- */

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


/* Carousel Images */

#tasarimlar-carousel .owl-item {
    height: 400px;
}

#tasarimlar-carousel .owl-item>div {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

#tasarimlar-carousel img {
    object-fit: fill !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
}


/* Testimonials Carousel Images */

.templates-carousel .item {
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.templates-carousel img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
}


/* --- Genel Stiller --- */

.section-padding {
    /* use the section padding variable so responsive overrides work */
    padding: 30px;
    margin: 0 auto;
}

.section-title {
    font-weight: 700;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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


/* --- Topbar --- */

.topbar {
    font-size: 0.9rem;
}

.topbar a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.topbar a:hover {
    opacity: 0.8;
}

.topbar-mobile {
    display: none;
}


/* ensure the inner container is a flex row and items share same height */

.topbar-mobile .d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.mobile-call-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    height: 44px;
    /* match button height */
}

.mobile-arrow {
    color: white;
    font-size: 1.25rem;
    margin: 0 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    height: 44px;
}

.btn-get {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 500;
    color: black;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    /* fixed height for visual alignment */
    box-shadow: none;
}

.btn-get:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {


    /* reduce global section spacing variable for components that use it */
    :root {
        --section-padding: 20px;
    }

    /* Ensure sections don't keep a large 60px margin */
    .section-padding {
        margin: 0 !important;
        padding: 20px !important;
    }

    /* Hero should be tighter on small screens */


    /* Pricing cards and other wide elements: reduce internal spacing */
    .custom-card,
    .pricing-card {
        padding: 1rem !important;
    }

    /* Reduce top/bottom spacing for some components */
    .section-title,
    .section-subtitle {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    /* Make accordion spacing friendlier on mobile */
    .accordion-button {
        padding: 1rem 0.75rem !important;
    }

    .topbar-default {
        display: none;
    }

    .topbar-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

    .mobile-phone-section {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .profile-container {
        justify-content: center;
    }

    .topbar-default {
        display: none;
    }

    .topbar-mobile {
        display: block;
    }

    .topbar-mobile .d-flex {
        padding: 0 12px;
        /* give a little horizontal breathing room */
    }

    .btn-get {
        margin: 0;
        white-space: nowrap;
    }

    .profile-container {
        justify-content: center;
    }
}

.topbar-mobile {
    display: none;
}

.topbar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.mobile-arrow {
    font-size: 1.2rem;
    margin: 0 10px;
}

.btn-get {
    background: white;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: 500;
    color: #000;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-get:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}




/* FAQ Styles */

.accordion {
    --bs-accordion-btn-bg: #ffffff;
    --bs-accordion-active-bg: #ffffff;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-color: inherit;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

.accordion-button {
    font-weight: 500;
    padding: 1.5rem 0;
    border: none;
    box-shadow: none !important;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.2s ease;
}

.accordion-button:not(.collapsed) {
    color: inherit;
    background-color: #ffffff;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 0 1.5rem 0;
    background-color: #ffffff !important;
    color: #666;
    line-height: 1.6;
}

div>img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
}




/* --- Navbar --- */

.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-dark);
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}


/* --- Hero Section --- */

.hero {
    padding: 10px;
    overflow: hidden;
}

.hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
}


/* AI Prompt Container - Light Theme */

.ai-prompt {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-radius: 20px;
    background: #ffffff;
    color: #333;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.ai-text {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    color: #212529;
    padding: 18px 20px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    height: 150px;
    resize: none;
}

.ai-text:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.ai-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.ai-controls .ms-auto {
    margin-left: auto;
}

.ai-send {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: var(--primary-color);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
    color: white;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}


/* --- Kart Stilleri --- */

.custom-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.custom-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: #000000;
    color: white;
    font-size: 1.5rem;
}


/* --- Fiyatlandırma Kartları --- */

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

.pricing-card.active {
    border-color: black;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
}


/* --- Footer --- */

footer {
    background-color: rgba(25, 25, 25, 1);
    color: #ffffff;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

footer .social-icon {
    display: flex;
    width: 40px;
    height: 40px;
    background-color: #151616;
    color: #ffffff;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

footer .social-icon:hover {
    background-color: black;
    color: var(--white);
}


/* --- Back to Top Button --- */

.backToTop {
    bottom: 40px;
    right: -40px;
    opacity: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: block;
    padding: 0;
    z-index: 9999999;
    transition: all 0.3s ease;
}

.backToTop.show {
    right: 40px !important;
    opacity: 1 !important;
}


/* --- Profile Circles --- */

.profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-left: -20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-container {
    gap: 10px;
}



.stars {
    color: #f5c518;
    font-size: 20px;
}


/* --- Owl Carousel Dots --- */

.owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--border-color) !important;
    transition: var(--transition-base);
}

.owl-dot.active {
    background-color: var(--primary-color) !important;
    transform: scale(1.2);
}

.profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-left: -20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Animasyon ekledik */
}

.profile:hover {
    transform: scale(1.2);
    /* Büyütme efekti */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Hafif gölge efekti */
}

.profile-container {
    gap: 10px;
}

/* --------------------------------------------------------------------------
   Comprehensive responsive tweaks for index.blade.php
   Breakpoints: xl (>=1200), lg (>=992), md (>=768), sm (<768), xs (<576)
   These rules override/adjust spacing, typography, and grid layout for small
   screens and ensure the hero, pricing, features and footer scale well.
   -------------------------------------------------------------------------- */

/* Extra large - fine tune large screen spacing */
@media (min-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }

    .hero h3 {
        font-size: 2rem;
    }

    .pricing-card .badge {
        top: -18px;
    }
}

/* Large screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero h1 {
        font-size: 3.6rem;
    }

    .section-padding {
        padding: calc(var(--section-padding) * 0.9);
    }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 991px) {
    .hero {
        padding: 30px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero h3 {
        font-size: 1.6rem;
    }



    .pricing-card,
    .custom-card {
        padding: 1.25rem;
    }

    .profile {
        width: 44px;
        height: 44px;
        margin-left: -16px;
    }
}

/* Small screens - stack layout, reduce paddings and font sizes */
@media (max-width: 767px) {

    html,
    body {
        font-size: 15px;
    }

    /* Make navbar compact */
    .navbar {
        padding: 0.6rem;
    }

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

    /* Stack hero text and image vertically */


    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h3 {
        font-size: 1.2rem;
    }

    .hero .lead {
        font-size: 0.95rem;
    }

    /* Make CTA buttons full-width on mobile */
    .btn-primary,
    .btn-success,
    .btn-outline-primary {
        width: 100%;
        padding: 12px 16px;
    }

    /* Pricing/cards full width */
    .pricing-card,
    .custom-card {
        width: 100%;
        box-sizing: border-box;
    }

    /* Reduce spacing between feature cards */
    .row.g-4 {
        gap: 12px;
    }

    /* Footer adjustments */
    footer .social-icon {
        width: 36px;
        height: 36px;
    }

    footer p,
    footer small {
        font-size: 0.9rem;
    }

    /* Back to top button smaller on mobile */
    .backToTop {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }
}

/* Extra small - very small devices tweaks */
@media (max-width: 575px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero h3 {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .btn-get {
        padding: 6px 10px;
        font-size: 0.95rem;
    }

    .profile {
        width: 40px;
        height: 40px;
        margin-left: -14px;
    }
}

/* Utility helpers for responsiveness */
@media (max-width: 768px) {
    .d-hide-mobile {
        display: none !important;
    }

    .d-show-mobile {
        display: block !important;
    }
}


.stars {
    color: #f5c518;
    font-size: 20px;
}