/* === Şeref Teknik Proje – Renk Sistemi (Inkwell / Lunar Eclipse / Crème Brûlée / Au Lait) === */
:root {
  --inkwell: #0F1526;
  --lunar-eclipse: #1B2038;
  --creme-brulee: #F3C98B;
  --creme-brulee-light: #F7D8A8;
  --creme-brulee-dark: #D7A85E;
  --au-lait: #F3EDE3;

  --neutral-gray: #4A4F5A;
  --neutral-light: #E8E3DA;
  --text-dark: #1C1E22;
  --text-light: #FFFFFF;

  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  --header-h: 120px;     /* masaüstü header yüksekliği */
  --header-h-sm: 86px;  /* mobil header yüksekliği */
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }

body { background-color: var(--au-lait); color: var(--text-dark); overflow-x: hidden; line-height: 1.6; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

section { padding: 100px 0; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 4rem; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
h2 { font-size: 2.5rem; margin-bottom: 40px; text-align: center; font-family: 'Playfair Display', serif; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }
p { line-height: 1.6; margin-bottom: 20px; }

/* === Butonlar (radius + görünürlük) === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--creme-brulee);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  border: none;
  border-radius: 8px; /* bir tık daha fazla */
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn:hover { background-color: var(--creme-brulee-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.btn-outline { background: transparent; border: 2px solid var(--creme-brulee); color: var(--creme-brulee); border-radius: 8px; }
.btn-outline:hover { background-color: var(--creme-brulee); color: var(--text-light); }

.text-center { text-align: center; margin-top: 40px; }

/* === Giriş Ekranı === */
.intro-screen {
  position: fixed; inset: 0;;
  background: linear-gradient(135deg, var(--inkwell) 0%, var(--lunar-eclipse) 100%);
  display: grid; justify-content: center; align-items: center;
  place-items: center;
  z-index: 2000; color: var(--text-light);
}
.intro-content { text-align: center; }
.intro-title {
  font-size: 5rem; font-weight: 700; letter-spacing: 8px; margin-bottom: 20px;
  font-family: 'Playfair Display', serif; opacity: 0; animation: fadeInUp 1s ease forwards;
  background: linear-gradient(to right, var(--creme-brulee) 0%, var(--creme-brulee-light) 100%);
   -webkit-text-fill-color: transparent;
}
.intro::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(15,21,38,.45), rgba(27,32,56,.25));
}
.intro-logo{
  height: clamp(600px, 12vw, 120px); display: block;
  margin: 0 auto -120px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}
.main{ display: none; }
.intro-inner{ position: relative; color: #fff; text-align: center; }
.intro-subtitle { font-size: 1.5rem; margin-bottom: 40px; opacity: 0; animation: fadeInUp 1s ease 0.5s forwards; color: var(--neutral-light); }
.loading-bar { width: 400px; height: 3px; background-color: rgba(255,255,255,0.2); margin: 0 auto; border-radius: 2px; overflow: hidden; }
.loading-progress { height: 100%; width: 0%; background: linear-gradient(to right, var(--creme-brulee) 0%, var(--creme-brulee-light) 100%); animation: loading 3s ease forwards; }
@keyframes loading { 0% { width: 0%; } 100% { width: 100%; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: translateY(0);} }
.brand{ display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo{ height: 40px; width: auto; display: block; object-fit: contain; filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.brand-title{ font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: .5px; color: #fff; font-size: 18px; }
.main-content { display: none; }

/* === Header & Navigasyon (en üstte renk iyileştirme) === */
header {
  height: var(--header-h) !important;
  position: fixed; top: 0; left: 0; width: 100%; padding: 18px 0; z-index: 1000;
  transition: all .3s ease; background: transparent; padding-top: 0 !important;
  padding-bottom: 0 !important;
}
header.at-top{
  background: linear-gradient(to bottom, rgba(15,21,38,.28), rgba(25,21,38,.10));
  backdrop-filter: blur(2px);
}
header.scrolled { background-color: rgba(255,255,255,0.98); box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 15px 0; backdrop-filter: blur(10px); }

.logo {font-size: 1.8rem; font-weight: 700; color: var(--text-light); text-decoration: none; letter-spacing: 2px; font-family: 'Playfair Display', serif; transition: var(--transition); z-index: 1002;}
header.scrolled .logo { color: var(--inkwell); }

.nav-left{display:flex; align-items:center; gap:18px; height: 100% !important;}
.nav-links { display: flex; list-style: none; align-items: center; gap: 24px; margin-left :6px;}
.nav-links li { margin-left: 40px; }
.nav-links a {
  color: var(--text-light); text-decoration: none; font-weight: 600; letter-spacing: 0.4px; transition: all .3s ease;
  position: relative; font-size: 0.95rem; padding: 6px 2px;
}
header.scrolled .nav-links a { color: var(--inkwell); }
.nav-links a:after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--creme-brulee); transition: all .3s ease; }
.nav-links a:hover:after { width: 100%; }
.nav-links a:hover { color: var(--creme-brulee); }

/* SADECE EN ÜSTTEYKEN daha görünür renk */
header.at-top .logo,
header.at-top .nav-links a {
  color: var(--creme-brulee);
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
header.scrolled .brand-title{ color: #0F1526; }
header.at-top .nav-links a:hover { color: var(--text-light); }

.hamburger { display: none; flex-direction: column; cursor: pointer; z-index: 1002; background:transparent;position:relative}
.hamburger span { width: 25px; height: 3px; background-color: var(--text-light); margin-bottom: 4px; transition:transform .3s ease; border-radius: 2px; }
header.at-top .hamburger span { background-color: var(--creme-brulee); }
header.scrolled .hamburger span { background-color: var(--inkwell); }
.navbar{ display: flex;justify-content: space-between; align-items:center; height: 100% !important;}

/* === Mobile Menu === */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background-color: var(--text-light);
  z-index: 1001; transition: right 0.4s ease; box-shadow: -5px 0 15px var(--shadow);
  display: flex; flex-direction: column; padding: 100px 30px 30px;
}
.mobile-menu.active { right: 0; }
.mobile-menu .nav-links { display: flex; flex-direction: column; width: 100%; }
.mobile-menu .nav-links li { margin: 0 0 25px 0; width: 100%; }
.mobile-menu .nav-links a { color: var(--inkwell); font-size: 1.2rem; font-weight: 500; display: block; padding: 10px 0; border-bottom: 1px solid var(--neutral-light); width: 100%; }
.mobile-menu .nav-links a:after { display: none; }
.mobile-menu .nav-links a:hover { color: var(--creme-brulee); border-bottom-color: var(--creme-brulee); }
.close-menu { position: absolute; top: 30px; right: 25px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--inkwell); z-index: 1003; transition: var(--transition); }
.close-menu:hover { color: var(--creme-brulee); transform: rotate(90deg); }

/* === Hero Section (okunabilirlik) === */
.hero { height: 100vh; position: relative; overflow: hidden; }
.hero-slider { height: 100%; position: relative; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  display: flex; align-items: center; opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide:nth-child(1) {
  background-image: linear-gradient(rgba(15,21,38,0.78), rgba(15,21,38,0.78)), url("assets/resim2.jpg");
}
.slide:nth-child(2) {
  background-image: linear-gradient(rgba(27,32,56,0.78), rgba(27,32,56,0.78)), url('assets/resim5.jpg');
}
.slide:nth-child(3) {
  background-image: linear-gradient(rgba(15,21,38,0.78), rgba(27,32,56,0.78)), url('assets/resim3.jpg');
}
.slide-content { max-width: 800px; padding: 0 20px; color: var(--text-light); margin-left: 10%; }
.slide-content h1, .slide-content p, .logo { text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.slider-nav { position: absolute; bottom: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 20px; z-index: 10; }
.prev-btn, .next-btn {
  background: rgba(255,255,255,0.2); border: none; color: var(--text-light); width: 50px; height: 50px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); backdrop-filter: blur(5px);
}
.prev-btn:hover, .next-btn:hover { background: rgba(255,255,255,0.4); transform: scale(1.1); }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); }
.dot.active { background-color: var(--creme-brulee); }

/* === About === */
.about { background-color: var(--au-lait); }
.about-content { display: flex; align-items: center; gap: 60px; }
.about-text { flex: 1; }
.about-image { flex: 1; }
.image-frame { position: relative; overflow: hidden; }
.image-frame:before { content: ''; position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px; border: 2px solid var(--creme-brulee); z-index: -1; }
.image-frame img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.image-frame:hover img { transform: scale(1.05); }
.stats { display: flex; margin-top: 40px; gap: 30px; }
.stat { text-align: center; padding: 20px; background: var(--text-light); border-radius: 8px; box-shadow: 0 5px 15px var(--shadow); transition: var(--transition); }
.stat:hover { transform: translateY(-5px); }
.stat h3 { font-size: 2.5rem; color: var(--creme-brulee); margin-bottom: 5px; }
.stat p { font-size: 0.9rem; margin: 0; color: var(--neutral-gray); }

/* === Projects === */
.projects { background: linear-gradient(to bottom, var(--au-lait) 0%, #f0f0f0 100%); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project-card { position: relative; overflow: hidden; height: 400px; border-radius: 8px; box-shadow: 0 5px 15px var(--shadow); transition: var(--transition); }
.project-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.project-image { width: 100%; height: 100%; position: relative; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-overlay {
  position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, rgba(15,21,38,0.9) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; color: var(--text-light);
  opacity: 0; transition: var(--transition); padding: 30px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-image img { transform: scale(1.1); }
.project-overlay h3 { font-size: 1.8rem; margin-bottom: 10px; }
.project-overlay p { margin-bottom: 20px; color: var(--neutral-light); }
.project-link {
  color: var(--text-light); text-decoration: none; border: 2px solid var(--text-light);
  padding: 10px 22px; transition: var(--transition); font-weight: 600; border-radius: 10px; display: inline-block;
}
.project-link:hover { background-color: var(--text-light); color: var(--inkwell); }

/* === Services === */
.services { background-color: var(--text-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: start;
}
.service-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--text-light); border: 1px solid var(--neutral-light);
  border-radius: 10px; padding: 40px 25px; text-align: center; width: 100%; max-width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: var(--creme-brulee); }
.service-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--creme-brulee) 0%, var(--creme-brulee-light) 100%);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--text-light); font-size: 1.6rem; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.service-card h3 { font-size: 1.2rem; margin: 8px 0 12px; color: var(--inkwell); }
.service-card p { font-size: 0.95rem; color: var(--neutral-gray); line-height: 1.6; margin: 8px 0 0; }

@media (min-width: 992px) { .service-card { min-height: 320px; } }

/* === Contact === */
.contact { background: linear-gradient(135deg, var(--inkwell) 0%, var(--lunar-eclipse) 100%); color: var(--text-light); }
.contact-content { display: flex; gap: 60px; }
.contact-info { flex: 1; }
.contact-form { flex: 1; }
.contact-details { margin-top: 30px; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.contact-item i { font-size: 1.2rem; color: var(--creme-brulee); margin-right: 15px; margin-top: 5px; }
.contact-item h4 { margin-bottom: 5px; color: var(--creme-brulee); }
.contact-item p { color: var(--neutral-light); }

.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 15px; border: 1px solid rgba(255,255,255,0.2);
  background-color: rgba(255,255,255,0.1); font-size: 1rem; transition: var(--transition);
  color: var(--text-light); border-radius: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.6); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--creme-brulee); background-color: rgba(255,255,255,0.15); }
.contact-form .btn { margin-top: 4px; }

/* === Footer (sade yapı) === */
.footer { background-color: var(--inkwell); color: var(--text-light); padding: 80px 0 20px; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
.footer-about h3 { color: var(--creme-brulee); margin-bottom: 12px; }

/* alt satır: solda telif, sağda sosyal */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); color: var(--neutral-light);
}
.footer-follow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.follow-title { font-weight: 600; color: var(--creme-brulee); font-size: 0.95rem; letter-spacing: .2px; }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background-color: rgba(255,255,255,0.1); color: var(--text-light);
  transition: var(--transition); text-decoration: none; font-size: 16px;
}
.social-icon:hover { background-color: var(--creme-brulee); color: var(--inkwell); transform: translateY(-2px); }

/* === Responsive === */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .about-content { flex-direction: column; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-content { flex-direction: column; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .intro-title { font-size: 3rem; }
  .slide-content h1 { font-size: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .slide-content { margin-left: 5%; text-align: center; }
}
@media (max-width: 576px) {
  h1 { font-size: 2.5rem; }
  .intro-title { font-size: 2.5rem; letter-spacing: 4px; }
  .slide-content h1 { font-size: 2.5rem; }
  .slider-nav { display: none; }
  .mobile-menu { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@keyframes introGrow { to { width: 100%; } }

.footer .signature{
  opacity:.85; font-weight:600; letter-spacing:.3px;
  color:#ffffffcc;
}
.footer .signature span{ color:#F3C98B; }

/* Larger logo without overflow */
header .brand-logo{ height: 150px !important;max-height: 100% !important; width: 100% !important; object-fit: contain !important; display: block; }
@media (max-width:480px){header{ height: var(--header-h-sm) !important; } header .brand-logo{ height: calc(100% - 6px) !important; max-height:72px; } }
