:root {
    /* Premium Color Palette - Deep Anthracite & Electric Blue */
    --primary-color: #00c2ff;
    --primary-hover: #0099cc;
    --primary-glow: rgba(0, 194, 255, 0.4);
    --primary-gradient: linear-gradient(135deg, #00c2ff 0%, #0061a8 100%);

    --secondary-color: #f1f5f9;
    --accent-color: #38bdf8;

    --dark-color: #020617;
    /* Very Dark Navy/Anthracite */
    --dark-surface: #0f172a;
    /* Card Surfaces */
    --dark-border: rgba(255, 255, 255, 0.08);

    --white: #ffffff;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;

    /* Spacing & Borders */
    --section-padding: 120px;
    --container-width: 1400px;
    --border-radius-lg: 32px;
    --border-radius-md: 20px;

    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1.1;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Reusable Components */
.section-title {
    margin-bottom: 70px;
    max-width: 700px;
}

.section-title.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.subtitle {
    display: block;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
    margin-top: 24px;
}

.header-line.center {
    margin: 24px auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 194, 255, 0.4);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
    gap: 6px;
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.badge {
    padding: 8px 20px;
    background: rgba(0, 194, 255, 0.1);
    border: 1px solid rgba(0, 194, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
/* Premium Top Bar */
.top-bar {
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    z-index: 1001;
    color: rgba(255, 255, 255, 0.8);
}

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

.top-left,
.top-right,
.top-center {
    display: flex;
    gap: 30px;
}

.top-center {
    background: rgba(0, 194, 255, 0.1);
    padding: 6px 30px;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
}

.top-center .top-item {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.top-item i {
    color: var(--primary-color);
}

.top-item a {
    color: inherit;
    transition: var(--transition);
}

.top-item a:hover {
    color: var(--primary-color);
}

.top-social {
    display: flex;
    gap: 15px;
    border-left: 1px solid var(--dark-border);
    padding-left: 20px;
}

.top-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Navigation Redesign */
.main-header {
    position: fixed;
    top: 45px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header.scrolled {
    top: 0;
    height: 85px;
    background: rgba(2, 6, 23, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
    width: 100%;
}

.logo {
    flex: 0 0 250px;
    /* Sabit genişlik - Artırıldı */
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(0, 194, 255, 0.1));
}

.scrolled .logo img {
    height: 70px;
}

/* Nav Links Centered Perfectly */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    padding: 10px 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

.header-actions {
    flex: 0 0 200px;
    /* Sabit genişlik logo ile dengeli */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/* Dropdown Menu Refined */
.has-dropdown {
    position: relative;
}

.nav-links .dropdown {
    position: absolute;
    top: calc(100% - 10px);
    /* Menüye bitişik durması için */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    min-width: 250px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    /* Gizliyken tıklamayı engelle */
    z-index: 100;
}

/* Mouse'un menüden dropdown'a geçerken boşluğa düşmemesi için köprü */
.has-dropdown::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
    pointer-events: auto;
}

.dropdown li {
    width: 100%;
    height: auto !important;
    display: block !important;
    padding: 2px 10px;
}

.dropdown a {
    padding: 10px 15px !important;
    display: flex !important;
    align-items: center;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    border-bottom: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-transform: none !important;
    /* Alt menüde her şeyi büyük yapmayalım */
}

.dropdown a::after {
    display: none !important;
}

.dropdown a:hover {
    background: rgba(0, 194, 255, 0.1);
    color: var(--primary-color) !important;
    padding-left: 20px !important;
}

.nav-links a i {
    font-size: 0.7rem;
    margin-left: 6px;
    transition: var(--transition);
}

.nav-links li:hover>a i {
    transform: rotate(180deg);
}

/* Hero Section Redesign */
.hero-slider {
    height: 90vh;
    /* 100vh bazen çok fazla kalabiliyor, 90vh daha dengeli */
    min-height: 700px;
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.main-swiper,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    /* Dikeyde tam ortalama */
    position: relative;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 50%, rgba(2, 6, 23, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
    padding-top: 80px;
    /* Sadece header payı */
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin: 20px 0 30px;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Swiper Premium Controls */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    color: var(--white) !important;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 800;
}

.swiper-pagination {
    bottom: 40px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 35px !important;
    border-radius: 10px !important;
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.3);
}

/* About Section */
.about-section {
    padding: 60px 0 var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.experience-card {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--primary-gradient);
    padding: 30px 40px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 194, 255, 0.4);
}

.experience-card .num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
}

.experience-card .txt {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-row {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item .count {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-item .label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services-section {
    padding: var(--section-padding) 0;
    background: #020617;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--dark-surface);
    padding: 60px 45px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--dark-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 194, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 194, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 194, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.service-link {
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* Why Us */
.why-section {
    padding: var(--section-padding) 0;
    background: #050b1a;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--dark-border);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-color);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.why-card h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Projects */
.projects-section {
    padding: var(--section-padding) 0;
}

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

.project-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 450px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.project-item:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay .cat {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Contact Home */
.contact-section-home {
    padding: var(--section-padding) 0;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: var(--dark-surface);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

.contact-info {
    padding: 80px;
    background: linear-gradient(rgba(0, 194, 255, 0.05), rgba(0, 0, 0, 0));
}

.contact-form-side {
    padding: 80px;
    background: rgba(255, 255, 255, 0.01);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(2, 6, 23, 0.4);
    border: 1px solid var(--dark-border);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.1);
}

/* Footer */
.main-footer {
    padding: 100px 0 50px;
    background: #01040f;
    border-top: 1px solid var(--dark-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 30px;
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.lightning-decor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

/* Animations Trigger */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 30px !important;
    border-radius: 5px !important;
}

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

    .main-header {
        top: 0;
        height: 80px;
    }

    .navbar {
        height: 100%;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 80%;
        height: 100vh;
        background: #020617;
        flex-direction: column;
        padding: 100px 40px;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        overflow-y: auto;
        gap: 0;
        display: flex;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    .nav-links .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 20px !important;
        box-shadow: none !important;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .has-dropdown.open>a i {
        transform: rotate(180deg);
    }

    .header-actions .btn {
        display: none;
    }

    .about-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

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

    section {
        padding: 100px 0;
    }
}

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

    .stats-row {
        flex-direction: column;
        gap: 30px;
    }

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

/* Trust Info Bar Section Styles */
.trust-info-bar {
    background: transparent;
    padding: 0;
    margin-top: -100px;
    /* Daha fazla yukarı çekerek boşluğu kapattık */
    position: relative;
    z-index: 20;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(25px);
    padding: 30px 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 194, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-box:hover .info-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 194, 255, 0.3);
}

.info-text h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.info-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
    }

    .trust-info-bar {
        margin-top: 0;
    }
}

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