:root {
    --primary-dark: #0a0b0e;
    --secondary-dark: #121418;
    --text-light: #ffffff;
    --text-muted: #a0a5b1;
    --accent-yellow: #ffc107;
    --accent-pink: #e91e63;
    --accent-blue: #2196f3;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(10, 11, 14, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.top-bar {
    position: relative;
    z-index: 1001;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    color: var(--text-light);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a:hover {
    color: var(--text-light);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(10, 11, 14, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.logo-bars span {
    display: block;
    width: 6px;
    border-radius: 3px;
}

.logo-bars span:nth-child(1) {
    height: 100%;
    background-color: var(--accent-yellow);
}

.logo-bars span:nth-child(2) {
    height: 80%;
    background-color: var(--accent-blue);
}

.logo-bars span:nth-child(3) {
    height: 100%;
    background-color: var(--accent-blue);
}

.logo-bars span:nth-child(4) {
    height: 60%;
    background-color: var(--accent-blue);
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1100;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.mobile-menu-toggle:hover::before {
    opacity: 1;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: absolute;
    left: 13px;
    /* Center horizontally (44px - 18px = 26px / 2 = 13px) */
}

/* Stylized asymmetric lines */
.mobile-menu-toggle span:nth-child(1) {
    width: 18px;
    top: 15px;
}

.mobile-menu-toggle span:nth-child(2) {
    width: 12px;
    top: 21px;
    background: #e74c3c;
    /* Red highlight for the middle line! */
    left: 16px;
    /* Offset to align with center */
}

.mobile-menu-toggle span:nth-child(3) {
    width: 18px;
    top: 27px;
}

/* Opened (X) Animation */
header.menu-open .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.25);
}

header.menu-open .mobile-menu-toggle span {
    background: #e74c3c;
    /* turn all to red when X to be clean and vibrant */
    width: 18px;
    left: 13px;
}

header.menu-open .mobile-menu-toggle span:nth-child(1) {
    top: 21px;
    transform: rotate(135deg);
}

header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
    width: 0;
}

header.menu-open .mobile-menu-toggle span:nth-child(3) {
    top: 21px;
    transform: rotate(-135deg);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-light);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
    padding-bottom: 20px;
    /* Bridge the gap between link and dropdown */
    margin-bottom: -20px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 11, 14, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 200px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 769px) {
    .has-dropdown.mob-dropdown-open .dropdown {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown li {
    display: block;
}

.dropdown a {
    display: block;
    padding: 6px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.dropdown a::after {
    display: none;
    /* Hide the underline effect for dropdown items */
}

.dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e74c3c;
    padding-left: 25px;
}

.btn-fiyat-alin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #e74c3c !important;
    /* Kırmızı arkaplan */
    color: #ffffff !important;
    /* İçi beyaz yazı */
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    border: 2px solid #ff6b5b !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-fiyat-alin:hover {
    background: #c0392b !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.6);
    color: #ffffff !important;
}

.main-nav a.btn-fiyat-alin::after {
    display: none !important;
}

@media (min-width: 993px) {
    .mobile-only-btn {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .mobile-only-btn {
        display: block !important;
        margin: 15px 0 10px 0;
        width: 100%;
        text-align: center;
    }

    .mobile-only-btn .btn-fiyat-alin {
        padding: 14px 32px;
        font-size: 15px;
        width: 80%;
        max-width: 300px;
        display: inline-flex;
    }
}

.btn-liquid-glass {
    position: relative;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;

    /* Glassmorphism base */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-liquid-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
    mix-blend-mode: overlay;
}

.btn-liquid-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-liquid-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-liquid-glass:hover::before {
    opacity: 0.5;
    transform: scale(1);
}

.btn-liquid-glass:hover::after {
    left: 200%;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -160px;
    padding-top: 160px;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 11, 14, 0.9) 0%, rgba(10, 11, 14, 0.6) 50%, rgba(10, 11, 14, 0.3) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    margin-top: 50px;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-subtitle::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--text-muted);
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--primary-dark);
    padding: 18px 40px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-icon {
    width: 45px;
    height: 45px;
    background-color: var(--text-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1);
}

.play-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--text-light);
    animation: ripple 1.5s infinite ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

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

.btn-play:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.2);
}

.hero-bottom-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-bottom-controls .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.slider-counter {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
}

.slider-progress {
    width: 60px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
}

.slider-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33%;
    background-color: var(--text-light);
}

.slider-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--text-light);
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -100px;
    padding-bottom: 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: var(--secondary-dark);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30px;
    width: 30px;
    height: 3px;
    background-color: var(--border-color);
    transition: var(--transition);
}

.feature-card:nth-child(1)::after {
    background-color: var(--accent-yellow);
}

.feature-card:nth-child(2)::after {
    background-color: var(--accent-pink);
}

.feature-card:nth-child(3)::after {
    background-color: var(--accent-blue);
}

.feature-card:nth-child(4)::after {
    background-color: #4caf50;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::after {
    width: calc(100% - 60px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 25px;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =========================================
   SERVICES SECTION (Added per user request)
   ========================================= */
.services-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--secondary-dark);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    group: hover;
    transition: var(--transition);
}

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

.service-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-content {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, var(--secondary-dark) 80%, transparent);
    margin-top: -50px;
}

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i,
.service-link:hover i {
    transform: translateX(5px);
    color: #e74c3c;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-wrapper {
        margin-top: -50px;
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    header.menu-open {
        background-color: var(--secondary-dark) !important;
        background: var(--secondary-dark) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 11, 14, 0.98);
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav a {
        font-size: 13px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .has-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0;
        width: 100%;
        transform: none;
        visibility: visible;
        opacity: 1;
        display: none !important;
        margin-top: 10px;
        border-radius: 4px;
    }

    .has-dropdown.mob-dropdown-open .dropdown {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-subtitle {
        font-size: 11px;
        margin-bottom: 10px;
        gap: 10px;
    }

    .hero-subtitle::before {
        width: 25px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 15px;
        align-items: center;
    }

    .btn-liquid-glass,
    .btn-fiyat-alin {
        padding: 10px 18px !important;
        font-size: 12px !important;
    }

    .btn-play {
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-play .play-icon {
        width: 35px;
        height: 35px;
        font-size: 11px;
    }

    .dropdown a {
        color: var(--text-light);
        padding: 8px 20px;
        text-align: center;
        font-weight: 400;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: #e74c3c;
        padding-left: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-wrapper {
        margin-top: 50px;
    }

    .hero {
        min-height: 600px;
    }
}

/* =========================================
   INNER PAGES & MODAL
   ========================================= */
header.inner-header {
    background-color: rgba(10, 11, 14, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

header.inner-header.scrolled {
    background-color: rgba(10, 11, 14, 0.98);
}

.page-header {
    margin-top: -121px;
    /* Pull under the header */
    padding: 200px 0 80px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-content {
    padding: 80px 0;
    flex: 1 0 auto;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1400px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-pink);
}

/* =========================================
   COLOR BARS FOOTER
   ========================================= */
.mega-footer {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 60px 0 20px 0;
    font-size: 13px;
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.mega-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.mega-footer .footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-footer .footer-column ul li {
    margin-bottom: 12px;
}

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

.mega-footer .footer-column ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.mega-footer .contact-column {
    text-align: right;
}

.mega-footer .footer-logo h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.mega-footer .footer-logo span {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
}

.mega-footer .contact-info strong {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.mega-footer .contact-info a {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 5px;
}

.mega-footer .footer-social {
    margin-top: 25px;
}

.mega-footer .footer-social span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.mega-footer .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.mega-footer .social-icons a {
    color: #fff;
    font-size: 16px;
    transition: opacity 0.3s;
}

.mega-footer .social-icons a:hover {
    opacity: 0.7;
}

.mega-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

@media (max-width: 992px) {
    .mega-footer .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mega-footer .contact-column {
        text-align: left;
        grid-column: span 3;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-footer .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .mega-footer {
        padding-top: 0;
    }

    .mega-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mega-footer .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-footer .footer-column:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-footer .footer-column h4 {
        padding: 15px 0;
        margin-bottom: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mega-footer .footer-column h4::after {
        content: '+';
        font-size: 20px;
        font-weight: 300;
        transition: transform 0.3s ease;
    }

    .mega-footer .footer-column.active h4::after {
        content: '-';
    }

    .mega-footer .footer-column ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    }

    .mega-footer .footer-column.active ul {
        max-height: 300px;
        padding-bottom: 15px;
    }

    .mega-footer .contact-column {
        grid-column: span 1;
        text-align: center;
        border-bottom: none;
        border-top: none;
        padding-top: 30px;
    }

    .mega-footer .contact-column .footer-logo h2 {
        text-align: center;
    }

    .mega-footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .mega-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .mega-footer .contact-column {
        grid-column: span 1;
    }
}

/* =========================================
   MARQUEE ANIMATION (REFERANSLAR)
   ========================================= */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    gap: 60px;
    align-items: center;
    animation: marquee 20s linear infinite;
    padding-left: 60px;
}

.marquee-content h3 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   MARQUEE ANIMATION (BLOGLAR)
   ========================================= */
.marquee-blog-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-blog-content {
    display: inline-flex;
    gap: 30px;
    animation: marqueeBlog 40s linear infinite;
    padding-left: 30px;
}

.marquee-blog-content:hover {
    animation-play-state: paused;
}

.marquee-blog-content .service-card {
    width: 280px;
    white-space: normal;
    flex-shrink: 0;
}

@keyframes marqueeBlog {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .color-bars-footer {
        height: 250px;
    }

    .footer-nav {
        gap: 10px;
    }

    .footer-nav a {
        font-size: 10px;
    }
}

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.floating-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

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

.floating-scroll-top:hover {
    background-color: #1565c0;
    transform: translateY(-5px);
}

/* =========================================
   LEAD GENERATION POPUP
   ========================================= */
.lead-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #333;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lead-popup.show {
    transform: translateX(0);
}

.lead-popup-content {
    padding: 25px 20px;
    position: relative;
    text-align: center;
}

.close-lead-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-lead-popup:hover {
    color: #333;
}

.lead-popup-icon {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    color: #2196f3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.lead-popup-content h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #111;
}

.lead-popup-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   BLOG ARTICLE CONTENT STYLING
   ========================================= */
.blog-article-content p {
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 1.8;
    color: #cfd8dc;
    /* Softer white for readability */
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.blog-article-content h2 {
    font-size: 28px;
}

.blog-article-content h3 {
    font-size: 24px;
    color: #2196f3;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
    color: #cfd8dc;
}

.blog-article-content li {
    margin-bottom: 10px;
}

.blog-article-content strong,
.blog-article-content b {
    color: #fff;
}

@media (max-width: 768px) {
    .lead-popup {
        width: 80%;
        max-width: 260px;
        right: 5%;
        bottom: 90px;
    }

    .lead-popup-content {
        padding: 15px;
    }

    .lead-popup-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .lead-popup-content h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .lead-popup-content p {
        font-size: 11px;
    }
}

/* ==========================================
   BLOG DESIGN SYSTEM
   ========================================== */
.page-header h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--secondary-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-yellow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.blog-card-img-wrap {
    width: 100%;
    height: 250px;
    background: #000;
    overflow: hidden;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Blog Detail Page Image Container */
.blog-detail-img-wrap {
    width: 100%;
    margin: 0 auto 40px;
    max-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    padding: 0;
}

.blog-detail-img-wrap img {
    width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive Blog Adjustments */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.blog-detail-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-detail-container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .blog-detail-img-wrap {
        width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        aspect-ratio: 16/9;
        /* Standard widescreen on mobile to avoid squeezing */
        border-radius: 12px;
        margin-bottom: 25px;
    }

    .page-header h1 {
        font-size: 28px !important;
        /* Elegant heading size on mobile */
    }
}

/* Detailed Blog Card Styles */
.blog-card {
    background: #111111;
    /* Dark solid premium gray background like Kapı İsimliği */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: #e74c3c;
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.15);
    background: #161616;
}

.blog-card-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.blog-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card-date {
    font-size: 13px;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title a,
.blog-card-title a:hover {
    color: #e74c3c;
}

.blog-card-excerpt {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 8px 0;
    flex: 1;
}

.blog-card-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
    margin-top: auto;
}

.blog-card:hover .blog-card-btn,
.blog-card-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-grid {
        padding: 0 15px;
        /* Side margins on mobile for breathing room */
    }

    .blog-card {
        border-radius: 14px;
    }

    .blog-card-body {
        padding: 20px;
        gap: 10px;
    }

    .blog-card-title {
        font-size: 17px;
    }

    .blog-card-excerpt {
        font-size: 13.5px;
    }
}

/* References Page Layout */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.reference-card {
    background: var(--secondary-dark);
    height: 180px;
    /* Uniform height for a perfectly balanced grid */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.reference-card img {
    max-width: 85%;
    max-height: 110px;
    /* Bolder, larger corporate logos! */
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reference-card:hover {
    transform: translateY(-8px);
    border-color: #e74c3c;
    /* Gorgeous red border highlight */
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.15);
}

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

.reference-card:hover img {
    transform: scale(1.08);
    /* Sophisticated micro-animation */
}

@media (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
        /* Side breathing room on tablets */
    }

    .reference-card {
        height: 150px;
        padding: 20px;
    }

    .reference-card img {
        max-height: 90px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 4px !important;
        /* Extremely close to screen edges as requested! */
    }

    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        /* Snugger gap to fit more on screen! */
        padding: 0;
        /* Snug, full width */
        margin-top: 15px;
        margin-bottom: 40px;
        /* Cozy breathing room underneath the grid */
    }

    .reference-card {
        height: 100px;
        /* Perfectly sized mobile height */
        padding: 10px;
        border-radius: 10px;
    }

    .reference-card img {
        max-width: 90%;
        max-height: 65px;
        /* Beautifully filled-out and visible logo graphics on mobile! */
    }
}

/* Kurumsal Page Flex Layout */
.kurumsal-flex {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 992px) {
    .kurumsal-flex {
        flex-direction: column-reverse;
        /* Stacks image (originally second div) above text (originally first div) */
        gap: 30px;
        margin-bottom: 50px;
        /* Spacing underneath the "Bizimle Iletisime Gecin" button before footer! */
    }

    .kurumsal-flex>div {
        width: 100%;
        min-width: 100% !important;
    }
}

/* Product Detail Premium Layout */
.product-detail-card {
    background: var(--secondary-dark);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    /* Internal padding everywhere inside the card container! */
    gap: 30px;
}

.product-detail-img-wrap {
    flex: 1;
    min-width: 320px;
    border-radius: 14px;
    /* Separate rounded corners for the image wrapper! */
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
}

.product-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-detail-content {
    flex: 1.2;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 10px;
}

@media (max-width: 992px) {
    .product-detail-card {
        padding: 16px;
        gap: 20px;
        margin: 0 15px;
        /* Spacing from screen borders on mobile/tablet! */
    }

    .product-detail-img-wrap {
        min-width: 100%;
        aspect-ratio: 16/10;
    }

    .product-detail-content {
        min-width: 100%;
        padding: 10px 5px;
    }
}

/* =========================================
   PRODUCT MODELS SECTION (Homepage Showcase)
   ========================================= */
.product-models-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.product-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
    margin-top: 50px;
}

.product-model-card {
    display: flex;
    flex-direction: column;
}

.product-model-link {
    display: block;
}

.product-model-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-model-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 11, 14, 0.1), rgba(10, 11, 14, 0.8));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.product-model-overlay .view-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-model-link:hover .product-model-img-wrap img {
    transform: scale(1.08);
}

.product-model-link:hover .product-model-overlay {
    opacity: 1;
}

.product-model-link:hover .product-model-overlay .view-btn {
    transform: translateY(0);
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.25);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

.product-model-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-top: 24px;
    color: var(--text-light);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.product-model-link:hover .product-model-title {
    color: #e74c3c;
}

@media (max-width: 992px) {
    .product-models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 576px) {
    .product-models-grid {
        grid-template-columns: 1fr;
        gap: 35px 0;
    }

    .product-model-img-wrap {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 992px) {
    .features-wrapper {
        display: none !important;
    }
    .homepage-sections-wrapper {
        display: flex;
        flex-direction: column;
    }
    .homepage-sections-wrapper .features-wrapper {
        order: 1;
    }
    .homepage-sections-wrapper .about-summary {
        order: 3;
    }
    .homepage-sections-wrapper .product-models-section {
        order: 2;
    }
}