/* Gebze Park Otel - Antrasit & Beyaz Tema */
:root {
  --antrasit: #2d2d2d;
  --antrasit-koyu: #1a1a1a;
  --antrasit-acik: #3d3d3d;
  --beyaz: #ffffff;
  --gri-acik: #f5f5f5;
  --gri-kenar: #e0e0e0;
  --vurgu: #c9a227;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--antrasit);
  line-height: 1.6;
  background: var(--beyaz);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Nav */
.site-header {
  background: var(--antrasit);
  color: var(--beyaz);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--beyaz);
  letter-spacing: 0.02em;
}

.site-logo:hover {
  color: var(--beyaz);
  opacity: 0.9;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.main-nav a {
  color: var(--beyaz);
  padding: 0.5rem 0.75rem;
  display: block;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--antrasit-acik);
  color: var(--beyaz);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--antrasit-koyu) center / cover no-repeat;
  color: var(--beyaz);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero .tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero .cta {
  display: inline-block;
  background: var(--beyaz);
  color: var(--antrasit);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.hero .cta:hover {
  background: var(--gri-acik);
  color: var(--antrasit);
}

/* İçerik alanındaki CTA butonları */
.container .cta,
.room-collage-section .cta {
  display: inline-block;
  background: var(--antrasit);
  color: var(--beyaz);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.container .cta:hover,
.room-collage-section .cta:hover {
  background: var(--antrasit-acik);
  color: var(--beyaz);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.section-title {
  font-size: 1.75rem;
  color: var(--antrasit);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--antrasit);
  display: inline-block;
}

/* Sayfa başlıkları */
.page-header {
  background: var(--antrasit);
  color: var(--beyaz);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

/* İçerik blokları */
.content-block {
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.35rem;
  color: var(--antrasit);
  margin-bottom: 0.75rem;
}

.content-block p,
.content-block ul {
  margin-bottom: 0.75rem;
  color: var(--antrasit);
}

.content-block ul {
  list-style: none;
  padding-left: 0;
}

.content-block ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
}

.content-block ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--antrasit-acik);
  font-weight: bold;
}

/* Odalar grid */
.rooms-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.room-card {
  background: var(--gri-acik);
  border: 1px solid var(--gri-kenar);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 768px) {
  .room-card {
    grid-template-columns: 1fr;
  }
}

.room-card .room-image {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.room-card .room-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.room-card h2 {
  margin-bottom: 0.75rem;
  color: var(--antrasit);
}

.room-card .room-features {
  margin-top: 1rem;
}

/* Galeri */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-grid a {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--gri-kenar);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-grid a:hover img,
.gallery-grid button:hover img {
  transform: scale(1.05);
}

/* Galeri lightbox – sayfa değişmeden büyük görüntü, ESC ile kapanır */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: var(--beyaz);
  color: var(--antrasit);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover {
  background: var(--gri-acik);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--antrasit);
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  left: 1rem;
  transition: background 0.2s;
}

.lightbox-next {
  left: auto;
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--beyaz);
}

.lightbox-counter {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--beyaz);
  font-size: 0.95rem;
}

.gallery-grid button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gri-kenar);
  aspect-ratio: 4/3;
}

.gallery-grid button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* İletişim */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--gri-acik);
  border-radius: 8px;
  border-left: 4px solid var(--antrasit);
}

.contact-item strong {
  min-width: 100px;
  color: var(--antrasit);
}

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

/* İletişim – Konum QR kodu */
.contact-qr {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gri-kenar);
  text-align: center;
}

.contact-qr .section-title {
  margin-bottom: 0.5rem;
}

.contact-qr-desc {
  max-width: 480px;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
  color: var(--antrasit-acik);
}

.contact-qr-image {
  display: inline-block;
  padding: 1rem;
  background: var(--beyaz);
  border: 1px solid var(--gri-kenar);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-qr-image img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

/* Ana sayfa – Hizmetlerimiz */
.services-section {
  background: var(--gri-acik);
  padding: 2.5rem 1.5rem;
  margin-top: 0;
}

.services-section .section-title {
  margin-bottom: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--beyaz);
  border-radius: 8px;
  border: 1px solid var(--gri-kenar);
  transition: box-shadow 0.2s;
}

.service-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--antrasit);
  color: var(--beyaz);
  border-radius: 50%;
  font-size: 1.25rem;
}

.service-item h3 {
  font-size: 0.95rem;
  color: var(--antrasit);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.service-item p {
  font-size: 0.85rem;
  color: var(--antrasit-acik);
  margin: 0;
}

/* Ana sayfa – Oda kolajı */
.room-collage-section {
  padding: 2rem 1.5rem;
  background: var(--beyaz);
}

.room-collage-section .container {
  padding-top: 0;
  padding-bottom: 0;
}

.room-collage-intro {
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.room-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  max-width: 800px;
  margin-top: 1rem;
}

.room-collage .collage-main {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gri-kenar);
}

.room-collage .collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.room-collage .collage-sub {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gri-kenar);
}

.room-collage .collage-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (max-width: 600px) {
  .room-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .room-collage .collage-main {
    grid-row: auto;
  }
}

/* Footer – zengin (menü + iletişim) */
.site-footer {
  background: var(--antrasit);
  color: var(--beyaz);
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--beyaz);
  font-weight: 600;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: var(--beyaz);
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.5;
}

.footer-contact a {
  color: var(--beyaz);
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Genel yardımcı */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-2 { margin-bottom: 2rem; }
