/* 
========================================
CORE RESET & TYPOGRAPHY (APPLE STYLE)
========================================
*/
:root {
    --bg-color: #000000;
    --surface-color: #121212;
    --surface-hover: #1c1c1e;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-blue: #2997ff;
    --accent-glow: rgba(41, 151, 255, 0.3);
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 
========================================
UTILITIES & ANIMATIONS
========================================
*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #86868b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* 
========================================
HERO SECTION (VIDEO BACKGROUND)
========================================
*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6; /* Video parlaklığını kısmak için */
    filter: grayscale(100%) contrast(1.2); /* Apple tarzı sinematik his */
}

/* Video yüklenemezse görünecek yedek görsel */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #222 0%, #000 100%);
    z-index: -3;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.5rem;
    color: #d1d1d1;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Loader Styles */
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.video-loader.hidden {
    opacity: 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: var(--accent-blue);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 
========================================
PHILOSOPHY SECTION
========================================
*/
.philosophy {
    padding: 150px 0;
    background: var(--bg-color);
}

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

.philosophy-text h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #fff;
}

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

.stat-box {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-blue);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 5px;
}

.philosophy-image {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    transform: rotate(-2deg); /* Hafif modern bir dokunuş */
    transition: transform 0.5s ease;
}

.philosophy-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 
========================================
PRODUCTION SHOWCASE (DIZGI MAKINESI)
========================================
*/
.showcase {
    background: #000;
    padding: 100px 0;
    position: relative;
}

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

.showcase-header h2 {
    font-size: 3rem;
    color: #fff;
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
    position: relative;
    background: #111;
    aspect-ratio: 16/9;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    max-width: 300px;
}

.video-overlay-text h4 {
    color: #fff;
    margin-bottom: 5px;
}

.video-overlay-text p {
    font-size: 0.85rem;
    margin: 0;
}

/* 
========================================
PRODUCTION PROCESS SECTION
========================================
*/
.process-section {
    padding: 150px 0;
    background: #000;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-image {
    width: 100%;
    /* Sabit bir yükseklik vererek tüm kartların görsel alanını eşitliyoruz */
    height: 300px;
    overflow: hidden;
    position: relative;
}

.process-image img {
    width: 100%;
    height: 100%;
    /* Görsellerin kutuyu bozulmadan doldurmasını sağlar */
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.process-card:hover .process-image img {
    transform: scale(1.1);
}

.process-content {
    padding: 30px;
}

.process-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.process-content p {
    font-size: 1rem;
    color: #aaa;
}

/* 
========================================
QUALITY ASSURANCE SECTION
========================================
*/
.quality-section {
    padding: 150px 0;
    background: var(--surface-color);
    position: relative;
    overflow: hidden;
}

.quality-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.quality-image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
}

.quality-image img {
    width: 100%;
    display: block;
    border-radius: 7px;
}

.quality-content {
    flex: 1;
}

.quality-content h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.quality-list {
    list-style: none;
    margin-top: 30px;
}

.quality-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #ccc;
}

.quality-list li::before {
    content: '✓';
    color: var(--accent-blue);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

/* 
========================================
TECHNOLOGY SECTION
========================================
*/
.tech-section {
    padding: 120px 0;
    background: #000;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.tech-card {
    background: #111;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #222;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    background: #161616;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.tech-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* 
========================================
SUSTAINABILITY SECTION
========================================
*/
.sustainability-section {
    padding: 150px 0;
    background: var(--surface-color);
}

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

.sust-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
}

.sust-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile updates for new sections */
@media (max-width: 1024px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .sust-grid { grid-template-columns: 1fr; gap: 40px; }
    .sust-image { order: -1; height: 300px; }
}
@media (max-width: 600px) {
    .tech-grid { grid-template-columns: 1fr; }
}

/* 
========================================
NEW SECTIONS CSS
========================================
*/
.engineering-section {
    padding: 150px 0;
    background: var(--surface-color);
}

.engineering-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.eng-card {
    background: #1c1c1e;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.eng-image {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.eng-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eng-card:hover .eng-image img {
    transform: scale(1.05);
}

.eng-content {
    padding: 40px;
    flex: 1;
}

.eng-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.manifesto-section {
    padding: 120px 0;
    text-align: center;
    background: #000;
    border-top: 1px solid #111;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-title {
    font-size: 3rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .engineering-grid { grid-template-columns: 1fr; }
}
p{
    text-indent: 0;
}