/*
 * Shared stylesheet for the Cheqin platform.
 * Imported ABeeZee font via HTML head; all typography uses this font.
 */

@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Base typography and color palette */
body {
  font-family: 'ABeeZee', sans-serif;
  color: #333;
  background-color: #faf8f5;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  margin-top: 0;
  color: #2c3e50;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  max-width: 800px;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

/* Navigation bar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #e07a5f;
}

.logo-icon {
  margin-right: 0.35rem;
  font-size: 1.2em;
  color: #81a4cd;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #e07a5f;
}

/* Hero section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0 8rem;
  color: #ffffff;
  background-color: #335c81;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.hero-content {
  z-index: 1;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 3rem;
  color: #faf8f5;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #e07a5f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #cf654a;
}

/* Section styles */
section {
  padding: 4rem 0;
}

.about-section {
  background-color: #f2efea;
  color: #444;
}

.features-section {
  background-color: #ffffff;
}

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

.feature-card {
  background-color: #faf8f5;
  border: 1px solid #e7e4e0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card ul {
  padding-left: 1.2rem;
}

.feature-card ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0.5rem;
}

.feature-card ul li::before {
  content: '›';
  position: absolute;
  left: -0.5rem;
  color: #e07a5f;
  font-weight: bold;
}

/* Pricing section */
.pricing-section {
  background-color: #f2efea;
  color: #444;
  text-align: center;
}

.pricing-note {
  margin-bottom: 2rem;
  font-style: italic;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background-color: #ffffff;
  border: 1px solid #e7e4e0;
  border-radius: 8px;
  padding: 2rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
  color: #335c81;
}

.pricing-card .price {
  font-size: 1.5rem;
  color: #e07a5f;
  margin: 0.25rem 0 1rem;
}

.pricing-card .description {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #81a4cd;
}

/* BI section */
.bi-section {
  background-color: #ffffff;
  color: #444;
}

.bi-section p {
  max-width: 800px;
}

/* Rewards section */
.rewards-section {
  background-color: #f2efea;
  color: #444;
}

/* Roadmap section */
.roadmap-section {
  background-color: #ffffff;
  color: #444;
}

.roadmap-section ol {
  max-width: 800px;
  margin: 1.5rem auto;
  padding-left: 1.5rem;
}

.roadmap-section ol li {
  margin-bottom: 0.5rem;
}

/* Property listing section on guest page */
.listing-section {
  background-color: #ffffff;
  color: #444;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.property-card {
  background-color: #faf8f5;
  border: 1px solid #e7e4e0;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.property-card h4 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #2c3e50;
}

.property-card p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: #555;
}

.property-card button {
  margin-top: 0.75rem;
  align-self: flex-start;
}

/* Booking modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: #e07a5f;
}

/* Owner dashboard styles */
.owner-dashboard {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.owner-section {
  background-color: #f2efea;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric-card {
  background-color: #faf8f5;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #e7e4e0;
  flex: 1;
  min-width: 150px;
}

.metric-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #335c81;
}

.metric-card p {
  margin: 0.3rem 0 0;
  font-size: 1.5rem;
  color: #e07a5f;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .logo {
    margin-left: 1rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}