@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(20, 27, 45, 0.6);
    --bg-card-hover: rgba(28, 38, 62, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.25);
    
    /* Brand Colors */
    --primary: #00f2fe;
    --primary-alt: #4facfe;
    --accent: #ff6b6b;
    --accent-orange: #ff9f43;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-light-card: #ffffff;
    --border-light: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(79, 172, 254, 0.05) 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #05070c 100%);
    --gradient-alarm: linear-gradient(135deg, #ff9f43 0%, #ff3f34 100%);
    
    /* Typography */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.35);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --container-width: 1280px;
    --nav-height: 80px;
}

/* --- RESET & BASIC STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--gradient-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Decorative background glow */
body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #ffffff;
}

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

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

/* --- UTILITIES & LAYOUT --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.text-center { text-align: center; }

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark) !important;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main) !important;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.header {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 38px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo-wrapper:hover .logo-svg {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

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

/* Hamburger mobile menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    position: relative;
    transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    transition: var(--transition-smooth);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-toggle.open .hamburger {
    background-color: transparent;
}
.nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
    background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

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

.hero-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    gap: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-feature-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Visual element representing a camera / tech shield */
.tech-sphere {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--gradient-glow);
    border: 1px solid var(--border-glow);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.1);
    animation: rotateSphere 20s linear infinite;
}

.tech-sphere-inner {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateSphereInverse 10s linear infinite;
}

.tech-icon-center {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    animation: pulseGlow 3s ease-in-out infinite;
}

.tech-icon-center svg {
    width: 45px;
    height: 45px;
    color: var(--bg-dark);
}

@keyframes rotateSphere {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes rotateSphereInverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 242, 254, 0.4); }
    50% { box-shadow: 0 0 40px rgba(0, 242, 254, 0.8); }
}

/* --- SERVICES CARD GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

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

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(0, 242, 254, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    transition: var(--transition-smooth);
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    z-index: 1;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    z-index: 1;
}

.service-link svg {
    transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* --- STATS SECTION --- */
.stats-section {
    background: rgba(10, 14, 23, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- REGIONAL FOCUS SECTION --- */
.regional {
    overflow: hidden;
}

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

.regional-map-graphic {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

/* Custom interactive graphic mimicking South East Turkey network nodes */
.network-grid-svg {
    width: 90%;
    height: 90%;
}

.map-node {
    fill: var(--primary);
    animation: mapNodePulse 2.5s infinite;
}

.map-node-batman {
    fill: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent));
}

.network-line {
    stroke: rgba(0, 242, 254, 0.15);
    stroke-dasharray: 6;
    animation: dash 30s linear infinite;
}

@keyframes mapNodePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* --- CONTACT SECTION --- */
.contact-section {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.contact-detail-content p, .contact-detail-content a {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-form-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 45px;
    backdrop-filter: blur(10px);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    background: rgba(10, 14, 23, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    display: none;
    font-size: 0.95rem;
    text-align: center;
}

.form-status.success {
    display: block;
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid #2ed573;
    color: #2ed573;
}

.form-status.error {
    display: block;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid #ff4757;
    color: #ff4757;
}

/* --- FOOTER --- */
.footer {
    background: #05070c;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}

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

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
}

.footer-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

/* --- INNER PAGES SPECIFICS --- */
.page-hero {
    padding: 160px 0 80px 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.inner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 80px 0;
}

.rich-text {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.rich-text h2, .rich-text h3 {
    color: #ffffff;
    margin: 40px 0 20px 0;
}

.rich-text p {
    margin-bottom: 20px;
}

.rich-text ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.rich-text li {
    margin-bottom: 10px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.widget-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-service-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    font-size: 0.95rem;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.widget-service-item.active a, .widget-service-item a:hover {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-weight: 600;
}

.cta-widget {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    text-align: center;
}

.cta-widget h3 {
    color: var(--bg-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-widget p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-widget .btn-secondary {
    background: var(--bg-dark);
    color: #ffffff !important;
    border: none;
}

/* --- ANIMATION REVEALS (JS triggered) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .header { height: 70px; }
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #0a0e17;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-smooth);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero {
        height: auto;
        padding-bottom: 60px;
    }
    
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-features { justify-content: center; flex-wrap: wrap; }
    .hero-visual { display: none; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .regional-grid { grid-template-columns: 1fr; gap: 30px; }
    .regional-map-graphic { height: 300px; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .form-group-row { grid-template-columns: 1fr; gap: 0; }
    
    .inner-grid { grid-template-columns: 1fr; }
    
    .page-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}
