/* ─── Balamir — Premium Homepage ─── */
:root {
  --primary: #C85132;
  --primary-dark: #9A3B22;
  --primary-light: #E8835C;
  --primary-50: #FDF2EE;
  --primary-100: #F9E2D8;
  --primary-200: #F2C5B1;
  --primary-300: #E8A38A;
  --primary-400: #D87D5E;
  --primary-500: #C85132;
  --primary-600: #B3452A;
  --primary-700: #9A3B22;
  --primary-800: #7A2E1B;
  --primary-900: #5C2214;
  --accent: #D4A574;
  --accent-light: #E8C9A0;
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --bg-dark: #1A1412;
  --bg-darker: #120E0C;
  --bg-light: #FDF8F5;
  --text-dark: #2D1F1A;
  --text-muted: #8C7D75;
  --text-light: #F5F0EC;
  --glass-bg: rgba(253, 248, 245, 0.75);
  --glass-border: rgba(200, 81, 50, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
  --bg-light: #1A1412;
  --bg-dark: #120E0C;
  --text-muted: #A6948A;
  --glass-bg: rgba(26, 20, 18, 0.75);
  --glass-border: rgba(200, 81, 50, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ─── Hero ─── */
.hero-section {
  position: relative; height: 100vh; min-height: 700px;
  overflow: hidden; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,14,12,0.72) 0%, rgba(200,81,50,0.35) 50%, rgba(18,14,12,0.65) 100%);
}
.hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,14,12,0.6) 0%, transparent 50%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; border-radius: 999px;
  background: rgba(200,81,50,0.2); border: 1px solid rgba(200,81,50,0.3);
  font-size: 0.8125rem; color: var(--primary-light); font-weight: 500;
  backdrop-filter: blur(8px); margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700; line-height: 1.2;
  color: #fff; letter-spacing: -0.01em;
  font-family: 'Playfair Display', Georgia, serif;
  max-width: 700px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: rgba(255,255,255,0.7); line-height: 1.7;
  max-width: 540px; margin-top: 1rem; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 600;
  font-size: 0.9375rem; border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,81,50,0.35);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-detail {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); text-decoration: none;
}
.btn-detail:hover { background: var(--primary); color: #fff; transform: scale(1.1); }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 999px;
  background: transparent; color: #fff; font-weight: 600;
  font-size: 0.9375rem; border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: all var(--transition);
}
.btn-outline-light:hover {
  border-color: #fff; background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.hero-status {
  position: absolute; bottom: 2rem; left: 2rem;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 1.25rem; border-radius: 999px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(12px);
  color: #fff; font-size: 0.875rem;
}
.hero-status .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.1em;
  animation: bounce-down 2s infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Section Common ─── */
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-light { background: var(--bg-light); }
.section-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 999px;
  background: var(--primary-50); color: var(--primary);
  font-size: 0.8125rem; font-weight: 600; margin-bottom: 1rem;
}
.dark .section-badge { background: rgba(200,81,50,0.15); color: var(--primary-light); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.15;
  font-family: 'Playfair Display', Georgia, serif;
}
.section-subtitle {
  font-size: 1.0625rem; color: var(--text-muted);
  max-width: 600px; line-height: 1.7;
}

/* ─── Trust Bar ─── */
.trust-card {
  text-align: center; padding: 2rem 1rem;
  transition: transform var(--transition);
}
.trust-card:hover { transform: translateY(-4px); }
.trust-icon {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 1rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.trust-value { font-size: 2rem; font-weight: 800; color: var(--text-dark); }
.dark .trust-value { color: #fff; }
.trust-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ─── About ─── */
.about-image {
  position: relative; border-radius: 1.5rem; overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.about-image:hover img { transform: scale(1.05); }
.about-badge-float {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--primary); color: #fff; padding: 1.25rem;
  border-radius: 1.25rem; text-align: center; box-shadow: var(--shadow-lg);
  min-width: 120px;
}
.about-badge-float .number { font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.about-badge-float .label { font-size: 0.75rem; opacity: 0.85; margin-top: 0.25rem; }
.about-watermark {
  position: absolute; font-size: clamp(6rem, 12vw, 12rem);
  font-weight: 900; color: rgba(200,81,50,0.06); line-height: 1;
  pointer-events: none; font-family: 'Playfair Display', Georgia, serif;
  top: -0.3em; right: -0.1em;
}

/* ─── Category Cards ─── */
.cat-card {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  aspect-ratio: 4/5; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; position: absolute; inset: 0; }
.cat-card:hover img { transform: scale(1.1); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  transition: background 0.4s; z-index: 1;
}
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); }
.cat-content {
  position: relative; z-index: 2;
  color: #fff; text-align: center; padding: 1.5rem;
  transform: translateY(0); transition: transform 0.4s;
}
.cat-card:hover .cat-content { transform: translateY(-4px); }
.cat-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.9; }
.cat-title { font-size: 2rem; font-weight: 700; font-family: 'Playfair Display', Georgia, serif; }
.cat-count { font-size: 0.95rem; opacity: 0.8; margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.25rem; }

/* ─── Campaigns ─── */
.campaign-card {
  background: #fff; border-radius: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-md); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.dark .campaign-card { background: #241E1A; }
.campaign-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.campaign-img-wrap { overflow: hidden; height: 220px; }
.campaign-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.campaign-card:hover .campaign-img { transform: scale(1.08); }
.campaign-body { padding: 1.5rem; flex: 1; }
.campaign-title { font-size: 1.375rem; font-weight: 700; font-family: 'Playfair Display', Georgia, serif; }
.dark .campaign-title { color: #fff; }
.campaign-desc { font-size: 0.9375rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.6; }

/* ─── Menu Direction CTA ─── */
.menu-cta-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2D1F1A 100%);
  color: #fff; position: relative; overflow: hidden;
}
.menu-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ─── Features ─── */
.feature-card {
  text-align: center; padding: 2rem 1rem;
  border-radius: 1.25rem; transition: all var(--transition);
  background: var(--primary-50); border: 1px solid var(--glass-border);
}
.dark .feature-card { background: rgba(200,81,50,0.08); border-color: rgba(200,81,50,0.12); }
.feature-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  background: var(--primary); border-color: var(--primary);
}
.dark .feature-card:hover { background: rgba(200,81,50,0.2); }
.feature-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  background: #fff; color: var(--primary); font-size: 1.5rem;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.dark .feature-icon-wrap { background: #2D1F1A; }
.feature-card:hover .feature-icon-wrap {
  background: var(--primary); color: #fff; transform: scale(1.1);
}
.dark .feature-card:hover .feature-icon-wrap { background: var(--primary); }
.feature-title {
  font-size: 0.9375rem; font-weight: 600; color: var(--text-dark);
}
.dark .feature-title { color: rgba(255,255,255,0.85); }

/* ─── Atmosphere Gallery ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px; gap: 0.75rem;
}
.gallery-item {
  position: relative; border-radius: 1rem; overflow: hidden; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s, filter 0.4s;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.6); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 2rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }



/* ─── Testimonials ─── */
.testi-card {
  background: #fff; border-radius: 1.5rem; padding: 2rem;
  box-shadow: var(--shadow-md); transition: all var(--transition);
}
.dark .testi-card { background: #241E1A; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testi-text { font-size: 1.0625rem; line-height: 1.7; color: var(--text-dark); font-style: italic; }
.dark .testi-text { color: rgba(255,255,255,0.85); }
.testi-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
}
.testi-name { font-weight: 600; font-size: 0.9375rem; }
.testi-source { font-size: 0.8125rem; color: var(--text-muted); }

/* ─── Blog ─── */
.blog-card {
  background: #fff; border-radius: 1.5rem; overflow: hidden;
  box-shadow: var(--shadow-md); transition: all var(--transition);
}
.dark .blog-card { background: #241E1A; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.blog-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 0.6s;
}
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-category {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px;
  background: var(--primary-50); color: var(--primary);
  font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem;
}
.dark .blog-category { background: rgba(200,81,50,0.15); color: var(--primary-light); }
.blog-body { padding: 1.5rem; }
.blog-title { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.dark .blog-title { color: #fff; }
.blog-excerpt { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8125rem; color: var(--text-muted); margin-top: 1rem; }
.blog-link { color: var(--primary); font-weight: 600; font-size: 0.9375rem; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; transition: gap var(--transition); }
.blog-link:hover { gap: 0.75rem; }

/* ─── CTA ─── */
.cta-section {
  background: linear-gradient(135deg, var(--bg-dark), #2D1F1A);
  color: #fff; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ─── Contact ─── */
.contact-map { width: 100%; height: 400px; border-radius: 1.5rem; overflow: hidden; }
.contact-card {
  background: #fff; border-radius: 1.25rem; padding: 2rem;
  box-shadow: var(--shadow-md); display: flex; align-items: flex-start; gap: 1rem;
  transition: all var(--transition);
}
.dark .contact-card { background: #241E1A; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 0.75rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-50); color: var(--primary); font-size: 1.25rem;
}
.dark .contact-icon { background: rgba(200,81,50,0.15); }

/* ─── Footer ─── */
.site-footer {
  background: #fff; color: rgba(45,31,26,0.6);
  position: relative;
  border-top: 1px solid rgba(200,81,50,0.08);
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px; background: linear-gradient(to right, transparent, var(--primary), transparent);
}
.footer-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.25rem; }
.footer-link {
  color: rgba(45,31,26,0.5); font-size: 0.875rem;
  transition: color var(--transition); display: block; padding: 0.25rem 0;
}
.footer-link:hover { color: var(--primary); }
.footer-social {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-50); border: 1px solid rgba(200,81,50,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: all var(--transition);
}
.footer-social:hover {
  background: var(--primary); border-color: var(--primary);
  color: #fff; transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(200,81,50,0.06);
  padding: 1.5rem 0; margin-top: 3rem;
}

/* ─── Filter Panel ─── */
.filter-panel {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.filter-chip {
  padding: 0.5rem 1.125rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition);
  background: var(--primary-50); color: var(--primary);
  border: 1px solid transparent;
}
.dark .filter-chip { background: rgba(200,81,50,0.1); }
.filter-chip:hover { border-color: var(--primary); }
.filter-chip.active { background: var(--primary); color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .section { padding: 4rem 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .hero-status { left: 1rem; right: 1rem; bottom: 1rem; justify-content: center; }
  .scroll-indicator { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 0.5rem; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }

  .contact-map { height: 300px; }
  .about-badge-float { right: 0; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
