/* Premium Flower Delivery SEO Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #db2777; /* Rose 600 */
  --primary-hover: #be185d; /* Rose 700 */
  --primary-light: #fce7f3; /* Rose 100 */
  --secondary: #059669; /* Emerald 600 */
  --secondary-hover: #047857; /* Emerald 700 */
  --accent: #f59e0b; /* Amber 500 */
  --bg-gradient: linear-gradient(135deg, #fff5f7 0%, #f0fdf4 100%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --text-main: #1f2937;
  --text-dark: #0f172a;
  --text-muted: #6b7280;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(219, 39, 119, 0.08), 0 4px 6px -2px rgba(219, 39, 119, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(219, 39, 119, 0.1), 0 10px 10px -5px rgba(219, 39, 119, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header & Premium Hero */
.hero-section {
  padding: 80px 0 50px;
  text-align: center;
  position: relative;
}

.hero-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(219, 39, 119, 0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  word-break: keep-all;
}

.hero-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background: rgba(219, 39, 119, 0.15);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  word-break: keep-all;
}

/* Glassmorphism Card Wrapper */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(219, 39, 119, 0.2);
}

/* Promo Banner Section */
.promo-banner {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.promo-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.promo-banner-content {
  position: relative;
  z-index: 2;
}

.promo-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 15px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
}

.promo-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.promo-btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.promo-btn:hover {
  background: var(--primary-light);
  transform: scale(1.05);
  color: var(--primary-hover);
}

/* Local Business Shop Cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.shop-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.shop-card.active {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  background: #fffdfd;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(219, 39, 119, 0.15);
}

.shop-header {
  margin-bottom: 15px;
}

.shop-category {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.shop-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
}

.shop-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.shop-info-row svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
  width: 16px;
  height: 16px;
}

.shop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.btn-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-naver {
  background: #03c75a;
  color: white;
}

.btn-naver:hover {
  background: #02a64a;
  color: white;
}

.btn-google {
  background: white;
  color: #ea4335;
  border-color: #ea4335;
}

.btn-google:hover {
  background: #fef2f2;
  color: #ea4335;
}

/* Map Embed Wrapper */
.map-embed-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 45%; /* Aspect ratio */
  min-height: 350px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ Accordion */
.faq-section {
  margin-bottom: 40px;
}

.faq-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
}

.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(219, 39, 119, 0.1);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #fff;
  transition: var(--transition);
}

.faq-question:hover {
  background: #fff9fa;
  color: var(--primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: var(--transition);
}

.faq-item.active .faq-question {
  background: #fff5f7;
  color: var(--primary);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: white;
}

.faq-answer-content {
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid #fce7f3;
  word-break: keep-all;
}

/* Programmatic SEO Link Navigation (Previous/Next Links) */
.seo-links-container {
  margin-top: 40px;
  padding: 25px;
}

.seo-links-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-align: center;
}

.seo-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-link-item a {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 50px;
  transition: var(--transition);
}

.seo-link-item a:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(219, 39, 119, 0.2);
  transform: translateY(-2px);
}

/* Footer Section */
footer {
  margin-top: 60px;
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 0.9rem;
}

footer p {
  margin: 5px 0;
}

/* Utilities */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 20%;
  width: 60%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Filter & Search Section */
.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.region-pill {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.region-pill:hover, .region-pill.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* 카테고리 필터. 지역 필터와 생김새는 같고 활성 색만 다르게 해서 서로 구분되게 한다. */
.category-pill {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.category-pill:hover, .category-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.premium-input {
  border-radius: 50px;
  padding: 12px 20px 12px 45px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.premium-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-light);
  outline: none;
}
.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.page-btn {
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Info Badge Card */
.info-badge-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}
.info-badge-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

/* Delivery Slider (Fade Transition) */
.product-banner-container {
  position: relative;
  overflow: hidden;
}
.delivery-gallery-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.gallery-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.gallery-slide-item.active {
  opacity: 1;
  z-index: 2;
}

/* SEO Story Section */
.seo-story-section {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
}
.seo-story-content {
  text-align: justify;
  text-justify: inter-character;
  word-break: keep-all;
}
