/* Güngör Çatı - Ortak Stil Dosyası */
:root {
  --primary: #1e3a5f;
  --primary-dark: #0f2744;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --light: #f8f9fa;
  --gray: #6c757d;
  --dark: #212529;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 10px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
}

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

img {
  max-width: 100%;
  height: auto;
}

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

/* ========== HEADER ========== */
.header {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-top {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-top a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-top a:hover {
  color: var(--accent);
}

.header-main {
  padding: 12px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.logo svg {
  width: 48px;
  height: 48px;
}

.logo span {
  line-height: 1.2;
}

.logo small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav a {
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
  background: var(--accent);
  color: #fff;
}

.phone-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.phone-btn:hover {
  background: var(--accent-hover) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(230, 126, 34, 0.15);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-icon-box {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.hero-icon-box svg {
  width: 140px;
  height: 140px;
  margin-bottom: 15px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Hizmet Kartları */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #2c5282);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: white;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Neden Biz */
.why-us {
  background: white;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: #fff3e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.feature h4 {
  color: var(--primary);
  margin-bottom: 6px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.cta p {
  margin-bottom: 24px;
  opacity: 0.95;
}

.cta .btn {
  background: white;
  color: var(--accent);
}

.cta .btn:hover {
  background: var(--primary);
  color: white;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 35px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer p, .footer a {
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer a:hover {
  color: var(--accent);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ========== PAGE HERO (iç sayfalar) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.page-hero p {
  opacity: 0.85;
}

/* ========== İLETİŞİM FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.info-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========== HİZMET DETAY ========== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail img,
.service-detail .img-placeholder {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.img-placeholder {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder svg {
  width: 80px;
  height: 80px;
  fill: var(--primary);
  opacity: 0.5;
}

/* ========== GALERİ ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-img {
  height: 200px;
  background: linear-gradient(135deg, #e2e8f0, #a0aec0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img svg {
  width: 60px;
  height: 60px;
  fill: var(--primary);
  opacity: 0.4;
}

.gallery-item .caption {
  padding: 14px 16px;
}

.gallery-item .caption h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-item .caption p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail.reverse {
    direction: ltr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 15px;
    box-shadow: var(--shadow);
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 1.9rem;
  }
  .services-grid,
  .features,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .header-top .container {
    justify-content: center;
  }
}