/* Custom styles */
html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 80px;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

/* Image Container Styles */
.image-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    padding: 1rem;
    max-width: 600px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .image-container {
        padding: 0.5rem;
        max-width: 100%;
    }

    .image-container img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .features-section img, 
    .payment-section img {
        margin: 0 auto;
        width: 100%;
        height: auto;
    }

    .hero-banner {
        min-height: 400px;
    }

    .bonus-content h1 {
        font-size: 3rem;
    }

    .bonus-content h2 {
        font-size: 1.5rem;
    }
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.feather {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.social-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--bs-primary) !important;
}

.hero-banner {
    background-size: cover !important;
    background-position: center !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    position: relative;
}

.bonus-content {
    padding: 2rem;
    border-radius: 10px;
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
}

.bonus-content h1 {
    font-size: 5rem;
    font-weight: 700;
    color: var(--bs-warning);
    margin-bottom: 0.5rem;
}

.bonus-content h2 {
    color: var(--bs-light);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.category-menu {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: #1a1e21;
    padding: 2rem 0;
}

.category-item {
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item i {
    width: 32px;
    height: 32px;
    stroke: var(--bs-warning);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    margin-bottom: 0.5rem;
}

.card {
    transition: transform 0.3s ease;
    background: rgba(33, 37, 41, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.features-section img:hover, .payment-section img:hover {
    transform: translateY(-5px);
}

/* Button styles */
.btn-warning {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
    border: none;
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(45deg, #FF8C00, #FFA500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #218838);
    border: none;
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.navbar-dark {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: #1a1e21;
}

footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #1a1e21;
}

/* Footer Styles */
.footer-content {
    padding: 2rem 0;
}

.footer-content h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-content ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.copyright-section {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 1.5rem;
}

/* Logo sizes */
.navbar-brand img, .footer-logo {
    height: 20px;
    width: 132px;
    object-fit: contain;
}

/* Performance Widget Styles */
.performance-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(33, 37, 41, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.875rem;
    z-index: 1000;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.performance-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.performance-content {
    min-width: 200px;
}

.performance-content h6 {
    color: var(--bs-warning);
    margin-bottom: 8px;
    font-weight: 600;
}

.performance-content div {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-family: monospace;
}

/* Page Transition Animations */
.fade-enter {
    opacity: 0;
}

.fade-enter-active {
    opacity: 1;
    transition: opacity 300ms ease-in;
}

.fade-exit {
    opacity: 1;
}

.fade-exit-active {
    opacity: 0;
    transition: opacity 300ms ease-in;
}

/* Slide animations */
.slide-enter {
    transform: translateX(100%);
}

.slide-enter-active {
    transform: translateX(0);
    transition: transform 300ms ease-in-out;
}

.slide-exit {
    transform: translateX(0);
}

.slide-exit-active {
    transform: translateX(-100%);
    transition: transform 300ms ease-in-out;
}

/* Page transition wrapper */
.page-transition-wrapper {
    position: relative;
    min-height: 100vh;
}

/* Smooth page load animation */
body {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Content animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

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

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--bs-warning);
    z-index: 9999;
    transition: width 0.2s ease-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px; /* Adjusted to be above performance widget */
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    background: var(--bs-dark);
    border: 1px solid var(--bs-warning);
    border-radius: 50%;
    color: var(--bs-warning);
    text-align: center;
    line-height: 40px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--bs-warning);
    color: var(--bs-dark);
    transform: translateY(-3px);
}

/* Lazy loading için gerekli stiller */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Lazy loading styles */
img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Scroll triggered animate styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* İçerik yüklenirken gösterilecek placeholder */
.loading-placeholder {
    background: linear-gradient(90deg, #2a2d31 0%, #343a40 50%, #2a2d31 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Smooth transition for all interactive elements */
a, button, .btn {
    transition: all 0.3s ease;
}