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

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --accent: #3b82f6;
  --accent-light: #93c5fd;
  --border: #e2e8f0;
  --hover-bg: #f1f5f9;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
  height: 100%;
  width: 100%;
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 4rem;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 1rem 4rem;
  background: rgba(248, 250, 252, 0.98);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

/* Page Header */
.page-header {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  margin-top: 100px;
}

.page-header-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.page-header-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 0.9;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
  color: var(--text-primary);
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-description {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  background: var(--accent-light);
}

/* Main Content */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.section {
  margin: 8rem 0;
  padding-top: 6rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  background: var(--bg-secondary);
  padding-left: 4rem;
  padding-right: 4rem;
  padding-bottom: 4rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

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

.section-header {
  margin-bottom: 4rem;
}

.section-number {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

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

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

.text-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.text-content h4 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 2rem 0 1rem 0;
  font-weight: 500;
}

/* Preview Section (Home Page) */
.preview-section {
  background: var(--bg-primary);
  margin-top: 4rem;
}

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

.preview-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

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

.preview-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.preview-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.preview-link:hover {
  color: var(--accent-light);
}

/* Project Showcase */
.project-detail {
  margin-bottom: 4rem;
}

.project-hero-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.project-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.project-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.project-image {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

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

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

.project-content {
  padding: 2rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Reflections Content */
.reflection-content {
  space-y: 3rem;
}

.reflection-item {
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.reflection-item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.reflection-item p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.reflection-media {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.reflection-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gratitude Section */
.gratitude-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gratitude-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  /* text-align: center; */
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.gratitude-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.gratitude-card p {
  color: var(--text-secondary);
}

/* Page Navigation */
.page-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.nav-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
  margin: 8rem 0 4rem;
  padding: 4rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

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

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

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1.5rem 2rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .hero {
    padding: 0 2rem;
  }
  
  main {
    padding: 0 2rem;
  }
  
  .section {
    padding: 3rem 2rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .preview-grid {
    grid-template-columns: 1fr;
  }
  
  .gratitude-grid {
    grid-template-columns: 1fr;
  }
  
  .page-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  footer {
    padding: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    margin: 4rem 0;
  }
}
