/*!
 * Birthday Gift Page - styles.css
 * Professional Corporate design direction for Musthakeem
 */

/* Design Tokens */
:root {
  --bg-primary: #f0f4f8;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --border-subtle: rgba(0,0,0,0.1);
  --shadow-card: 0 2px 8px -2px rgba(37,99,235,0.12), 0 1px 4px -1px rgba(0,0,0,0.08);
  --radius-md: 8px;
  --radius-sm: 4px;
}

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* Typography */
body {
  font-family: "Segoe UI", Arial, Helvetica, "Noto Sans", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 {
  font-size: 1.875rem;
}

body {
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  box-shadow: 0 1px 4px var(--border-subtle);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-primary);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero-content .subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-subtle);
}

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

/* About Section */
.about {
  padding: 4rem 1rem;
  background-color: var(--bg-surface);
}

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

/* Gifts Section */
.gifts {
  padding: 4rem 1rem;
  background-color: var(--bg-surface);
}

.gifts h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.gifts-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gifts-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  }
}

.gift-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s ease;
}

.gift-card:hover {
  transform: translateY(-4px);
}

.gift-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.gift-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.gift-card .price {
  color: var(--accent-primary);
  font-weight: bold;
  font-size: 1.125rem;
}

/* Gallery Section */
.gallery {
  padding: 4rem 1rem;
  background-color: var(--bg-primary);
}

.gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  }
}

.gallery-item {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

/* Footer */
footer {
  padding: 2rem 1rem;
  background-color: var(--text-primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-top: 4rem;
}

footer p {
  font-size: 0.875rem;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}