/* Fuentes & Secciones Importadas */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('header.css');
@import url('home.css');
@import url('funktionen.css');
@import url('footer.css');
@import url('about.css');
@import url('wasTrevlocAndersMacht.css');
@import url('unsere-vision.css');
@import url('kontakt-section.css');
@import url('blog.css');
@import url('post.css');

/* ========== VARIABLES GLOBALES ========== */
:root {
  --color-primary-1: #1e1e1e;
  --color-primary-2: #ffe8b4;
  --color-primary-3: #f8d477;
  --color-primary-4: #ffe100;
  --color-primary-5: #ffcb45;
  --color-primary-6: #e9a209;

  --color-neutral-0: #ffffff;
  --color-neutral-1: #1d1d1d;

  --font-main: 'Poppins', sans-serif;
  --container-padding: 8%;
}

/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-primary-1);
  color: var(--color-neutral-0);
  line-height: 1.6;
}


/* ========== GLOBAL SECTIONS ========== */
section {
  padding: 28px var(--container-padding);
  scroll-margin-top: 80px;
  margin-top: 6em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ⚠️ Se eliminó `height: 100vh` de section porque causa problemas en móviles. Úsalo solo donde lo necesites específicamente. */

/* ========== GLOBAL UTILITIES ========== */
.logo {
  width: 150px;
  height: auto;
}
.logo.blog {
  width: 202px;
  height: auto;
}

.btn-default {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  background-color: var(--color-primary-4);
  color: var(--color-neutral-1);
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-default:hover {
  background-color: var(--color-primary-3);
}

.section-title {
  color: #fd4b08;
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* ========== SOCIAL MEDIA ========== */
.social-media-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-media-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 40px;
  background-color: var(--color-neutral-0);
  color: var(--color-neutral-1);
  font-size: 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.social-media-buttons a:hover {
  box-shadow: 0px 0px 12px 8px rgba(0, 0, 0, 0.15);
}


/* ========== STEP CARD INVERTIDA (para secciones como pasos) ========== */
.step-card.reverse {
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .step-card.reverse {
    flex-direction: column;
  }
}

/* ========== RESPONSIVE: TEXTO Y BOTONES ========== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.375rem;
  }

  .btn-default {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .logo {
    width: 120px;
  }
   html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
}
