/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* ========= BAS ============= */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "Lora", "Georgia", "Times New Roman", serif; /* brödtext */
  font-size: 18px;
  line-height: 1.6;
  color: #3F3A34; /* dämpad brungrå */
  background-color: #f9f5f1; /* ljus sand/beige om du vill */
  margin: 0;
}
p{
    font-family: "Lora", "Georgia", "Times New Roman", serif !important; /* brödtext */
}

label{
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top:10px !important;
    margin-bottom:5px !important;
}
/* ========= RUBRIKER ============= */

h1, h2, h3, h4, h5, h6 {
  font-family: kiln-sans, "Times New Roman", serif !important; /* rubriker */
  color: #4A2E1F; /* mörk träbrun */
  margin-top: 0;
  margin-bottom: 0.6em;
  font-weight: 400 !important;
}

h1 {
  font-size: 3.6rem;   /* ca 58px på desktop */
  line-height: 1.15;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 3rem;     /* ca 48px */
  line-height: 1.2;
}

h3 {
  font-size: 2.1rem;   /* ca 34px */
  line-height: 1.25;
}

h4 {
  font-size: 1.6rem;   /* ca 26px */
  line-height: 1.3;
}

/* ========= BRÖDTEXT / SMÅGREJER ============= */

p {
  margin-top: 0;
  margin-bottom: 1.1em;
}

small,
.text-small {
  font-size: 0.875rem; /* ca 14px */
  line-height: 1.5;
}

/* Länkar */
a {
  color: #A66341; /* rost / läder */
  text-decoration: none;
}

a:hover,
a:focus {
  color: #6F3E27;
  text-decoration: underline;
}

/* ========= KNAPP / CTA ============= */

.btn-cta,
.elementor-button { /* funkar även på Elementors knappar */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.8em;
  font-family: kiln-sans, "Times New Roman", serif !important;
  font-size: 1rem; /* ca 16px */
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: #8C5C3B; /* läderbrun */
  color: #FFF7E9;
  border: 2px solid #5A3D2B;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.25);
  transition: background-color 0.2s ease, transform 0.1s ease,
              box-shadow 0.2s ease;
}

.btn-cta:hover,
.btn-cta:focus,
.elementor-button:hover,
.elementor-button:focus {
  background-color: #6F462C;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* ========= RESPONSIV TYPOGRAFI ============= */

/* Tablet ↓ */
@media (max-width: 1024px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 3rem;   /* ca 48px */
  }

  h2 {
    font-size: 2.4rem; /* ca 38px */
  }

  h3 {
    font-size: 1.9rem; /* ca 30px */
  }

  h4 {
    font-size: 1.4rem; /* ca 22px */
  }
}

/* Mobil ↓ */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.4rem; /* ca 38px */
  }

  h2 {
    font-size: 2rem;   /* ca 32px */
  }

  h3 {
    font-size: 1.6rem; /* ca 26px */
  }

  h4 {
    font-size: 1.3rem; /* ca 21px */
  }

  .btn-cta,
  .elementor-button {
    font-size: 0.95rem;
    padding: 0.8em 1.4em;
  }
}

/* Liten text i formulär / labels etc */
label,
input,
textarea,
select {
  font-family: "Lora", "Georgia", "Times New Roman", serif !important;
  font-size: 0.95rem;
}
