html {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

nav.main-navbar {
  position: sticky;
  top: 0;
  background-color: #1c1f22;
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-area .navbar-brand {
  color: white;
  font-size: 1.2rem;
  line-height: 1.1;
  text-align: center;
}

/* Hamburger Menü Butonu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Logo altı */
    left: 0;
    width: 100%;
    background-color: #111; /* Menü arka planı siyah */
    padding: 20px;
    z-index: 1000;
  }
  
	
  .nav-links.active {
    display: flex;
  }
  
    .hamburger-menu {
    display: flex;
  }
}
  

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.nav-links a:hover {
  color: #ff3c3c;
  background-color: rgba(255, 60, 60, 0.1);
}

/* HEADER */
header {
  background: url('https://erkincelik.com/wp-content/uploads/2024/07/celik-konstruksiyon-hakkinda-03.jpg') center/cover no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: white;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

header h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.5rem, 8vw, 4rem);
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem 3rem;
  border-radius: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  margin: 0;
}

/* SECTION GENEL */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto 60px;
  text-align: center;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #cc0000;
}

/* HAKKIMIZDA */
.about-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 60px 30px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.about-text, .about-image {
  flex: 1 1 350px;
}

.about-text h2 {
  color: #000;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* HİZMETLER */
.services-section {
  background-color: #f8f8f8;
  padding: 40px 20px 60px;
}

.services-section h2 {
  color: #000;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
  text-align: center;
}

.service-box:hover {
  transform: scale(1.05);
}

.service-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-box p {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 15px 0 8px;
  color: #222;
}

.service-box small {
  font-size: 0.9rem;
  color: #666;
  padding: 0 15px;
  display: block;
}

/* GALERİ */
#gallery {
  background: #f7f7f7;
  padding: 60px 20px;
}

#gallery h2 {
  color: #000;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* REFERANS PROJELER */
#projects {
  background: white;
  padding: 60px 20px;
}

#projects h2 {
  color: #000;
  margin-bottom: 30px;
}

.projects-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.project-card h3 {
  color: #000;
  margin: 0;
  font-size: 1.3rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 2px 0;
  line-height: 1.4;
  text-align: center;
}

.project-img, .project-img-1, .project-img-2 {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Özel arka plan görselleri */
.project-img {
  background-image: url('https://sisikler.net/wp-content/uploads/2019/08/Bu%cc%88yu%cc%88k-yal%c4%b1-scaled.jpg');
}

.project-img-1 {
  background-image: url('https://sisikler.net/wp-content/uploads/2000/06/halk-gyo-1-1920x2880.jpg');
}

.project-img-2 {
  background-image: url('https://sisikler.net/wp-content/uploads/2019/06/my-new-work-1920x2880.jpg');
}

/* İLETİŞİM */
#contact {
  background: #f2f2f2;
  padding: 60px 20px;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-container h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #000;
}

.contact-container p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.contact-box {
  background: white;
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  min-width: 250px;
  text-align: center;
}

.contact-box h3 {
  color: #000;
  margin-bottom: 12px;
}

.contact-box p, .contact-box a {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  word-wrap: break-word;
}

a.button {
  display: inline-block;
  background: #cc0000;
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

a.button:hover {
  background: #a60000;
}

/* MESAJ BIRAKIN */
#message {
  background: linear-gradient(to right, #f7f7f7, #eaeaea);
  padding: 80px 20px;
  text-align: center;
}

.message-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

.message-header h2 {
  font-size: 2.4rem;
  color: #000;
  margin-bottom: 10px;
}

.message-header p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
}

.message-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.message-form .form-group {
  width: 100%;
}

.message-form input,
.message-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.message-form input:focus,
.message-form textarea:focus {
  border-color: #cc0000;
  box-shadow: 0 0 8px rgba(204, 0, 0, 0.2);
  background-color: #fff;
  outline: none;
}

.message-form textarea {
  resize: vertical;
  min-height: 150px;
}

.message-form button.button {
  background: #cc0000;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.message-form button.button:hover {
  background: #a60000;
}

/* Konum kutusu */
.location-box {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  max-width: 1100px;
  margin: 30px auto;
}

/* Yazı alanı ve harita eşit genişlikte */
.location-text, .map-container {
  flex: 1 1 400px;
  padding: 30px;
  box-sizing: border-box;
}

/* Başlık ve yazı ortalanmış */
.location-text h2 {
  color: #cc0000;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.location-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}

/* Haritanın responsive ve yuvarlak köşeleri */
.map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

/* Küçük ekranlarda dikey yığılma */
@media (max-width: 768px) {
  .location-box {
    flex-direction: column;
  }
  .location-text, .map-container {
    flex: 1 1 100%;
    padding: 20px;
  }
  .location-text h2 {
    font-size: 2rem;
  }
}

/* KONUM */
#location {
  background: #f2f2f2;
  padding: 60px 20px;
  text-align: center;
}

.location-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.location-text, .map-container {
  flex: 1 1 400px;
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
}

#location h2 {
  color: #000;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

/* FOOTER */
footer {
  background-color: #222; /* Footer arka plan rengi */
  color: white; /* Yazı rengi beyaz */
  padding: 20px;
  text-align: center;
}t-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between; /* Sol ve sağ öğeleri birbirinden ayırır */
  align-items: center;
  width: 100%;
}

.footer-content p {
  margin: 0; /* Sol metin için boşluk yok */
}

.footer-content a {
  text-decoration: none; /* Alt çizgi yok */
  color: white; /* Yazı rengi beyaz */
  font-weight: bold; /* Kalın yazı */
}

.footer-content a:hover {
  color: #ff4500; /* Hover sırasında renk değişimi */
}

/* LIGHTBOX */
#lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .nav-links {
    justify-content: center;
    gap: 10px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image {
    width: 100%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: column;
    gap: 20px;
  }

  .location-flex {
    flex-direction: column;
  }

  #location h2 {
    font-size: 2rem;
  }
}
  .legal-contact {
  background: #f5f5f5;
  padding: 40px 20px;
  color: #333;
}
.legal-contact .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.legal-contact .legal,
.legal-contact .contact {
  flex: 1 1 300px;
}
.legal-contact h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #000;
}
.legal-contact p {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-legal-contact .container {
    flex-direction: column;
  }
}
