/*
   layout.css
   Sayfa Düzeni ve Konteynerler
*/

/* Hiding Scrollbar Aggressively */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

html, body {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* Scroll Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Header & Navbar */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1600px; /* Menüyü sağa daha fazla yaslamak için genişletildi */
    width: 100%;
}

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

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 
        1px 1px 0 #000, 
        2px 2px 0 #111, 
        3px 3px 3px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 168, 255, 0.5);
}

.logo-text span {
    color: #63b3ed;
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    color: #f1f1f1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: #63b3ed;
    text-shadow: 0 0 15px rgba(0, 168, 255, 0.6);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #63b3ed;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.6);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    transition: var(--transition-fast);
    opacity: 0.5;
    border: 2px solid transparent;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(69, 162, 158, 0.4);
}

/* Sections General */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Header offset */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
    animation: fade-in-up 1s var(--transition-smooth);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 80%;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-left 1.2s var(--transition-smooth);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    margin-top: 24px;
}

.features-list li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* Services Section */
.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 2rem 0;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

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

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info h2 span {
    color: var(--primary-color);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.info-item {
    margin-bottom: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    .lang-switcher {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        justify-content: center;
    }
    .nav-link {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    .hero-container, .about-content, .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 40px auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .features-list {
        text-align: left;
        display: inline-block;
    }
    
    /* Contact Section Mobile Fixes */
    .contact-section {
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column-reverse !important;
        padding-bottom: 50px !important;
    }
    #globeWrapper {
        position: relative !important;
        left: 0 !important;
        width: 100% !important;
        height: 50vh !important;
        min-height: 350px !important;
        margin-bottom: 20px;
    }
    #globeViz {
        width: 100% !important;
        height: 100% !important;
    }
    .contact-section .container {
        justify-content: center !important;
        align-items: flex-start !important;
        height: auto !important;
    }
    .contact-card-3d {
        left: 0 !important;
        padding: 1.5rem !important;
        width: 100% !important;
    }
}

/* Animations */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-left {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
