﻿:root {
  --primary: #0077b6;
  --secondary: #90e0ef;
  --accent: #023e8a;
  --bg-color: #f8f9fa;
  --text-color: #333;
  --white: #ffffff;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --border-radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --header-height: 80px;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

body,
html {
  width: 100%;
  height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header - Handled by Component now, keeping legacy just in case but overrides apply */
.main-header {
  background-color: var(--white);
  height: var(--header-height);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Grids - Updated for Mobile 2-column layout */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns on mobile */
  gap: 15px;
  margin-bottom: 2rem;
  /* Reduced margin */
}

/* Responsive Grid overrides */
@media (min-width: 768px) {
  .hotel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .hotel-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 85%;
  /* Taller Aspect Ratio */
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1rem;
  margin: 0 0 5px 0;
  color: var(--accent);
  text-align: center;
  /* İsimlerin tam görünmesi için wrap serbest bırakıldı, mobilde 2 satır olabilir */
  line-height: 1.3;
}

.features {
  margin-bottom: 15px;
  flex-grow: 1;
  text-align: center;
  /* Centered features */
}

.badge {
  background-color: #e9ecef;
  color: #495057;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 4px;
  margin-bottom: 4px;
  display: inline-block;
}

.card-footer {
  display: flex;
  justify-content: cente r;
  /* Center align button */
  align-items: center;
  margin-top: auto;
}

.view-btn {
  background-color: var(--primary);
  color: white;
  padding: 8px 12px;
  /* Slightly larger padding */
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  /* Full width fallback */
  text-align: center;
  display: block;
}

.view-btn:hover {
  background-color: var(--accent);
}

/* Articles Section */
.articles-section {
  padding: 4rem 0;
  background-color: var(--white);
  margin-top: 2rem;
}

.section-title {
  text-align: center;
  /* Default center, overridden inline for lists */
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent);
}

/* Detail Page */
.detail-hero {
  height: auto;
  position: relative;
  margin-bottom: 2rem;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.detail-content {
  background: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .detail-content {
    padding: 30px;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.feature-item {
  background: #f0f8ff;
  color: var(--primary);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Header CSS */
.main-header {
  background-color: var(--white);
  height: 80px;
  /* Force height */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 15px;
}

/* Logo Adjustment */
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 0;
}

.site-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
  }
}

.nav-item {
  font-weight: 500;
  color: #555;
  text-decoration: none;
  font-size: 1rem;
}

.nav-item:hover {
  color: var(--primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
  margin-left: auto;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1100;
  transform: translateX(100%);
  /* Initial state: moved off-screen right */
  visibility: hidden;
  /* Hide it so it doesn't flash */
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  transform: translateX(0);
  /* Slide in */
  visibility: visible;
}

.mobile-nav-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-title {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary);
}

.close-menu-btn {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #555;
}

.mobile-nav-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-item {
  padding: 10px 0;
  border-bottom: 1px solid #f9f9f9;
  font-size: 1.1rem;
  color: #333;
  text-decoration: none;
}

/* ===== Detail Page Styles ===== */
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 1rem;
}

.detail-title {
  margin: 0;
  color: var(--accent);
  font-size: 2rem;
}

.detail-type {
  background: var(--secondary);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
}

.section-box {
  margin-bottom: 3rem;
}

.section-header {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

.detail-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.detail-desc img,
.detail-desc iframe,
.detail-desc video {
  max-width: 100% !important;
  height: auto !important;
}

.detail-desc p {
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.feature-item {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #555;
  border: 1px solid #eee;
}

.check-icon {
  color: var(--primary);
  font-weight: bold;
  margin-right: 8px;
}

.other-hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.other-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  background: white;
  text-decoration: none;
  color: inherit;
  display: block;
}

.other-card:hover {
  transform: translateY(-5px);
}

.other-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.other-info {
  padding: 10px;
}

.other-info h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  color: #333;
}

.other-info span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: bold;
}

.contact-info-card {
  background: #fff;
  padding: 0 20px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 1.1rem;
  color: #555;
  font-weight: 600;
}

.info-value {
  font-size: 1.2rem;
  color: #333;
  font-weight: 700;
}

/* Phone Overlay on Cards */
.phone-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #ffffff;
  color: #a04000;
  /* Daha koyu, yüksek kontrastlı turuncu */
  /* Turuncu tonu daha dikkat çekici */
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 1;
  z-index: 2;
}

/* Sticky Call Button (Mobile) */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .sticky-footer {
    display: none !important;
  }
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-title {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.blog-summary {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.blog-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  padding: 20px 0;
}