*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Segoe UI Variable",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  background: #1b1b1b;
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

/* ==================== HEADER ==================== */
.header {
  color: #fff;
  background: #292929;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 8px 24px;
}

.header-left {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 0;
  overflow: hidden;
  padding: 2px 0;
}

.header-logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.header-logo {
  height: 18px;
  width: 84px;
  display: block;
}

.header-separator {
  width: 2px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 8px;
  flex-shrink: 0;
}

@media (max-width: 946px) {
  .header-separator {
    display: none;
  }
  .header-brand {
    flex-flow: wrap;
    width: 200px;
  }
}

.header-title-link {
  text-decoration: none;
}

.header-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: inline;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  gap: 6px;
  background-color: #fff;
  color: #242424;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  padding: 5px 12px;
  min-width: 96px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.header-btn:hover {
  background-color: #f5f5f5;
}

.header-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 20px;
}

/* ==================== HERO ==================== */
.hero {
  color: #242424;
  background: linear-gradient(
    82deg,
    rgb(8, 35, 56) 6.06%,
    rgb(6, 48, 4) 100%
  );
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

@media (max-width: 550px) {
  .hero {
    align-self: stretch;
    padding: 20px 0 0 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

.hero-content {
  align-items: flex-start;
  display: flex;
  flex-flow: column wrap;
  gap: 40px;
  margin: 118px 0 178px 80px;
  width: 640px;
}

@media (max-width: 1535px) {
  .hero-content {
    margin: 76px 0 76px 80px;
    width: 360px;
  }
}
@media (max-width: 1292px) {
  .hero-content {
    margin: 76px 0 76px 40px;
  }
}
@media (max-width: 1050px) {
  .hero-content {
    margin: 76px 0 76px 20px;
  }
}
@media (max-width: 780px) {
  .hero-content {
    margin: 33px 0 33px 20px;
    width: 288px;
  }
}
@media (max-width: 550px) {
  .hero-content {
    gap: 20px;
    max-width: 280px;
    width: 100%;
    margin: 0;
  }
}

.hero-heading {
  font-size: 40px;
  font-weight: 600;
  color: #0f6cbd;
  line-height: 1.2;
}

@media (max-width: 780px) {
  .hero-heading {
    font-size: 28px;
  }
}
@media (max-width: 550px) {
  .hero-heading {
    font-size: 22px;
  }
}

.hero-subtitle {
  color: rgba(180, 210, 180, 0.45);
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .hero-subtitle {
    width: 100%;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn-primary {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  vertical-align: middle;
  overflow: hidden;
  background-color: #0f6cbd;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  min-width: 96px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.hero-btn-primary:hover {
  background-color: #115ea3;
}

.hero-btn-secondary {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  vertical-align: middle;
  overflow: hidden;
  background-color: #fff;
  color: #242424;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  min-width: 96px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.hero-btn-secondary:hover {
  background-color: #f5f5f5;
}

@media (max-width: 780px) {
  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 6px 12px;
  }
}

/* Hero Visual (Right Side) */
.hero-visual {
  display: flex;
  flex: 1 0 0;
  justify-content: flex-end;
  max-width: 800px;
  position: relative;
}

@media (max-width: 1535px) {
  .hero-visual {
    max-width: 650px;
  }
}
@media (max-width: 780px) {
  .hero-visual {
    max-width: 400px;
  }
}
@media (max-width: 550px) {
  .hero-visual {
    height: 280px;
    max-width: none;
    width: 100%;
  }
}

.hero-bg {
  background: url("assets/img1.jpg") center top / cover no-repeat;
  border-radius: 16px 0 0;
  height: 100%;
  width: calc(100% - 140px);
}

@media (max-width: 780px) {
  .hero-bg {
    width: calc(100% - 70px);
  }
}
@media (max-width: 550px) {
  .hero-bg {
    height: 280px;
  }
}

.business-card {
  align-items: stretch;
  background: #fff;
  border-radius: 16px 16px 0 0;
  bottom: 0;
  box-shadow:
    0 0 2px rgba(0, 0, 0, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.14);
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  left: 0;
  overflow: hidden;
  position: absolute;
  width: 464px;
}

@media (max-width: 780px) {
  .business-card {
    border-radius: 8px 8px 0 0;
    width: 232px;
  }
}

.card-photos {
  background: url("assets/img2.jpg") 50% center / cover no-repeat;
  height: 220px;
}

@media (max-width: 780px) {
  .card-photos {
    height: 110px;
  }
}

.card-info {
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  height: 180px;
  padding: 20px;
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  color: #242424;
}

@media (max-width: 780px) {
  .card-info {
    gap: 4px;
    height: 90px;
    padding: 10px;
  }
}

.card-top {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  gap: 12px;
}

.card-title-group {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex: 1 0 0;
}

.card-name {
  font-size: 16px;
  font-weight: 600;
  color: #242424;
}

.card-url {
  font-size: 12px;
  color: #616161;
}

.card-actions {
  align-items: center;
  display: flex;
  gap: 4px;
  color: #616161;
}

.card-actions svg {
  display: inline;
  line-height: 0;
  cursor: pointer;
}

.card-details {
  align-self: stretch;
  gap: 2px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.card-detail-row {
  gap: 8px;
  align-items: center;
  align-self: stretch;
  display: flex;
  font-size: 13px;
}

.card-detail-row svg {
  display: inline;
  line-height: 0;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .card-detail-row svg {
    height: 12px;
    width: 12px;
  }
}

.card-star {
  color: #ffb900;
}

.card-rating-score {
  font-weight: 600;
  color: #242424;
}

.card-rating-count {
  color: #616161;
}

.card-category {
  color: #616161;
}

.card-hours-text {
  color: #242424;
}

.card-hours-open {
  color: #107c10;
  font-weight: 600;
}

.card-dropdown {
  color: #616161;
}

/* ==================== STATS ==================== */
.stats {
  background: #1b1b1b;
  padding: 80px 40px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 780px) {
  .stats-container {
    flex-direction: column;
    gap: 40px;
  }
  .stats {
    padding: 40px 20px;
  }
}

.stat {
  flex: 1;
  max-width: 340px;
}

.stat-number {
  font-size: 88px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-unit {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.stat-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 12px;
  line-height: 1.5;
}

/* ==================== CAFE IMAGE ==================== */
.cafe-section {
  background: #1b1b1b;
  padding: 20px 40px 60px;
  display: flex;
  justify-content: center;
}

.cafe-image {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ==================== DESCRIPTION ==================== */
.description {
  background: #1b1b1b;
  padding: 40px 40px 80px;
  display: flex;
  justify-content: center;
}

.description-text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  max-width: 820px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 780px) {
  .description-text {
    font-size: 16px;
  }
  .description {
    padding: 20px 20px 40px;
  }
}

/* ==================== FOOTER ==================== */
.footer {
  background: #1b1b1b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  padding: 4px 8px;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

/* ==================== RESPONSIVE ENHANCEMENTS ==================== */

@media (max-width: 780px) {
  .stat-number {
    font-size: 64px;
  }

  .stat-unit {
    font-size: 40px;
  }

  .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cafe-section {
    padding: 10px 20px 40px;
  }
}

@media (max-width: 550px) {
  .header {
    padding: 8px 12px;
  }

  .header-title {
    font-size: 13px;
  }

  .header-btn {
    min-width: auto;
    padding: 5px 10px;
    font-size: 13px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .business-card {
    width: 180px;
  }

  .card-photos {
    height: 80px;
  }

  .card-info {
    height: auto;
    padding: 8px;
    gap: 4px;
  }

  .card-name {
    font-size: 12px;
  }

  .card-url {
    font-size: 10px;
  }

  .card-detail-row {
    font-size: 10px;
    gap: 4px;
  }

  .card-detail-row svg {
    width: 10px;
    height: 10px;
  }

  .card-actions svg {
    width: 14px;
    height: 14px;
  }

  .stat-number {
    font-size: 52px;
  }

  .stat-unit {
    font-size: 32px;
  }

  .stat-desc {
    font-size: 13px;
  }

  .cafe-section {
    padding: 10px 16px 30px;
  }

  .cafe-image {
    border-radius: 4px;
  }

  .description {
    padding: 20px 16px 40px;
  }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .footer-links {
    gap: 2px;
  }

  .footer-links a {
    padding: 3px 4px;
    font-size: 11px;
  }

  .footer-copyright {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .header-left {
    flex-wrap: wrap;
    gap: 4px;
  }

  .business-card {
    display: none;
  }

  .hero-bg {
    width: 100%;
    border-radius: 8px 0 0;
  }

  .stat-number {
    font-size: 44px;
  }

  .stat-unit {
    font-size: 26px;
  }

  .description-text {
    font-size: 14px;
  }
}
