/* ============================================
   NIXE HOTEL — Premium & Modern Design
   ============================================ */

:root {
  /* Premium palette */
  --color-bg: #0a0a0b;
  --color-bg-elevated: #111113;
  --color-bg-card: #161618;
  --color-surface: #1c1c1f;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.12);

  --color-text: #f5f5f7;
  --color-text-muted: #a1a1a6;
  --color-text-subtle: #6e6e73;

  --color-accent: #d4af37;
  --color-accent-hover: #e5c44a;
  --color-accent-muted: rgba(212, 175, 55, 0.2);
  --color-champagne: #f5e6d3;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 0.5s;
  --duration-slow: 0.8s;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}

/* ============================================
   Navigation — Modern glass
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--duration) var(--ease-out);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-logo span {
  font-weight: 500;
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: var(--duration) var(--ease-out);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  background: var(--color-accent);
  color: #0a0a0b !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  color: #0a0a0b !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

/* ============================================
   Hero — Modern banner
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease-out);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 50%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 22%;
  left: var(--space-xl);
  right: var(--space-xl);
  max-width: 680px;
  color: #fff;
}

.hero-subtitle {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 4px 40px rgba(0, 0, 0, 0.2);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .btn {
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.hero-dots {
  position: absolute;
  bottom: 120px;
  left: var(--space-xl);
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}

.hero-dots .dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dots .dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--color-accent);
}

.hero-scroll {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll span {
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(4px);
    opacity: 0.5;
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #c9a227 100%);
  color: var(--color-bg);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================
   CTA Strip
   ============================================ */

.cta-strip {
  background: var(--color-surface);
  padding: var(--space-2xl) var(--space-xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.cta-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* ============================================
   Sections
   ============================================ */

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* About */
.about {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--color-bg);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img.main {
  width: 78%;
  height: 72%;
  top: 0;
  left: 0;
  box-shadow: var(--shadow-lg);
}

.about-img.secondary {
  width: 52%;
  height: 48%;
  bottom: 0;
  right: 0;
  border: 3px solid var(--color-surface);
  box-shadow: var(--shadow-md);
}

.about-content p {
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.about-content .btn {
  margin-top: var(--space-md);
}

/* Gallery */
.gallery {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--color-bg-elevated);
}

.gallery h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.gallery-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Services */
.services {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--color-bg);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.service-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.service-icon {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(0.8);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Values */
.values {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  overflow: hidden;
}

.values-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.values-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 10, 11, 0.7) 0%,
      rgba(10, 10, 11, 0.92) 100%);
}

.values-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text);
}

.values-content h2,
.values-content .section-tag {
  color: var(--color-text);
}

.values-content .section-tag {
  color: var(--color-accent);
}

.values-content p {
  margin-bottom: var(--space-2xl);
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.value-item {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease-out);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-accent-muted);
}

.value-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-md);
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Rooms */
.rooms {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--color-bg-elevated);
}

.rooms h2 {
  text-align: center;
}

.rooms-intro {
  text-align: center;
  max-width: 560px;
  margin: -0.5rem auto var(--space-2xl);
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.rooms-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.room-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease-out);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-light);
}

.room-image {
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform var(--duration-slow) var(--ease-out);
}

.room-card:hover .room-image {
  transform: scale(1.05);
}

.room-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.room-content {
  padding: var(--space-xl);
}

.room-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.room-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Map + Contact — Two column layout */
.map-contact-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.map-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 380px;
}

.map-contact-map {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.map-contact-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%) contrast(1.02);
}

.map-contact-info {
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
}

.map-contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 var(--space-md) 0;
}

.map-contact-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.map-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  transition: color var(--duration) var(--ease-out);
}

.map-contact-phone:hover {
  color: var(--color-accent-hover);
}

.map-contact-phone svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.map-contact-address {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.map-contact-address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.8;
}

.map-contact-info .btn {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .map-contact-grid {
    grid-template-columns: 1fr;
    min-height: 350px;
  }

  .map-contact-map {
    min-height: 280px;
  }

  .map-contact-info {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
}

/* Footer */
.site-footer {
  margin-top: 0;
}

.footer-main {
  background: var(--color-bg);
  padding: var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-main-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.footer-logo span {
  font-weight: 400;
  color: var(--color-accent);
}

.footer-address {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-sm);
}

.footer-signature {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-signature-text {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-signature-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer-signature-logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: all var(--duration) var(--ease-out);
}

.footer-signature-link:hover .footer-signature-logo {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .footer-contact-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact-actions {
    flex-direction: column;
  }

  .footer-phone {
    font-size: 1.35rem;
  }

  .footer-signature {
    flex-direction: column;
    gap: var(--space-xs);
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-images {
    height: 420px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: var(--space-md) var(--space-lg);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: var(--color-bg-elevated);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: var(--space-lg);
    transition: right var(--duration) var(--ease-out);
    border-left: 1px solid var(--color-border);
  }

  .nav-menu.open {
    right: 0;
  }

  .hero-content {
    bottom: 38%;
    left: var(--space-lg);
    right: var(--space-lg);
  }

  .hero-dots {
    left: var(--space-lg);
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

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

  .gallery-item.wide {
    grid-column: span 1;
  }
}