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

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  flex-wrap: wrap;
}

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

.logo img {
  height: 50px;
}

.logo span {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}


.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  padding: 8px 14px;
}


.nav-links a.active {
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
}

/* Ana Sayfa - Hero */
.home-page .hero {
  background: url('rafineri.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 160px 20px;
  position: relative;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.home-page .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.home-page .hero h1 {
  font-size: 2.8rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  margin-bottom: 30px;
}

.home-page .partner-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.home-page .honeywell-logo {
  height: 120px;
  margin-bottom: 10px;
}

.home-page .solution-partner {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.home-page .cta-btn {
  display: inline-block;
  margin-top: 24px;
  background: #f26522;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.home-page .cta-btn:hover {
  background: #d7541a;
}

/* Hakkımızda Bölümü */
.about-us {
  padding: 60px 40px;
  background-color: #fff;
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Hizmetler Sayfası */
.services-page .services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.services-page .service-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 320px;
  padding: 20px;
  transition: transform 0.2s;
}

.services-page .service-item:hover {
  transform: translateY(-5px);
}

.services-page .service-item h3 {
  color: #004080;
  margin-top: 12px;
  font-size: 1.2rem;
}

.services-page .service-item ul {
  padding-left: 20px;
  margin-top: 10px;
  font-size: 0.95rem;
}

.services-page .service-item p {
  font-size: 0.95rem;
  margin: 10px 0;
}

.services-page .service-icon img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Referanslar Sayfası */
.references {
  padding: 80px 40px;
  background: url('rafineri.jpg') no-repeat center center / cover;
  text-align: center;
  color: white;
  position: relative;
  margin-top: 60px;
}

.references::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.reference-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
  padding: 40px 0;
}

.ref-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ref-item img {
  width: 180px;
  height: auto;
  filter: brightness(1);
}

/* İletişim Sayfası */
.contact-container {
  background: url('contact-bg.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.contact-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #004080;
}

.contact-info p {
  margin: 15px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #007bff;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .home-page .hero h1 {
    font-size: 2rem;
  }

  .home-page .solution-partner {
    font-size: 1.2rem;
  }

  .home-page .honeywell-logo {
    height: 90px;
  }

  .about-us {
    padding: 30px 20px;
  }

  .services-page .service-item {
    width: 100%;
  }

  .ref-item img {
    width: 140px;
  }
}

/* Ana Sayfa Görsel Galerisi */
.image-gallery {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  font-weight: bold;
  color: #004080;
  margin-bottom: 30px;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery-item {
  flex: 1 1 500px;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  padding: 10px;
  background-color: #f0f4f8;
  font-size: 0.95rem;
  color: #333;
  text-align: center;
  border-top: 1px solid #ddd;
}

/* Hizmetlerimiz Özeti */
.home-page .services-summary {
  background-color: #0d1117;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.home-page .services-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #f26522;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-page .services-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.home-page .service-box {
  background-color: #1e2732;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s;
}

.home-page .service-box:hover {
  transform: translateY(-8px);
  background-color: #263041;
}

.home-page .service-number {
  font-size: 2.5rem;
  opacity: 0.3;
  margin-bottom: 10px;
}

.home-page .service-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.home-page .service-desc {
  font-size: 0.95rem;
  color: #ddd;
}




.news-section {
  background-color: #000;
  padding: 60px 20px;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease;
}

.news-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  border-bottom: 2px solid #f26522;
  padding-bottom: 12px;
  text-align: center;
  color: #f26522;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-item {
  background-color: #111;
  margin-bottom: 20px;
  padding: 20px 24px;
  border-radius: 10px;
  border: 1px solid #333;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.news-item:hover {
  background-color: #1c1c1c;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.08);
}

.news-text {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: #fff;
  font-weight: 500;
}

.news-date {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-date i {
  color: #f26522;
  transition: transform 0.3s ease;
}

.news-item:hover .news-date i {
  transform: scale(1.2);
}

/* Animasyon */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Modern Contact Section */

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #f4f4f4;
  color: #333;
}

.contact-modern {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #004080;
}

.contact-header p {
  font-size: 1rem;
  color: #666;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info-cards {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card i {
  font-size: 1.8rem;
  color: #f26522;
  margin-bottom: 8px;
}

.contact-card h4 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
  color: #004080;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  margin: 2px 0;
  color: #333;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-map {
  flex: 1 1 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}


/* Refined Contact Styles */

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #f2f2f2;
  color: #333;
}

.contact-refined {
  max-width: 1100px;
  margin: 60px auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 2rem;
  color: #004080;
}

.contact-header p {
  color: #555;
  font-size: 1rem;
}

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-details {
  flex: 1 1 450px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #f9f9f9;
  padding: 20px;
  border-left: 4px solid #f26522;
  border-radius: 6px;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card i {
  margin-right: 10px;
  color: #f26522;
}

.contact-card a {
  color: #004080;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-map {
  flex: 1 1 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}


.services-page .services-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 20px;
  align-items: center;
}

.services-page .service-item {
  display: flex;
  flex-direction: row;
  gap: 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  width: 100%;
  max-width: 1000px;
}

.services-page .service-icon {
  flex: 0 0 220px;
  max-width: 220px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-page .service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.services-page .service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-page .service-content h3 {
  color: #004080;
  margin: 0 0 12px 0;
  font-size: 1.3rem;
}

.services-page .service-content ul {
  padding-left: 20px;
  margin: 0;
  font-size: 0.95rem;
}

.services-page .service-content p {
  margin: 0 0 10px 0;
}


.services-page .shift-left {
  margin-left: 0 !important;
  padding-left: 0 !important;
}


/* Responsive düzeltme */
@media (max-width: 768px) {
  .services-page .service-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .services-page .service-icon {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .services-page .service-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .services-page .service-content {
    padding: 10px 0;
  }
}

/* Hover efekti */
.services-page .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


/* Yeni servis için hafif fade-in animasyonu */
@keyframes fadeInService {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-page .service-item {
  animation: fadeInService 0.8s ease forwards;
}

.about-us {
  background-color: #fefefe;
  padding: 80px 30px;
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.about-us strong {
  color: #004080;
}

.about-us p {
  margin-bottom: 24px;
}

.about-us .vision-box {
  background: #f0f4ff;
  padding: 30px;
  border-left: 6px solid #f26522;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: #003366;
}

.news-item h3.news-title {
  color: #f26522;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.footer-links {
  margin: 10px 0;
}

.footer-links a {
  margin: 0 10px;
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}


.language-switcher {
  margin-left: auto;
  margin-top: 10px;
}
.lang-btn {
  padding: 6px 12px;
  margin-left: 10px;
  background-color: #f26522;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.lang-btn:hover {
  background-color: #d7541a;
}


/* Header hizalama düzeltmeleri */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .nav-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.language-switcher {
  margin-left: 20px;
}

/* Bayrak ikonlu dil seçici */

.language-switcher {
  margin-left: auto;
  margin-top: 10px;
}
.lang-btn {
  padding: 6px 12px;
  margin-left: 10px;
  background-color: #f26522;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-btn:hover {
  background-color: #d7541a;
}
.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}
