:root {
    --primary: #FFC107;
    --primary-dark: #FF8F00;
    --dark: #121212;
    --dark-card: #1e1e1e;
    --gray: #f8f8f8;
    --text: #333;
    --border: #e0e0e0;
    --transition: 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.center { text-align: center; }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.bg-dark { background: var(--dark); color: #fff; }
.bg-gray { background: var(--gray); }
.bg-light { background: #fff; }
.full-width { width: 100%; }

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; font-weight: 700; line-height: 1.2; }
.section-sub { color: var(--primary); font-weight: 600; letter-spacing: 2px; display: block; margin-bottom: 10px; font-size: 0.9rem; }
.highlight { color: var(--primary); }

.btn { padding: 14px 35px; font-weight: 600; border-radius: 2px; display: inline-block; cursor: pointer; border: none; font-family: 'Oswald'; letter-spacing: 1px; transition: var(--transition); }
.btn-primary { background: var(--primary); color: var(--dark); border: 2px solid var(--primary); }
.btn-primary:hover { background: transparent; color: #fff; border-color: #fff; }
section:not(.bg-dark) .btn-primary:hover { color: var(--dark); border-color: var(--dark); }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--dark); }

/* INTRO */
#intro-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.loader-panel { position: absolute; top: 0; width: 50%; height: 100%; background: #1a1a1a; z-index: 1; transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1); }
.panel-left { left: 0; border-right: 1px solid #333; }
.panel-right { right: 0; border-left: 1px solid #333; }
.loader-center-content { position: relative; z-index: 2; text-align: center; color: #fff; font-family: 'Oswald'; }
.loader-icon { font-size: 3rem; color: var(--primary); margin-bottom: 10px; opacity: 0; transform: translateY(20px); }
.loader-brand { font-size: 2.5rem; font-weight: 700; letter-spacing: 5px; margin-bottom: 5px; opacity: 0; transform: translateY(20px); }
.loader-status { font-family: 'Inter'; font-size: 0.9rem; color: #888; letter-spacing: 3px; margin-bottom: 20px; opacity: 0; }
.loader-progress-bar { width: 250px; height: 4px; background: #333; margin: 0 auto 10px; position: relative; overflow: hidden; opacity: 0; }
.progress-fill { width: 0%; height: 100%; background: var(--primary); box-shadow: 0 0 15px var(--primary); }
.loader-percentage { color: var(--primary); font-size: 1.2rem; opacity: 0; }
#intro-loader.loaded .panel-left { transform: translateX(-100%); }
#intro-loader.loaded .panel-right { transform: translateX(100%); }
#intro-loader.loaded .loader-center-content { opacity: 0; transition: 0.3s; }
#intro-loader.loaded { pointer-events: none; }

/* HEADER */
header { position: fixed; width: 100%; top: 0; background: #fff; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { max-height: 50px; width: auto; }
.desktop-nav ul { display: flex; gap: 30px; }
.desktop-nav a { font-weight: 500; font-size: 0.9rem; color: #333; text-transform: uppercase; }
.desktop-nav a:hover { color: var(--primary); }
.mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; }

/* MOBILE MENU */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--dark); z-index: 2000; display: flex; flex-direction: column; padding: 40px; gap: 20px; transition: 0.4s; box-shadow: -5px 0 20px rgba(0,0,0,0.5); }
.mobile-menu.active { right: 0; }
.mobile-menu a { color: #fff; font-size: 1.2rem; font-family: 'Oswald'; border-bottom: 1px solid #333; padding-bottom: 10px; }
.close-btn { align-self: flex-end; color: #fff; font-size: 2rem; cursor: pointer; margin-bottom: 20px; }

/* HERO */
#hero { height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; margin-top: 80px; }
.video-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%); z-index: -1; }
.hero-content { color: #fff; max-width: 800px; position: relative; z-index: 2; }
.badge { background: var(--primary); color: var(--dark); padding: 5px 10px; font-weight: 700; display: inline-block; margin-bottom: 20px; font-size: 0.85rem; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; opacity: 0.9; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* MARQUEE */
.brand-marquee { background: #111; padding: 20px 0; overflow: hidden; border-bottom: 1px solid #333; }
.brand-track { display: flex; gap: 80px; animation: scroll 25s linear infinite; white-space: nowrap; }
.brand-item { font-family: 'Oswald'; font-size: 1.5rem; color: #666; font-weight: 700; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ABOUT */
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
.lead-text { font-size: 1.1rem; border-left: 4px solid var(--primary); padding-left: 15px; font-weight: 500; margin-bottom: 20px; }
.about-visual-stacked { position: relative; padding-left: 30px; }
.img-front { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.exp-badge { position: absolute; bottom: -20px; right: 20px; background: var(--dark); color: #fff; padding: 20px; text-align: center; border-radius: 4px; }
.exp-badge .num { font-size: 2.5rem; color: var(--primary); font-weight: 700; display: block; line-height: 1; }
.founder-info { margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd; }
.founder-info h4 { font-size: 1.2rem; margin-bottom: 5px; }

/* PROJELER */
.tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 12px 25px; border: none; background: #e0e0e0; cursor: pointer; font-weight: 600; font-family: 'Oswald'; transition: 0.3s; }
.tab-btn.active { background: var(--primary); color: var(--dark); }
.tab-content { display: none; }
.tab-content.active-content { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.ongoing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ongoing-card { background: #fff; border: 1px solid #e0e0e0; padding: 30px; border-radius: 4px; border-left: 5px solid #ddd; transition: 0.3s; }
.ongoing-card:hover { border-left-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.ongoing-card i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.ongoing-card h4 { font-size: 1.1rem; color: var(--dark); margin-bottom: 10px; }
.ongoing-card p { font-size: 0.9rem; color: #666; margin: 0; }

.accordion-wrapper { max-width: 900px; margin: 0 auto; }
.acc-item { margin-bottom: 10px; border: 1px solid #e0e0e0; background: #fff; border-radius: 4px; overflow: hidden; }
.acc-btn { width: 100%; padding: 20px; background: #fff; border: none; text-align: left; cursor: pointer; font-family: 'Oswald'; font-size: 1.1rem; color: var(--dark); display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.acc-btn:hover, .acc-btn.active { background: #f9f9f9; color: var(--primary-dark); }
.acc-desc { font-family: 'Inter'; font-size: 0.85rem; color: #777; margin-left: 10px; font-weight: 400; flex-grow: 1; text-align: right; margin-right: 20px; }
.acc-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #fdfdfd; border-top: 1px solid transparent; }
.acc-content.open { border-top-color: #eee; }
.acc-inner { padding: 20px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.acc-inner img { width: 150px; height: 100px; object-fit: cover; border-radius: 4px; }
.acc-inner p { font-size: 0.9rem; color: #555; }

/* GALERI (DÜZELTİLEN KISIM) */
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    grid-auto-rows: 250px; /* SABİT YÜKSEKLİK */
    gap: 20px; 
}
.gallery-item { 
    position: relative; 
    overflow: hidden; 
    cursor: pointer; 
    border-radius: 4px; 
    width: 100%; 
    height: 100%; /* EBEVEYNİ DOLDUR */
}
.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* SÜNMEYİ ENGELLER, OTOMATİK KIRPAR */
    object-position: center; 
    transition: transform 0.6s ease; 
}
.gallery-item:hover img { transform: scale(1.1); }
.g-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); opacity: 0; transition: 0.3s; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 2rem; }
.gallery-item:hover .g-overlay { opacity: 1; }

/* LIGHTBOX */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 10000; display: none; justify-content: center; align-items: center; }
.lightbox-content { max-width: 90vw; max-height: 85vh; width: auto; height: auto; object-fit: contain; border: 2px solid #fff; box-shadow: 0 0 30px rgba(0,0,0,0.8); }
.close-lightbox { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 3rem; cursor: pointer; z-index: 10001; }

/* REFERANSLAR */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; align-items: center; justify-items: center; width: 100%; }
.logo-item { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #eee; border-radius: 4px; transition: 0.3s; padding: 15px; }
.logo-item:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.logo-item img { max-width: 90%; max-height: 90%; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: 0.3s; }
.logo-item:hover img { filter: grayscale(0%); opacity: 1; }

/* MAKİNE PARKI */
.fleet-detailed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.fleet-category-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.f-cat-header { position: relative; height: 220px; overflow: hidden; }
.f-cat-header img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.f-cat-title { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.7); color: #fff; padding: 15px; display: flex; align-items: center; gap: 15px; }
.f-cat-title i { font-size: 1.5rem; color: var(--primary); }
.f-cat-title h3 { margin: 0; font-size: 1.2rem; }
.fleet-list li { padding: 12px 20px; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; color: #444; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.fleet-list li:nth-child(odd) { background: #f9f9f9; }
.fleet-list li span { font-weight: 600; color: var(--dark); font-size: 0.8rem; background: #e0e0e0; padding: 2px 8px; border-radius: 3px; }

/* CONTACT */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.c-info-box { display: flex; gap: 20px; margin-bottom: 30px; }
.c-info-box i { font-size: 1.5rem; color: var(--primary); background: #eee; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border-radius: 50%; }
.contact-form-col { background: #fff; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 4px; }
.contact-form-col h3 { margin-bottom: 20px; font-family: 'Oswald'; }
.form-group { position: relative; margin-bottom: 30px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid #ccc; outline: none; background: transparent; transition: 0.3s; font-family: 'Inter'; }
.form-group label { position: absolute; top: 10px; left: 0; color: #999; pointer-events: none; transition: 0.3s; }
.form-group input:focus, .form-group input:not(:placeholder-shown), .form-group textarea:focus, .form-group textarea:not(:placeholder-shown) { border-bottom-color: var(--primary); }
.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label, .form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label { top: -20px; font-size: 0.8rem; color: var(--primary); }

/* FOOTER */
footer { background: #111; color: #777; padding: 50px 0; border-top: 1px solid #222; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.f-col h3 { color: #fff; margin-bottom: 15px; }
.f-col h4 { color: #fff; margin-bottom: 15px; font-size: 1.1rem; }
.f-col ul li { margin-bottom: 10px; } .f-col ul li a:hover { color: var(--primary); }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 20px; font-size: 0.9rem; }
.dev-link { color: #555; text-decoration: none; display: block; margin-top: 10px; transition: 0.3s; font-size: 0.8rem; opacity: 0.7; }
.dev-link:hover { color: var(--primary); opacity: 1; }

/* WHATSAPP */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 999; }
.whatsapp-btn:hover { transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .project-wrapper { display: flex; flex-direction: column-reverse; }
    .project-preview { display: block; height: 250px; position: relative; top: 0; margin-bottom: 20px; }
    .about-hero-grid, .contact-wrapper, .footer-content, .fleet-detailed-grid { grid-template-columns: 1fr; }
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .gallery-grid { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .acc-desc { display: none; }
    .acc-inner { flex-direction: column; text-align: center; }
    .acc-inner img { width: 100%; height: 200px; margin-bottom: 10px; }
}