:root {
  /* Colors - White Cream & Wood */
  --color-primary: #8B5A2B; /* Warm Wood */
  --color-primary-hover: #6D431F;
  --color-ui-01: #FDFBF7; /* Soft Cream Background */
  --color-ui-02: #E8E4DA; /* Warm Beige Border */
  --color-text: #2c2c2c; /* Softer Dark Gray */
  --color-text-light: #5a5a5a;
  --color-inverse: #ffffff;
  
  /* Mappings */
  --color-wood: #8B5A2B; 
  --color-wood-dark: #6D431F; 
  --color-beige: #FDFBF7;
  --color-pearl: #ffffff;

  /* Typography - IBM Plex / Inter */
  --font-heading: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Inter", sans-serif;

  /* Spacing */
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --container-width: 1200px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-pearl);
  color: var(--color-text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600; /* Bolder headings */
  line-height: 1.1;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em; /* Tighter tracking */
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 1.5rem; /* Larger touch target */
  border-radius: 0; /* Sharp edges */
  font-weight: 400;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

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

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

.btn-outline {
  border-color: white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Header */
.site-header {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.8); /* More transparent for glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-wood);
}

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

.lang-switcher select {
    padding: 0.5rem;
    border: none;
    border-bottom: 1px solid var(--color-text);
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    color: var(--color-text);
}

.mobile-menu-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333; /* Fallback */
  background-image: url('../assets/images/hero.png'); /* Placeholder */
  background-size: cover;
  background-position: center;
    z-index: -1;
    animation: kenBurns 20s infinite alternate linear;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Sections */
section {
  padding: var(--spacing-lg) 0;
}

.section-culture {
  background-color: var(--color-pearl);
}

/* Slide animation for culture text */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.slide-in-right {
  animation: slideInRight 3s ease-out forwards;
}

/* Split Layout (Culture) */
.split-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.split-layout img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width: 100%;
}

.culture-list {
  list-style: none;
  margin-top: 1.5rem;
}

.culture-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.culture-list li::before {
  content: '•';
  color: var(--color-text);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Rooms Grid */
.room-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.room-card {
  background: white;
  border-radius: 0; /* Sharp */
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--color-ui-02); /* Flat border */
  transition: border-color 0.3s ease;
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-image {
  height: 250px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.room-details {
  padding: 1.5rem;
}

.room-details h3 {
  font-size: 1.5rem;
  color: var(--color-wood-dark);
}

.room-details .price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.room-details .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
}

/* Services Section */
.section-services {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-pearl);
}

/* Interactive Calendar */
.calendar-container {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: none;
    margin-top: 1.5rem;
    border: 1px solid var(--color-ui-02);
}

.calendar-header {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-wood);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.8rem;
}

.calendar-day-header {
    font-weight: 600;
    color: var(--color-text-light);
    padding-bottom: 0.5rem;
}

.calendar-day {
    padding: 8px 4px;
    border-radius: 0;
    background: #fdfdfd;
    color: #333;
    border: 1px solid var(--color-ui-02);
}

.calendar-day.booked {
    background-color: #ffecec;
    color: #d63031;
    text-decoration: line-through;
    opacity: 0.7;
}

.calendar-day.available {
    background-color: #e8f5e9;
    color: #27ae60;
    cursor: default;
}

.calendar-day.empty {
    background: transparent;
    border: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    border-radius: 0; /* Sharp */
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--color-ui-02);
    transition: background-color 0.3s ease;
    text-align: left; /* IBM style prefers left align */
    padding: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--color-wood);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.section-services {
  background-color: var(--color-pearl);
  padding: var(--spacing-lg) 0;
}

.services-list {
  list-style: none;
  margin-top: 1.5rem;
}

.service-item {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-item::before {
  content: '•';
  color: var(--color-text);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
}

/* Gallery Grid */
.section-gallery {
  background-color: var(--color-pearl);
}

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

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  /* Make some items span 2 columns for a masonry feel */
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(8) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-item {
  position: relative;
  border-radius: 0; /* Sharp */
  overflow: hidden;
  aspect-ratio: 1; /* Square by default */
}

/* If spanning, change aspect ratio */
@media (min-width: 768px) {
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(8) {
    aspect-ratio: auto;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  color: white;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover .placeholder-overlay {
  opacity: 1;
}

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-text-light);
}

.section-contact {
  background-color: var(--color-wood);
  color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #eee;
    margin: 1.5rem 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 0;
  color: var(--color-text);
  border: 1px solid var(--color-ui-02);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-bottom: 1px solid var(--color-text-light); /* IBM input style */
  background-color: var(--color-ui-01);
  border-radius: 0;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-bottom: 2px solid var(--color-primary);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .desktop-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    display: block; /* Override none to allow transition */
  }

  .mobile-menu-open .desktop-nav {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .mobile-menu-toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-wood);
    position: absolute;
    transition: 0.3s;
  }

  .mobile-menu-toggle span:nth-child(1) { top: 0; }
  .mobile-menu-toggle span:nth-child(2) { top: 9px; }
  .mobile-menu-toggle span:nth-child(3) { top: 18px; }

  .mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  .mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }
}

/* Animations */
.opacity-0 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Text Reveal Effect for Hero */
.hero h1, .hero p, .hero .btn {
    animation: fadeInUp 1s ease-out backwards;
}

.hero h1 { animation-delay: 0.3s; }
.hero p { animation-delay: 0.5s; }
.hero .hero-actions { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
