/* Modern Typography with Performance Optimization */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Marbled Theme - Elegant & Natural */
:root {
  --nav-height: 8rem;
  --logout-offset-y: 56px;
  /* Primary Colors - Warm & Natural */
  --primary-color: #8b7355;
  --primary-light: #a8906b;
  --primary-dark: #6b5b47;
  --primary-50: #f5f2ed;
  --primary-100: #e8e0d5;
  
  /* Secondary Colors - Earth Tones */
  --secondary-color: #4a7c59;
  --secondary-light: #5a8c69;
  --secondary-dark: #3a6b4a;
  --secondary-50: #f0f5f2;
  --secondary-100: #e0ebe5;
  
  /* Accent Colors - Elegant Gold */
  --accent-color: #d4af37;
  --accent-light: #e6c866;
  --accent-dark: #b8941f;
  
  /* Neutral Colors - Warm & Natural */
  --dark-color: #2c2c2c;
  --light-color: #f8f6f3;
  --text-primary: #3d3d3d;
  --text-secondary: #6b6b6b;
  --text-muted: #8a8a8a;
  
  /* Enhanced Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-default: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Marbled Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-hero: linear-gradient(135deg, #8b7355 0%, #4a7c59 50%, #6b5b47 100%);
  --gradient-card: linear-gradient(135deg, #a8906b 0%, #5a8c69 100%);
  --gradient-accent: linear-gradient(135deg, #d4af37 0%, #8b7355 100%);
  --gradient-marble: linear-gradient(135deg, #c2b280 0%, #8b7355 50%, #6b5b47 100%);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  /* Dark Mode Colors */
  --light-color: #1a1a1a;
  --dark-color: #f8f6f3;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  
  /* Dark Mode Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(255, 255, 255, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(255, 255, 255, 0.1), 0 4px 6px -2px rgba(255, 255, 255, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(255, 255, 255, 0.1), 0 10px 10px -5px rgba(255, 255, 255, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(255, 255, 255, 0.25);
  
  /* Dark Mode Content Section */
  --content-bg: #2a2a2a;
  --card-bg: #333333;
  --card-border: #444444;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-color);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1.6rem;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Prevent fixed navbar (8rem) from overlapping top content */


/* Enhanced Focus States */
/* Global offset so fixed header tidak overlap content */
body.has-fixed-header main { padding-top: 8rem; }

/* Ensure all pages have proper spacing for fixed navbar */
body {
  padding-top: 0;
}

body.has-fixed-header {
  padding-top: 0;
}

/* Force main content to start below navbar */
main {
  margin-top: 0;
}
:focus {
  outline: 0.3rem solid var(--primary-light);
  outline-offset: 0.3rem;
  border-radius: 0.4rem;
}

/* Marbled Navigation */
/* Highlight Logout button so it stands out and always visible on navbar */
/* Keep logout in normal flow, at far right */

/* Navbar Animation */
@keyframes navbarGlow {
  0% {
    box-shadow: 0 8px 40px rgba(139, 115, 85, 0.4), 0 2px 20px rgba(212, 175, 55, 0.2);
  }
  100% {
    box-shadow: 0 8px 40px rgba(139, 115, 85, 0.5), 0 4px 25px rgba(212, 175, 55, 0.3);
  }
}

/* Ensure navigation container is always visible and consistent */
#navigation-container {
  position: relative;
  width: 100%;
  z-index: 9999;
}

/* Force navbar to be consistent across all pages */
.main-navigation {
  min-width: 100%;
  box-sizing: border-box;
}
/* Navigation actions removed - logout now in dropdown menu */
@media (max-width: 1200px) and (min-width: 769px){
  .nav-menu { gap: 1.2rem; }
  .nav-menu a { padding: 0.9rem 1.2rem; font-size: 1.4rem; }
  .logo { font-size: 2.2rem; }
  
  /* Navigation Controls */
  .nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .theme-toggle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
  }

  .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
  }

  .theme-toggle i {
    font-size: 1.6rem;
    transition: transform var(--transition-default);
  }

  .theme-toggle:hover i {
    transform: rotate(15deg);
  }

  /* Dark mode icon change */
  [data-theme="dark"] .theme-toggle i {
    transform: rotate(180deg);
  }
}
@media (max-width: 992px){
  /* Logout button styling removed - now in dropdown */
  
  /* Navigation Controls */
  .nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .theme-toggle {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
  }

  .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
  }

  .theme-toggle i {
    font-size: 1.7rem;
    transition: transform var(--transition-default);
  }

  .theme-toggle:hover i {
    transform: rotate(15deg);
  }

  /* Dark mode icon change */
  [data-theme="dark"] .theme-toggle i {
    transform: rotate(180deg);
  }
}


.main-navigation {
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.98) 0%, rgba(74, 124, 89, 0.95) 100%);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border-bottom: 3px solid var(--accent-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all var(--transition-smooth);
  height: 8rem;
  will-change: background, box-shadow, transform;
  box-shadow: 0 8px 40px rgba(139, 115, 85, 0.4), 0 2px 20px rgba(212, 175, 55, 0.2);
  animation: navbarGlow 3s ease-in-out infinite alternate;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-container {
  max-width: 132rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 2.6rem;
  font-weight: 800;
  gap: 1.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-default);
}

.logo:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.logo i {
  font-size: 3rem;
  color: var(--accent-color);
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0; /* center menu items and let logout sit in nav-actions */
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.6rem;
  padding: 1.2rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-smooth);
}

.nav-menu a:hover::before {
  left: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(212, 175, 55, 0.15) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
  color: white;
  border-color: rgba(212, 175, 55, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  padding: 1rem;
  transition: all var(--transition-default);
}

.menu-toggle:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.menu-toggle.active {
  color: var(--accent-color);
}

/* Dropdown Menu Styles */
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 95%; left: 50%; transform: translateX(-50%); background-color: rgba(139, 115, 85, 0.98); list-style: none; padding: .5rem 0; margin: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); min-width: 220px; z-index: 1001; border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(20px); animation: fadeInScale 0.3s ease-out; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { width: 100%; }
.dropdown-menu li a { padding: 1.2rem 1.8rem; display: block; width: 100%; border-radius: 0; box-shadow: none; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background-color: rgba(255, 255, 255, 0.1); transform: none; }

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
    border: none;
}

/* Dropdown logout button */
.dropdown-logout {
    color: #ff6b6b !important;
    font-weight: 600 !important;
    border-bottom: none !important;
}

.dropdown-logout:hover {
    background-color: rgba(255, 107, 107, 0.1) !important;
    color: #ff5252 !important;
}

.dropdown-logout i {
    color: #ff6b6b;
    margin-right: 0.5rem;
}

.dropdown > a .fa-ellipsis-h { transition: transform 0.3s ease; }
.dropdown:hover > a .fa-ellipsis-h { transform: rotate(90deg); }

/* Navigation Controls - Default Desktop */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.theme-toggle {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: all var(--transition-default);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.theme-toggle i {
  font-size: 1.8rem;
  transition: transform var(--transition-default);
}

.theme-toggle:hover i {
  transform: rotate(15deg);
}

/* Dark mode icon change */
[data-theme="dark"] .theme-toggle i {
  transform: rotate(180deg);
}

.main-navigation.scrolled {
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.99) 0%, rgba(74, 124, 89, 0.98) 100%);
  box-shadow: 0 8px 40px rgba(139, 115, 85, 0.5), 0 4px 20px rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(30px) saturate(250%);
  -webkit-backdrop-filter: blur(30px) saturate(250%);
}

.main-navigation.scrolled .logo,
.main-navigation.scrolled .nav-menu a {
  color: white;
}

/* Marbled Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  margin-top: 0;
  padding-top: 8rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="homepage-marble" width="100" height="100" patternUnits="userSpaceOnUse"><defs><filter id="homepage-blur"><feGaussianBlur stdDeviation="1.5"/></filter></defs><path d="M0,25 Q25,10 50,25 T100,25 Q75,40 50,25 T0,25" fill="rgba(139,69,19,0.08)" filter="url(%23homepage-blur)"/><path d="M15,45 Q40,30 65,45 T115,45 Q90,60 65,45 T15,45" fill="rgba(160,82,45,0.06)" filter="url(%23homepage-blur)"/><path d="M30,65 Q55,50 80,65 T130,65 Q105,80 80,65 T30,65" fill="rgba(210,180,140,0.07)" filter="url(%23homepage-blur)"/><path d="M45,85 Q70,70 95,85 T145,85 Q120,100 95,85 T45,85" fill="rgba(245,245,220,0.05)" filter="url(%23homepage-blur)"/><circle cx="20" cy="15" r="4" fill="rgba(139,69,19,0.1)" filter="url(%23homepage-blur)"/><circle cx="60" cy="35" r="3" fill="rgba(160,82,45,0.08)" filter="url(%23homepage-blur)"/><circle cx="80" cy="55" r="2.5" fill="rgba(210,180,140,0.09)" filter="url(%23homepage-blur)"/><circle cx="40" cy="75" r="3.5" fill="rgba(245,245,220,0.06)" filter="url(%23homepage-blur)"/></pattern></defs><rect width="100" height="100" fill="url(%23homepage-marble)"/></svg>');
  opacity: 0.6;
  animation: marbledFloat 25s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  padding: 0 2rem;
}

.hero-title {
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: 'Georgia', serif;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 2.4rem;
  margin-bottom: 4rem;
  font-weight: 300;
  line-height: 1.4;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}


/* Contact Page */
.contact-hero {
  background: var(--gradient-hero);
  color: var(--light-color);
  text-align: center;
  padding: 10rem 0 6rem;
  margin-top: 0; /* navbar already has proper spacing */
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}
.contact-hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><pattern id=\"dots\" width=\"20\" height=\"20\" patternUnits=\"userSpaceOnUse\"><circle cx=\"10\" cy=\"10\" r=\"1\" fill=\"rgba(255,255,255,0.12)\"/></pattern></defs><rect width=\"100\" height=\"100\" fill=\"url(%23dots)\"/></svg>'); opacity: .35; }
.contact-hero .hero-badge { display:inline-flex; align-items:center; gap:.8rem; background: rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35); padding:.9rem 1.8rem; border-radius:999px; backdrop-filter: blur(10px); font-weight:600 }
.contact-hero h1 { font-size: 4rem; font-weight: 800; margin: 1.4rem 0 .6rem; text-shadow: 0 4px 22px rgba(0,0,0,.25) }
.contact-hero p { font-size: 1.9rem; opacity:.92 }

.contact-form-section { background: var(--light-color); padding: 6rem 0; }
.contact-content { display:grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.contact-info, .contact-form { background:#fff; border-radius: var(--radius-xl); border:1px solid var(--primary-100); box-shadow: var(--shadow-lg); padding: 3rem; }

.contact-info h2, .contact-form h2 { font-size: 2.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.6rem; }
.contact-item { display:flex; gap:1.4rem; padding:1.2rem 1.2rem; border-radius: 14px; transition:.25s; align-items:flex-start }
.contact-item + .contact-item { margin-top: .8rem; }
.contact-item:hover { background:#f8fafc; transform: translateY(-2px) }
.contact-item i { width: 44px; height: 44px; border-radius: 12px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg,#667eea 0%, #764ba2 100%); color:#fff; box-shadow:0 10px 25px rgba(118,75,162,.25) }
.contact-item h3 { font-size: 1.6rem; margin:0 0 .4rem; color: var(--text-primary) }
.contact-item p { color: var(--text-secondary); font-size: 1.45rem; margin:0 }

/* Inputs */
.contact-form label { font-weight:600; color:#334155; font-size:1.35rem; display:block; margin:.6rem 0; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea { width:100%; padding:1.2rem 1.4rem; border:2px solid #e2e8f0; border-radius:14px; font-size:1.5rem; transition:.25s; background:#fff; font-family: inherit; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color:#667eea; box-shadow:0 0 0 3px rgba(102,126,234,.12) }

/* Responsive */
@media (max-width: 992px){ .contact-content{ grid-template-columns: 1fr } }
@media (max-width: 768px){ .contact-hero{ padding: 8rem 0 5rem; } .contact-hero h1{ font-size:3.2rem } }



[data-theme="dark"] .filter-btn {
  background: var(--card-bg);
  border-color: var(--card-border);
  color: var(--text-primary);
}

[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}



[data-theme="dark"] .filter-section {
  border-bottom-color: var(--card-border);
}

[data-theme="dark"] .gallery-item {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .gallery-item:hover {
  border-color: var(--accent-color);
}

/* Gallery Hero */
.gallery-hero {
  background: var(--gradient-hero);
  color: var(--light-color);
  text-align: center;
  padding: 12rem 0 8rem;
  margin-top: 0;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gallery-marble" width="100" height="100" patternUnits="userSpaceOnUse"><defs><filter id="gallery-blur"><feGaussianBlur stdDeviation="0.5"/></filter></defs><path d="M0,20 Q25,10 50,20 T100,20 Q75,30 50,20 T0,20" fill="rgba(139,69,19,0.08)" filter="url(%23gallery-blur)"/><path d="M20,40 Q45,30 70,40 T120,40 Q95,50 70,40 T20,40" fill="rgba(160,82,45,0.06)" filter="url(%23gallery-blur)"/><path d="M40,60 Q65,50 90,60 T140,60 Q115,70 90,60 T40,60" fill="rgba(210,180,140,0.07)" filter="url(%23gallery-blur)"/><path d="M10,80 Q35,70 60,80 T110,80 Q85,90 60,80 T10,80" fill="rgba(245,245,220,0.05)" filter="url(%23gallery-blur)"/><circle cx="30" cy="30" r="3" fill="rgba(139,69,19,0.1)" filter="url(%23gallery-blur)"/><circle cx="70" cy="70" r="2" fill="rgba(160,82,45,0.08)" filter="url(%23gallery-blur)"/><circle cx="50" cy="50" r="2.5" fill="rgba(210,180,140,0.09)" filter="url(%23gallery-blur)"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-marble)"/></svg>');
  opacity: 0.4;
  animation: marbledFloat 20s ease-in-out infinite;
}

.gallery-hero h1 {
  font-size: 5.6rem;
  margin-bottom: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeInScale 1s ease-out;
}

.gallery-hero p {
  font-size: 2rem;
  opacity: 0.9;
}

/* Filter Section */
.filter-section {
  background: var(--light-color);
  padding: 3rem 0;
  border-bottom: 1px solid var(--primary-100);
  transition: background-color var(--transition-smooth), border-bottom-color var(--transition-smooth);
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--light-color);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1.2rem 2.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-bounce);
  font-weight: 600;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-family: 'Georgia', serif;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--transition-smooth);
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover,
.filter-btn.active {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Gallery Grid */
.gallery-grid {
  padding: 4rem 0;
  background: var(--light-color);
  transition: background-color var(--transition-smooth);
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34rem, 1fr));
  gap: 3rem;
  max-width: 132rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.gallery-item {
  background: var(--light-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-bounce);
  position: relative;
  border: 2px solid var(--primary-color);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-marble);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 1;
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="marbled-overlay" width="30" height="30" patternUnits="userSpaceOnUse"><defs><filter id="soft-blur"><feGaussianBlur stdDeviation="0.8"/></filter></defs><path d="M0,15 Q7.5,7.5 15,15 T30,15" fill="rgba(139,69,19,0.12)" filter="url(%23soft-blur)"/><path d="M5,25 Q12.5,17.5 20,25 T35,25" fill="rgba(160,82,45,0.1)" filter="url(%23soft-blur)"/><circle cx="10" cy="10" r="2" fill="rgba(210,180,140,0.15)" filter="url(%23soft-blur)"/><circle cx="25" cy="20" r="1.5" fill="rgba(245,245,220,0.12)" filter="url(%23soft-blur)"/></pattern></defs><rect width="100" height="100" fill="url(%23marbled-overlay)"/></svg>');
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 2;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  border-color: var(--accent-color);
}

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

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

.gallery-image {
  position: relative;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  transition: transform var(--transition-default);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 2.5rem;
  transform: translateY(100%);
  transition: all var(--transition-bounce);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.gallery-overlay p {
  opacity: 0.9;
  font-size: 1.4rem;
}

/* Content Section */
.content-section {
  background: var(--light-color);
  padding: 8rem 0;
  position: relative;
}

/* Dark Mode Content Section */
[data-theme="dark"] .content-section {
  background: var(--content-bg);
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="content-marble" width="70" height="70" patternUnits="userSpaceOnUse"><defs><filter id="content-blur"><feGaussianBlur stdDeviation="0.8"/></filter></defs><path d="M0,35 Q17.5,17.5 35,35 T70,35 Q52.5,52.5 35,35 T0,35" fill="rgba(139,69,19,0.03)" filter="url(%23content-blur)"/><path d="M20,55 Q37.5,37.5 55,55 T90,55 Q72.5,72.5 55,55 T20,55" fill="rgba(160,82,45,0.025)" filter="url(%23content-blur)"/><circle cx="25" cy="20" r="2.5" fill="rgba(210,180,140,0.04)" filter="url(%23content-blur)"/><circle cx="60" cy="45" r="2" fill="rgba(245,245,220,0.03)" filter="url(%23content-blur)"/></pattern></defs><rect width="100" height="100" fill="url(%23content-marble)"/></svg>');
  opacity: 0.4;
  z-index: 1;
}

.content-section::after {
  content: '';
  position: absolute;
  top: -5rem;
  left: 0;
  right: 0;
  height: 10rem;
  background: var(--light-color);
  transform: skewY(-2deg);
  transform-origin: top left;
  z-index: 1;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34rem, 1fr));
  gap: 4rem;
  max-width: 132rem;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}

.content-item {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: all var(--transition-default);
  backdrop-filter: blur(10px);
}

/* Dark Mode Content Items */
[data-theme="dark"] .content-item {
  background: var(--card-bg);
  border-color: var(--card-border);
  box-shadow: var(--card-shadow);
}

.content-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15);
  border-color: var(--primary-color);
}

.content-item h2 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.content-item p {
  font-size: 1.6rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.5rem 3rem;
  text-decoration: none;
  border-radius: 5rem;
  font-weight: 600;
  transition: all var(--transition-default);
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.btn-secondary:hover {
  background: #7a6447;
  border-color: #7a6447;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

/* Dark Mode Buttons */
[data-theme="dark"] .btn-secondary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(139, 115, 85, 0.4);
}

[data-theme="dark"] .btn-secondary:hover {
  background: #7a6447;
  border-color: #7a6447;
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.5);
}

/* All unused floating elements and sparkles removed */

/* Footer */
.main-footer {
  background: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 8rem;
}

/* Dark Mode Footer */
[data-theme="dark"] .main-footer {
  background: #111111;
}

.footer-content {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-default);
}

.footer-section a:hover {
  color: white;
}

.footer-logo {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes marbledFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
  25% { transform: translateY(-15px) rotate(45deg) scale(1.02); }
  50% { transform: translateY(-25px) rotate(90deg) scale(1.04); }
  75% { transform: translateY(-10px) rotate(135deg) scale(1.02); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 8rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 8rem);
    background: rgba(139, 115, 85, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left var(--transition-smooth);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu a {
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Navigation Controls */
  .nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .theme-toggle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
  }

  .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
  }

  .theme-toggle i {
    font-size: 1.4rem;
    transition: transform var(--transition-default);
  }

  .theme-toggle:hover i {
    transform: rotate(15deg);
  }

  /* Dark mode icon change */
  [data-theme="dark"] .theme-toggle i {
    transform: rotate(180deg);
  }
  
  /* Mobile dropdown adjustments */
  .dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
  }
  
  .dropdown-menu li a {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Mobile dropdown logout styling */
  .dropdown-logout {
    color: #ff6b6b !important;
    font-weight: 600 !important;
  }

  .dropdown-logout:hover {
    background-color: rgba(255, 107, 107, 0.1) !important;
  }

  .dropdown-divider {
    background: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 1rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
  
  .gallery-items,
  .content-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .floating-circle {
    display: none;
  }
}

/* Container */
.container {
  max-width: 132rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Artisan Hero - Using same styles as header */
header {
  background: var(--gradient-hero);
  min-height: 40vh;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: white;
  overflow: hidden;
}

.artisan-hero {
  background: var(--gradient-hero);
  min-height: 40vh;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 0.1;
}

.hero-decoration-item {
  position: absolute;
  font-size: 8rem;
  color: white;
  animation: float 6s infinite ease-in-out;
}

.hero-decoration-item:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-decoration-item:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 1s;
}

.hero-decoration-item:nth-child(3) {
  top: 20%;
  left: 70%;
  animation-delay: 2s;
}

.hero-decoration-item:nth-child(4) {
  top: 50%;
  left: 80%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

.hero-content p {
  font-size: 1.2rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-btn {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(5px);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced filter section */
.filter-section {
  padding: 4rem 0;
  background: white;
}

.filter-container {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-title {
  font-size: 2.8rem;
  display: inline-block;
  position: relative;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.6;
}

.featured-section {
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.featured-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.all-artisans-section {
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.all-artisans-section.visible {
  opacity: 1;
  transform: translateY(0);
}



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

.pagination-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1.4rem;
}

.page-btn.text {
  width: auto;
  padding: 0 1.5rem;
  border-radius: 25px;
}

.page-btn:hover, .page-btn.active {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.page-divider {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.6rem;
}

.filter-heading {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.filter-heading i {
  color: var(--primary-color);
}

.search-container {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1.5rem 4.5rem 1.5rem 1.5rem;
  border-radius: 30px;
  border: 2px solid #e0e0e0;
  background: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  color: var(--text-primary);
  line-height: 1.4;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(139, 115, 85, 0.1);
}

.search-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.6rem;
  pointer-events: none;
}

/* Dark mode search input styles */
[data-theme="dark"] .search-input {
  background: var(--card-bg);
  border-color: var(--card-border);
  color: var(--text-primary);
}

[data-theme="dark"] .search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

[data-theme="dark"] .search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(139, 115, 85, 0.2);
}

[data-theme="dark"] .search-icon {
  color: var(--text-muted);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
}

.filter-btn i {
  font-size: 1.2rem;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Artisans Section */
.artisans-section {
  padding: 4rem 0;
  background: var(--light-color);
}

.artisans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 3.5rem;
  padding: 3rem 0;
  justify-items: center;
}

/* Add some breathing room */
.artisans-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, 
    var(--light-color) 0%, 
    rgba(248, 246, 243, 0.8) 50%, 
    var(--light-color) 100%);
}

/* Enhanced Artisan Card */
.artisan-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  height: 100%;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid rgba(139, 115, 85, 0.1);
}

.artisan-card.hidden {
  display: none;
}

.artisan-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 30px 60px rgba(139, 115, 85, 0.25);
  border-color: var(--primary-color);
}

.artisan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(139, 115, 85, 0.05) 0%, 
    rgba(74, 124, 89, 0.05) 50%, 
    rgba(212, 175, 55, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.artisan-card:hover::before {
  opacity: 1;
}

.artisan-image {
  height: 300px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.artisan-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(139, 115, 85, 0.1) 0%, 
    rgba(74, 124, 89, 0.1) 50%, 
    rgba(212, 175, 55, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.artisan-card:hover .artisan-image::before {
  opacity: 1;
}

.artisan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.6s ease;
  filter: brightness(1.0) contrast(1.0);
}

.artisan-card:hover .artisan-image img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.1);
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #f39c12 100%);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.artisan-details {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, 
    rgba(248, 246, 243, 0.9) 0%, 
    rgba(255, 255, 255, 1) 100%);
  position: relative;
  z-index: 2;
}

/* Loading animation for images */
.artisan-image img {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Image loading placeholder */
.artisan-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(139, 115, 85, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  z-index: 5;
}

.artisan-image img[src=""] + .artisan-image::after,
.artisan-image img:not([src]) + .artisan-image::after {
  opacity: 1;
}

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

.artisan-details h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.artisan-details h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.artisan-tags {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.artisan-tag {
  background: linear-gradient(135deg, 
    rgba(139, 115, 85, 0.15) 0%, 
    rgba(74, 124, 89, 0.15) 100%);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  border: 1px solid rgba(139, 115, 85, 0.2);
  transition: all 0.3s ease;
}

.artisan-tag:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
}

.artisan-bio {
  margin: 1.5rem 0;
  flex-grow: 1;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: justify;
}

.artisan-meta {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  gap: 1rem;
}

.artisan-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.artisan-rating {
  color: var(--accent-color);
  font-weight: 600;
}

.view-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--gradient-primary);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(139, 115, 85, 0.3);
  margin-top: auto;
  align-self: stretch;
  font-size: 1.4rem;
  position: relative;
  overflow: hidden;
}

.view-profile-btn::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.6s ease;
}

.view-profile-btn:hover::before {
  left: 100%;
}

.view-profile-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(139, 115, 85, 0.4);
}

.view-profile-btn i {
  transition: transform 0.3s ease;
}

.view-profile-btn:hover i {
  transform: translateX(5px);
}

/* Enhanced Modal */
.artisan-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.artisan-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  position: relative;
  width: 95%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.5s ease-out;
  background: linear-gradient(135deg, 
    rgba(44, 44, 44, 0.98) 0%, 
    rgba(28, 29, 37, 0.98) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-height: 90vh;
  overflow-y: auto;
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-main {
  display: flex;
  gap: 3rem;
}

.modal-image-container {
  flex: 1.2;
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
  min-height: 50vh;
  max-height: 60vh;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
  background-color: #f8f8f8;
}

.modal-image:hover {
  transform: scale(1.02);
}

.fullscreen-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  opacity: 0;
  transform: scale(0.8);
  z-index: 10;
}

.modal-image-container:hover .fullscreen-btn {
  opacity: 1;
  transform: scale(1);
}

.fullscreen-btn:hover {
  background: var(--gradient-primary);
  transform: scale(1.1);
}

/* Fullscreen image overlay */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fullscreen-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.fullscreen-image {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 2rem;
  backdrop-filter: blur(10px);
}

.fullscreen-close:hover {
  background: var(--gradient-primary);
  transform: rotate(90deg) scale(1.1);
}

.modal-info {
  flex: 1;
  color: white;
  padding: 0 0 0 2rem;
}

.modal-info h3 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  padding-bottom: 1rem;
}

.modal-info h3:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.modal-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.modal-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 1.2rem;
}

.modal-info p {
  margin: 0 0 2rem;
  line-height: 1.8;
  font-size: 1.6rem;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
}

.modal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-meta-label {
  font-size: 1.2rem;
  color: #aaa;
}

.modal-meta-value {
  font-size: 1.6rem;
  font-weight: 500;
}



.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 2.2rem;
  width: 55px;
  height: 55px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.7);
}

.close-modal:hover {
  transform: rotate(90deg);
  background: rgba(255,255,255,0.2);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  box-shadow: var(--shadow-md);
  border: none;
  font-size: 1.6rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Enhanced animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Staggered animation for cards */

/* Responsive styles */
@media (max-width: 1200px) {
  .modal-main {
    flex-direction: column;
  }

  .modal-image-container {
    max-height: 50vh;
  }
  
  .modal-info {
    padding: 2rem 0 0 0;
  }
}

/* ENHANCED ARTISAN MODAL - FIXED NAME VISIBILITY */
@media (min-width: 1200px) {
  .artisan-modal {
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    width: 80%;
    max-width: 1000px;
    max-height: 90vh;
    padding: 2.5rem;
    overflow-y: auto;
    position: relative;
    background: linear-gradient(135deg, 
      rgba(44, 44, 44, 0.98) 0%, 
      rgba(28, 29, 37, 0.98) 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .modal-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .modal-image-container {
    background-color: #f8f8f8;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    max-height: 550px;
  }
  
  .modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    background-color: #f8f8f8;
  }
  
  .modal-info {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0.5rem 0 1rem 0;
  }
  
  .modal-info h3 {
    font-size: 2.4rem !important;
    margin: 8rem 0 1.5rem 0 !important;
    color: white !important;
    line-height: 1.3 !important;
    word-wrap: break-word;
    padding: 1rem 0 1.2rem 0 !important;
    border-bottom: 3px solid var(--accent-color);
    font-weight: 700 !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 0 0;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .modal-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  
  .modal-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .modal-info p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .modal-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .modal-meta-label {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .modal-meta-value {
    color: white;
    font-size: 1.4rem;
    font-weight: 500;
  }
  

  

  
  .close-modal {
    position: absolute;
    top: 4rem;
    right: 2rem;
    color: white;
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
  }
  
  .close-modal:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
  }
}

@media (max-width: 1200px) {
  .artisans-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
  }
  
  .modal-content {
    width: 90%;
    padding: 3rem;
  }
  
  .close-modal {
    top: 4rem;
    right: 2rem;
    z-index: 10000;
    width: 60px;
    height: 60px;
  }
  
  .modal-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .modal-image-container {
    min-height: 300px;
    max-height: 400px;
  }
  
  .modal-info h3 {
    font-size: 2.2rem !important;
    margin: 6rem 0 1.5rem 0 !important;
    padding: 1rem 0 1.2rem 0 !important;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 0 0;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 992px) {
  .artisans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .artisan-card {
    max-width: none;
  }
  
  .artisan-image {
    height: 280px;
  }
  
  .artisan-details {
    padding: 2rem;
  }
  
  .modal-main {
    gap: 2rem;
  }
  
  .modal-image-container {
    min-height: 50vh;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  header { 
    min-height: 30vh; 
    padding: 6rem 2rem 3rem;
  }
  
  .header-content h1 { 
    font-size: 2.5rem; 
  }
  
  .header-buttons { 
    flex-direction: column; 
    gap: 1rem; 
  }
  
  .artisans-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .artisan-image {
    height: 250px;
  }
  
  .artisan-details {
    padding: 1.8rem;
  }
  
  .artisan-details h3 {
    font-size: 1.8rem;
  }
  
  .artisan-bio {
    font-size: 1.3rem;
  }

  .filter-buttons {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
  }
  
  .filter-container {
    padding: 2rem;
  }
  
  .main-container {
    padding: 2rem 1rem;
  }

  .modal-info h3 {
    font-size: 2.2rem !important;
    margin: 6rem 0 1.5rem 0 !important;
    color: white !important;
    line-height: 1.3 !important;
    padding: 1rem 0 1.2rem 0 !important;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 0 0;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  }


  
  .modal-content {
    padding: 2rem;
    width: 95%;
  }
  
  .close-modal {
    top: 4rem;
    right: 2rem;
    z-index: 10000;
    width: 60px;
    height: 60px;
  }
  
  .modal-main {
    gap: 1.5rem;
  }
  
  .modal-image-container {
    min-height: 250px;
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .artisans-grid {
    gap: 1.5rem;
  }
  
  .artisan-details {
    padding: 1.5rem;
  }
  

}

/* Tutorial Page Styles */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.filter-group {
  flex: 1;
  min-width: 250px;
}

.filter-label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.4rem;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 1.2rem 4rem 1.2rem 1.5rem;
  border-radius: 30px;
  border: 2px solid rgba(139, 115, 85, 0.2);
  font-size: 1.4rem;
  outline: none;
  transition: all 0.3s ease;
  background: white;
  font-family: 'Poppins', sans-serif;
}

.search-box input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(139, 115, 85, 0.1);
}

.search-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.6rem;
}

.skill-tabs, .category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tab, .category-tab {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.skill-tab:hover, .skill-tab.active {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-tab:hover, .category-tab.active {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 2rem;
}

.filter-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1.4rem;
}

.filter-btn-reset {
  color: var(--text-primary);
  background: white;
  border: 2px solid rgba(139, 115, 85, 0.3);
}

.filter-btn-apply {
  background: var(--gradient-primary);
  color: white;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Featured Tutorial */
.featured-tutorial {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 5rem;
  display: flex;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.featured-tutorial.visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-label {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f39c12 100%);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  font-size: 1.3rem;
}

.featured-image {
  width: 50%;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-tutorial:hover .featured-image img {
  transform: scale(1.05);
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 0, 0, 1);
}

.featured-content {
  width: 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.tutorial-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.tutorial-category-pill {
  background: rgba(139, 115, 85, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 500;
}

.featured-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tutorial-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rating-stars {
  color: var(--accent-color);
  font-size: 1.6rem;
}

.rating-count {
  color: var(--text-muted);
  font-size: 1.3rem;
}

.tutorial-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tutorial-stat {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-secondary);
  font-size: 1.3rem;
}

.tutorial-stat i {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.featured-description {
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.featured-actions {
  display: flex;
  gap: 1.5rem;
}

.featured-btn {
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
}

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

.featured-btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.featured-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Tutorial Cards Grid */
.tutorials-section {
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.tutorials-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
  padding: 2rem 0;
}

.tutorial-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border: 1px solid rgba(139, 115, 85, 0.1);
}

.tutorial-card.hidden {
  display: none;
}

.tutorial-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-color);
}

.tutorial-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.tutorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.tutorial-youtube-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  z-index: 6;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.tutorial-youtube-icon:hover {
  transform: scale(1.1);
}

.tutorial-duration-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 500;
  backdrop-filter: blur(5px);
}

.tutorial-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.tutorial-content h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
  color: var(--text-primary);
  font-weight: 600;
}

.tutorial-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.skill-level {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 500;
}

.beginner { 
  background: rgba(40, 167, 69, 0.1); 
  color: var(--secondary-color); 
}

.intermediate { 
  background: rgba(212, 175, 55, 0.1); 
  color: var(--accent-color); 
}

.advanced { 
  background: rgba(139, 115, 85, 0.1); 
  color: var(--primary-color); 
}

.tutorial-desc {
  margin-bottom: 2rem;
  color: var(--text-secondary);
  flex-grow: 1;
  font-size: 1.3rem;
  line-height: 1.6;
}

.tutorial-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.tutorial-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.tutorial-btn {
  padding: 1rem 1.5rem;
  border-radius: 25px;
  border: none;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  justify-content: center;
  text-decoration: none;
  flex: 1;
}

.tutorial-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tutorial-btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.tutorial-btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.tutorial-btn-primary {
  background: var(--gradient-primary);
  color: white;
  flex-grow: 1;
  justify-content: center;
}

.tutorial-btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.tutorial-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* FAQ Section */
.faq-section {
  margin: 6rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.faq-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(139, 115, 85, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(139, 115, 85, 0.05);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 500px;
}

.faq-answer p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-container {
  width: 90%;
  max-width: 1200px;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 56.25vw;
  max-height: 675px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.close-video {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.close-video:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--gradient-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .featured-tutorial { 
    flex-direction: column; 
  }
  
  .featured-image, .featured-content { 
    width: 100%; 
  }
  
  .featured-image { 
    height: 300px; 
  }
  
  .tutorials-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .tutorials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .filter-row { 
    flex-direction: column; 
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .tutorials-grid {
    grid-template-columns: 1fr;
  }

  .featured-actions, .tutorial-actions {
    flex-direction: column;
  }
  
  .featured-content {
    padding: 2rem;
  }
  
  .featured-content h2 {
    font-size: 2.2rem;
  }
  
  .filter-actions {
    justify-content: center;
  }
  
  .tutorial-content {
    padding: 1.5rem;
  }
}

/* ===== REVIEWS PAGE STYLES ===== */

/* Reviews Hero Section */
.reviews-hero {
  background: var(--gradient-hero);
  padding: 12rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.reviews-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.title-accent {
  background: linear-gradient(135deg, var(--accent-color), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-default);
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  height: 400px;
}

.floating-reviews {
  position: relative;
  height: 100%;
}

.floating-review {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-review.review-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-review.review-2 {
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

.floating-review.review-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

.floating-stars {
  color: var(--accent-color);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.floating-review p {
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Reviews Grid Section */
.reviews-grid {
  padding: 8rem 0;
  background: var(--light-color);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.review-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary-100);
  transition: all var(--transition-default);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }

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

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.review-card:hover::before {
  background: var(--gradient-primary);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.reviewer-info h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.review-rating {
  font-size: 1.8rem;
  color: var(--accent-color);
  letter-spacing: 2px;
}

.review-date {
  font-size: 1.4rem;
  color: var(--text-muted);
  background: var(--primary-50);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.review-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.review-comment {
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.reviews-actions {
  text-align: center;
}

.load-more-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-default);
  box-shadow: var(--shadow-md);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Review Form Section */
.review-form-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-2xl);
  padding: 4rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--primary-100);
}

.form-header {
  text-align: center;
  margin-bottom: 4rem;
}

.form-header h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.form-header p {
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 2.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.form-group label i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.5rem 2rem;
  border: 2px solid var(--primary-100);
  border-radius: var(--radius-lg);
  font-size: 1.6rem;
  font-family: inherit;
  transition: all var(--transition-default);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.rating-input {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.rating-input i {
  font-size: 2.4rem;
  color: #ddd;
  cursor: pointer;
  transition: all var(--transition-default);
  padding: 0.5rem;
}

.rating-input i:hover,
.rating-input i.active {
  color: var(--accent-color);
  transform: scale(1.2);
}

.rating-input i.fa-star {
  color: var(--accent-color);
}

.rating-input i.fa-star-o {
  color: #ddd;
}

.rating-text {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-left: 1rem;
}

.form-actions {
  text-align: center;
  margin-top: 3rem;
}

.submit-btn {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 1.8rem 4rem;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-default);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn i {
  font-size: 1.6rem;
}

/* Testimonial Highlight Section */
.testimonial-highlight {
  padding: 8rem 0;
  background: var(--gradient-marble);
  position: relative;
  overflow: hidden;
}

.testimonial-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.highlight-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 6rem;
  color: var(--accent-color);
  margin-bottom: 3rem;
  opacity: 0.8;
}

.highlight-content blockquote {
  font-size: 2.4rem;
  font-style: italic;
  color: white;
  line-height: 1.6;
  margin-bottom: 4rem;
  position: relative;
  padding: 0 2rem;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.author-avatar i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
}

.author-info h4 {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.author-info p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Responsive Design for Reviews */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .floating-reviews {
    display: none;
  }
}

@media (max-width: 992px) {
  .reviews-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stat-item {
    max-width: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .reviews-hero {
    padding: 8rem 0 6rem;
  }
  
  .hero-title {
    font-size: 3.6rem;
  }
  
  .hero-subtitle {
    font-size: 1.6rem;
  }
  
  .section-header h2 {
    font-size: 2.8rem;
  }
  
  .reviews-container {
    grid-template-columns: 1fr;
  }
  
  .review-card {
    padding: 2rem;
  }
  
  .form-container {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .form-header h2 {
    font-size: 2.4rem;
  }
  
  .highlight-content blockquote {
    font-size: 2rem;
  }
  
  .quote-author {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
}

/* ===== MAP PAGE STYLES ===== */

/* Map Hero Section */
.map-hero {
  background: var(--gradient-hero);
  padding: 12rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.map-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="map-stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23map-stars)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  color: white;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
  color: var(--accent-color);
}

.map-hero h1 {
  font-size: 4.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.map-hero p {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.hero-stats .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-default);
}

.hero-stats .stat-item:hover {
  transform: translateY(-5px);
}

.hero-stats .stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  height: 400px;
}

.floating-elements {
  position: relative;
  height: 100%;
}

.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--primary-color);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element.element-2 {
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

.floating-element.element-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Map Section */
.map-section {
  padding: 8rem 0;
  background: var(--light-color);
}

.map-header {
  text-align: center;
  margin-bottom: 4rem;
}

.map-header h2 {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.map-header p {
  font-size: 1.8rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.map-controls {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
  border: 1px solid var(--primary-100);
}

.control-group {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.locate-btn {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 1.5rem 2.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-default);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.locate-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.6rem;
}

.search-input {
  width: 100%;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  border: 2px solid var(--primary-100);
  border-radius: var(--radius-full);
  font-size: 1.6rem;
  font-family: inherit;
  transition: all var(--transition-default);
  background: var(--light-color);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
  transform: translateY(-2px);
}

.filter-controls h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  background: white;
  border: 2px solid var(--primary-100);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-default);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.map-container {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary-100);
}

.artisan-map {
  width: 100%;
  height: 600px;
  z-index: 1;
}

.map-legend {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  max-width: 250px;
  border: 1px solid var(--primary-100);
}

.map-legend h4 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.legend-color.pottery { background-color: #e67e22; }
.legend-color.weaving { background-color: #3498db; }
.legend-color.batik { background-color: #9b59b6; }
.legend-color.woodworking { background-color: #8d6e63; }
.legend-color.jewelry { background-color: #f1c40f; }

/* Artisans List Section */
.artisans-list-section {
  padding: 8rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

.artisans-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

/* Call to Action Section */
.cta-section {
  padding: 8rem 0;
  background: var(--gradient-marble);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-dots)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

.cta-content p {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-default);
  box-shadow: var(--shadow-md);
}

.cta-buttons .btn-primary {
  background: var(--gradient-accent);
  color: white;
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Events Page Styles */
.events-hero {
  background: var(--gradient-hero);
  color: var(--light-color);
  text-align: center;
  padding: 10rem 0 6rem;
  margin-top: 0; /* navbar already has proper spacing */
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}
.events-hero .hero-badge { display:inline-flex; align-items:center; gap:.8rem; background: rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35); padding:.9rem 1.8rem; border-radius:999px; backdrop-filter: blur(10px); font-weight:600; }
.events-hero h1 { font-size: 4rem; font-weight: 800; margin: 1.4rem 0 .6rem; }
.events-hero p { font-size: 1.9rem; opacity:.92; }

.events-section { padding: 4rem 2rem; }
.filter-controls-events { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; background: #fff; padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.search-container-events { flex-grow: 1; position: relative; }
.search-container-events .search-icon { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
#event-search { width: 100%; padding: 1.2rem 1.2rem 1.2rem 4rem; border-radius: var(--radius-md); border: 1px solid var(--primary-100); font-size: 1.5rem; }
.filter-group-events { display: flex; gap: 1rem; }
#event-category-filter, #event-month-filter { padding: 1.2rem; border-radius: var(--radius-md); border: 1px solid var(--primary-100); background: #fff; font-size: 1.5rem; }

.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.event-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.event-image { background: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.event-image img { width: 100%; height: auto; object-fit: contain; background-color: #f8f8f8; }
.event-content { padding: 1.2rem; flex-grow: 1; display: flex; flex-direction: column; }
.event-date { font-size: 1.3rem; font-weight: 500; color: var(--text-secondary); margin-bottom: .5rem; }
.event-title { font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: .5rem; line-height: 1.3; }
.event-artisan { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 1.2rem; font-weight: 500; }
.event-details { display:flex; justify-content:space-between; font-size: 1.4rem; color: var(--text-secondary); margin-bottom: 1.2rem; border-top: 1px solid var(--primary-100); padding-top: 0.8rem; }
.event-details span { display: flex; align-items: center; gap: .5rem; }
.btn-book { width: 100%; padding: 1rem; background: var(--gradient-accent); color: #fff; border:0; border-radius: var(--radius-md); cursor: pointer; font-weight: 600; font-size: 1.5rem; margin-top: auto; transition: all .3s ease; }
.btn-book:hover { background: var(--accent-dark); }

/* Event Modal Styles */
.modal-events { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); align-items: center; justify-content: center; }
.modal-content-events { background-color: #fff; margin: auto; padding: 2.5rem; border: 0; width: 90%; max-width: 550px; border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); position: relative; animation: fadeInScale .4s ease-out; }

/* Simple full content display for laptop screens */
@media (min-width: 1200px) {
  .modal-events {
    padding-top: 8rem;
    align-items: flex-start;
  }
  
  .modal-content-events {
    max-width: 650px;
    width: 70%;
    padding: 2.5rem;
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 2rem;
  }
  
  #modal-body-events h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-dark);
  }
  
  #modal-body-events p {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: var(--text-primary);
  }
  
  #booking-form {
    margin-top: 2rem;
  }
  
  #booking-form label {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
  }
  
  #booking-form input {
    font-size: 1.5rem;
    padding: 1rem;
    margin-bottom: 1.2rem;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
  }
  
  .total-price {
    font-size: 1.8rem !important;
    margin: 1.5rem 0 !important;
    text-align: center;
    font-weight: bold;
    color: var(--primary-dark);
  }
  
  .btn-submit-booking {
    font-size: 1.6rem !important;
    padding: 1.2rem !important;
    width: 100%;
  }
}
.close-button-events { color: #aaa; position: absolute; top: 1rem; right: 1.5rem; font-size: 28px; font-weight: bold; cursor: pointer; }
.close-button-events:hover { color: #000; }
#modal-body-events h2 { font-size: 2.2rem; margin-bottom: 1rem; color: var(--text-primary); }
#modal-body-events p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.6; }
#booking-form { margin-top: 2rem; }
#booking-form label { display: block; margin-bottom: .5rem; font-weight: 600; }
#booking-form input { width: 100%; padding: 1rem; margin-bottom: 1rem; border-radius: var(--radius-md); border: 1px solid #ccc; }
.total-price { font-weight: bold; font-size: 1.8rem; margin: 1.5rem 0; text-align: right; color: var(--primary-dark); }
.btn-submit-booking { width: 100%; padding: 1.2rem; background: var(--gradient-accent); color: #fff; border:0; border-radius: var(--radius-md); cursor: pointer; font-size: 1.6rem; font-weight: 600; }

/* Ensure event images show fully on larger laptop/desktop screens */
/* No cropping across all screen sizes for event images */

/* Responsive Design for Map */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .floating-elements {
    display: none;
  }
  
  .control-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-container {
    max-width: none;
  }
}

@media (max-width: 992px) {
  .map-hero {
    padding: 8rem 0 6rem;
  }
  
  .map-hero h1 {
    font-size: 3.6rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-stats .stat-item {
    max-width: 200px;
    margin: 0 auto;
  }
  
  .map-controls {
    padding: 2rem;
  }
  
  .filter-buttons {
    gap: 0.8rem;
  }
  
  .filter-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
  }
  
  .artisan-map {
    height: 500px;
  }
  
  .map-legend {
    position: relative;
    top: auto;
    right: auto;
    margin: 2rem;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .map-hero h1 {
    font-size: 3rem;
  }
  
  .map-hero p {
    font-size: 1.6rem;
  }
  
  .section-header h2 {
    font-size: 2.8rem;
  }
  
  .map-header h2 {
    font-size: 2.8rem;
  }
  
  .cta-content h2 {
    font-size: 2.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .artisans-list {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .map-hero h1 {
    font-size: 2.6rem;
  }
  
  .hero-stats .stat-item {
    padding: 1.5rem;
  }
  
  .hero-stats .stat-number {
    font-size: 2.8rem;
  }
  
  .map-controls {
    padding: 1.5rem;
  }
  
  .artisan-map {
    height: 400px;
  }
}

/* Artisan Cards in List */
.artisan-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary-100);
  transition: all var(--transition-default);
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.artisan-card:nth-child(1) { animation-delay: 0.1s; }
.artisan-card:nth-child(2) { animation-delay: 0.2s; }
.artisan-card:nth-child(3) { animation-delay: 0.3s; }
.artisan-card:nth-child(4) { animation-delay: 0.4s; }
.artisan-card:nth-child(5) { animation-delay: 0.5s; }

.artisan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

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

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

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

.artisan-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.artisan-info {
  padding: 2rem;
}

.artisan-info h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.artisan-specialty {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.artisan-location {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.artisan-location i {
  color: var(--accent-color);
}

.artisan-description {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.artisan-info .btn {
  width: 100%;
  justify-content: center;
}


