/* ==========================================================================
   Alim Otel — statik site stili
   Ölçüler canlı WordPress temasından (Elegantia) birebir alınmıştır.
   ========================================================================== */

:root {
  --plum: #32252e;
  --plum-link: #3d2a39;
  --copper: #824328;
  --text: #797979;
  --page-width: 960px;
  --gutter: 15px;
  --font-body: 'Droid Sans', Arial, Helvetica, sans-serif;
  --font-heading: 'Bree Serif', Georgia, serif;
  --font-display: 'Neuton', Georgia, serif;
}

/* Temel
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f0ece1 url('../images/body.png');
  color: var(--text);
  font: 13px/20px var(--font-body);
}

::selection {
  background: #f6f6f6;
}

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

a {
  color: var(--plum-link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--copper);
}

h1, h2, h3 {
  color: var(--plum);
  font-family: var(--font-heading);
  font-weight: 400;
}

ul {
  list-style: none;
}

/* Orijinal temada içerik alanı 960px'lik başlığın içinde 25px soldan,
   5px sağdan içeride durur; aynı hizalama korunur. */
.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 5px 0 25px;
}

/* Header
   ========================================================================== */
.site-header {
  background: url('../images/header-bg.jpg') center / cover;
}

.header-inner {
  position: relative;
  max-width: var(--page-width);
  min-height: 142px;
  margin: 0 auto;
  padding-top: 16px;
}

.header-phone {
  position: absolute;
  top: 29px;
  right: 0;
  font-size: 14px;
  line-height: 18px;
}

.header-phone a {
  color: #9b9b9b;
}

.header-phone a:hover {
  color: #fff;
}

.site-logo {
  display: block;
  width: 200px;
  margin: 0 auto;
}

.nav-group {
  position: absolute;
  bottom: 30%;
}

.nav-group ul {
  display: flex;
  gap: 25px;
  padding-bottom: 23px;
}

.nav-left {
  left: 30px;
}

.nav-right {
  right: 0;
}

.nav-group a {
  color: #fff;
  font: 18px/20px var(--font-heading);
}

.nav-group a:hover,
.nav-group a:focus {
  color: #d2ae7e;
}

.mobile-nav-toggle,
.mobile-menu {
  display: none;
}

/* İç sayfa başlığı
   ========================================================================== */
main.container {
  padding-top: 30px;
  padding-bottom: 35px;
}

.page-head {
  background: url('../images/page-title.png') repeat-x 0 20px;
  text-align: center;
  margin-bottom: 25px;
}

.page-head h1 {
  display: inline-block;
  background: #fff;
  padding: 0 7px;
  font-size: 32px;
  line-height: 38px;
  font-variant: small-caps;
}

/* Anasayfa: slogan + slider
   ========================================================================== */
.home {
  padding-top: 30px;
}

.home-slogan {
  display: grid;
  grid-template-columns: 1fr 290px 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 17px;
}

.home-slogan img:first-child {
  justify-self: end;
}

.home-slogan img:last-child {
  justify-self: start;
}

.home-slogan h1 {
  font: 27px/6px var(--font-display);
  color: #332530;
  text-align: center;
  white-space: nowrap;
}

.slider-wrapper {
  position: relative;
  width: calc(100% + 26px);
  background: #fff;
  padding: 13px;
  margin-bottom: 80px;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  position: relative;
  aspect-ratio: 930 / 545;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-thumbs {
  position: absolute;
  left: 50%;
  bottom: -37px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #fff;
}

.slider-thumb {
  width: 150px;
  height: 80px;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-thumb:hover,
.slider-thumb.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
}

.slider-btn:hover {
  background: #000;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

/* Anasayfa: 3 özellik kutusu
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card::before,
.feature-card h2::after {
  content: '';
  display: block;
  height: 1px;
  background: url('../images/border-bot.png') center / 100% 1px no-repeat;
}

.feature-card::before {
  margin-bottom: 19px;
}

.feature-card h2 {
  background: url('../images/title-bg.png') 0 0 no-repeat;
  font: 23px/23px var(--font-display);
  color: #332530;
  text-align: center;
  margin-bottom: 19px;
}

.feature-card h2::after {
  margin-top: 20px;
}

/* Anasayfa: hoşgeldiniz şeridi
   ========================================================================== */
.welcome-band {
  background: #f6f6f6;
  padding: 55px 0 35px;
}

.welcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.welcome-photo {
  background: #fff;
  padding: 6px;
}

.welcome-text h2 {
  height: 27px;
  font: 36px/27px var(--font-display);
  color: var(--plum);
  margin-bottom: 35px;
}

.welcome-text h2 span {
  font-size: 18px;
  line-height: 1;
  color: #4175b2;
}

.welcome-text p + p {
  margin-top: 15px;
}

.services-box {
  margin: -35px 0 0 -15px;
  padding: 35px 0 35px 21px;
  border-left: 1px solid #d3d3d3;
}

.services-box h2 {
  font: 700 23px/23px var(--font-display);
  color: #332530;
  padding-bottom: 20px;
}

.services-list li {
  font: 13px/50px Times, serif;
  letter-spacing: 2px;
  border-bottom: 1px solid #ccc;
}

/* Hakkımızda
   ========================================================================== */
.about-content h2 {
  font-size: 28px;
  line-height: 40px;
  font-variant: small-caps;
  margin-bottom: 15px;
}

.about-content p {
  margin-bottom: 15px;
}

.about-content::after {
  content: '';
  display: table;
  clear: both;
}

.about-thumb {
  float: left;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin: 5px 20px 15px 0;
}

/* Odalarımız
   ========================================================================== */
.rooms-layout {
  display: grid;
  grid-template-columns: 610px 1fr;
  gap: 30px;
  align-items: start;
}

.slider--rooms {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(0, 0, 0, 0.1);
}

.slider--rooms .slider-track {
  aspect-ratio: 610 / 400;
}

.rooms-info p {
  margin-bottom: 15px;
}

/* Galeri
   ========================================================================== */
.gallery-group h2 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 15px;
}

.gallery-group + .gallery-group {
  margin-top: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  gap: 4px 9px;
  padding: 4px 0 0 4px;
}

.gallery-item img {
  width: 250px;
  height: 170px;
  object-fit: cover;
  padding: 4px;
  background: #fff;
  border: 1px solid #a9a9a9;
}

.gallery-item:hover img {
  opacity: 0.85;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border: 4px solid #fff;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--copper);
}

.lightbox-close {
  top: 20px;
  right: 24px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  margin-top: -22px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Formlar (Rezervasyon & İletişim)
   ========================================================================== */
.notice-box {
  position: relative;
  border: 2px solid #50485b;
  border-radius: 5px;
  color: #1e1b22;
  padding: 13px 13px 13px 52px;
  margin-bottom: 22px;
}

.notice-box svg {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  fill: #50485b;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;
  margin: 0 15px 21px;
}

.form-field--full {
  grid-column: 1 / -1;
  margin-top: 14px;
}

form[data-static-form] {
  margin-bottom: -17px;
}

.form-field label {
  display: block;
  color: var(--plum);
}

.form-field input,
.form-field textarea {
  display: block;
  width: min(calc(100% - 20px), 403px);
  padding: 0 5px;
  font: 13px Arial, sans-serif;
  color: #ab7868;
  background: #fff9f1;
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px #e6e6e6;
  outline: none;
}

.form-field input {
  height: 32px;
}

.form-field textarea {
  width: min(calc(100% - 21px), 867px);
  height: 122px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  background: #f6e0c4;
}

.btn-primary {
  padding: 5px 12px;
  border: 2px solid #fff;
  background: var(--copper);
  color: #fff;
  font: 13px Arial, sans-serif;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--plum);
}

.form-feedback {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  background: #edf7ed;
  border: 1px solid #b7dfb9;
  color: #1e4620;
}

.form-feedback.show {
  display: block;
}

/* İletişim */
.contact-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
  align-items: start;
}

.contact-details h2 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 15px;
}

.contact-details p {
  margin-bottom: 15px;
}

.map-embed {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
  margin-bottom: 40px;
}

/* Footer
   ========================================================================== */
.site-footer {
  background: url('../images/footer-bg.jpg');
  padding: 35px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h2 {
  font: 700 23px/23px var(--font-display);
  color: #e8e8e8;
  padding-bottom: 20px;
  margin-bottom: 15px;
}

.footer-col h2 + * {
  border-top: 1px solid #4f424b;
  padding-top: 20px;
  margin-bottom: 35px;
}

.footer-col p {
  margin-bottom: 15px;
}

.footer-col p:last-child {
  margin-bottom: 0;
}

.footer-news-item {
  display: flow-root;
  margin-bottom: 15px;
}

.footer-news-item img {
  float: left;
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin: 5px 10px 0 0;
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px #e6e6e6;
}

.footer-news-item h3 {
  font: 700 11px/11px var(--font-display);
  color: #fff;
  margin-bottom: 15px;
}

.testimonial blockquote {
  margin-bottom: 15px;
}

.testimonial cite {
  display: block;
  margin-bottom: 10px;
  font: 700 13px/13px var(--font-display);
  color: #d37446;
}

.footer-bottom {
  text-align: center;
}

/* Yukarı çık */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--plum-link);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--copper);
}

/* Responsive (orijinal tema sabit 960px; dar ekranlar için uyarlama)
   ========================================================================== */
@media (max-width: 1010px) {
  .container {
    padding: 0 var(--gutter);
  }
  .slider-wrapper {
    width: auto;
  }
  .header-inner {
    padding: 16px var(--gutter) 0;
  }
  .header-phone {
    right: var(--gutter);
  }
  .nav-group ul {
    gap: 14px;
  }
  .nav-group a {
    font-size: 15px;
  }
  .rooms-layout {
    grid-template-columns: 2fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    gap: 9px;
  }
  .gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 25 / 17;
  }
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding-bottom: 12px;
  }
  .header-phone {
    position: static;
    width: 100%;
    text-align: right;
  }
  .header-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .site-logo {
    width: 150px;
    margin: 0;
  }
  .feature-card h2 {
    background-position: center 0;
    padding: 0 30px;
  }
  .nav-group {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font: 13px var(--font-body);
    cursor: pointer;
  }
  .mobile-menu.open {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: rgba(46, 32, 41, 0.97);
  }
  .mobile-menu a {
    display: block;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font: 14px var(--font-heading);
  }
  .mobile-menu a:hover {
    background: var(--copper);
  }
  .home-slogan {
    grid-template-columns: 1fr;
  }
  .home-slogan img {
    display: none;
  }
  .slider-wrapper {
    margin-bottom: 30px;
  }
  .slider-thumbs {
    position: static;
    transform: none;
    justify-content: center;
    padding: 10px 0 0;
  }
  .slider-thumb {
    width: 22%;
    height: auto;
    aspect-ratio: 15 / 8;
  }
  .features-grid,
  .welcome-grid,
  .rooms-layout,
  .contact-layout,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-box {
    margin: 0;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #d3d3d3;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-field input,
  .form-field textarea {
    width: 100%;
  }
}
