/* ===================================
   Utility Classes for Louka Beach Bali
   Replacing Common Inline Styles
   =================================== */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margins */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mt-6 { margin-top: var(--spacing-xxl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* Display */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

/* Flex utilities */
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }

/* Width */
.w-100 { width: 100%; }
.w-50 { width: 50%; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }

/* Colors */
.color-gold { color: var(--color-gold); }
.color-white { color: var(--color-white); }
.color-gray { color: var(--color-gray); }
.color-muted { color: #888; }

/* Background */
.bg-dark { background-color: rgba(255, 255, 255, 0.05); }
.bg-gold-soft { background-color: rgba(212, 175, 55, 0.1); }

/* Padding */
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

/* Border Radius */
.rounded { border-radius: 8px; }
.rounded-full { border-radius: 50%; }

/* Romance Section Grid */
.romance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  max-width: 1000px;
  margin: var(--spacing-lg) auto;
}

.romance-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .romance-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
}

/* Contact Info Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact-card {
  text-align: center;
  padding: var(--spacing-md);
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
}

.contact-card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.contact-card-title {
  color: var(--color-gold);
  margin-bottom: var(--spacing-sm);
}

/* Booking Awards Section */
.awards-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-top: var(--spacing-lg);
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}

.award-logo {
  height: 50px;
  width: auto;
}

.award-text {
  font-size: 0.85rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .awards-section {
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }
  
  .award-logo {
    height: 40px;
  }
}

/* Hero Section Variations */
.hero-70vh {
  height: 70vh;
  min-height: 400px;
}

.hero-100vh {
  height: 100vh;
  min-height: 600px;
}

/* Responsive visibility */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* Touch-friendly button sizes */
.btn-touch {
  min-height: 44px;
  min-width: 44px;
  padding: var(--spacing-xs) var(--spacing-md);
}

/* Font sizes */
.fs-sm { font-size: 0.9rem; }
.fs-md { font-size: 1rem; }
.fs-lg { font-size: 1.1rem; }
.fs-xl { font-size: 1.25rem; }
.fs-2xl { font-size: 1.5rem; }
.fs-3xl { font-size: 2rem; }

/* Two Column Image Text Layout */
.image-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.image-text-section.reverse {
  direction: rtl;
}

.image-text-section.reverse > * {
  direction: ltr;
}

.image-text-section img {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .image-text-section,
  .image-text-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  
  .image-text-section img {
    order: -1;
  }
}

