/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fafafa;
}

/* Genel Yerleşim ve Container */
.inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-left: 15px;
}

.social-icon {
  height: 30px; /* Suyapi logosuyla aynı yükseklik */
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}


.social-icon:hover {
  opacity: 0.7;
}


.language-selector {
  font-weight: 600;
}
.language-selector a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
}
.language-selector a:hover {
  color: #1D7EA9;
}

.logo-area {
  display: flex;
  align-items: center; /* Dikeyde ortala */
  gap: 40px; /* Suyapi ile sosyal ikonlar arası boşluk */
}

.logo {
  height: 45px;
  width: auto;
}

.hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.hamburger .line {
  width: 100%;
  height: 3px;
  background-color: #333;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 200px;
  height: 100vh;
  background-color: #f5f5f5;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  z-index: 998;
  padding-top: 60px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
}
.mobile-menu li {
  border-bottom: 1px solid #ddd;
}
.mobile-menu a {
  display: block;
  padding: 15px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.mobile-menu a:hover {
  background-color: #e0e0e0;
}

/* Ana Bölümler */
.section {
  padding: 80px 20px 60px;
  min-height: 100vh;
}

/* Hero Section */
.home-section {
  position: relative;
  min-height: 100vh;
  background: url('../images/gray-background.jpg') no-repeat center center/cover;
  overflow: hidden;
}
.home-section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.2) 75%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1;
}
.hero-left-center-text {
  position: absolute;
  bottom: 7%;
  left: 20px;
  z-index: 2;
  color: #000;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.hero-left-center-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-left-center-text p {
  font-size: 1.2rem;
}
.hero-logo {
  width: 120px;
  height: auto;
  vertical-align: bottom;
  margin-right: 10px;
}


/* About Us */
.about-section {
  background-color: #ffffff;
  display: flex;
  align-items: center;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.about-text {
  flex: 1 1 60%;
  padding-right: 20px;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.about-text p {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.7;
}

.about-carousel {
  flex: 1 1 35%;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide img {
  width: 100%;
  flex-shrink: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.5rem;
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

/* Products */
.products-section h2 {
  text-align: center;
  margin-bottom: 30px;
}
.product-card {
  text-decoration: none;
  color: inherit;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.product-card {
  background-color: #fff;
  border-radius: 8px;
  width: 300px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.product-card img {
  width: auto;
  max-height: 180px;
  margin-bottom: 15px;
  display: block;
}
.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

/* Bayilikler */
.dealers-section {
  background-color: #fff;
  padding: 60px 20px;
}
.dealers-section h2 {
  text-align: center;
  margin-bottom: 20px;
}
.dealers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.dealers-grid img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Contact Info */
.contact-info-section {
  background-color: #f5f5f5;
  text-align: center;
}
.contact-info-section h2 {
  margin-bottom: 20px;
}

.map-container {
  width: 100%;
  max-width: 100%;
  height: 400px;
  margin-top: 20px;
  position: relative;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
}

/* Footer */
.footer {
  background-color: #222;
  color: #ccc;
  padding: 20px;
}
.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  flex: 0 0 auto;
}
.footer-logo-img {
  height: 40px;
  width: auto;
}
.footer-text {
  flex: 1 1 auto;
  text-align: center;
}
.footer-text p {
  font-size: 0.9rem;
}
.footer-text a {
  color: #fff;
  text-decoration: underline;
}
.footer-text a:hover {
  color: #ddd;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }
  .about-text {
    padding-right: 0;
    text-align: center;
  }
  .about-carousel {
    margin-top: 20px;
  }
  .product-cards {
    flex-direction: column;
    align-items: center;
  }
  .dealers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-left-center-text {
    font-size: 1.8rem;
    left: 10px;
    bottom: 15%;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    margin: 10px 0;
  }
  .footer-text {
    order: 3;
  }
}
