/* ===============================
   HAYAL GARDEN - PREMIUM STYLE
   =============================== */

/* -- RESET & BASE -- */
:root {
  /* Renk Paleti */
  --primary: #d47790;       /* Gül Kurusu */
  --primary-dark: #b65c75;  /* Koyu Gül */
  --secondary: #2c2c2c;     /* Koyu Antrasit (Metin) */
  --text-light: #666666;    /* Gri Metin */
  --bg-light: #f9f9f9;      /* Açık Gri Arkaplan */
  --white: #ffffff;
  
  /* Gölgeler & Efektler */
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--secondary);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif; /* Premium his için serif font */
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; border-radius: var(--radius); }
ul { list-style: none; }

/* -- LAYOUT -- */
.wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section { padding: 100px 0; }
.section.light-bg { background-color: var(--bg-light); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-head .sub-head {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}
.section-head h3 { font-size: 2.5rem; margin-bottom: 15px; }

/* -- BUTTONS -- */
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(212, 119, 144, 0.4);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 119, 144, 0.6);
}

.btn-ghost {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
}
.btn-ghost:hover { background-color: var(--primary); color: white; }

/* -- HEADER -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); /* Buzlu cam efekti */
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: padding 0.3s;
}
.site-header.scrolled { padding: 0; box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.brand-info h1 { font-size: 1.4rem; margin: 0; color: #333; }
.brand-info .tag { font-size: 0.75rem; color: var(--text-light); font-family: 'Poppins', sans-serif; letter-spacing: 0.5px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-weight: 500; color: #444; font-size: 0.95rem; position: relative; }
.nav-link:hover { color: var(--primary); }
.nav-link.btn-contact {
  padding: 8px 20px;
  background: #333;
  color: #fff;
  border-radius: 30px;
}
.nav-link.btn-contact:hover { background: var(--primary); }

/* -- HERO SECTION -- */
.hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #fff8f6 0%, #fff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}
.hero-text .pre-title {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}
.hero-text h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #222;
}
.hero-text h2 em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}
.hero-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 90%;
}
.hero-btns { display: flex; gap: 15px; }

.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  box-shadow: 20px 20px 0px rgba(212, 119, 144, 0.1); /* Dekoratif gölge */
  border-radius: 20px;
  transform: rotate(2deg);
  transition: transform 0.5s;
}
.hero-image:hover img { transform: rotate(0deg); }

/* -- CATEGORIES -- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}
.cat-card {
  background: var(--white);
  padding: 40px 25px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #f0f0f0;
  transition: var(--transition);
}
.cat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.cat-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.cat-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #333; }
.cat-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }

/* -- SCROLL GALLERY -- */
.scroll-gallery-wrapper {
  width: 100%;
  overflow: hidden;
}
.scroll-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 5px 40px 5px; /* Alt boşluk scrollbar için */
  scroll-snap-type: x mandatory;
}
.scroll-gallery::-webkit-scrollbar { height: 6px; }
.scroll-gallery::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.scroll-gallery::-webkit-scrollbar-track { background: #eee; }

.gallery-item {
  min-width: 320px;
  position: relative;
  scroll-snap-align: center;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.gallery-item span {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: #444;
}

/* -- REZERVASYON -- */
.reservation-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  background-color: var(--primary);
  border-radius: 30px;
  padding: 60px;
  color: white;
  box-shadow: var(--shadow-md);
}
.res-content h3 { color: white; font-size: 2.5rem; margin-bottom: 15px; }
.res-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

.glass-form {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  gap: 20px;
}

.form-group { position: relative; }
.form-group input {
  width: 100%;
  padding: 15px;
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
}
.form-group label {
  position: absolute;
  left: 15px;
  top: 15px;
  font-size: 0.9rem;
  color: #888;
  pointer-events: none;
  transition: 0.3s;
}
/* Floating label efekti */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  transform: translateY(-28px);
  font-size: 0.8rem;
  color: white;
  font-weight: bold;
}
.full-width { width: 100%; background: white; color: var(--primary); border: none; }
.full-width:hover { background: #f0f0f0; color: var(--primary-dark); transform: none; }

/* -- BLOG CARDS -- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.post-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.post-card h4 { font-size: 1.3rem; margin-bottom: 10px; color: #333; }
.post-card p { color: var(--text-light); font-size: 0.95rem; }

/* -- FOOTER & CONTACT -- */
.dark-footer-top { background: #222; color: white; padding: 80px 0; }
.dark-footer-top h3 { color: white; margin-bottom: 20px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }

.info-item { margin-bottom: 25px; }
.info-item strong { display: block; color: var(--primary); margin-bottom: 5px; }
.info-item p, .info-item a { color: #bbb; }
.info-item a:hover { color: white; }

.contact-form .input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 10px;
  color: white;
  outline: none;
  font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }

.site-footer {
  background: #1a1a1a;
  color: #666;
  padding: 20px 0;
  font-size: 0.85rem;
  border-top: 1px solid #333;
}
.footer-inner { display: flex; justify-content: space-between; }
.tiny-nav a { color: #666; margin-left: 20px; }
.tiny-nav a:hover { color: var(--primary); }

/* -- RESPONSIVE -- */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-btns { justify-content: center; }
  .hero-image img { width: 80%; margin: 0 auto; transform: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .reservation-wrap { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 768px) {
  .burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
  .burger span { width: 25px; height: 2px; background: #333; transition: 0.3s; }
  
  .main-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
    box-shadow: -5px 0 10px rgba(0,0,0,0.05);
  }
  .main-nav.open { right: 0; }
  .section-head h3 { font-size: 2rem; }
  .hero-text h2 { font-size: 2.5rem; }
}

/* =======================================================
   HAYAL GARDEN - MOBİL DÜZENLEME (REVİZE: FİNAL)
   ======================================================= */

/* --- TABLET VE MOBİL ORTAK --- */
@media (max-width: 992px) {
  .section { padding: 60px 0; }
  
  /* Hero Genel Ayarı */
  .hero { 
    padding: 100px 0 50px 0; 
    background: linear-gradient(180deg, #fffcfb 0%, #fff 100%);
    text-align: center;
  }
  .hero-inner { 
    grid-template-columns: 1fr; 
    gap: 30px; 
  }
}

/* --- TELEFON GÖRÜNÜMÜ (768px altı) --- */
@media (max-width: 768px) {

  /* 1. HERO ALANI (Daha Derli Toplu) */
  .hero-text {
    padding: 0 15px;
  }
  .hero-text .pre-title {
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
  }
  .hero-text h2 {
    font-size: 2.2rem; /* Başlık boyutu ideal */
    line-height: 1.25;
    margin-bottom: 15px;
  }
  .hero-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    padding: 0 10px;
  }
  /* Butonları yanyana sığdırmaya çalış, sığmazsa alt alta */
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 0 20px;
  }
  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero Görseli */
  .hero-image {
    margin-top: 10px;
    padding: 0 15px;
  }
  .hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(212, 119, 144, 0.2); /* Hafif pembe gölge */
    transform: none; /* Yamukluğu iptal et */
  }

  /* 2. KATEGORİ KARTLARI (Açıklamalar Geri Geldi) */
  .category-grid {
    grid-template-columns: 1fr; /* Telefonta alt alta daha okunaklı */
    gap: 20px;
    padding: 0 15px;
  }
  /* Eğer yanyana 2'li olsun istersen üstteki satırı silip şunu aç:
     grid-template-columns: repeat(2, 1fr); 
  */
  
  .cat-card {
    padding: 25px 20px;
    background: #fff;
    border: 1px solid #f1f1f1; /* Çok hafif çerçeve */
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  }
  .cat-card .icon { font-size: 2rem; margin-bottom: 10px; }
  .cat-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
  .cat-card p {
    display: block !important; /* Gizlemeyi iptal et */
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
  }

  /* 3. REZERVASYON FORMU (Renk Düzeltmesi & Input Eşitleme) */
  .reservation-wrap {
    margin: 0 15px;
    padding: 35px 20px;
    grid-template-columns: 1fr;
    gap: 25px;
    /* Rengi masaüstündeki gibi yapıyoruz */
    background-color: var(--primary) !important; 
    color: white;
    text-align: center;
  }
  .reservation-wrap h3 { color: white; font-size: 1.8rem; }
  .reservation-wrap p { color: rgba(255,255,255,0.9); }

  .glass-form {
    padding: 20px;
    background: rgba(255, 255, 255, 0.15); /* Hafif transparan beyaz */
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* Input Boyutlarını Eşitleme */
  .form-group { margin-bottom: 15px; }
  
  .form-group input {
    width: 100%;
    height: 54px; /* Tüm kutulara sabit yükseklik ver */
    padding: 0 15px;
    font-size: 1rem;
    background: rgba(255,255,255,0.95); /* İçi neredeyse tam beyaz */
    border-radius: 10px;
    border: none;
    outline: none;
    /* iOS görünümünü sıfırla */
    -webkit-appearance: none; 
    appearance: none;
    box-sizing: border-box; /* Padding dahil hesapla */
  }

  /* Tarih kutusu için özel ayar */
  input[type="date"] {
    display: flex;
    align-items: center;
    font-family: inherit;
    color: #333;
  }
  
  /* Floating Label ayarı (Tarihte label olmadığı için diğerlerinde kaymasın) */
  .form-group label {
    top: 17px; /* Ortala */
    left: 15px;
    color: #888;
  }
  .form-group input:focus + label,
  .form-group input:not(:placeholder-shown) + label {
    transform: translateY(-34px); /* Yukarı kaydır */
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  }

  /* 4. DİĞER DÜZELTMELER */
  .site-header { padding: 10px 0; }
  .brand-logo { width: 45px; height: 45px; }
  
  /* Burger Menü (Sağ Üst) */
  .burger { display: flex; flex-direction: column; gap: 5px; z-index: 200; }
  .burger span { background: #333; height: 2px; width: 25px; }
  
  /* Menü Açılır Pencere */
  .main-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: white;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 20px;
    transition: 0.3s;
    opacity: 0; visibility: hidden; pointer-events: none;
    z-index: 150;
  }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: all; }
  .nav-link { font-size: 1.3rem; color: #222; }

  /* Footer */
  .contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .contact-form input, .contact-form textarea { background: rgba(255,255,255,0.1); }
}
/* --- FOOTER TASARIM İMZASI --- */
.designer-credit {
  font-size: 0.85rem;
  color: #666;
  letter-spacing: 0.5px;
}

.designer-credit a {
  color: #888; /* Hafif gri, göze batmaz */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted transparent;
}

.designer-credit a:hover {
  color: var(--primary); /* Üzerine gelince sitenin ana rengi (gül kurusu) olur */
  border-bottom-color: var(--primary);
}

/* --- MOBİL İÇİN FOOTER DÜZENLEMESİ --- */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column; /* Mobilde yan yana değil alt alta olsun */
    gap: 15px;
    text-align: center;
  }
  
  .tiny-nav {
    margin-top: 5px;
  }
  
  .tiny-nav a {
    margin: 0 10px; /* Linkler arası boşluk */
    display: inline-block;
  }
}