/* --- GENEL AYARLAR VE RENK PALETİ --- */
:root {
    --dark-bg: #0a0a14;
    --primary-color: #00f2ff;
    --secondary-color: #d400ff;
    --text-color: #e0e0e0;
    --card-bg: rgba(22, 28, 58, 0.4);
    --glow-shadow: 0 0 8px var(--primary-color), 0 0 16px var(--primary-color), 0 0 24px var(--secondary-color);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- BOOTSTRAP NAVBAR ÖZELLEŞTİRME --- */
.navbar {
    backdrop-filter: blur(5px);
    background: rgba(10, 10, 20, 0.2) !important;
    transition: background-color 0.3s;
}

.navbar .navbar-brand img {
    height: 45px; /* Logo yüksekliği artırıldı */
    transition: height 0.3s ease;
}

.navbar .nav-link {
    color: var(--text-color);
    margin-left: 15px;
    transition: color 0.3s, text-shadow 0.3s;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.2);
}
.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%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-link i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.navbar .vr {
    height: 20px;
    opacity: 0.25;
    border-color: white;
}


/* --- HERO (ANA KARŞILAMA ALANI) --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    perspective: 1200px;
}

#hero-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.7);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    transition: transform 0.1s linear;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    max-width: 900px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto;
}

/* --- ALT SAYFA BAŞLIĞI (PAGE HEADER) --- */
.page-header {
    position: relative;
    padding: 180px 0 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.8);
}
.page-header h1 {
    position: relative;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}
.page-header p {
    position: relative;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 20px auto 0 auto;
}


/* --- GENEL BÖLÜM STİLLERİ --- */
.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- HAKKIMIZDA BÖLÜMÜ --- */
.hakkimizda-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background-color: var(--dark-bg);
}

.hakkimizda-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.hakkimizda-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.4;
}

.hakkimizda-content p {
    line-height: 1.8;
    margin-bottom: 30px;
}

.hakkimizda-image img {
    border: 1px solid rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: auto;
}

.hakkimizda-image img:hover {
    transform: scale(1.03);
    box-shadow: var(--glow-shadow);
}

.document-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.document-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.document-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(0, 242, 255, 0.1);
}

/* --- HİZMETLERİMİZ & ÜRÜNLERİMİZ KARUSEL BÖLÜMÜ --- */
.hizmetlerimiz-section, .urunlerimiz-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background-color: #080810; /* Hafif farklı bir ton */
}

.urunlerimiz-section {
     background-color: var(--dark-bg);
}

.hizmet-karti, .urun-karti, .blog-karti {
    background: var(--card-bg);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Resmin karttan taşmasını önler */
}

.hizmet-karti:hover, .urun-karti:hover, .blog-karti:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow);
}

.hizmet-karti img, .urun-karti img, .blog-karti img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.hizmet-karti .card-body, .urun-karti .card-body, .blog-karti .card-body {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hizmet-karti h3, .urun-karti h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}

.hizmet-karti p, .urun-karti p, .blog-karti p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
    box-shadow: var(--glow-shadow);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-indicators .active {
    opacity: 1;
}

/* --- REFERANSLARIMIZ BÖLÜMÜ --- */
.referanslarimiz-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background-color: #080810; /* Hafif farklı bir ton */
}
.referans-logo-img {
    max-width: 150px;
    width: 100%;
    filter: brightness(0.7) grayscale(1);
    opacity: 0.6;
    transition: all 0.4s ease;
}
.referans-logo-img:hover {
    filter: brightness(1) grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* --- ALT SAYFA İÇERİK BÖLÜMLERİ --- */
.hizmetler-list-section, .blog-list-section, .references-list-section, .contact-section {
    padding: 100px 0;
}

.blog-karti .card-body {
    text-align: left;
}

.blog-karti h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.blog-karti h3 a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.blog-karti h3 a:hover {
    color: var(--primary-color);
}

.blog-karti .read-more {
    margin-top: 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    text-align: left;
}

.contact-info-box {
    background: var(--card-bg);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    height: 100%;
}
.contact-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}
.contact-info-box .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}
.contact-info-box a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info-box a:hover {
    color: var(--primary-color);
}
.map-container {
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px;
}
.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 242, 255, 0.25);
    color: white;
}
.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


/* --- FÜTÜRİSTİK BUTON --- */
.btn-outline-primary-futuristic {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-primary-futuristic:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: var(--glow-shadow);
    transform: translateY(-3px);
}

/* --- FOOTER BÖLÜMÜ --- */
.footer-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-section .footer-info .logo img {
    height: 40px;
    margin-bottom: 20px;
}
.footer-section .footer-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}
.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.footer-section .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section .footer-links ul li {
    padding-bottom: 10px;
}
.footer-section .footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-section .footer-links ul a:hover {
    color: var(--primary-color);
}
.footer-section .footer-links p {
     color: rgba(255, 255, 255, 0.7);
     line-height: 1.7;
}
.footer-section .copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}
.footer-section .btn-outline-primary-futuristic.dropdown-toggle {
    width: 100%;
    max-width: 200px;
    padding: 8px 15px;
    font-size: 0.9rem;
}
.footer-section .dropdown-menu {
    background-color: rgba(22, 28, 58, 0.9);
    border-color: rgba(0, 242, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* --- YUKARI ÇIK BUTONU --- */
.scroll-top {
    position: fixed;
    right: 15px;
    bottom: -50px; /* Initially hidden */
    z-index: 99;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
}
.scroll-top.active {
    bottom: 15px;
    opacity: 1;
}
.scroll-top i {
    font-size: 24px;
    font-weight: bold;
}
.scroll-top:hover {
    background: var(--secondary-color);
    color: white;
}

/* Mobil uyumluluk */
@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        height: 35px; /* Mobilde logoyu biraz daha küçük tutalım */
    }
    .hakkimizda-content {
        margin-bottom: 40px;
    }
}
@media (min-width: 992px) {
    .document-links {
        justify-content: flex-start;
    }
}

