﻿/* Cast34 Ajans - Merkezi Stil Dosyası
    Tema Rengi: #E62117 (Logo Kırmızısı)
*/

:root {
    --primary: #E62117;
    --primary-hover: #c41c13;
    --text: #f6f6f6;
    --muted: #cfd3d8;
    --bg: #0c0e12;
    --card: #141821;
    --border: rgba(255,255,255,.06);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body { 
    margin: 0; 
    height: 100%; 
    font-family: var(--font-main); 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

/* Layout */
.container {
    max-width: 1180px;
    margin: auto;
    padding: 0 20px;
}

/* Navbar */
.navbar { 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    background: rgba(12,14,18,.9); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--border); 
}

.nav-container { 
    max-width: 1180px; 
    margin: auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 12px 20px; 
}

.logo { height: 60px; }

.nav-menu { 
    display: flex; 
    gap: 20px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    align-items: center;
}

.nav-link { 
    padding: 10px 12px; 
    color: var(--muted); 
    font-weight: 500; 
    border-radius: 8px;
}

.nav-link:hover, .nav-link.active { 
    color: #fff; 
    background: rgba(255,255,255,.08);
}

.nav-link.active { color: var(--primary); }

.cta-button { 
    background: var(--primary); 
    color: #fff !important; 
    border-radius: 999px; 
    padding: 10px 20px; 
    font-weight: bold; 
}

.hamburger { 
    display: none; 
    cursor: pointer; 
    color: #fff; 
    font-size: 24px; 
}

/* --- HERO SECTION (Default.aspx) --- */
.hero { position: relative; min-height: 86vh; display: grid; place-items: center; overflow: hidden; }
.hero-background { position: absolute; inset: 0; }
.hero-background-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 900ms ease, transform 1600ms ease; }
.hero-background-image.active { opacity: 1; transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.65) 40%, rgba(12,14,18,.9)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; padding: 24px; }
.hero-title { font-size: clamp(28px, 4.2vw, 56px); margin: 0 0 10px; line-height: 1.05; }
.hero-subtitle { margin: 0 0 18px; color: var(--muted); font-size: clamp(14px, 1.4vw, 18px); }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); padding: 12px 16px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-primary { background: var(--primary); border-color: transparent; color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: rgba(255,255,255,.08); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

.hero-video { display: flex; align-items: center; justify-content: center; }
.video-placeholder { cursor: pointer; display: grid; place-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; width: min(420px, 90vw); aspect-ratio: 16/9; transition: 0.3s; }
.video-placeholder:hover { background: rgba(255,255,255,0.12); border-color: var(--primary); }
.video-placeholder i { font-size: 48px; color: var(--primary); }

/* --- FAQ SECTION (Default.aspx) --- */
.faq { padding: 70px 20px; }
.faq-title { font-size: 28px; margin: 0 0 30px; text-align: center; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 1180px; margin: auto; }
.faq-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.faq-card h3 { margin: 0 0 8px; color: var(--primary); font-size: 18px; }
.faq-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* --- SERVICES SECTION (Default.aspx) --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 40px 0; }
.service-card { background: var(--card); padding: 30px; border-radius: 16px; border-bottom: 4px solid var(--primary); text-align: center; border: 1px solid var(--border); transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.service-card i { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; }

/* --- MODAL (Default.aspx & General) --- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 9999; backdrop-filter: blur(5px); }
.modal.show { display: flex; }
.modal-card { width: min(960px, 92vw); background: #000; border-radius: 16px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #0b0b0b; color: #fff; border-bottom: 1px solid var(--border); }
.modal-body { aspect-ratio: 16/9; background: #000; }
.modal-close { cursor: pointer; border: none; background: transparent; color: #fff; font-size: 24px; }
.modal video { width: 100%; height: 100%; display: block; }

/* Featured Projects */
.featured-projects { padding: 70px 20px; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.project-card { position: relative; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--border); }
.project-image img { width: 100%; height: 220px; object-fit: cover; display: block; }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; opacity: 0; transition: 0.3s; }
.project-card:hover .project-overlay { opacity: 1; }

/* --- GLOBAL PAGE STYLES (Hakkimizda, Basvuru vb.) --- */

/* Page Headers */
.page-header {
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header-about {
    background: linear-gradient(135deg, rgba(230, 33, 23, .25), rgba(20, 24, 33, .95));
}

.page-title {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 10px;
}

.page-subtitle {
    color: var(--muted);
    font-size: clamp(14px, 1.4vw, 18px);
    margin: 0;
}

/* Content Sections & Components */
.content-section { padding: 70px 0; }
.section-title { font-size: 28px; margin: 0 0 30px; text-align: center; }

/* Cards (Mission, Team, Values) */
.mission-vision-card, .team-member, .values-card, .achievement-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    color: var(--text);
    transition: transform 0.3s ease;
}

.mission-vision-card:hover, .values-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.15);
}

.mission-vision-card h3, .values-card h4 { color: #fff; margin-bottom: 15px; }
.mission-vision-card p, .values-card p, .team-member p { color: var(--muted); }

.values-card i, .mission-vision-card i { color: var(--primary); font-size: 24px; }

/* Team Member Specific */
.team-member img {
    width: 150px; height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
    border: 3px solid rgba(255,255,255,0.1);
}

.achievement-card {
    background: linear-gradient(135deg, var(--primary), #ff4d4d);
    color: #fff;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.grid-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; justify-content: center; }


/* Footer */
.footer { border-top: 1px solid var(--border); padding: 60px 20px 20px; background: #080a0d; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 30px; max-width: 1180px; margin: auto; }
.footer-section h4 { color: var(--primary); margin-bottom: 20px; border-bottom: 1px solid var(--primary); display: inline-block; padding-bottom: 5px; }
.footer-section p, .footer-section li { font-size: 14px; color: var(--muted); margin-bottom: 10px; list-style: none; }
.footer-section i { color: var(--primary); margin-right: 10px; width: 20px; text-align: center; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: #666; }

/* WhatsApp */
.whatsapp-ikonu {
    position: fixed; width: 60px; height: 60px; bottom: 25px; right: 25px; background-color: #25D366;
    color: #FFF; border-radius: 50px; display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 900; transition: 0.3s;
}
.whatsapp-ikonu:hover { transform: scale(1.1); box-shadow: 0 5px 15px rgba(37,211,102,0.4); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg); padding: 20px; border-bottom: 1px solid var(--border); }
    .nav-menu.show { display: flex; }
    .hamburger { display: block; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .footer-content { grid-template-columns: 1fr; }
}