/* ================================================
   MADIUN NASI BOX - Main Stylesheet
   Modern, Professional Food Catering Website
   ================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================================================
   CSS CUSTOM PROPERTIES (Variables)
   ================================================ */
:root {
  /* Primary Colors */
  --color-primary: #E8A838;
  --color-primary-dark: #D4922A;
  --color-primary-light: #F5D78E;

  /* Secondary Colors */
  --color-secondary: #C73E1D;
  --color-secondary-dark: #A33218;
  --color-secondary-light: #E8644A;

  /* Neutrals */
  --color-brown: #5D4037;
  --color-brown-light: #8D6E63;
  --color-text: #2D2D2D;
  --color-text-light: #5D5D5D;
  --color-white: #FFFFFF;
  --color-rice-white: #FDF8F0;
  --color-cream: #FFF8E7;
  --color-gold: #B8860B;
  --color-gold-light: #F5E6C4;

  /* Utility Colors */
  --color-success: #4CAF50;
  --color-error: #D32F2F;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #20BD5A;
  --color-overlay: rgba(45, 45, 45, 0.85);

  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 4rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ================================================
   CSS RESET & BASE STYLES
   ================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-rice-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-brown);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
}

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-center { text-align: center; }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-secondary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-rice-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--color-brown);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-gold-light);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-brown);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
}

.logo span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-weight: 500;
  color: var(--color-brown);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-brown);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-white);
  padding: var(--space-4xl) var(--space-xl);
  transition: right var(--transition-slow);
  z-index: 999;
  box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-brown);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-gold-light);
}

.mobile-nav a:hover {
  color: var(--color-primary);
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-size: var(--text-2xl);
  color: var(--color-brown);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-overlay);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-overlay.active {
  opacity: 1;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-rice-white) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1200&q=80') center/cover;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-cream) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: var(--space-4xl) 0;
}

.hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero p {
  font-size: var(--text-xl);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-brown-light);
  font-size: var(--text-sm);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: var(--text-2xl);
}

/* ================================================
   MENU / CARDS SECTION
   ================================================ */
.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.menu-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.1);
}

.menu-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-secondary);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
}

.menu-card-content {
  padding: var(--space-lg);
}

.menu-card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.menu-card-desc {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-card-price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}

/* ================================================
   FEATURE / USP SECTION
   ================================================ */
.why-section {
  background: var(--color-cream);
}

.feature-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--color-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-3xl);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ================================================
   TESTIMONIALS SECTION
   ================================================ */
.testimonials-section {
  background: var(--color-white);
}

.testimonial-card {
  background: var(--color-rice-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-primary-light);
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-2xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

.testimonial-info h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.testimonial-info p {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.testimonial-rating {
  color: var(--color-primary);
  margin-top: var(--space-xs);
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-item {
  flex: 0 0 100%;
  padding: 0 var(--space-md);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold-light);
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonial-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* ================================================
   CTA BANNER SECTION
   ================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(15deg);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xl);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  animation: pulse 2s infinite;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--color-brown);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: var(--text-lg);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-sm) 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: var(--space-sm);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.footer-contact i {
  color: var(--color-primary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

/* ================================================
   PAGE HEADER (Inner Pages)
   ================================================ */
.page-header {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-gold-light) 100%);
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb span {
  color: var(--color-primary);
}

/* ================================================
   FILTER TABS
   ================================================ */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
}

.filter-tab {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--color-brown);
  background: var(--color-white);
  border: 2px solid var(--color-gold-light);
  transition: all var(--transition-base);
  cursor: pointer;
}

.filter-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ================================================
   GALLERY
   ================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--color-white);
  font-size: var(--text-3xl);
  z-index: 1;
  transition: transform var(--transition-base);
}

.gallery-item:hover i {
  transform: translate(-50%, -50%) scale(1);
}

/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-overlay);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  color: var(--color-white);
  font-size: var(--text-3xl);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* ================================================
   CONTACT FORM
   ================================================ */
.contact-form {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-brown);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-gold-light);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--color-error);
}

.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  background: var(--color-success);
  color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: var(--space-lg);
  display: none;
}

.form-success.show {
  display: block;
}

/* ================================================
   CONTACT INFO CARDS
   ================================================ */
.contact-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: all var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-card-content h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-card-content p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.contact-card-content a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-card-content a:hover {
  text-decoration: underline;
}

/* ================================================
   MAP SECTION
   ================================================ */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-3xl);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ================================================
   ABOUT PAGE SPECIFIC
   ================================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-story-image img {
  width: 100%;
  height: auto;
}

.about-story-content h2 {
  margin-bottom: var(--space-lg);
}

.about-story-content p {
  color: var(--color-text-light);
  line-height: 1.8;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.mv-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.mv-card-icon {
  width: 80px;
  height: 80px;
  background: var(--color-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-3xl);
  color: var(--color-primary);
}

.mv-card h3 {
  margin-bottom: var(--space-md);
}

.mv-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card-image {
  height: 280px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-content {
  padding: var(--space-lg);
}

.team-card h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.team-card .role {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.team-card p {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ================================================
   UTILITIES
   ================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 900;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--text-3xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}
