:root {
    /* Casino Platform CEO Theme Colors */
    --primary-color: #dc2626; /* Kırmızı */
    --secondary-color: #fbbf24; /* Altın */
    --accent-color: #059669; /* Yeşil */
    --dark-bg: #161616; /* Özel koyu gri */
    --dark-secondary: #021526; /* Özel koyu mavi */
    --dark-card: rgba(22, 22, 22, 0.95); /* Transparan koyu gri */
    --dark-border: #2d2d2d; /* Orta gri */
    --text-light: #f8fafc; /* Açık beyaz */
    --text-muted: #d1d5db; /* Açık gri */
    --text-gold: #fbbf24; /* Altın yazı */
    --gradient: linear-gradient(135deg, #dc2626, #fbbf24); /* Kırmızı-Altın gradient */
    --gradient-bg: linear-gradient(135deg, #161616, #021526); /* Ana arka plan gradient */
    --gradient-bg-alt: linear-gradient(45deg, #021526, #161616); /* Alternatif arka plan */
    --gradient-hover: linear-gradient(135deg, #b91c1c, #f59e0b); /* Hover gradient */
    --gradient-gold: linear-gradient(135deg, #fbbf24, #f59e0b); /* Altın gradient */
    --gradient-green: linear-gradient(135deg, #059669, #047857); /* Yeşil gradient */
    --shadow: 0 8px 32px rgba(220, 38, 38, 0.2); /* Kırmızı gölge */
    --shadow-hover: 0 12px 48px rgba(220, 38, 38, 0.4); /* Hover gölge */
    --shadow-gold: 0 8px 32px rgba(251, 191, 36, 0.3); /* Altın gölge */
    --glow: 0 0 20px rgba(220, 38, 38, 0.5); /* Kırmızı ışıltı */
    --glow-gold: 0 0 20px rgba(251, 191, 36, 0.5); /* Altın ışıltı */
}

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

body {
    font-family: 'Orbitron', 'Roboto', sans-serif; /* Casino Platform CEO font */
    background: 
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
    position: relative;
}

/* Casino Platform Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
        var(--gradient-bg-alt);
    background-size: 400px 400px, 300px 300px, 100% 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

/* Improved text contrast for better readability */
p, .text-muted {
    color: var(--text-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-gold) !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Orbitron', serif;
}

.lead {
    color: var(--text-light) !important;
    font-weight: 400;
    opacity: 0.9;
}

/* Better contrast for specific elements */
.project-desc, .product-description {
    color: var(--text-light) !important;
    opacity: 0.85;
}

.project-date {
    color: var(--text-gold) !important;
    opacity: 0.85;
    font-weight: 500;
}

.no-content-text {
    color: var(--text-light) !important;
    opacity: 0.8;
}

.cta-text {
    color: var(--text-light) !important;
    opacity: 0.9;
}

.stat-label {
    color: var(--text-light) !important;
    opacity: 0.85;
}

/* Service card text improvements */
.service-card p {
    color: var(--text-light) !important;
    opacity: 0.85;
}

.dark-theme {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.content-wrapper {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.bg-dark-custom {
    background: linear-gradient(180deg, rgba(22, 22, 22, 0.95) 0%, rgba(2, 21, 38, 0.9) 100%) !important;
    border-bottom: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: none;
}

.btn-gradient {
    background: var(--gradient);
    border: 2px solid transparent;
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 30px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover), var(--glow);
    color: white;
    border-color: var(--secondary-color);
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-outline-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-outline-gradient:hover::before {
    left: 0;
}

.btn-outline-gradient:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--glow);
    border-color: var(--secondary-color);
}

.card-custom {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.9) 0%, rgba(2, 21, 38, 0.85) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(5px);
}

.card-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: all 0.4s ease;
}

.card-custom:hover::before {
    opacity: 1;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--glow);
    border-color: var(--primary-color);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: 
        radial-gradient(ellipse at center, rgba(220, 38, 38, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    overflow: hidden;
}

.hero-section::before {
    content: '♠ ♥ ♦ ♣';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-15deg);
}

.hero-section::after {
    content: '♠ ♥ ♦ ♣';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    transform: rotate(15deg);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-gold), var(--glow-gold);
    max-width: 100%;
    height: auto;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-gold) !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Orbitron', serif;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 5px;
    background: var(--gradient);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    box-shadow: var(--glow);
}

.service-card {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.9) 0%, rgba(2, 21, 38, 0.85) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: translateX(-100%);
    transition: all 0.4s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--glow);
    border-color: var(--primary-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.2rem;
    color: white;
    box-shadow: var(--shadow-gold), var(--glow-gold);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-hover), var(--glow);
}

.project-card {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.9) 0%, rgba(2, 21, 38, 0.85) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--glow);
    border-color: var(--primary-color);
}

.project-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(251, 191, 36, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links a {
    background: var(--gradient-gold);
    color: #0a0a0a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 600;
    box-shadow: var(--glow-gold);
}

.project-links a:hover {
    transform: scale(1.2);
    background: var(--gradient);
    color: white;
    box-shadow: var(--glow);
}

.product-card {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.9) 0%, rgba(2, 21, 38, 0.85) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--glow);
    border-color: var(--primary-color);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-gold) !important;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-links {
    display: flex;
    gap: 12px;
}

.product-links .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 10px 18px;
}

/* Blog Card Styles */
.blog-card {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.9) 0%, rgba(2, 21, 38, 0.85) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: all 0.4s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--glow);
    border-color: var(--primary-color);
}

.blog-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-gold) !important;
    font-family: 'Orbitron', serif;
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.blog-date {
    color: var(--text-gold) !important;
    font-weight: 500;
}

.blog-links {
    display: flex;
    gap: 12px;
}

.blog-links .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 10px 18px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 30px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    overflow: hidden;
}

.navbar-dark .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.4s ease;
    z-index: -1;
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-dark .navbar-nav .nav-link.active::before {
    left: 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.footer-section {
    margin-top: 80px;
    border-top: 3px solid var(--primary-color);
    background: linear-gradient(180deg, rgba(22, 22, 22, 0.95) 0%, rgba(2, 21, 38, 0.9) 100%);
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0.5;
}

.footer-desc {
    color: var(--text-light) !important;
    opacity: 0.85;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.4s ease;
    opacity: 0.8;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 25px;
    opacity: 1;
    text-shadow: var(--glow-gold);
}

.footer-address {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-copyright {
    color: var(--text-light) !important;
    opacity: 0.8;
}

.footer-dev-text {
    color: var(--text-light) !important;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transform: scale(0);
    transition: all 0.4s ease;
    border-radius: 50%;
    z-index: -1;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    color: white;
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    box-shadow: var(--glow);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: var(--glow);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-hover), var(--glow);
}

.stats-section {
    padding: 80px 0;
    background: 
        radial-gradient(ellipse at center, rgba(220, 38, 38, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.05) 0%, transparent 50%);
    position: relative;
}

.stats-section::before {
    content: '♠ ♥ ♦ ♣';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    color: var(--primary-color);
    opacity: 0.02;
    pointer-events: none;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 25px;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    text-shadow: var(--glow-gold);
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light) !important;
    margin-top: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.9) 0%, rgba(2, 21, 38, 0.85) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 20px;
    padding: 45px;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.form-control {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.8) 0%, rgba(2, 21, 38, 0.6) 100%);
    border: 2px solid var(--dark-border);
    border-radius: 15px;
    color: var(--text-light);
    padding: 15px 25px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.9) 0%, rgba(2, 21, 38, 0.8) 100%);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25), var(--glow);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.loading-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
    }
    
    .hero-section {
        min-height: 80vh;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-content {
        margin-top: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 20px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        box-shadow: var(--glow);
    }
    
    .service-card {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    .project-card,
    .product-card {
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 35px;
    }
}

/* Casino Hero Profile Image Styles */
.hero-profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--glow), var(--shadow-gold);
    animation: casinoGlow 3s ease-in-out infinite alternate;
}

@keyframes casinoGlow {
    0% { box-shadow: var(--glow), var(--shadow-gold); }
    100% { box-shadow: var(--glow-gold), var(--shadow-hover); }
}

.hero-profile-image .profile-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border: 4px solid var(--dark-bg);
    border-radius: 50%;
    transition: all 0.4s ease;
    display: block;
    box-shadow: 
        inset 0 0 30px rgba(220, 38, 38, 0.3),
        0 8px 25px rgba(251, 191, 36, 0.4);
}

.hero-profile-image .profile-img:hover {
    transform: scale(1.05);
    box-shadow: 
        inset 0 0 30px rgba(220, 38, 38, 0.5),
        0 12px 40px rgba(251, 191, 36, 0.6),
        var(--glow-gold);
}

.hero-placeholder {
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    width: fit-content;
    box-shadow: var(--glow), var(--shadow-gold);
    animation: casinoGlow 3s ease-in-out infinite alternate;
}

.hero-placeholder-inner {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 4px solid var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 30px rgba(220, 38, 38, 0.3),
        0 8px 25px rgba(251, 191, 36, 0.4);
}

.hero-placeholder i {
    font-size: 120px;
    color: white;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for hero profile image */
@media (max-width: 768px) {
    .hero-profile-image .profile-img {
        width: 300px;
        height: 300px;
        border-width: 2px;
    }
    
    .hero-placeholder-inner {
        width: 300px;
        height: 300px;
        border-width: 2px;
    }
    
    .hero-placeholder i {
        font-size: 100px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-section {
        padding: 30px 0;
        min-height: 75vh;
    }
    
    .hero-profile-image .profile-img {
        width: 250px;
        height: 250px;
        border-width: 2px;
    }
    
    .hero-placeholder-inner {
        width: 250px;
        height: 250px;
        border-width: 2px;
    }
    
    .hero-placeholder i {
        font-size: 90px;
    }
}

/* Casino Theme Toggle Button */
.theme-toggle-btn {
    background: var(--gradient) !important;
    border: 2px solid var(--secondary-color) !important;
    border-radius: 50% !important;
    width: 55px !important;
    height: 55px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    margin-left: 15px !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: var(--glow), var(--shadow-gold) !important;
    z-index: 1050 !important;
    outline: none !important;
    font-family: 'Orbitron', sans-serif !important;
}

.theme-toggle-btn:hover {
    background: var(--gradient-hover) !important;
    color: white !important;
    border-color: var(--text-gold) !important;
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: var(--glow-gold), var(--shadow-hover) !important;
}

.theme-toggle-btn:active {
    transform: translateY(-2px) scale(0.95);
}

.theme-toggle-btn i {
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.theme-toggle-btn:hover i {
    transform: rotate(360deg) scale(1.15);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

/* Theme Toggle Ripple Effect */
.theme-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.theme-toggle-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Theme transition for smooth switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Casino Light Mode Styles */
.light-theme {
    --dark-bg: #f8f8f8; /* Açık gri arka plan */
    --dark-card: #ffffff; /* Beyaz kartlar */
    --dark-border: #d1d5db; /* Açık gri border */
    --text-light: #1f2937; /* Koyu yazı */
    --text-muted: #6b7280; /* Orta gri yazı */
    --text-gold: #dc2626; /* Kırmızı başlıklar */
    --shadow: 0 8px 32px rgba(220, 38, 38, 0.1);
    --shadow-hover: 0 12px 48px rgba(220, 38, 38, 0.2);
    --shadow-gold: 0 8px 32px rgba(251, 191, 36, 0.2);
    --glow: 0 0 20px rgba(220, 38, 38, 0.3);
    --glow-gold: 0 0 20px rgba(251, 191, 36, 0.3);
}

.light-theme body {
    background: 
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    background-attachment: fixed;
    color: var(--text-light);
}

.light-theme body::before {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
}

.light-theme .navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%) !important;
    border-bottom: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
}

.light-theme .navbar-dark .navbar-nav .nav-link {
    color: var(--text-light);
}

.light-theme .navbar-dark .navbar-nav .nav-link:hover,
.light-theme .navbar-dark .navbar-nav .nav-link.active {
    color: white;
}

/* Light mode hamburger menu fix */
.light-theme .navbar-toggler {
    border-color: var(--primary-color);
}

.light-theme .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28220, 38, 38, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.light-theme .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.25);
}

.light-theme .card-custom {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow);
}

.light-theme .service-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.light-theme .project-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.light-theme .product-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.light-theme .blog-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.light-theme .footer-section {
    background-color: var(--dark-card);
    border-top: 1px solid var(--dark-border);
}

.light-theme .hero-section {
    background: 
        radial-gradient(ellipse at center, rgba(220, 38, 38, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
}

.light-theme .hero-section::before {
    color: var(--primary-color);
    opacity: 0.02;
}

.light-theme .hero-section::after {
    color: var(--secondary-color);
    opacity: 0.02;
}

.light-theme .stats-section {
    background: 
        radial-gradient(ellipse at center, rgba(220, 38, 38, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
}

.light-theme .stats-section::before {
    color: var(--primary-color);
    opacity: 0.015;
}

/* Light mode text colors */
.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4,
.light-theme h5,
.light-theme h6 {
    color: var(--text-light) !important;
}

/* Light mode kod blokları */
.light-theme pre,
.light-theme code {
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border: 1px solid #e9ecef !important;
}

.light-theme .highlight {
    background-color: #f8f9fa !important;
}

.light-theme .hljs {
    background: #f8f9fa !important;
    color: #212529 !important;
}

.light-theme .hljs-keyword,
.light-theme .hljs-selector-tag,
.light-theme .hljs-built_in {
    color: #d73a49 !important;
}

.light-theme .hljs-string,
.light-theme .hljs-attr {
    color: #032f62 !important;
}

.light-theme .hljs-comment {
    color: #6a737d !important;
}

.light-theme p,
.light-theme .text-muted {
    color: var(--text-muted) !important;
}

.light-theme .lead {
    color: var(--text-light) !important;
    opacity: 0.8;
}

/* Light mode form elements */
.light-theme .form-control {
    background-color: white;
    border: 1px solid var(--dark-border);
    color: var(--text-light);
}

.light-theme .form-control:focus {
    background-color: white;
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
}

/* Light mode social links */
.light-theme .social-link {
    background: var(--dark-border);
    color: var(--text-light);
}

.light-theme .social-link:hover {
    background: var(--gradient);
    color: white;
}

/* Light mode scroll to top */
.light-theme .scroll-to-top {
    background: var(--gradient);
    box-shadow: var(--shadow);
}

/* Light mode notifications */
.light-theme .notification {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--text-light);
    box-shadow: var(--shadow);
}

/* Light mode badge styles */
.light-theme .badge-category {
    background: rgba(108, 92, 231, 0.1);
    color: var(--text-light);
}

.light-theme .badge-category:hover,
.light-theme .badge-category.active {
    background: var(--gradient);
    color: white;
}

/* Light mode pagination */
.light-theme .pagination .page-link {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--text-light);
}

.light-theme .pagination .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.light-theme .pagination .page-item.active .page-link {
    background: var(--gradient);
    border-color: var(--primary-color);
    color: white;
}

/* Mobile responsive for theme toggle */
@media (max-width: 768px) {
    .theme-toggle-btn {
        width: 45px;
        height: 45px;
        margin-left: 10px;
        border-radius: 22px;
    }
    
    .theme-toggle-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .theme-toggle-btn {
        width: 40px;
        height: 40px;
        margin-left: 8px;
        border-radius: 20px;
    }
    
    .theme-toggle-btn i {
        font-size: 1rem;
    }
}

/* Navbar collapse durumunda theme toggle */
@media (max-width: 991px) {
    .navbar-collapse .theme-toggle-btn {
        margin: 15px 0 10px 0;
        align-self: flex-start;
        width: 45px;
        height: 45px;
        border-radius: 22px;
    }
    
    .navbar-nav .nav-item:last-child {
        text-align: left;
        padding-left: 0;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item:last-child .theme-toggle-btn {
        margin-left: 0;
    }
    
}