/*
Theme Name: Woningstagen Custom Theme
Theme URI: https://woningstagen.nl
Author: Woningstagen
Author URI: https://woningstagen.nl
Description: Custom built WordPress theme for Woningstagen. Fully compatible with Elementor.
Version: 1.0.0
Text Domain: woningstagen
*/

@font-face {
  font-family: 'Glacial Indifference';
  src: url('./fonts/GlacialIndifference-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('./fonts/GlacialIndifference-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: 48 26% 93%;
  --foreground: 30 20% 15%;

  --card: 0 0% 100%;
  --card-foreground: 30 20% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 30 20% 15%;

  --primary: 30 24% 38%;
  --primary-foreground: 48 26% 93%;

  --secondary: 180 2% 91%;
  --secondary-foreground: 30 20% 15%;

  --muted: 48 16% 89%;
  --muted-foreground: 30 10% 45%;

  --accent: 32 39% 56%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 30 12% 85%;
  --input: 30 12% 85%;
  --ring: 30 24% 38%;

  --radius: 0.25rem;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Glacial Indifference', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Glacial Indifference', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: 56px; }
h2 { font-size: 38px; }
h3 { font-size: 24px; }

@media (max-width: 1024px) {
  body { font-size: 17px; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  h3 { font-size: 21px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
}

.container-site {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1310px;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .container-site {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.section-spacing {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (max-width: 1024px) {
  .section-spacing {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 640px) {
  .section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-weight: 700;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: all 0.3s;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: all 0.3s;
}
.btn-outline:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.text-small {
  font-size: 15px;
}
@media (max-width: 640px) {
  .text-small {
    font-size: 14px;
  }
}

.text-balance {
  text-wrap: balance;
}

/* Elementor Compatibility */
.elementor-page .container-site,
.elementor-page .section-spacing {
  /* Let Elementor handle its own spacing if needed, but provide base fallback */
}
