/* Root Variables */
:root {
  --cream: #f7f4ef;
  --beige: #dccfb3;
  --coffee: #a68a5f;
  --dark-coffee: #7a5f3f;
  --black: #3d3d3d;
  --white: #ffffff;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 6rem;

  /* Font sizes */
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 3rem;
  --font-size-6xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* Offset for fixed header */
}

body {
  font-family: "Montserrat", "Helvetica Neue", "Arial", sans-serif;
  color: var(--black);
  background-color: var(--cream);
  font-weight: 400;
}

/* Container */
.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-coffee);
  font-weight: 900;
}

h1 {
  font-size: var(--font-size-6xl);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.5rem, 4vw, var(--font-size-2xl));
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 400;
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-base);
  font-weight: 400;
}

a {
  color: var(--coffee);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 400;
  font-size: var(--font-size-base);
}

a:hover {
  color: var(--dark-coffee);
}

/* Buttons - Uniform Style */
.btn {
  display: inline-block;
  padding: 0.875em 2.5em;
  border: none;
  border-radius: 0.5rem;
  font-size: var(--font-size-base);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    box-shadow var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--coffee);
  color: var(--white);
  box-shadow: 0 0.25rem 1rem rgba(139, 115, 85, 0.2);
}

.btn-primary:hover {
  background-color: var(--dark-coffee);
  box-shadow: 0 0.5rem 1.5rem rgba(139, 115, 85, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--coffee);
  border: 0.125rem solid var(--coffee);
}

.btn-secondary:hover {
  background-color: var(--coffee);
  color: var(--white);
}

.btn-large {
  padding: 1.125em 3em;
  font-size: var(--font-size-lg);
}

/* Sections */
section {
  padding: var(--spacing-lg) 0;
}

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

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive Typography */
@media (max-width: 48em) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 30em) {
  html {
    font-size: 13px;
  }
}

::-webkit-scrollbar {
  width: 0.625rem;
}

::-webkit-scrollbar-track {
  background: #f5f0eb;
}

::-webkit-scrollbar-thumb {
  background: #8b7355;
  border-radius: 0.5rem;
}

html {
  scrollbar-color: #8b7355 #f5f0eb;
  /* scrollbar-width: thin; */
}

/* =========================
   FIX: STOP HORIZONTAL SCROLL (MOBILE)
========================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* κόβει αυτό που βγαίνει έξω */
}

*,
*::before,
*::after {
  box-sizing: border-box; /* padding δεν “φουσκώνει” το width */
}

img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Αν έχεις γενικό container */
.container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}
