/* GENEL AYARLAR */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
header {
  background: #0f172a;
  color: white;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.nav-container {
  width: min(1100px, 90%);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

nav a {
  margin-left: 20px;
  font-weight: bold;
  transition: 0.2s;
}

nav a:hover {
  color: #38bdf8;
}

/* HERO */
.hero {
  background: url('https://images.pexels.com/photos/261102/pexels-photo-261102.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  margin-top: 70px;
}

.hero h1 {
  font-size: 45px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  padding: 10px 20px;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 999px;
  font-weight: bold;
  display: inline-block;
  transition: 0.2s;
}

.btn:hover {
  background: #0ea5e9;
}

/* BÖLÜMLER */
.section {
  width: min(1100px, 90%);
  margin: auto;
  padding: 60px 0;
}

.section h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

/* GALERİ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding-top: 20px;
}

.gallery-item {
  background: white;
  padding-bottom: 15px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  overflow: hidden;
  transition: 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* RESİM KUTUSU – ÖNEMLİ KISIM */
.gallery-img {
  width: 100%;
  height: 200px;
  background-size: cover;       /* resim artık düzgün dolacak */
  background-position: center;  /* ortalı gözükecek */
  background-repeat: no-repeat;
  border-radius: 16px 16px 0 0;
}

/* REZERVASYON FORMU */
.reservation-form {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1 1 250px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56,189,248,0.3);
}

.form-message {
  margin-top: 10px;
  font-size: 15px;
}

.form-message.success {
  color: #15803d;
}

.form-message.error {
  color: #b91c1c;
}

/* FOOTER */
footer {
  background: #0f172a;
  padding: 15px 0;
  text-align: center;
  color: #ddd;
  margin-top: 40px;
}

/* SCROLL ANİMASYONU */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}
