/* ChefTalk Marketing Website - Base Styles */
/* Reset, typography, and utility classes */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Container utility */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section base styles */
section {
  padding: var(--section-padding) 0;
  width: 100%;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

/* Utility classes for responsive design */
.mobile-only {
  display: block;
}

.desktop-up {
  display: none;
}

/* Text size utilities - Mobile First */
.text-hero {
  font-size: 32px;
  line-height: 1.2;
}

.text-section-title {
  font-size: 28px;
  line-height: 1.3;
}

.text-card-title {
  font-size: 20px;
  line-height: 1.4;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive utilities and text sizing */
@media (min-width: 768px) {
  :root {
    --section-padding: 80px;
    --container-padding: 32px;
  }

  .mobile-only {
    display: none;
  }

  .text-hero {
    font-size: 48px;
  }
  
  .text-section-title {
    font-size: 36px;
  }
  
  .text-card-title {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-padding: 120px;
    --container-padding: 40px;
  }
  
  .desktop-up {
    display: block;
  }

  .text-hero {
    font-size: 64px;
  }
  
  .text-section-title {
    font-size: 48px;
  }
}

@media (min-width: 1440px) {
  :root {
    --section-padding: 140px;
    --container-max: 1400px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container-max: 1600px;
  }
}