/* Hero */
.hero {
  background: #FFF57E; 
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer; 
}

.hero-text {
  text-align: center;
  color: var(--hobee-brown);
}

.hero-text h1 {
  font-size: 64px;
  margin-bottom: 12px;
  color: #452829;
}

.hero-text p {
  font-size: 20px;
  color: #452829; 
}

/* Intro */
.intro {
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.intro-card {
  width: 900px;
  display: flex;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid #452829;
}

.intro-logo {
  width: 40%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-logo img {
  width: 260px;
}

.intro-text {
  width: 60%;
  background: #452829;
  color: white;
  padding: 40px;
  line-height: 1.7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-text p{
  color: #FFF57E;
  font-size: 16px;
}


/* ================================================
   반응형 미디어 쿼리 (4단계)
================================================ */

/* --- Tablet (768px ~ 1199px) --- */
@media (max-width: 1199px) {
    .hero {
        height: 340px;
    }

    .hero-text h1 {
        font-size: 50px;
    }

    .hero-text p {
        font-size: 17px;
    }

    .intro-card {
        width: 90%;
    }
}

/* --- Mobile L (480px ~ 767px) --- */
@media (max-width: 767px) {
    .hero {
        height: 260px;
    }

    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 8px;
    }

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

    .intro {
        padding: 50px 16px;
    }

    .intro-card {
        width: 100%;
        flex-direction: column;
        border-radius: 20px;
    }

    .intro-logo {
        width: 100%;
        padding: 30px 0 20px;
    }

    .intro-logo img {
        width: 180px;
    }

    .intro-text {
        width: 100%;
        padding: 28px 24px;
        box-sizing: border-box;
    }

    .intro-text p {
        font-size: 14px;
    }
}

/* --- Mobile S (~ 479px) --- */
@media (max-width: 479px) {
    .hero {
        height: 220px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .intro {
        padding: 36px 12px;
    }

    .intro-logo img {
        width: 140px;
    }

    .intro-text {
        padding: 20px 16px;
    }

    .intro-text p {
        font-size: 13px;
    }
}
