/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Hero Section */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 65px 80px;
  overflow: hidden;
  background-image: url('../../images/hourglass-bg-fn.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 520px;
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: 50%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 65px;
  font-weight: 400;
  color: var(--color-text-medium);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
}

.hero-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Buttons */
.btn-hero-primary {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-inverse);
  text-decoration: none;
  padding: 14px 32px;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-block;
}

.btn-hero-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  text-decoration: none;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-secondary i {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.btn-hero-secondary:hover {
  color: var(--color-primary-dark);
}

.btn-hero-secondary:hover i {
  transform: translateX(4px);
}

/* Credentials Section */
.credentials {
  padding: 20px 20px 40px;
  background: transparent;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px 28px;
  max-width: 100%;
  margin: 0 auto;
  white-space: nowrap;
}

/* Services Section */
.services {
  position: relative;
  padding: 30px 60px 50px;
  background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-card {
  background-image: url('../../images/bg-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(180, 160, 140, 0.3);
  border-radius: var(--radius-lg);
  padding: 0 0 36px;
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 24px;
  background: rgba(248, 237, 232, 0.3);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.18) saturate(0.92) sepia(6%);
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.service-card-body .btn-card {
  margin-top: auto;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(251 223 208 / 45%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-lotus {
  margin-bottom: 18px;
}

.service-lotus img {
  width: 60px;
  height: auto;
  opacity: 0.85;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-medium);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.service-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
  padding: 0 8px;
}

/* Quote Section */
.quote-section {
  position: relative;
  padding: 60px 60px 100px;
  text-align: center;
  background: transparent;
}

.quote-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 60px 60px 48px;
  background-image: url('../../images/hour-book.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 168, 108, 0.35);
  box-shadow: 0 18px 42px rgba(139, 115, 85, 0.18);
  overflow: hidden;
}

.quote-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(251, 223, 208, 0.78) 0%,
    rgba(253, 246, 238, 0.7) 50%,
    rgba(251, 223, 208, 0.82) 100%
  );
  z-index: 0;
}

.quote-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 168, 108, 0.35);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
  z-index: 1;
}

.quote-card > * {
  position: relative;
  z-index: 2;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 110px;
  font-style: italic;
  color: var(--color-accent);
  line-height: 0;
  display: block;
  opacity: 0.7;
  letter-spacing: 0;
}

.quote-mark-open {
  text-align: left;
  margin: 26px 0 0 -10px;
}

.quote-mark-close {
  text-align: right;
  margin: 0 -10px 26px 0;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-medium);
  line-height: 1.45;
  max-width: 620px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

.quote-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 18px;
  max-width: 260px;
}

.quote-flourish-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.quote-flourish-flower {
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1;
}

.quote-author {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

/* ============================================
   RESPONSIVE - HOME PAGE
   ============================================ */

@media (max-width: 1200px) {
  .hero-content {
    margin-right: 40%;
  }

  .hero-title {
    font-size: 55px;
  }
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .hero-content {
    margin-right: 30%;
  }

  .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 50px 30px;
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background: #00000038;
    padding: 12px;
    border-radius: 12px;
  }

  .hero-text,
  .hero-title,
  .hero-actions .btn-hero-secondary,
  .hero-actions .btn-hero-primary {
    color: #f7dad2;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .services {
    padding: 30px 30px 50px;
  }

  .credentials {
    padding: 20px 20px 40px;
    flex-wrap: wrap;
    white-space: normal;
    gap: 10px 24px;
  }

  .quote-section {
    padding: 50px 30px 80px;
  }

  .quote-text {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .credentials {
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    white-space: normal;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .services {
    padding: 20px 20px 40px;
  }

  .service-card {
    padding: 0 0 28px;
  }

  .service-card-image {
    height: 200px;
    margin-bottom: 20px;
  }

  .service-card-body {
    padding: 0 20px;
  }

  .service-title {
    font-size: 22px;
  }

  .service-subtitle {
    font-size: 13px;
  }

  .quote-section {
    padding: 40px 20px 60px;
  }

  .quote-card {
    padding: 36px 24px 30px;
  }

  .quote-card::after {
    inset: 8px;
  }

  .quote-mark {
    font-size: 72px;
  }

  .quote-text {
    font-size: 22px;
    line-height: 1.5;
  }

  .quote-flourish {
    margin: 20px auto 14px;
  }

  .quote-author {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 35px;
  }

  .quote-text {
    font-size: 20px;
  }

  .service-card {
    padding: 0 0 24px;
  }

  .service-card-image {
    height: 180px;
    margin-bottom: 18px;
  }

  .service-card-body {
    padding: 0 16px;
  }
}
