/* ===================================
   LAZARO HOTEL - 2026 REDESIGN
   Modern, Minimal & Responsive
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #8A7D20;
  --secondary-color: #A89827;
  --accent-color: #d4af37;
  --dark-color: #1a1a1a;
  --light-color: #f8f7f3;
  --border-color: #e0ddd5;
  --text-color: #333333;
  --text-light: #666666;
  --success: #27ae60;
  --warning: #e74c3c;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  --border-radius: 8px;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
  
  --transition: all 0.3s ease;
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-serif: Georgia, serif;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--dark-color);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

small {
  font-size: 0.875rem;
}

/* ===== LINKS ===== */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  text-decoration: none;
  box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-sm {
  max-width: 800px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-decoration: none;
  padding: 0.3rem 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-top {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-serif);
  letter-spacing: 2px;
  line-height: 1;
}

.logo-bottom {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  justify-content: flex-start;
}

.logo-images {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

.logo-images img {
  height: 1.1rem;
  width: auto;
  object-fit: contain;
}

.logo-hotel {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-serif);
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

nav a:hover::after {
  width: 100%;
}

.nav-active a::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, rgba(138, 125, 32, 0.1) 0%, rgba(168, 152, 39, 0.1) 100%);
  padding: var(--spacing-xxl) var(--spacing-lg);
  text-align: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text h1 {
  margin-bottom: var(--spacing-md);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
}

/* ===== SECTIONS ===== */
section {
  padding: var(--spacing-xxl) var(--spacing-lg);
}

section.alt {
  background-color: white;
}

/* ===== LOCATION SECTION ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: stretch;
}

.location-info {
  padding-right: 0;
}

.map-container {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
  min-height: 500px;
}

.map-container {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
  margin-top: -6rem;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-md);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: var(--spacing-sm);
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--box-shadow-lg);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
}

.card-body .btn {
  margin-top: auto;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ===== FEATURES ===== */
.feature {
  text-align: center;
  padding: var(--spacing-lg);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.feature h3 {
  margin-bottom: var(--spacing-sm);
}

.feature p {
  margin: 0;
}

/* ===== ROOMS SECTION ===== */
.room-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  display: grid;
}

.room-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.room-card:hover {
  box-shadow: var(--box-shadow-lg);
  transform: translateY(-4px);
}

.room-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: bold;
}

.room-details {
  padding: var(--spacing-lg);
}

.room-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.room-features {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

.room-features li {
  padding: var(--spacing-xs) 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.room-features li::before {
  content: '✓ ';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: var(--spacing-xs);
}

.room-price {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(138, 125, 32, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== FORMS ===== */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-color);
}

input,
textarea,
select {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(138, 125, 32, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.form-group.full {
  grid-column: 1 / -1;
}

/* ===== LOCATION SECTION ===== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: start;
}

.location-info h3 {
  margin-bottom: var(--spacing-md);
}

.contact-info {
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.contact-item-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item-text {
  flex-grow: 1;
}

.contact-item-label {
  font-weight: 600;
  color: var(--text-color);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.contact-item-value {
  color: var(--text-light);
}

.map-container {
  position: relative;
  width: 100%;
  height: 340px;
  margin-top: var(--spacing-sm);
  margin-left: -var(--spacing-md);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-color);
  color: #cccccc;
  padding: var(--spacing-xxl) var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xxl);
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: var(--spacing-xxl);
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: var(--spacing-md);
}

.footer-section p {
  color: #cccccc;
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid #444444;
  color: #999999;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  /* Header */
  .header-content {
    padding: var(--spacing-md);
  }

  .logo {
    font-size: 1.2rem;
  }

  nav ul {
    gap: var(--spacing-md);
  }

  nav a {
    font-size: 0.85rem;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Sections */
  section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  /* Location */
  .location-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .map-container {
    height: 300px;
  }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  /* Location */
  .location-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    gap: var(--spacing-lg);
  }
}

@media (max-width: 600px) {
  :root {
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
  }

  /* Header & Nav */
  .header-content {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
    background: white;
    border-top: 1px solid var(--border-color);
    display: none;
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
  }

  nav a::after {
    display: none;
  }

  .nav-active a {
    color: var(--primary-color);
    font-weight: 600;
  }

  /* Typography */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  /* Grid */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* Buttons */
  .btn {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  /* Cards */
  .card-image {
    height: 200px;
  }

  /* Location */
  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt {
  margin-top: var(--spacing-md);
}

.mb {
  margin-bottom: var(--spacing-md);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.whatsapp-button img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.whatsapp-button:hover {
  background-color: #1fa857;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.whatsapp-button:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-button img {
    width: 40px;
    height: 40px;
  }
}

.pt {
  padding-top: var(--spacing-md);
}

.pb {
  padding-bottom: var(--spacing-md);
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}
