/* 
    MTDT Gençlik Forumu - High-Tech Seljuk Design System
    Merged theme: Seljuk Heritage + MTLZ Cyberpunk
*/

:root {
    --bg-color: #040d12;
    --primary: #2dd4bf; /* Teal */
    --accent: #00f2ff; /* Cyber Cyan */
    --secondary: #7000ff; /* Neon Purple */
    --text-color: #f0fdfa;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(45, 212, 191, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, .logo, .nav-links a {
    font-family: 'Outfit', sans-serif;
}

/* Grain Effect Overlay from MTLZ */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
}

/* Seljuk Circuit Background */
#seljuk-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(45, 212, 191, 0.05) 0%, var(--bg-color) 80%);
}

.seljuk-pattern-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l5 18h18l-15 11 6 18-14-10-14 10 6-18-15-11h18z' fill='%232dd4bf' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    mask-image: radial-gradient(circle, black, transparent 70%);
}

/* Navigation - MTLZ Style */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    background: rgba(4, 13, 18, 0.7);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.logo-img {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 0 8px var(--primary));
}

.nav-center {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.nav-center a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 30px;
    transition: var(--transition);
}

.nav-center a:hover {
    color: var(--primary);
    background: rgba(45, 212, 191, 0.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 13, 18, 0.98);
    backdrop-filter: blur(25px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.close-menu {
    position: absolute;
    top: 30px; right: 5%;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Hero Section - TYPOGRAPHIC FOCUSED */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
    text-align: center;
    position: relative;
}

.hero-main-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    max-width: 1000px;
}

.hero-main-title span {
    display: block;
    background: linear-gradient(to right, #fff, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(45, 212, 191, 0.3));
}

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

.hero-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 50px;
}

.rotating-star {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px var(--primary));
}



/* Buttons - MTLZ Glowing Style */
.btn-glitch {
    position: relative;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
}

.btn-glitch:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px var(--primary);
    filter: brightness(1.2);
}

/* Cards - MTLZ Glassmorphism */
.section {
    padding: 100px 5%;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.glass-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
}

.partner-item {
    width: 100%;
    height: 120px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--primary);
    background: rgba(45, 212, 191, 0.05);
    transform: scale(1.05);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(112, 0, 255, 0.15);
}

.member-img {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.member-role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Placeholder Logo for Collaborations */
.placeholder-logo {
    width: 80px;
    height: 80px;
    background: var(--border-color);
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile Adjustments v2 */
@media (max-width: 992px) {
    .nav-center { display: none; }
    .menu-toggle { display: block; }
    .hero-main-title { font-size: 3rem; }
    .navbar { padding: 15px 5%; }
}

@media (max-width: 768px) {
    .hero { padding: 100px 20px; }
    .hero-main-title { font-size: 2.2rem; margin-bottom: 20px; }
    .hero-sub { font-size: 1rem; margin-bottom: 30px; }
    .hero-visual { width: 180px; height: 180px; margin-bottom: 30px; }
    
    .section { padding: 60px 5%; }
    .section-title { font-size: 2.2rem; margin-bottom: 40px; }
    
    .grid, .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partners-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }
    
    .glass-card, .team-card {
        padding: 30px 20px;
    }
    
    .nav-right { display: none; } /* Hide the duplicate button in header on mobile */
}

@media (max-width: 480px) {
    .hero-main-title { font-size: 1.8rem; }
    .partners-grid { grid-template-columns: 1fr; }
    .btn-glitch { width: 100%; text-align: center; padding: 15px; }
}
