/* Solar Enerji - Main Stylesheet */

:root {
    --primary-color: #01a0e2;
    --secondary-color: #F5A623;
    --accent-color: #00B4D8;
    --dark-text: #1A1A2E;
   
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --success: #01a0e2;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #099ee1 !important;
}

.top-bar i {
    color: #FFFFFF;
}

.language-switcher button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.language-switcher button:hover {
    background-color: var(--success);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
    background-color: rgb(0, 0, 0) !important;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background-color: rgb(0, 0, 0) !important;
}

.navbar-brand .logo-container {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-brand .logo-img {
    height: 59px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.navbar-brand:hover .logo-container {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: #ffffff;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--success);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--success) !important;
}

/* Mega Menu Base (Mobile First) */
.mega-menu {
    position: relative;
}

.mega-menu .dropdown-menu {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mega-menu-content {
    padding: 1rem;
}

.mega-menu .dropdown-header {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--success);
    display: block;
}

.mega-menu .dropdown-item {
    padding: 0.6rem 0;
    color: var(--light-text);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.mega-menu .dropdown-item:hover {
    color: var(--success);
    padding-left: 0.5rem;
}

/* Mega Menu Featured Product Box */
.mega-menu .bg-light {
    background-color: var(--bg-light) !important;
    border-left: 3px solid var(--success);
    margin: 1rem 0;
}

/* Regular Dropdown (Mobile First) */
.dropdown-menu:not(.mega-menu-content) {
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.02);
}

.dropdown-menu .dropdown-item {
    padding: 0.5rem 0;
    color: var(--light-text);
    font-weight: 500;
}

.dropdown-menu .dropdown-item i {
    margin-right: 0.5rem;
    color: var(--success);
}

/* Navbar Nav Styles */
@media (min-width: 992px) {
    .navbar-nav .dropdown-toggle::after {
        vertical-align: middle;
        margin-left: 0.5rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 0.5rem 0 !important;
        width: 100% !important;
    }

    .navbar-nav .nav-item {
        width: 100% !important;
    }

    /* Her nav-link tam genişlikte, text sola hizalı */
    .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0.75rem 1rem !important;
    }

    /* Underline animasyonunu (::after) mobilde tamamen kapat */
    .nav-link::after {
        display: none !important;
    }

    /* Sadece dropdown-toggle için caretı geri getir - position:static ile */
    .nav-link.dropdown-toggle::after {
        display: inline-block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        content: "" !important;
        flex-shrink: 0;
        border-top: 0.35em solid !important;
        border-right: 0.35em solid transparent !important;
        border-bottom: 0 !important;
        border-left: 0.35em solid transparent !important;
        margin-left: 0.5rem !important;
        transition: transform 0.3s ease;
    }

    /* Ok yukarı döner menü açıkken */
    .nav-link.dropdown-toggle.show::after {
        transform: rotate(180deg);
    }

    /* Aktif link hafif vurgu */
    .nav-link.active {
        background-color: rgba(1, 160, 226, 0.06);
        border-radius: 4px;
        color: var(--success) !important;
    }

    /* Açılan dropdown menü: boşluksuz, kompakt */
    .navbar-nav .dropdown-menu {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 0.5rem 1rem !important;
        border: none !important;
        box-shadow: none !important;
        background-color: rgba(0, 0, 0, 0.02) !important;
        border-radius: 0 !important;
    }

    /* Bootstrap collapse davranışı: display:block ile göster */
    .navbar-nav .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* Mega menu mobilde de kompakt */
    .mega-menu-content {
        padding: 0.5rem 0 !important;
    }

    .mega-menu-content .container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .mega-menu-content .row {
        margin: 0 !important;
    }

    .mega-menu-content [class^="col-"] {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mega-menu-content [class^="col-"]:last-child {
        border-bottom: none;
    }

    .mega-menu .dropdown-header {
        padding: 0 0 0.5rem 0 !important;
        margin-top: 0.5rem;
    }
}

/* Desktop styles for Navigation and Menus */
@media (min-width: 992px) {
    .mega-menu {
        position: static !important;
    }

    .mega-menu .dropdown-menu {
        width: 100%;
        left: 0 !important;
        right: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 0;
        margin-top: 0;
        border-top: 3px solid var(--success);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: block !important;
        visibility: hidden;
        border-radius: 0;
        position: absolute;
        z-index: 1000;
        background-color: white;
    }

    /* Mega menu açıkken ve alt menüde hover varsa ana menü rengi mavi olsun */
    .mega-menu:hover > .nav-link,
    .mega-menu:focus-within > .nav-link,
    .mega-menu .dropdown-menu:hover ~ .nav-link,
    .mega-menu .dropdown-menu:focus-within ~ .nav-link {
        color: var(--success) !important;
    }
    .mega-menu:hover > .nav-link.dropdown-toggle,
    .mega-menu:focus-within > .nav-link.dropdown-toggle {
        color: var(--success) !important;
    }
    .mega-menu .dropdown-menu:hover ~ .nav-link.dropdown-toggle,
    .mega-menu .dropdown-menu:focus-within ~ .nav-link.dropdown-toggle {
        color: var(--success) !important;
    }

    .mega-menu .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .mega-menu-content {
        padding: 2rem 0;
    }

    .mega-menu .dropdown-header {
        display: inline-block;
        padding: 0.5rem 1rem;
    }

    .mega-menu .dropdown-item {
        padding: 0.5rem 1rem;
        margin-bottom: 0.25rem;
    }

    .mega-menu .dropdown-item:hover {
        padding-left: 1.25rem;
        transform: translateX(5px);
    }

    .mega-menu .bg-light {
        margin: 0;
    }

    /* Regular Dropdown Desktop */
    .dropdown-menu:not(.mega-menu-content) {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        min-width: 220px;
        border-top: 3px solid var(--success);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        display: block !important;
        visibility: hidden;
        position: absolute;
        z-index: 1000;
        background-color: white;
    }

    .dropdown-menu:not(.mega-menu-content).show {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .dropdown-menu:not(.mega-menu-content) .dropdown-item {
        padding: 0.6rem 1.5rem;
    }

    .dropdown-menu:not(.mega-menu-content) .dropdown-item:hover {
        background-color: rgba(25, 135, 84, 0.05);
        padding-left: 1.75rem;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.slider-logo-overlay {
    position: absolute;
    top: 100px;
    left: 80px;
    z-index: 10;
}

.slider-logo {
    height: 123px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.slider-logo:hover {
    transform: scale(1.05);
}

.video-background {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

/* Hero Center Content */
.hero-center-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* PROTIME Text */
.hero-protime-text {
    font-size: 10rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.3),
        4px 4px 8px rgba(0, 0, 0, 0.2),
        6px 6px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
    display: inline-block;
}

/* TIME Wrapper - Only this part will be transparent with sliding background */
.time-wrapper {
    position: relative;
    display: inline-block;

    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;

    background-image: url('../src/assets/hero-text-shape.png');
    background-repeat: repeat-x;
    background-size: 200% auto;

    animation: textShapeSlide 5s linear infinite alternate;

    /* Use drop-shadow filter to match PRO's shadow without filling the transparent text background */
    text-shadow: none;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.2)) drop-shadow(6px 6px 20px rgba(0, 0, 0, 0.4));
}

@keyframes textShapeSlide {
    0% {
        background-position: left center;
    }

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 76, 58, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animated Title with Yellow Stripe */
.animated-title {
    position: relative;
    display: block;
}

.animated-title .title-line {
    position: relative;
    display: block;
    padding-bottom: 15px;
    margin-bottom: 5px;
}

.animated-title .title-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 12px;
    width: 0;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    animation: expandStripe 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.6);
    border-radius: 2px;
}

.animated-title .title-line:nth-child(1)::after {
    animation-delay: 0.5s;
}

.animated-title .title-line:nth-child(2)::after {
    animation-delay: 0.8s;
}

.animated-title .title-line:nth-child(3)::after {
    animation-delay: 1.1s;
}

/* Stripe expand animation */
@keyframes expandStripe {
    0% {
        width: 0%;
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Re-trigger animation when slide becomes active */
.slide.active .animated-title .title-line::after {
    animation: expandStripe 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide.active .animated-title .title-line:nth-child(1)::after {
    animation-delay: 0.5s;
}

.slide.active .animated-title .title-line:nth-child(2)::after {
    animation-delay: 0.8s;
}

.slide.active .animated-title .title-line:nth-child(3)::after {
    animation-delay: 1.1s;
}

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

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

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--success);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--success);
    width: 30px;
    border-radius: 6px;
}

/* Features Section */
.features {
    background-color: var(--bg-light);
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--success);
}

.feature-icon i {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

/* About Section */
.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 13px;
    right: -20px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.3);
}

/* Products Section */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Alfa Theme Product Card */
.alfa-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.alfa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.alfa-img-container {
    text-align: center;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 4px;
}

.alfa-img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.6s ease;
    border-radius: 4px;
}

.alfa-card:hover .alfa-img {
    transform: scale(1.08);
}

.alfa-content {
    display: flex;
    flex-direction: column;
}

.alfa-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.alfa-title-light {
    font-weight: 400;
    font-size: 22px;
}

.alfa-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    margin-top: auto;
}

.alfa-subtitle {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.alfa-arrow {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 12px;
}

.alfa-card:hover .alfa-arrow {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateX(3px);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--success) 100%);
}

.stat-number {
    font-size: 3.5rem;
    line-height: 1;
}

/* Solutions Section */
.solution-card {
    height: 350px;
    cursor: pointer;
}

.solution-card img {
    transition: transform 0.5s ease;
}

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

.solution-overlay {
    background: linear-gradient(to top, rgba(15, 76, 58, 0.95) 0%, transparent 100%);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-overlay {
    background: linear-gradient(to top, rgba(15, 76, 58, 1) 0%, rgba(15, 76, 58, 0.5) 100%);
}

/* Projects Section */
.project-card {
    overflow: hidden;
}

.project-card img {
    transition: transform 0.5s ease;
}

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

.project-info {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
}

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--success) 0%, var(--primary-color) 100%);
}

/* Footer */
.footer {
    background-color: #0d1b1e !important;
}

.footer-brand .logo-container {
    display: flex;
    align-items: center;
    color: white;
}

.footer-brand .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
    color: var(--success);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--success);
    transform: translateY(-3px);
}

/* Back to Top Button */
#backToTop {
    width: 60px;
    height: 62px;
    box-shadow: 0 5px 20px rgba(25, 135, 84, 0.4);
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.5);
}

/* Section Headers */
.section-header span {
    display: block;
    margin-bottom: 0.5rem;
}

/* Global Bootstrap Overrides & Button Styles */
.btn-success {
    background-color: var(--success) !important;
    border-color: var(--success) !important;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white !important;
}

.btn-success:hover {
    background-color: #018bc4 !important;
    border-color: #018bc4 !important;
    transform: translateY(-2px);
    color: white !important;
}

.btn-outline-success {
    color: var(--success) !important;
    border-color: var(--success) !important;
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: var(--success) !important;
    color: white !important;
    transform: translateY(-2px);
}

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

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

/* WhatsApp Button Special Style */
.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: white !important;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    transform: translateY(-2px);
    color: white !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-slider {
        height: auto;
        min-height: 400px;
    }

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

    .hero-protime-text {
        font-size: 6rem;
        letter-spacing: 0.1em;
    }

    .time-wrapper::before {
        height: 24px;
    }

    /* Mobile Mega Menu */
    .mega-menu {
        position: relative !important;
    }

    .mega-menu .dropdown-menu {
        position: static !important;
        box-shadow: none;
        padding: 1rem;
        border: none;
        background-color: var(--bg-light);
    }

    .mega-menu-content .row {
        flex-direction: column;
    }

    .mega-menu-content .col-lg-3 {
        margin-bottom: 1.5rem;
    }

    .mega-menu .dropdown-header {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: -10px;
    }

    .experience-badge span:first-child {
        font-size: 1.5rem !important;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-protime-text {
        font-size: 3.5rem;
        letter-spacing: 0.08em;
    }

    .time-wrapper::before {
        height: 14px;
    }

    .animated-title .title-line::after {
        height: 8px;
    }

    .animated-title .title-line {
        padding-bottom: 10px;
        margin-bottom: 3px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .prev-slide,
    .next-slide {
        width: 40px;
        height: 40px;
    }

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

    .solution-card {
        height: 280px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease;
}

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

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

/* Object Fit */
.object-fit-cover {
    object-fit: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--success);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Çapraz Sarı Şeritli Kayan Text Efekti */
.aslider--title-bg {
    display: inline-block;
    background-image: url('src/assets/hero-text-shape.png');
    /* PNG yolunuza göre güncelleyin */
    background-repeat: no-repeat;
    background-size: 200% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: sliderTextAnimation 3.5s linear infinite alternate;
    font-weight: 900;
    position: relative;
    z-index: 2;
}

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

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

/* Products Swiper Slider Styles */
.products-slider {
    padding-bottom: 3rem !important;
    /* Space for pagination */
}

.products-slider .swiper-slide {
    height: auto;
    /* Ensures all slides have equal height */
}

.products-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--light-text);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.products-slider .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 6px;
    background-color: var(--success);
    opacity: 1;
}

/* ==========================================================
   E-Commerce Product Detail Page Styles
   ========================================================== */

.ecommerce-gallery .main-image-box {
    border-color: #f1f3f5 !important;
}

.ecommerce-gallery .main-product-img {
    height: 380px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.ecommerce-gallery .thumb-box {
    cursor: pointer;
    border-color: #f1f3f5 !important;
    opacity: 0.6;
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecommerce-gallery .thumb-box img {
    max-height: 100%;
    object-fit: contain;
}

.ecommerce-gallery .thumb-box:hover {
    opacity: 1;
    border-color: var(--primary-color) !important;
}

.ecommerce-gallery .active-thumb {
    opacity: 1;
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

.product-info-box .letter-spacing-1 {
    letter-spacing: 1.5px;
}

.short-desc-list li {
    font-size: 15px;
    color: var(--dark-text);
}

.product-price-box {
    background-color: #f8f9fa !important;
    border-left: 4px solid var(--success) !important;
}

.product-actions .action-btn {
    border-radius: 6px;
    transition: all 0.3s ease;
}

.product-actions .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-actions .whatsapp-btn {
    color: #25D366;
    border-color: #25D366;
}

.product-actions .whatsapp-btn:hover {
    background-color: #25D366;
    color: #fff;
    border-color: #25D366;
}

/* Custom Nav Tabs for Product Details */
.custom-product-tabs {
    border-bottom: 2px solid #eef0f2;
}

.custom-product-tabs .nav-link {
    border: none;
    color: var(--light-text);
    padding: 1rem 2rem;
    font-size: 16px;
    position: relative;
    background: transparent;
}

.custom-product-tabs .nav-link:hover {
    color: var(--primary-color);
}

.custom-product-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
}

.custom-product-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* WhatsApp Widget Style */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.whatsapp-floating-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: transform 0.3s ease;
    border: none;
    background-color: #25d366 !important;
    color: white !important;
    border-radius: 50%;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: white;
    transform-origin: bottom left;
}

.whatsapp-chat-box.d-none {
    display: none !important;
}

.whatsapp-chat-box:not(.d-none) {
    animation: chatBounce 0.4s ease-out;
}

@keyframes chatBounce {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

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

.chat-header {
    background: #25d366 !important;
    color: white;
}