/* Gohri Enterprises – Minimalist Neutral Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&amp;display=swap');

:root {
  /* Updated Palette - More White/Neutral */
  --primary: #6b7280;         /* Soft gray for primary text */
  --accent: #3b82f6;          /* Blue accent (changed from pink) */
  --secondary: #6366f1;       /* Indigo secondary (changed from lavender) */
  --tertiary: #10b981;        /* Mint green */
  --quaternary: #f59e0b;      /* Warm yellow */
  
  /* Backgrounds - More White */
  --bg: #ffffff;              /* Pure white */
  --bg-soft: #f9fafb;         /* Very light gray */
  --surface: #ffffff;         /* Pure white */
  --surface-hover: #f3f4f6;   /* Light gray hover */
  
  /* Text Colors */
  --text-primary: #374151;    /* Dark gray for headings */
  --text-secondary: #6b7280;  /* Medium gray for body */
  --text-muted: #9ca3af;      /* Light gray for subtle text */
  
  /* Spacing & Effects */
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-medium: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-large: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);
  
  /* Updated Gradients - Neutral */
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f9fafb 25%, #f3f4f6 50%, #e5e7eb 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Add padding when sticky nav is visible */
body.nav-visible {
  padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  background: var(--gradient-hero);
  padding: 2rem 1rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

nav {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

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

nav a:hover::after {
  width: 80%;
}

/* Sticky Navigation */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  transform: translateY(-100%);
}

.sticky-nav.visible {
  transform: translateY(0);
}

.sticky-nav nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0;
}

.sticky-nav nav a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.sticky-nav nav a:hover {
  background: var(--surface-hover);
  color: var(--accent);
}

/* Hero Section */
.hero h1 {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

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

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
}

/* Layout */
section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

/* Mobile fixes for step navigation */
@media (max-width: 768px) {
  .step-nav-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    margin: 0.2rem;
  }
  
  #steps-container {
    min-height: 300px;
    width: 100%;
  }
  
  .step-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Ensure tables are scrollable on mobile */
  .step-card table {
    font-size: 0.8rem;
  }
  
  .step-card .grid.cols-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step-card .grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  #steps-container {
    -webkit-overflow-scrolling: touch;
  }
  
  .step-nav-btn {
    -webkit-appearance: none;
    border-radius: var(--radius-sm);
  }
}

/* Cards */
.card {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 50%, var(--tertiary) 100%);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Arrow Links */
.arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.arrow:hover {
  color: var(--secondary);
}

.arrow:hover svg {
  transform: translateX(4px);
}

/* Testimonials */
.quote {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--accent);
  font-style: italic;
  position: relative;
}

.quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  opacity: 0.3;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Safe animations - always visible by default */
[data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Only animate on scroll if specifically triggered */
[data-animate].animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate].animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Elements - Updated Colors */
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(40px);
  animation: float 20s infinite ease-in-out;
}

.bubble:nth-child(1) {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: 5%;
  background: var(--accent);
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 200px;
  height: 200px;
  top: -50px;
  right: 10%;
  background: var(--secondary);
  animation-delay: -5s;
}

.bubble:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 50%;
  left: -50px;
  background: var(--tertiary);
  animation-delay: -10s;
}

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

/* Jewellery Page Specific Styles */
.nav-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Footer */
footer {
  background: var(--bg-soft);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  section {
    padding: 3rem 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  nav {
    gap: 1rem;
  }
  
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
  
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
  
  .sticky-nav nav {
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mb-0 {
  margin-bottom: 0;
}

.mt-4 {
  margin-top: 2rem;
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

/* Table Styles for Project Checklist */
table {
  font-family: inherit;
}

table th {
  font-weight: 600;
  color: var(--text-primary);
}

table td {
  color: var(--text-secondary);
}

table tr:hover {
  background: var(--bg-soft);
}


/* Step Navigation Styles */
.step-nav-btn {
  padding: 0.8rem 1.5rem;
  background: white;
  border: 2px solid var(--surface-hover);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-nav-btn:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.step-nav-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.step-card {
  min-height: 400px;
  animation: fadeIn 0.5s ease-in;
}

/* Status Badge Styles */
.status-complete {
  background: var(--tertiary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-progress {
  background: var(--quaternary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-pending {
  background: var(--text-muted);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Toggle Button Styles */
.toggle-btn {
  padding: 0.4rem 0.8rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: var(--secondary);
  transform: translateY(-1px);
}

.toggle-btn:active {
  transform: translateY(0);
}

/* Research card hover effects */
.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

/* Modal styles */
#research-modal {
  backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
  #research-modal > div {
    margin: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }
}



@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
