/* Genel Ayarlar & CSS Değişkenleri */
:root {
  --ana-renk: #1E90FF;
  --secondary-color: #0e75d1; /* Mavi'nin koyu tonu */
  --koyu-gri: #333;
  --beyaz: #fff;
  --arka-plan-koyu: #111;
  --kart-arka-plan: #1a1a1a;
  --golge-hafif: rgba(0,0,0,0.15);
  --golge-orta: rgba(0,0,0,0.3);
  --header-yukseklik: 90px;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Roboto', sans-serif; 
}
body { 
  display: flex; 
  flex-direction: column; 
  min-height: 100vh; 
  color: var(--koyu-gri); 
  scroll-behavior: smooth; 
}
main { 
  flex: 1; 
}
a { 
  text-decoration: none; 
  color: inherit; 
}
img, video { 
  display: block; 
  max-width: 100%; 
  height: auto;
}

/* Başlıklara anchor ile giderken header altında kalmasın */
section[id] { 
  scroll-margin-top: calc(var(--header-yukseklik) + 20px); 
}

/* Header */
header {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 1000;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 15px 5%; 
  background: transparent;
  transition: background 0.5s, box-shadow 0.5s, padding 0.5s;
}
header.scrolled { 
  background: var(--beyaz); 
  box-shadow: 0 4px 20px var(--golge-hafif); 
  padding: 12px 5%; 
}

/* Logo */
header img { 
  height: 80px; 
  transition: height 0.5s;
}
header.scrolled img {
  height: 65px;
}
@media(max-width: 768px){ 
  header img{ height: 50px; } 
  header.scrolled img { height: 45px; }
}

/* Nav */
header nav a { 
  margin: 0 15px; 
  font-weight: 500; 
  transition: color 0.5s ease; 
  color: var(--beyaz); 
}
header.scrolled nav a { 
  color: var(--koyu-gri); 
}
@media(max-width: 768px){
  header nav { display: none; } /* Mobil menü için gizli */
}
/* Header'daki butonları yan yana getirmek için yeni eklenen kod */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px; /* Butonlar arasına 15 piksel boşluk bırakır. Bu değeri istediğiniz gibi değiştirebilirsiniz. */
}

/* CTA Button */
.cta-btn{
  padding: 10px 22px; 
  background: var(--ana-renk); 
  color: var(--beyaz); 
  border-radius: 4px;
  font-weight: 600; 
  transition: background 0.5s, transform 0.3s;
}
.cta-btn:hover{ 
  background: var(--secondary-color); /* Yeni tanımladığımız koyu mavi renk */
  transform: scale(1.05);
}
/* Butonlardaki ikonlar ve metin arasına boşluk ekler */
.cta-btn i {
    margin-right: 8px; /* Metinden 8 piksel boşluk bırakır */
}
header.scrolled .cta-btn{ 
  background: var(--ana-renk); 
  color: var(--beyaz); 
}

/* Hero */
.hero { 
  position: relative; 
  height: 100vh; 
  width: 100%; 
  overflow: hidden; 
}
.hero video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}
.hero-overlay {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  text-align: center; 
  color: var(--beyaz); 
  padding: 0 20px;
  transition: transform 0.2s ease-out;
}
.hero-overlay h1, 
.hero-overlay p, 
.hero-overlay .hero-btn {
  opacity: 0; 
  transform: translateY(20px); 
  animation-fill-mode: forwards;
}
.hero-overlay h1 { 
  font-size: 3rem; 
  margin-bottom: 20px; 
  animation: fadeUp 1s ease 0.5s forwards; 
}
.hero-overlay p { 
  font-size: 1.2rem; 
  max-width: 700px; 
  margin-bottom: 25px; 
  animation: fadeUp 1s ease 1s forwards; 
}
.hero-overlay .hero-btn {
  background: linear-gradient(135deg, var(--ana-renk), #0e75d1);
  padding: 14px 35px;
  font-size: 1.1rem;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  animation: fadeUp 1s ease 1.5s forwards;
  transition: all 0.3s ease;
}
.hero-overlay .hero-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
@keyframes fadeUp { 
  from {opacity: 0; transform: translateY(20px);} 
  to {opacity: 1; transform: translateY(0);} 
}
@media(max-width: 768px){
  .hero-overlay h1 { font-size: 2.2rem; }
  .hero-overlay p { font-size: 1rem; }
  .hero-overlay .hero-btn { padding: 12px 25px; font-size: 1rem; }
}

/* Hizmetler */
.services { 
  padding: 100px 5%; 
  background: var(--arka-plan-koyu); 
  color: var(--beyaz); 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 30px; 
}
.service-card { 
  flex: 1 1 250px; 
  background: var(--kart-arka-plan); 
  padding: 30px; 
  border-radius: 10px; 
  text-align: center; 
  transition: transform 0.3s, box-shadow 0.3s, opacity 1s; 
  opacity: 0; 
  transform: translateY(20px);
}
.service-card.visible { 
  opacity: 1; 
  transform: translateY(0); 
}
.service-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.service-card h3 { 
  color: var(--ana-renk); 
  margin-bottom: 15px; 
  font-size: 1.3rem; 
}
.service-card p { 
  font-size: 0.95rem; 
  line-height: 1.5; 
}
@media(max-width: 768px){
  .services { padding: 60px 5%; }
  .service-card { flex-basis: 100%; }
}

/* Stüdyo Tanıtımı */
.studio-section { 
  display: flex; 
  flex-wrap: wrap; 
  padding: 100px 5%; 
  align-items: center; 
  gap: 50px; 
  opacity: 0; 
  transform: translateY(20px); 
  transition: 1s; 
}
.studio-section.visible { 
  opacity: 1; 
  transform: translateY(0); 
}
.studio-text { 
  flex: 1 1 400px; 
}
.studio-text h2 { 
  color: var(--ana-renk); 
  font-size: 2rem; 
  margin-bottom: 20px; 
}
.studio-text p { 
  line-height: 1.7; 
  font-size: 1rem; 
}
.studio-images { 
  flex: 1 1 400px; 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 15px; 
}
.studio-images img { 
  width: 100%; 
  border-radius: 10px; 
  transition: transform 0.3s; 
}
.studio-images img:hover { 
  transform: scale(1.05); 
}
@media(max-width: 768px){
  .studio-section { 
    flex-direction: column; 
    padding: 60px 5%;
  }
}

/* Dekor Galeri */
.decor-section { 
  padding: 80px 5%; 
  opacity: 0; 
  transform: translateY(20px); 
  transition: 1s; 
}
.decor-section.visible { 
  opacity: 1; 
  transform: translateY(0); 
}
.decor-section h2 { 
  text-align: center; 
  color: var(--ana-renk); 
  margin-bottom: 40px; 
  font-size: 2rem; 
}
.decor-gallery { 
  column-count: 3; 
  column-gap: 20px; 
}
.decor-gallery img { 
  width: 100%; 
  margin-bottom: 20px; 
  border-radius: 10px; 
  transition: transform 0.3s; 
}
.decor-gallery img:hover { 
  transform: scale(1.05); 
}
@media(max-width: 992px){ 
  .decor-gallery { 
    column-count: 2; 
    column-gap: 15px;
  } 
}
@media(max-width: 768px){
  .decor-section { padding: 40px 5%; }
  .decor-gallery { 
    column-count: 1; 
  }
}

/* Contact */
.contact-section { 
  padding: 80px 5%; 
  text-align: center; 
  background: var(--ana-renk); 
  color: var(--beyaz); 
}
.contact-section h2 { 
  font-size: 2rem; 
  margin-bottom: 15px; 
}
.contact-section p { 
  margin-bottom: 8px; 
  font-size: 1rem; 
}
.contact-section a { 
  color: var(--beyaz); 
  font-weight: 600; 
}
/* İletişim Butonları */
.contact-buttons {
  display: flex;
  flex-wrap: wrap; /* Küçük ekranlarda alt satıra geçmesini sağlar */
  justify-content: center; /* Butonları ortalar */
  gap: 15px; /* Butonlar arasına boşluk bırakır */
  margin-top: 25px; /* İletişim bilgilerinden biraz aşağıda konumlandırır */
}

/* Footer */
footer { 
  background: #222; 
  color: var(--beyaz); 
  padding: 40px 5%; 
  text-align: center; 
  font-size: 0.9rem; 
}
@media(max-width: 768px){
  footer { padding: 20px 5%; }
}

/* Rezervasyon Sayfası Stilleri */
body.rezervasyon main {
  padding-top: calc(var(--header-yukseklik) + 30px);
  padding-bottom: 50px;
  background-color: #f7f7f7;
}
body.rezervasyon h1 {
  color: var(--ana-renk);
  margin-bottom: 10px;
  text-align: center;
}
body.rezervasyon main p {
  color: var(--koyu-gri);
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
  text-align: center;
}

/* Form stilleri */
form { 
  background: #fff; 
  padding: 40px; 
  border-radius: 10px; 
  box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
  max-width: 900px; 
  margin: 0 auto; 
}
.form-group { 
  margin-bottom: 20px; 
}
label { 
  display: block; 
  margin-bottom: 6px; 
  font-weight: 500; 
}
input, textarea, select { 
  width: 100%; 
  padding: 12px 15px; 
  border: 1px solid #ccc; 
  border-radius: 6px; 
  font-size: 1rem; 
  transition: 0.3s; 
}
input:focus, textarea:focus, select:focus { 
  border-color: #1E90FF; 
  outline: none; 
  box-shadow: 0 0 5px rgba(30,144,255,0.3); 
}
textarea { 
  resize: vertical; 
  min-height: 120px; 
}

/* Saatler yan yana olsun diye eklenen kod */
.time-group {
    display: flex;
    gap: 20px;
}
.time-group > div {
    flex: 1;
}
/* Gönder butonunu güzelleştirelim */
button {
  width: 100%; /* Butonu tüm genişliğe yayar */
  padding: 15px;
  background: linear-gradient(45deg, #1E90FF, #0e75d1); /* Yumuşak gradyan ekler */
  color: #fff;
  border: none;
  border-radius: 10px; /* Daha yumuşak kenarlar */
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4); /* Butona gölge ekler */
}
button:hover {
  transform: translateY(-3px); /* Butonun hafif yukarı çıkma efekti */
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6); /* Daha belirgin gölge */
}
/* Başarı mesajını başlangıçta gizler */
.success-message {
  display: none;
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  font-weight: 500;
  opacity: 0; /* JavaScript animasyonu için başlangıç opaklığı */
}
/* İletişim Formu Bölümü */
.contact-form-section {
    padding: 80px 5%;
    background-color: #f7f7f7;
    text-align: center;
}

.contact-form-section h2 {
    /* Buradaki diğer stilleriniz kalabilir */
}

/* Bu kısım boşluğu ekler */
.contact-form-section p {
    text-align: center;
    margin-bottom: 25px; /* Bu değeri artırarak veya azaltarak boşluğu ayarlayabilirsiniz */
}

/* Form alanlarını ortalar */
.contact-form-section form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

/* Mesajları varsayılan olarak gizler */
.success-message,
.error-message {
    display: none;
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
}

 
