/* ===================================
   Art and Craft Village - Stylesheet
   Stunning animations, pure CSS
   =================================== */

/* CSS Custom Properties */
:root {
  --primary-brown: #8b4513;
  --secondary-brown: #a0522d;
  --accent-orange: #f4a261;
  --accent-coral: #e76f51;
  --bg-cream: #f5f1eb;
  --bg-light: #e8ddd4;
  --text-dark: #333;
  --white: #fff;
  --success-green: #4caf50;
  --error-red: #e53935;

  /* Animation timing */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   Keyframe Animations
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.4);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 30px 10px rgba(244, 162, 97, 0.2);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-8px);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(244, 162, 97, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(244, 162, 97, 0.6), 0 0 60px rgba(231, 111, 81, 0.3);
  }
}

@keyframes slideInScale {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wiggle {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }
}

@keyframes iconPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ===================================
   Animation Classes
   =================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s var(--ease-smooth);
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s var(--ease-smooth);
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s var(--ease-elastic);
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for grid items */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* ===================================
   Header & Navigation
   =================================== */

header {
  background: rgba(139, 69, 19, 0.95);
  backdrop-filter: blur(15px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  animation: fadeInDown 0.8s var(--ease-smooth);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-orange);
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.logo:hover {
  color: var(--accent-coral);
  transform: scale(1.05);
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-coral);
  transition: width 0.3s var(--ease-smooth);
}

.logo:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 3px;
  transition: all 0.3s var(--ease-smooth);
}

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

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-coral);
  transition: all 0.3s var(--ease-smooth);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--accent-coral);
}

.nav-links a:hover::before {
  width: 100%;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  background: linear-gradient(rgba(139, 69, 19, 0.6),
      rgba(101, 67, 33, 0.7)),
    url("/hero.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

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

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s var(--ease-smooth);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s var(--ease-smooth) 0.2s backwards;
}

.cta-button {
  background: linear-gradient(45deg, var(--accent-coral), var(--accent-orange));
  background-size: 200% 200%;
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s var(--ease-smooth);
  box-shadow: 0 4px 20px rgba(231, 111, 81, 0.4);
  animation: fadeInUp 1s var(--ease-smooth) 0.4s backwards;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s var(--ease-smooth);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(231, 111, 81, 0.5);
  animation: gradientFlow 2s ease infinite;
}

.cta-button:hover::before {
  left: 100%;
}

/* ===================================
   Sections
   =================================== */

.section {
  padding: 5rem 0;
  margin-top: 2rem;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-brown);
  margin-bottom: 3rem;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-coral), var(--accent-orange));
  border-radius: 2px;
}

/* Image Loading Skeleton */
.heritage-item-image,
.gallery-item,
.mission-image {
  position: relative;
  background: linear-gradient(90deg, #e8ddd4 25%, #f5f1eb 50%, #e8ddd4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.heritage-item-image img,
.gallery-item img,
.mission-image img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.heritage-item-image img[src],
.gallery-item img[src],
.mission-image img[src] {
  opacity: 1;
}

/* ===================================
   Mission Section
   =================================== */

.mission {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.5s var(--ease-smooth);
}

.mission:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.9;
}

.mission-text p {
  margin-bottom: 1.5rem;
}

.mission-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.5s var(--ease-smooth);
}

.mission-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(244, 162, 97, 0.2) 100%);
  transition: all 0.5s var(--ease-smooth);
}

.mission-image:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

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

.mission-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-coral), var(--accent-orange));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.4s var(--ease-elastic);
}

.feature-card:hover .feature-icon {
  animation: iconPop 0.5s var(--ease-elastic);
}

.feature-card h3 {
  color: var(--primary-brown);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* ===================================
   Cultural Heritage Section
   =================================== */

.heritage {
  background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-brown) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.heritage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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");
}

.heritage .section-title {
  color: var(--white);
}

.heritage .section-title::after {
  background: linear-gradient(to right, var(--accent-orange), #fff);
}

.heritage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.heritage-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s var(--ease-smooth);
}

.heritage-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.heritage-item-image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.heritage-item-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}

.heritage-item:hover .heritage-item-image::after {
  opacity: 1;
}

.heritage-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

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

.heritage-item h3 {
  color: var(--accent-orange);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.heritage-item p {
  line-height: 1.7;
  opacity: 0.9;
}

/* ===================================
   Gallery Section
   =================================== */

.gallery {
  background: rgba(255, 255, 255, 0.95);
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s var(--ease-smooth);
  position: relative;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(139, 69, 19, 0.8));
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

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

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

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

.gallery-caption {
  padding: 1.2rem;
  background: var(--white);
  text-align: center;
  color: var(--primary-brown);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

/* ===================================
   Donation Section
   =================================== */

.donate {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: 200% 200%;
  animation: gradientFlow 10s ease infinite;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.donate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.donate .section-title {
  color: var(--white);
}

.donate .section-title::after {
  background: linear-gradient(to right, #4ade80, #22c55e);
}

.donate-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.payment-card {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  animation: glow 3s ease-in-out infinite;
}

.payment-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(74, 222, 128, 0.1), transparent, rgba(34, 197, 94, 0.1), transparent);
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

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

.mpesa-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mpesa-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  padding: 1rem 2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

.mpesa-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #22c55e;
  font-size: 1.2rem;
}

.mpesa-logo-text {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.mpesa-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.payment-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.payment-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(5px);
}

.payment-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.payment-value {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.copy-btn {
  background: rgba(74, 222, 128, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.copy-btn:hover {
  background: rgba(74, 222, 128, 0.3);
  transform: scale(1.05);
}

.copy-btn.copied {
  background: #4ade80;
  color: #1a1a2e;
}

.payment-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-note strong {
  color: #4ade80;
}

/* ===================================
   Waitlist Section
   =================================== */

.waitlist {
  background: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(145deg, #f8f8f8 0%, var(--bg-light) 100%);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s var(--ease-smooth);
}

.waitlist-form:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-brown);
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid var(--bg-light);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s var(--ease-smooth);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.15);
}

.success-message {
  background: linear-gradient(135deg, var(--success-green), #45a049);
  color: var(--white);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: none;
  animation: slideInScale 0.4s var(--ease-elastic);
}

.error-message {
  background: linear-gradient(135deg, var(--error-red), #c62828);
  color: var(--white);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: none;
  animation: slideInScale 0.4s var(--ease-elastic);
}

/* ===================================
   Location Section
   =================================== */

.location {
  background: rgba(244, 162, 97, 0.1);
  padding: 5rem 0;
  text-align: center;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location-info {
  text-align: left;
}

.location-info h3 {
  color: var(--primary-brown);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.location-info p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.location-map {
  background: url("https://images.unsplash.com/photo-1578662996442-48f60103fc96?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transition: all 0.4s var(--ease-smooth);
}

.location-map:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.location-map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.6));
  border-radius: 20px;
}

.location-map div {
  position: relative;
  z-index: 1;
}

/* ===================================
   Footer
   =================================== */

footer {
  background: linear-gradient(135deg, var(--primary-brown) 0%, #6d3611 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--accent-orange);
  font-size: 1.8rem;
  transition: all 0.3s var(--ease-smooth);
  display: inline-block;
}

.social-links a:hover {
  color: var(--accent-coral);
  transform: translateY(-5px) scale(1.2);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(139, 69, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .heritage-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .section-title {
    font-size: 2rem;
  }

  .payment-value {
    font-size: 1.5rem;
    letter-spacing: 2px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .payment-card {
    padding: 2rem;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .payment-value {
    font-size: 1.3rem;
  }
}