/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap'); */

/* Local Fonts */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('./assets/fonts/Roboto-Light.ttf') format('truetype');
  font-display: swap; 
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('./assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('./assets/fonts/Roboto-Medium.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('./assets/fonts/Roboto-Bold.ttf') format('truetype');
  font-display: swap;
}

:root {
  /* Colors */
  --color-primary: #F5F0E8;
  /* Warm cream */
  --color-secondary: #e1c1c4;
  /* Rosa */
  --color-accent: #a9f2df;
  /* Turquoise */

  --color-text-dark: #272726;
  /* Near black */
  --color-text-light: #FEFDFB;
  /* Off-white */

  --bg-dark: #272726;
  --bg-light: #F5F0E8;
  --bg-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-hover: all 0.3s ease;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-dark);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-2);
  font-weight: 300;
}

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

ul {
  list-style: none;
}

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

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-2);
}

.section {
  padding: var(--space-12) 0;
}

.text-center {
  text-align: center;
}

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

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

.bg-dark {
  background-color: var(--bg-dark);
}

.bg-light {
  background-color: var(--bg-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border: 1px solid currentColor;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
  transition: var(--transition-hover);
}

.btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-dark);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}