/* ==========================================================================
   BABYPHOTOGRAPHY - Main Stylesheet
   Replication and modernization of www.babyphotography.es
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Sacramento&family=Nunito:wght@400;600;700&display=swap');

:root {
  /* Color Palette */
  --color-bg: #ffffff;
  --color-bg-warm: #efe8df;
  --color-bg-light: #fbf9f6;
  --color-text: #2a2a2a;
  --color-text-light: #504c49;
  --color-text-muted: #7a7a7a;
  --color-border: #e2ded9;
  --color-accent: #b5987f;
  --color-accent-hover: #9c7f68;
  --color-accent-soft: #f4ede6;

  /* Typography */
  --font-body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Sacramento', cursive;
  --font-nav: 'Nunito', sans-serif;

  /* Layout */
  --container-max: 1040px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-xxl: 80px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.75;
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 820px;
}

/* Typography styles matching original */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
}

.script-title {
  font-family: var(--font-script);
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0.25rem;
}

.page-title {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.section-heading {
  font-family: var(--font-script);
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section-subheading {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--color-text);
  color: #ffffff;
  border-color: var(--color-text);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background-color: var(--color-text);
  color: #ffffff;
}

.btn-warm {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-warm:hover {
  background-color: var(--color-accent-hover);
}

/* Spacers */
.spacer-sm { height: 20px; }
.spacer-md { height: 40px; }
.spacer-lg { height: 60px; }
.spacer-xl { height: 80px; }

/* Section helpers */
.section {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.section-warm-gradient {
  background: var(--color-bg-warm);
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, #ffffff 100%);
  padding: var(--spacing-xl) 0;
}

.section-subtle {
  background-color: var(--color-bg-light);
  padding: var(--spacing-xl) 0;
}

/* Text helpers */
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-muted { color: var(--color-text-muted); }
