/* ===========================================
   GLOBAL COLORS
=========================================== */
:root {
  --primary: #F0B90B;
  --primary-dark: #cfa008;

  --bg: #111315;
  --bg2: #1A1C20;

  --text: #EAECEF;
  --muted: #848E9C;
  --border: #2B3139;
}

/* ===========================================
   RESET
=========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  overflow-x: hidden;
  background: #0f1113;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

a { 
  text-decoration: none; 
  color: inherit; 
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================================
   PIA RAIN BACKGROUND
=========================================== */
#pia-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.pia {
  position: absolute;
  color: rgba(240,185,11,0.85);
  font-weight: 700;
  opacity: 0.85;
  animation: piaFall linear infinite, piaTwinkle ease-in-out infinite;
}

@keyframes piaFall {
  0% { transform: translateY(-50px); }
  100% { transform: translateY(120vh); }
}

@keyframes piaTwinkle {
  0%,95%,100% { filter: brightness(1); }
  96% { filter: brightness(4); }
  97% { filter: brightness(2); }
}

/* ===========================================
   HEADER
=========================================== */
header {
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(240,185,11,0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;              /* MENÜ – TELEFON – TEKLİF ARASI BOŞLUK */
  padding: 14px 0;
  flex-wrap: nowrap;
}

/* ===========================================
   LOGO AREA (DESKTOP + MOBILE)
=========================================== */

/* MASAÜSTÜ LOGO */
.logo img {
  height: 75px;        /* logo boyutu MASAÜSTÜ */
  width: auto;
  object-fit: contain;
  display: block;
}

/* MOBİL LOGO ALANI */
.mobile-logo {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

/* MOBİL LOGO BOYUTLANDIRMA — BURASI ÖNEMLİ */
.mobile-logo img {
  max-width: 160px;    /* LOGO BOYUTUNU BURADAN AYARLIYORSUN */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

/* ===========================================
   DESKTOP NAV
=========================================== */
.desktop-nav ul {
  display: flex;
  list-style: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(240,185,11,0.4);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.desktop-nav ul li a {
  display: block;
  padding: 12px 22px;
  color: var(--text);
  font-weight: 500;
  transition: .25s;
  white-space: nowrap;
}

.desktop-nav ul li:not(:last-child) a {
  border-right: 1px solid rgba(240,185,11,0.3);
}

.desktop-nav ul li a:hover {
  color: var(--primary);
}

/* ===========================================
   PHONE BOX
=========================================== */
.phone-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(240,185,11,0.4);
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;          /* tek satır kalsın */
}

.phone-icon {
  color: var(--primary);
  font-size: 18px;
  margin-right: 6px;
}

.phone-text {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

/* ===========================================
   TEKLİF AL DESKTOP
=========================================== */
.desktop-offer {
  background: var(--primary);
  padding: 10px 20px;
  font-weight: 700;
  color: #000;
  border-radius: 8px;
  transition: 0.25s;
  white-space: nowrap;
}

.desktop-offer:hover {
  background: var(--primary-dark);
}

/* ===========================================
   MOBILE MENU BUTTON
=========================================== */
.mobile-menu-btn {
  display: none;
  font-size: 30px;
  color: var(--primary);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(240,185,11,0.4);
  background: rgba(255,255,255,0.05);
}

/* ===========================================
   MOBILE SIDEBAR MENU
=========================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #0e0e0e;
  border-right: 1px solid rgba(240,185,11,0.4);
  padding: 20px;
  z-index: 10000;
  transition: .35s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  left: 0;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-btn {
  font-size: 32px;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  border-bottom: 1px solid rgba(240,185,11,0.25);
  font-size: 16px;
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* MOBİL TELEFON */
.mobile-phone {
  margin-top: 18px;
  padding: 10px 0;
  color: var(--primary);
  font-weight: 600;
}

/* MOBİL TEKLİF AL */
.mobile-offer {
  display: block;
  margin-top: 20px;
  background: var(--primary);
  padding: 12px;
  text-align: center;
  color: #000;
  border-radius: 8px;
  font-weight: 700;
}

/* ===========================================
   HERO SECTION
=========================================== */
.hero {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.65)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e")
    center/cover;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.hero-light {
  position: absolute;
  top: 40%;
  left: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(240,185,11,0.25), transparent 70%);
  filter: blur(60px);
}

/* HERO TEXT ANIMATION */
.hero-title,
.hero-sub {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards ease;
}

.hero-title {
  font-size: 42px;
  max-width: 620px;
  animation-delay: .1s;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin-top: 10px;
  animation-delay: .4s;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===========================================
   SECTIONS
=========================================== */
.section { 
  padding: 70px 0; 
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}

.about-text {
  color: var(--muted);
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.45);
}

/* ===========================================
   PROJECTS
=========================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  background: var(--bg2);
  border-radius: 10px;
  overflow: hidden;
  transition: .25s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.project-body {
  padding: 16px;
}

.project-title {
  font-weight: 600;
  color: var(--text);
}

.project-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ===========================================
   CONTACT
=========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-card {
  background: #000;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

label {
  display: block;
  font-size: 14px;
  margin-top: 14px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
}

textarea.form-control {
  min-height: 120px;
}

.btn-form {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: var(--primary);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  color: #000;
}

/* ===========================================
   FOOTER
=========================================== */
footer {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  background: #000;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media(max-width: 960px) {

  .desktop-nav { display: none; }
  .phone-box { display: none; }
  .desktop-offer { display: none; }

  .mobile-menu-btn {
    display: block;
  }

  .about-grid,
  .projects-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title { font-size: 32px; }
}

/* --- Mobil Menü Sarı Yazı (Arka Plan Yok) + Konum --- */
.mobile-title-box {
  background: transparent !important; /* Arka plan tamamen yok */
  color: #d5a400 !important;          /* Sarı yazı */
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  text-align: left !important;
  padding-left: 7px;
  margin-left: 0 !important;
  margin-top: -4px;
  margin-bottom: 1px;
  display: block;
  width: 100%;
}

/* ===========================================
   PROJE DETAY SLIDER (KART TİPİ)
=========================================== */
.detail-slider {
  margin-top: 20px;
  background: #000;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.slider-card {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: center;
}

.slider-card.active {
  display: grid;
}

.slider-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.slider-card-text h4 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
}

.slider-card-text p {
  color: var(--muted);
  font-size: 14px;
}

/* Kontroller */
.slider-controls {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.slider-arrow {
  background: transparent;
  border: 1px solid rgba(240,185,11,0.7);
  color: var(--primary);
  font-size: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.slider-arrow:hover {
  background: rgba(240,185,11,0.15);
  box-shadow: 0 0 10px rgba(240,185,11,0.4);
}

.slider-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240,185,11,0.2);
  cursor: pointer;
  transition: 0.25s;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Responsive */
@media(max-width: 960px) {
  .slider-card {
    grid-template-columns: 1fr;
  }

  .slider-card-image img {
    height: 200px;
  }
}
