
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #e31837;
    --secondary-color: #ffd700;
    --text-color: #333;
    --bg-color: #fff;
    --gray-color: #f5f5f5;
  }
  
  body {
    font-family: "Noto Sans KR", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Header styles */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }
  
  .order-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
  }
  
  .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  /* Hero section */
  .hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url("https://images.unsplash.com/photo-1626082927389-6cd097cdc6ec?auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
  }
  
  .hero-content {
    max-width: 800px;
    padding: 2rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  /* Button styles */
  .primary-btn,
  .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
  }
  
  .secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
  }
  
  .primary-btn:hover,
  .secondary-btn:hover {
    transform: translateY(-2px);
  }
  
  /* Brand section */
  .brand-section {
    padding: 5rem 0;
    background: var(--bg-color);
  }
  
  .brand-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
  }
  
  .brand-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .brand-features {
    margin-top: 2rem;
  }
  
  .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .feature i {
    color: var(--primary-color);
  }
  
  .brand-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Menu section */
  .menu-section {
    padding: 5rem 0;
    background: var(--gray-color);
  }
  
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .menu-item:hover {
    transform: translateY(-5px);
  }
  
  .menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .menu-item-content {
    padding: 1.5rem;
  }
  
  .menu-item h3 {
    margin-bottom: 0.5rem;
  }
  
  .menu-item .price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
  }
  
  /* Locations section */
  .locations-section {
    padding: 5rem 0;
    background: var(--bg-color);
  }
  
  .location-search {
    max-width: 600px;
    margin: 3rem auto;
    display: flex;
    gap: 1rem;
  }
  
  .location-search input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .location-search button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .location-item {
    background: var(--gray-color);
    padding: 1.5rem;
    border-radius: 10px;
  }
  
  /* Franchise section */
  .franchise-section {
    padding: 5rem 0;
    background: var(--gray-color);
  }
  
  .franchise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
  }
  
  .franchise-steps {
    margin-top: 2rem;
  }
  
  .step {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  .franchise-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  /* Order section */
  .order-section {
    padding: 5rem 0;
    background: var(--bg-color);
  }
  
  .order-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .order-option {
    text-align: center;
    padding: 2rem;
    background: var(--gray-color);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .order-option:hover {
    transform: translateY(-5px);
  }
  
  .order-option i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  /* Footer */
  footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .footer-section h3 {
    margin-bottom: 1rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-links a {
    color: white;
    font-size: 1.5rem;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--bg-color);
      padding: 1rem;
      flex-direction: column;
      text-align: center;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .hero h1 {
      font-size: 2.5rem;
    }
  
    .hero p {
      font-size: 1.2rem;
    }
  
    .brand-content,
    .franchise-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
  
  .ceo-section {
    padding: 5rem 0;
    background: var(--gray-color);
    text-align: center;
  }
  
  .ceo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .ceo-img {
    max-width: 300px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .ceo-text {
    max-width: 600px;
  }
  
  .custom-map-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    background: #fafafa;
  }
  
  .custom-map.fullscreen {
    position: relative;
    width: 100%;
    height: 90vh;
    border: 2px dashed #ccc;
    background: #eaeaea;
    overflow: hidden;
    margin-top: 1rem;
    border-radius: 15px;
  }
  
  .building {
    position: absolute;
    width: 50px;
    height: 70px;
    background: #cccccc;
    border: 2px solid #999;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .custom-map {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #f0f0f0; /* 지도 배경색 */
    border: 2px solid #ccc;
  }
  
  .rider {
    position: absolute;
    width: 500px;
    height: 500px;
    transition: top 1.5s ease, left 1.5s ease;
  }
  
  #riderIcon1 {
    top: 50px;
    left: 30px;
  }
  
  #riderIcon2 {
    top: 100px;
    right: 60px;
  }
  
  
  .destination {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 2.5rem;
    z-index: 9;
  }
  
  .route-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #ff9900);
    top: 50%;
    left: 0;
    opacity: 0.3;
    z-index: 0;
  }
  

  
  


  .speech-bubble {
    position: absolute;
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    color: #000;
    max-width: 150px;
    text-align: center;
    z-index: 10;
  }
  
  .speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
  }
