/*
Theme Name: Memorial Landing Page
Description: Elegant one-page memorial theme with responsive design and beautiful typography
Author: Your Name
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: memorial-landing
*/

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

:root {
  --background: hsl(30, 15%, 96%);
  --foreground: hsl(220, 15%, 25%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 15%, 25%);
  --primary: hsl(220, 25%, 35%);
  --primary-foreground: hsl(30, 25%, 95%);
  --secondary: hsl(30, 20%, 92%);
  --secondary-foreground: hsl(220, 25%, 35%);
  --muted: hsl(30, 15%, 88%);
  --muted-foreground: hsl(220, 10%, 55%);
  --accent: hsl(200, 30%, 85%);
  --accent-foreground: hsl(220, 25%, 35%);
  --border: hsl(30, 15%, 85%);
  --memorial-gold: hsl(45, 25%, 75%);
  --memorial-blue: hsl(200, 20%, 80%);
  --memorial-warm: hsl(30, 20%, 94%);
  --shadow-memorial: 0 4px 20px -4px hsl(220, 25%, 35%, 0.1);
  --shadow-card: 0 2px 10px -2px hsl(220, 15%, 25%, 0.08);
  --radius: 0.75rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
}

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

/* Card Component */
.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-content {
  padding: 1.5rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--memorial-warm)));
  position: relative;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-card {
  backdrop-filter: blur(8px);
  background: hsl(var(--card) / 0.8);
  padding: 3rem;
  box-shadow: var(--shadow-memorial);
  border: 1px solid hsl(var(--memorial-gold) / 0.2);
}

.hero-avatar {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid hsl(var(--memorial-gold) / 0.3);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--memorial-gold) / 0.2), hsl(var(--memorial-blue) / 0.2));
  font-size: 2.5rem;
  color: hsl(var(--muted-foreground));
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}

.hero-dates {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-dates .separator {
  margin: 0 1rem;
  color: hsl(var(--memorial-gold));
}

.hero-quote {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Biography Section */
.biography-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--memorial-warm)));
}

.biography-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 4rem;
}

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

.biography-card {
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--memorial-gold) / 0.2);
  transition: box-shadow 0.3s ease;
}

.biography-card:hover {
  box-shadow: var(--shadow-memorial);
}

.biography-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.biography-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background: hsl(var(--memorial-warm));
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 4rem;
}

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

.gallery-card {
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--memorial-gold) / 0.2);
  transition: box-shadow 0.3s ease;
}

.gallery-card:hover {
  box-shadow: var(--shadow-memorial);
}

.gallery-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, hsl(var(--memorial-gold) / 0.2), hsl(var(--memorial-blue) / 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: hsl(var(--muted-foreground));
}

.gallery-description {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
}

.gallery-quote {
  text-align: center;
  margin-top: 3rem;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  font-style: italic;
}

/* Tributes Section */
.tributes-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, hsl(var(--memorial-warm)), hsl(var(--background)));
}

.tributes-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 4rem;
}

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

.tribute-card {
  box-shadow: var(--shadow-card);
  border: 1px solid hsl(var(--memorial-gold) / 0.2);
  transition: box-shadow 0.3s ease;
}

.tribute-card:hover {
  box-shadow: var(--shadow-memorial);
}

.tribute-header {
  margin-bottom: 1rem;
}

.tribute-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.tribute-relation {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.tribute-message {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.tribute-date {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: right;
}

.contact-card {
  text-align: center;
  border: 2px dashed hsl(var(--memorial-gold) / 0.3);
  background: hsl(var(--memorial-gold) / 0.05);
}

.contact-icon {
  font-size: 3rem;
  color: hsl(var(--memorial-gold));
  margin-bottom: 1rem;
}

.contact-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.contact-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.contact-button {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background: hsl(var(--primary) / 0.9);
}

/* Footer Section */
.footer-section {
  padding: 3rem 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer-dates {
  color: hsl(var(--primary-foreground) / 0.8);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.footer-divider {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
  padding-top: 1.5rem;
}

.footer-quote {
  color: hsl(var(--primary-foreground) / 0.7);
  font-size: 0.875rem;
  font-weight: 300;
}

.footer-credit {
  color: hsl(var(--primary-foreground) / 0.5);
  font-size: 0.75rem;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-card {
    padding: 2rem;
  }
  
  .biography-title,
  .gallery-title,
  .tributes-title {
    font-size: 2rem;
  }
  
  .gallery-grid,
  .tributes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-dates {
    font-size: 1rem;
  }
  
  .hero-quote {
    font-size: 1rem;
  }
}