/* Demirdöğen Cam Balkon - CSS Stilleri */

/* CSS Reset ve Temel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Renk Paleti - Nötr ve güven veren renkler */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Ölçüler */
  --container-width: 1200px;
  --header-height: 70px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  padding-bottom: 60px; /* Sabit iletişim çubuğu için alan */
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Üst Menü */
.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-weight: 600;
}

.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #25D366;
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 600;
}

.nav-whatsapp:hover {
  background-color: #20bd5a;
  color: var(--text-white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

/* Hero Bölümü */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-white);
  padding: 80px 0;
  text-align: center;
}

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

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #25D366;
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Bölüm Başlıkları */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1.1rem;
}

/* Hizmetler Bölümü */
.services {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Neden Bizi Tercih Etmelisiniz */
.why-us {
  background-color: var(--bg-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.why-item {
  text-align: center;
}

.why-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.why-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.why-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Hizmet Bölgesi */
.service-area {
  background-color: var(--bg-light);
}

.area-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.area-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.area-info p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.7;
}

.area-note {
  font-size: 0.95rem;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* Sık Sorulan Sorular */
.faq {
  background-color: var(--bg-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--bg-light);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 20px 24px;
  color: var(--text-light);
  line-height: 1.7;
  border-top: 1px solid var(--border-color);
}

.faq-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* İletişim Bölümü */
.contact {
  background-color: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.contact-phone,
.contact-whatsapp,
.contact-area {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--text-white);
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-section h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section p {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Sabit İletişim Çubuğu (Mobil) */
.fixed-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  z-index: 1000;
}

.fixed-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  gap: 4px;
}

.fixed-phone {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.fixed-phone:hover {
  background-color: var(--primary-dark);
}

.fixed-whatsapp {
  background-color: #25D366;
  color: var(--text-white);
}

.fixed-whatsapp:hover {
  background-color: #20bd5a;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link,
  .nav-phone,
  .nav-whatsapp {
    display: block;
    text-align: center;
    padding: 12px;
  }

  .nav-phone,
  .nav-whatsapp {
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .area-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    margin-top: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  section {
    padding: 60px 0;
  }

  .service-card {
    padding: 24px;
  }

  .logo {
    height: 40px;
  }

  .brand-name {
    font-size: 1rem;
  }
}

/* Klavye Erişilebilirliği */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Stilleri */
@media print {
  .header,
  .fixed-contact-bar,
  .hero-buttons,
  .contact-actions {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}
