/* =============================================
   StyleMyHaven.com - Kadence Theme Match
   For React Tools: Room Calculator & Wall Art Visualizer
   ============================================= */

/* === GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Josefin+Sans:wght@400;600;700&display=swap');

/* === ROOT VARIABLES === */
:root {
  --smh-body-font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --smh-heading-font: 'Josefin Sans', serif;
  --smh-body-size: 17px;
  --smh-body-weight: 300;
}

/* === RESET & BASE === */
* {
  box-sizing: border-box;
}

html {
  font-size: var(--smh-body-size);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--smh-body-font) !important;
  font-size: var(--smh-body-size);
  font-weight: var(--smh-body-weight);
  line-height: 1.6;
  color: #2d3748;
  margin: 0;
  padding: 0;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--smh-heading-font) !important;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #1a202c;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

/* === PARAGRAPHS & TEXT === */
p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

strong, b {
  font-weight: 700;
}

/* === FORMS & INPUTS === */
input, 
select, 
textarea,
button {
  font-family: var(--smh-body-font) !important;
  font-size: var(--smh-body-size);
}

input[type="text"],
input[type="number"],
input[type="email"],
select,
textarea {
  font-weight: 400; /* Normal weight for inputs */
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #d2d6dc;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* === LABELS === */
label {
  font-family: var(--smh-body-font) !important;
  font-size: var(--smh-body-size);
  font-weight: 400; /* Slightly heavier than body */
  display: block;
  margin-bottom: 0.5rem;
  color: #374151;
}

/* === BUTTONS === */
button,
.button,
input[type="submit"],
input[type="button"] {
  font-family: var(--smh-body-font) !important;
  font-size: 1.05rem; /* Slightly larger: ~18px */
  font-weight: 400;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  html {
    font-size: 16px; /* Slightly smaller on mobile */
  }
  
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 19px; }
  h5 { font-size: 18px; }
  h6 { font-size: 17px; }
}

/* === UTILITY === */
.text-light {
  font-weight: 300;
}

.text-normal {
  font-weight: 400;
}

.text-bold {
  font-weight: 700;
}
