/*
Theme Name: Rota-Oto Theme
Theme URI: https://rota-oto.com
Author: ATK Codes
Description: Rota Otomotiv için özel geliştirilmiş WordPress teması.
Version: 1.0
*/

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #111; /* Siyah baskın */
  color: #fff;
}

a {
  color: #e60000; /* Kırmızı ton */
  text-decoration: none;
}

.site-header {
  background-color: #000;
  padding: 20px 0;
  border-bottom: 2px solid #e60000;
}

.site-header .logo a {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.main-menu {
  margin-top: 10px;
}

.main-menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

.main-menu li {
  display: inline;
}

.main-menu a {
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

.main-menu a:hover {
  color: #e60000;
}

.slider-alani {
  background-color: #000;
  padding: 40px 20px;
  text-align: center;
}

.slide-kirmizi {
  color: #e60000; /* kırmızı */
}

.slide-beyaz {
  color: #fff; /* beyaz */
}

.slider .slide {
  font-size: 24px;
  margin: 10px 0;
  animation: fadein 6s infinite;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Ana sayfa */
body.page-id-2 {
  background: #000;
  color: #fff;
}

.hero {
  background: url("./assets/slider-logo.png") no-repeat center center;
  background-size: contain;
  background-color: #000;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-overlay {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}

.hero-overlay h1 {
  font-size: 3rem;
  color: #f00;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.5rem;
  color: #fff;
}

.hero-icerik h1 {
  font-size: 3rem;
  color: #f00;
}

.hero-icerik p {
  font-size: 1.5rem;
  color: #fff;
}

.hizmet-ozet {
  padding: 50px 20px;
  text-align: center;
}

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

.hizmet-box {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}

.reklam-banner {
  background: #f00;
  padding: 20px;
  text-align: center;
}

.reklam-metin {
  color: #fff;
  font-weight: bold;
}

/* Hizmetlerimiz */
body.page-id-260 {
  background: #000;
  color: #fff;
}

.modern-hizmetler {
  padding: 40px 20px;
  text-align: center;
}

.hizmetler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.hizmet-kart {
  background-color: #1a1a1a;
  color: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.hizmet-kart:hover {
  transform: translateY(-6px);
}

.hizmet-kart i {
  font-size: 32px;
  margin-bottom: 10px;
  color: #facc15; /* Sarı ikon */
}

.hizmet-kart h3 {
  margin-bottom: 10px;
}

.fiyat-tablosu {
  margin: 60px auto;
  max-width: 800px;
  padding: 20px;
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
}

.fiyat-tablosu h2 {
  margin-bottom: 20px;
  color: #ffcc00;
}

.fiyat-tablosu table {
  width: 100%;
  border-collapse: collapse;
  color: white;
}

.fiyat-tablosu th,
.fiyat-tablosu td {
  padding: 15px;
  border: 1px solid #333;
}

.fiyat-tablosu th {
  background-color: #2a2a2a;
  color: #ffcc00;
  font-weight: bold;
}

/* Tamamlanan İşler */
body.page-id-262 {
  background-color: #000;
  color: white;
  padding: 40px;
}

.wp-block-paragraph {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 20px;
}

.video-alani {
  text-align: center;
  margin: 40px auto;
  max-width: 960px;
  padding: 0 20px;
}

.video-alani video {
  width: 100%;
  max-height: 520px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  outline: none;
  background-color: transparent;
  object-fit: cover;
}

.wp-block-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

/* Hakkımızda */
body.page-id-275 {
  background-color: #000;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
}

.hakkimizda-container {
  max-width: 1000px;
  margin: 80px auto;
  padding: 40px;
  background: #111;
  border-left: 6px solid #e60000;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.hakkimizda-kutu h1 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #e60000;
  text-align: left;
  position: relative;
  padding-bottom: 10px;
}

.hakkimizda-kutu h1::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #e60000;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.hakkimizda-kutu p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.sayfa-imza {
  text-align: center;
  margin-top: 60px;
  font-size: 16px;
  color: #e60000;
  opacity: 0.5;
  letter-spacing: 1px;
}

.misyon-vizyon-blok {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 60px;
  justify-content: space-between;
}

.misyon,
.vizyon {
  flex: 1 1 45%;
  background-color: #111;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
  border-left: 4px solid #e60000;
}

.misyon h2,
.vizyon h2 {
  color: #e60000;
  font-size: 22px;
  margin-bottom: 10px;
}

.misyon p,
.vizyon p {
  font-size: 16px;
  color: #eee;
  line-height: 1.6;
  text-align: justify;
}

/* İletişim Sayfası.*/
body.page-id-277 {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}

.iletisim-wrapper {
  max-width: 900px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
}

.konum-buton a {
  display: inline-block;
  background-color: #ff0000;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.konum-buton a:hover {
  background-color: #cc0000;
}

.iletisim-kutu {
  background-color: #111;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.ikon {
  font-size: 24px;
  color: #ff0000;
}

.metinler h3 {
  margin: 0;
  color: #ff0000;
  font-size: 18px;
}

.metinler p {
  margin: 5px 0 0;
}

.rota-imza {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 20px;
}

.rota-imza span {
  display: inline-block;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-bottom: 2px solid red;
  padding-bottom: 5px;
  letter-spacing: 1px;
}
.rota-imza strong {
  color: red;
}

.rota-servis-bold {
  text-align: center;
  margin-top: 60px;
  font-size: 24px;
  font-weight: bold;
  color: #ff0000;
  letter-spacing: 2px;
}

.whatsapp-buton a {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  margin-bottom: 1px;
}

.whatsapp-buton a:hover {
  background-color: #1da851;
}

/* Tamamlanan İşler Sayfası.*/
body.page-id-271 {
  background-color: #000;
  color: white;
  padding: 40px 20px;
  font-family: sans-serif;
}

.tamamlanan-baslik {
  color: #ffd700;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
}

.tamamlanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  padding: 40px 20px;
}

.tamamlanan-kart {
  width: 250px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #1c1c1c;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.tamamlanan-kart .bg-gorsel {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
