/* ==========================================================================
    CSS Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #0c2340;      /* Deep Navy Blue */
    --secondary-color: #1e40af;    /* Vibrant Blue */
    --accent-color: #00A8E8;       /* Ice Blue / Buz Mavisi */
    --accent-hover: #0077b6;       /* Dark Ice Blue */
    
    --text-dark: #1e293b;
    --text-body: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tıklandığında hedefin menünün ne kadar altında duracağını ayarlar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px; 
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-4 {
    margin-top: 2rem !important;
}

.section-title {
    margin-bottom: 25px;
}

.section-title .short-title {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
}

.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}

/* ==========================================================================
    Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    border-color: var(--accent-color) !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 168, 232, 0.3) !important;
    border-color: var(--accent-hover) !important;
}

/* ==========================================================================
    TOP BAR VE SOSYAL MEDYA STİLLERİ
   ========================================================================== */
.top-bar {
    background-color: #0c2340;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
    width: 100%;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.top-contact {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #ffffff;
    font-size: 14px;
}
.top-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-contact svg {
    color: #00A8E8;
}
.top-social {
    display: flex;
    align-items: center;
    gap: 15px;
}
.social-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}
.social-icons {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center;
}
.footer-social .social-icons {
    margin-top: 15px;
}
.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    transition: 0.3s;
}
.social-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}
.social-btn.facebook { background-color: #1877f2 !important; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important; }
.social-btn.tiktok { background-color: #000000 !important; }
.social-btn.whatsapp { background-color: #25d366 !important; }

/* ==========================================================================
    Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.header.sticky {
    box-shadow: var(--box-shadow);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}
.logo a {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}
.logo span {
    color: var(--accent-color);
}
.main-nav ul {
    display: flex;
    gap: 35px;
}
.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-color);
    position: relative;
    padding: 10px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
    Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12, 35, 64, 0.9) 0%, rgba(12, 35, 64, 0.6) 100%);
    z-index: -1;
}
.hero-content {
    max-width: 750px;
}
.hero-content .subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: rgba(0, 168, 232, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
}
.hero-content h1 {
    color: var(--white);
    font-size: 50px;
    line-height: 1.15;
    margin-bottom: 25px;
}
.hero-content p {
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
    Features Section
   ========================================================================== */
.features {
    position: relative;
    margin-top: 30px;
    z-index: 10;
    padding-bottom: 80px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
.feature-card {
    background-color: var(--white);
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 168, 232, 0.08);
    text-align: left; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 168, 232, 0.3);
    box-shadow: 0 25px 50px -10px rgba(0, 168, 232, 0.3) !important;
}
.feature-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(0, 168, 232, 0.1) !important;
    color: #00A8E8 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px 0;
    flex-shrink: 0;
    transition: var(--transition);
}
.feature-icon svg {
    width: 28px;
    height: 28px;
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}
.feature-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
    HİZMETLERİMİZ BÖLÜMÜ 
   ========================================================================== */
.services-cloud-section {
    background-color: #f1f5f9; 
}
.services-cloud-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr; 
    gap: 40px;
    align-items: center;
}
.services-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.gallery-img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    cursor: pointer;
}
.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 168, 232, 0.2);
    border-color: rgba(0, 168, 232, 0.2);
}
.services-cloud-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.cloud-card {
    background: #ffffff; 
    border-radius: 50px; 
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}
.cloud-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 168, 232, 0.15); 
    border-color: rgba(0, 168, 232, 0.1);
}
.cloud-card h3 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}
.cloud-card p {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
    LIGHTBOX MODAL 
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 35, 64, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 650px;
    max-height: 80vh;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    border: 4px solid #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.lightbox-close:hover {
    background: var(--accent-color);
}

/* ==========================================================================
    VİDEO DÜZENİ 
   ========================================================================== */
.video-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    align-items: start;
}
.video-process-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.video-process-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 168, 232, 0.4);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.15);
}
.video-process-card video {
    width: 100%;
    border-radius: 8px;
    background: #000;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
    Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}
.footer-widget h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}
.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-logo span {
    color: var(--accent-color);
}
.footer-widget ul li {
    margin-bottom: 12px;
}
.footer-widget ul li a {
    position: relative;
    padding-left: 15px;
}
.footer-widget ul li a::before {
    content: '\203A';
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--accent-color);
    font-size: 18px;
    font-weight: bold;
    transition: var(--transition);
}
.footer-widget ul li a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}
.contact-info li {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.contact-info li strong {
    color: var(--white);
    font-family: var(--font-heading);
}
.footer-bottom {
    background-color: #08172b;
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
}

/* ==========================================================================
    Responsive (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 42px;
    }
    .features-grid {
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hide-mobile { display: none !important; }
    
    .hamburger { display: flex; }
    .main-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--box-shadow);
        overflow-y: auto;
    }
    .main-nav.active { left: 0; }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav a {
        display: block;
        padding: 20px;
        font-size: 18px;
    }
    .main-nav a::after { display: none; }

    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .features { margin-top: 20px; }
    
    .services-cloud-inner { grid-template-columns: 1fr; }
    .video-process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    /* Moblilde Top-Bar Simetri ve Taşma Koruması Entegre Edildi */
    .top-bar {
        font-size: 12px;
        padding: 8px 10px;
    }
    .top-bar-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
    .top-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }
    .top-contact span {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        white-space: nowrap; /* Numaralar ve mailler üst üste binmesin diye satır kırılmasını engeller */
    }
    .top-social {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 6px;
    }

    .hero-content h1 { font-size: 32px; }
    .hero-buttons { flex-direction: column; }
    
    .features-grid { grid-template-columns: 1fr; }
    .features { margin-top: 10px; padding-top: 30px; }
    
    .services-gallery { grid-template-columns: 1fr 1fr; }
    .services-cloud-grid { grid-template-columns: 1fr; }
    .video-process-grid { grid-template-columns: repeat(1, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .lightbox-close { top: 15px; right: 20px; }
}