/* Kivi Butik Motel & Pansiyon Custom Page Styles (Vanilla CSS) */

:root {
  --kivi-green: #1A2F4C;
  --kivi-dark: #1A2F4C;
  --kivi-beige: #FAF7F2;
  --kivi-accent: #4A6B82;
  --kivi-wood: #8C6D58;
  --white: #ffffff;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--kivi-beige);
  color: var(--kivi-dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  padding-bottom: 70px; /* Offset for mobile sticky CTA bar */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Serif Font Class */
.font-serif {
  font-family: 'Cormorant Garamond', serif;
}

/* Base Layout Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Custom Navigation Glassmorphism */
.nav-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(242, 232, 207, 0.95);
  border-b: 1px solid rgba(75, 56, 50, 0.1);
  padding: 10px 0;
  transition: all 0.4s ease;
}

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

.logo-fit {
  height: 44px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.logo-fit:hover {
  transform: scale(1.05);
}

.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
  }
}

.nav-links a {
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--kivi-dark);
  transition: color 0.3s ease;
  padding-bottom: 4px;
  border-b: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--kivi-green);
  border-bottom-color: var(--kivi-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-nav {
  background-color: var(--kivi-green);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background-color: var(--kivi-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--kivi-dark);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

/* Mobile Fullscreen Menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(75, 56, 50, 0.98);
  backdrop-filter: blur(10px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}

.mobile-menu-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
  color: var(--kivi-accent);
}

/* Mobile Sticky CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-t: 1px solid var(--slate-200);
  padding: 12px 16px;
  z-index: 99;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .sticky-cta-bar {
    display: none;
  }
}

.sticky-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sticky-cta-item i {
  font-size: 18px;
}

.sticky-cta-item.call { color: #2563eb; }
.sticky-cta-item.whatsapp { color: #16a34a; }
.sticky-cta-item.map { color: #f97316; }
.sticky-cta-item.book { color: var(--kivi-green); }

/* Header/Hero Sections */
.page-hero {
  padding: 140px 0 60px 0;
  text-align: center;
  background-color: var(--kivi-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to top, var(--kivi-beige), transparent);
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 64px;
  }
}

.page-hero p {
  font-size: 14px;
  max-w: 600px;
  margin: 0 auto;
  opacity: 0.8;
  font-weight: 500;
}

/* Premium Layout Grid */
.section-padding {
  padding: 80px 0;
}

.bg-white {
  background-color: var(--white);
}

.bg-beige {
  background-color: var(--kivi-beige);
}

/* Cards & Premium UI elements */
.card-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid.three-cols {
    grid-template-cols: repeat(3, 1fr);
  }
}

.premium-card {
  background-color: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(106, 142, 78, 0.1);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.premium-card:hover .card-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--kivi-green);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--kivi-dark);
}

.card-text {
  font-size: 13px;
  color: var(--slate-600);
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 500;
}

.btn-card {
  background-color: var(--kivi-dark);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease;
}

.btn-card:hover {
  background-color: var(--kivi-green);
}

/* FAQ Accordions */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  border: 1px solid rgba(106, 142, 78, 0.1);
  transition: all 0.3s ease;
}

.faq-question-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question-row h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--kivi-dark);
}

.faq-question-row i {
  color: var(--kivi-green);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

.faq-item.active .faq-question-row i {
  transform: rotate(45deg);
  color: var(--kivi-wood);
}

/* Legal Content layouts (KVKK, Privacy, etc.) */
.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(75, 56, 50, 0.05);
}

.legal-title {
  margin-bottom: 24px;
  text-align: center;
}

.legal-content h3 {
  font-size: 20px;
  margin: 28px 0 12px 0;
  color: var(--kivi-dark);
}

.legal-content p, .legal-content li {
  font-size: 13px;
  color: var(--slate-600);
  margin-bottom: 12px;
  font-weight: 500;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Footer Section */
.footer {
  background-color: var(--white);
  border-t: 1px solid var(--slate-200);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-cols: repeat(4, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h5 {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--kivi-green);
  border-b: 1px solid rgba(106, 142, 78, 0.2);
  padding-bottom: 8px;
  width: max-content;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--kivi-accent);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--kivi-beige);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--kivi-dark);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: var(--kivi-green);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-t: 1px solid var(--slate-200);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Feature tags inside Room Details */
.features-grid {
  display: grid;
  grid-template-cols: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(106, 142, 78, 0.2);
}

.feature-tag i {
  color: var(--kivi-green);
}

/* ==========================================
   MOBILE STICKY CTA BAR (CUSTOM BRAND STYLES)
   ========================================== */
.mobile-sticky-cta {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 12px 16px !important;
    z-index: 1000 !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    box-shadow: 0 -8px 24px rgba(26, 47, 76, 0.08) !important;
}

.mobile-sticky-cta a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.mobile-sticky-cta a:hover {
    transform: translateY(-2px) !important;
    opacity: 0.9 !important;
}

.mobile-sticky-cta a i {
    font-size: 20px !important;
    margin-bottom: 2px !important;
}

.mobile-sticky-cta .cta-call { color: #2563eb !important; }
.mobile-sticky-cta .cta-whatsapp { color: #16a34a !important; }
.mobile-sticky-cta .cta-map { color: #f97316 !important; }
.mobile-sticky-cta .cta-book { color: #1A2F4C !important; }

@media (min-width: 1024px) {
    .mobile-sticky-cta {
        display: none !important;
    }
}