/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  color: #351817;
  background-color: #FFF9F4;
  line-height: 1.8;
}


/* =========================
   VARIABLES
========================= */

:root {
  --red-dark: #65141A;
  --red: #8F1D25;
  --red-light: #B52A32;

  --cream: #FFF9F4;
  --cream-dark: #F4E8DA;

  --brown: #351817;
  --brown-light: #6B5048;

  --gold: #C69A5B;

  --white: #FFFFFF;

  --shadow: 0 10px 30px rgba(53, 24, 23, 0.08);
}


/* =========================
   HEADER
========================= */

header {
  padding: 32px 20px;
  text-align: center;
  color: var(--white);
  background-color: var(--red-dark);
}

header h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 1px;
}

header p {
  margin: 8px 0 0;
  font-size: 15px;
  color: #F9EDE4;
}


/* =========================
   NAVIGATION
========================= */

nav {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 14px;

  padding: 18px 20px;

  background-color: var(--cream);

  border-bottom: 1px solid #EADBD0;
}

nav a {
  position: relative;

  color: var(--red-dark);

  text-decoration: none;

  font-size: 16px;
  font-weight: bold;

  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--red-light);
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 520px;

  padding: 80px 20px;

  text-align: center;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      rgba(181, 42, 50, 0.96),
      rgba(101, 20, 26, 0.98)
    );
}

.hero-content {
  width: 100%;
  max-width: 760px;
}

.hero-label {
  display: inline-block;

  margin-bottom: 12px;

  color: #F4D8B8;

  font-size: 13px;
  font-weight: bold;

  letter-spacing: 3px;
}

.hero h2 {
  margin: 0 0 18px;

  font-size: 32px;

  line-height: 1.5;
}

.hero p {
  max-width: 650px;

  margin: 0 auto;

  color: #FCEFE8;

  font-size: 17px;
}

.hero-button {
  display: inline-block;

  margin-top: 28px;

  padding: 13px 30px;

  color: var(--red-dark);

  background-color: var(--cream);

  border-radius: 30px;

  text-decoration: none;

  font-size: 16px;
  font-weight: bold;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.hero-button:hover {
  transform: translateY(-3px);

  color: var(--white);

  background-color: var(--gold);
}


/* =========================
   GENERAL SECTION
========================= */

section {
  width: 100%;
}

.section-heading {
  max-width: 700px;

  margin: 0 auto 40px;

  text-align: center;
}

.section-heading span {
  color: var(--red);

  font-size: 12px;
  font-weight: bold;

  letter-spacing: 2px;
}

.section-heading h2 {
  margin: 8px 0 12px;

  color: var(--red-dark);

  font-size: 28px;
}

.section-heading p {
  margin: 0;

  color: var(--brown-light);

  font-size: 15px;
}


/* =========================
   GALLERY
========================= */

.gallery {
  padding: 70px 20px;

  background-color: var(--cream);
}

.gallery-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 20px;

  width: 100%;
  max-width: 1100px;

  margin: 0 auto;
}

.photo {
  overflow: hidden;

  aspect-ratio: 2 / 3;

  border-radius: 16px;

  background-color: var(--cream-dark);

  box-shadow: var(--shadow);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition: transform 0.5s ease;
}

.photo:hover {
  transform: translateY(-5px);

  box-shadow:
    0 15px 35px rgba(53, 24, 23, 0.14);
}

.photo:hover img {
  transform: scale(1.04);
}


/* =========================
   FEATURES
========================= */

.features {
  padding: 70px 20px;

  background-color: #FFFDF9;
}

.features-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 20px;

  width: 100%;
  max-width: 1100px;

  margin: 0 auto;
}

.features-card {
  position: relative;

  padding: 30px 24px;

  text-align: center;

  background-color: var(--white);

  border: 1px solid #EEDFD3;

  border-radius: 16px;

  box-shadow: var(--shadow);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.features-card:hover {
  transform: translateY(-7px);

  border-color: var(--red);
}

.card-number {
  margin-bottom: 10px;

  color: var(--gold);

  font-size: 14px;
  font-weight: bold;

  letter-spacing: 2px;
}

.features-card h3 {
  margin: 0 0 12px;

  color: var(--red-dark);

  font-size: 21px;
}

.features-card p {
  margin: 0;

  color: var(--brown-light);

  font-size: 15px;
}


/* =========================
   CONTACT
========================= */

.contact {
  padding: 70px 20px;

  background-color: var(--cream-dark);
}

form {
  display: flex;
  flex-direction: column;

  gap: 10px;

  width: 100%;
  max-width: 500px;

  margin: 0 auto;

  text-align: right;
}

label {
  color: var(--brown);

  font-size: 14px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;

  padding: 13px 14px;

  font-family: inherit;
  font-size: 15px;

  color: var(--brown);

  background-color: var(--white);

  border: 1px solid #DCC9BA;

  border-radius: 9px;

  outline: none;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

input:focus,
textarea:focus {
  border-color: var(--red);

  box-shadow:
    0 0 0 3px rgba(143, 29, 37, 0.1);
}

form button {
  margin-top: 8px;

  padding: 13px 20px;

  color: var(--white);

  background-color: var(--red);

  border: none;
  border-radius: 9px;

  font-family: inherit;
  font-size: 15px;
  font-weight: bold;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

form button:hover {
  background-color: var(--red-dark);

  transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 25px 20px;

  text-align: center;

  color: #EEDFD3;

  background-color: var(--red-dark);

  font-size: 13px;
}

footer p {
  margin: 0;
}


/* =========================
   TABLET
========================= */

@media (min-width: 768px) {

  nav {
    flex-direction: row;
    justify-content: center;

    gap: 30px;
  }

  .hero {
    min-height: 560px;
  }

  .hero h2 {
    font-size: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================
   DESKTOP
========================= */

@media (min-width: 1024px) {

  header {
    padding: 38px 20px;
  }

  header h1 {
    font-size: 38px;
  }

  nav {
    padding: 20px;
  }

  .hero {
    min-height: 620px;
  }

  .hero h2 {
    font-size: 46px;
  }

  .hero p {
    font-size: 18px;
  }

  .gallery,
  .features,
  .contact {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}