/* Global Resets & Base Styles */
:root {
  --primary-color: #0a2342; /* Dark Sapphire Blue */
  --secondary-color: #2ca58d; /* Tealish Green */
  --accent-color: #d9b879; /* Gold/Bej - Daha belirgin bir altın tonu */
  --light-accent-color: #f5e8c7; /* Soft Beige/Champagne */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #dee2e6;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

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

body {
  font-family: var(--font-secondary);
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1rem;
}

/* Header */
.site-header {
  background-color: var(--bg-white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  padding: 0.75rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}
.logo-link img {
  max-height: 50px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-menu .nav-link {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
  color: var(--accent-color);
}

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
  width: 100%;
}

.language-selector {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  align-items: center;
}

.lang-btn {
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.lang-btn .flag-icon {
  font-size: 1rem; /* Adjust if using actual flag images */
}

.lang-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.lang-btn.active {
  background-color: var(--accent-color);
  color: var(--text-light);
  border-color: var(--accent-color);
}

.mobile-nav-toggle {
  display: none; /* Hidden on desktop */
  font-size: 1.5rem;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
}

/* Main Content Area */
.main-content {
  padding-top: 100px; /* Adjust based on header height */
}

/* Page Header Section */
.page-hero {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  margin-bottom: 3rem;
}
.page-hero.small-hero {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.page-hero h1 {
  color: var(--text-light);
  font-size: 3rem;
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background-color: var(--bg-light);
  margin-bottom: 2rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.breadcrumbs li a {
  color: var(--secondary-color);
}
.breadcrumbs li.active {
  color: var(--text-dark);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--border-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--border-radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
}
.btn-secondary:hover {
  background-color: darken(var(--secondary-color), 10%);
  border-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--primary-color); /* Or white, depending on accent brightness */
  border-color: var(--accent-color);
}
.btn-accent:hover {
  background-color: darken(var(--accent-color), 10%);
  border-color: darken(var(--accent-color), 10%);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb, 10, 35, 66), 0.25); /* Define --primary-color-rgb if needed */
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.form-check-input {
  margin-right: 0.5rem;
}

/* Cards */
.card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Section Styling */
.section {
  padding: 4rem 0;
}
.section-bg {
  background-color: var(--bg-light);
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}
.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto 1rem auto;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem 0;
  font-size: 0.9rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-section h4 {
  font-family: var(--font-primary);
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.footer-section p,
.footer-section ul {
  margin-bottom: 0.5rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section ul li a:hover {
  color: var(--text-light);
}
.social-links-footer a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  margin-right: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.social-links-footer a:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mb-5 {
  margin-bottom: 3rem;
}
.pt-1 {
  padding-top: 0.5rem;
}
/* ... add more as needed */
.d-grid {
  display: grid;
}
.gap-1 {
  gap: 0.5rem;
}
.gap-2 {
  gap: 1rem;
}
.gap-3 {
  gap: 1.5rem;
}
.gap-4 {
  gap: 2rem;
}

/* Specific Page Styles */

/* Homepage Hero */
.hero-section {
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 35, 66, 0.6); /* Dark overlay */
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Room Cards */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.room-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.room-card-image {
  height: 220px;
  width: 100%;
  object-fit: cover;
}
.room-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.room-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.room-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.room-price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: #777;
}
.room-features-list {
  list-style: none;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555;
}
.room-features-list li {
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
}
.room-features-list li i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
  width: 16px;
}
.room-card-actions {
  margin-top: auto; /* Pushes buttons to the bottom */
  display: flex;
  gap: 0.5rem;
}
.room-card-actions .btn {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

/* Gallery Page */
.gallery-filters {
  text-align: center;
  margin-bottom: 2rem;
}
.gallery-filters .btn {
  margin: 0.3rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-color: var(--border-color);
}
.gallery-filters .btn.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  color: var(--text-light);
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.gallery-item-overlay p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Lightbox Modal for Gallery */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: block;
  margin: auto;
  border-radius: var(--border-radius);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  top: 20px;
  right: 30px;
  font-size: 1.5rem;
}
.lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}
.lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.lightbox-caption {
  text-align: center;
  color: var(--text-light);
  padding: 10px 0;
  font-size: 0.9rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 0.2rem;
  width: 25px;
}
.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: var(--border-radius);
}

/* Reservation Page */
.reservation-summary {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}
.reservation-summary h4 {
  margin-bottom: 1rem;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.summary-item strong {
  font-weight: 600;
}
.summary-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Room Detail Page */
.room-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.room-gallery-main {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}
.room-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.room-gallery-thumbnails img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: calc(var(--border-radius) / 2);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.room-gallery-thumbnails img.active,
.room-gallery-thumbnails img:hover {
  border-color: var(--accent-color);
}
.room-amenities-detail {
  list-style: none;
  columns: 2;
  gap: 1rem;
}
.room-amenities-detail li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}
.room-amenities-detail li i {
  margin-right: 0.75rem;
  color: var(--secondary-color);
  width: 20px;
}
.room-booking-box {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.room-booking-box .room-price {
  font-size: 1.8rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-grid,
  .room-detail-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .page-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Hide on mobile by default */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
  }
  .nav-menu.active {
    display: flex; /* Show when active */
  }
  .nav-menu .nav-link {
    padding: 0.8rem 1.5rem;
    width: 100%;
    text-align: left;
  }
  .nav-menu .nav-link::after {
    display: none;
  } /* Remove underline for mobile */
  .language-selector {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .page-hero h1 {
    font-size: 2rem;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-section ul {
    padding-left: 0;
  }
  .social-links-footer {
    justify-content: center;
  }
}

/* Animations */
.fade-in {
  animation: fadeInAnimation 0.5s ease-in-out forwards;
}
@keyframes fadeInAnimation {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
