/* ============================================================
   Mantreh Atashband — stylesheet
   ============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=DM+Sans:ital,wght@0,400;0,500;1,400&display=swap');

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

/* Base */
html {
  font-size: 18px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #161317;
  background: #fff;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: #161317;
}

/* ============================================================
   Layout container
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   Header
   ============================================================ */
header {
  padding: 1.5rem 2rem;
  text-align: center;
}

header::after {
  content: '';
  display: block;
  height: 1px;
  background: #e8e4e8;
  max-width: 1200px;
  margin: 1.5rem auto 0;
}

header h1 {
  font-family: 'Marcellus', serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

header .tagline {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b606e;
  margin-top: 0.25rem;
}

/* ============================================================
   Sections — two-column (text + image)
   ============================================================ */
.section {
  padding: 5rem 0;
}

.section__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* Image-first variant */
.section--reverse .section__inner {
  flex-direction: row-reverse;
}

.section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.section__image {
  flex: 1;
}

/* ============================================================
   Centered sections (newsletter, contact)
   ============================================================ */
.section--centered {
  text-align: center;
}

.section--centered .section__inner {
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto;
}

.section--centered .section__content {
  align-items: center;
}

/* ============================================================
   Contact section
   ============================================================ */
.section--contact {
  background-image: url('https://mcusercontent.com/5802f4eee29c3237fb0bd36af/images/49fb9a67-237f-e04a-d4d4-bfac366f132f.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.section--contact h2 {
  color: #fff;
}

.section--contact p {
  color: #e0d9f8;
}

.section--contact a {
  color: #b7aef1;
}

/* ============================================================
   Typography
   ============================================================ */
h2 {
  font-family: 'Marcellus', serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

p {
  color: #3a313d;
}

em {
  font-style: italic;
}

/* ============================================================
   Button
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: #161317;
  color: #fff;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: background 0.2s ease;
  margin-top: 0.5rem;
}

.btn:hover {
  background: #3e3641;
  color: #fff;
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section__inner {
    flex-direction: column;
    gap: 1.75rem;
  }

  /* Always: text before image on mobile */
  .section--reverse .section__inner {
    flex-direction: column;
  }

  .section__content {
    order: 1;
    align-items: center;
    text-align: center;
  }

  .section__image {
    order: 2;
  }

  .btn {
    align-self: center;
  }

  h2 {
    font-size: 1.6rem;
  }
}
