/* =============== */
/* Base reset      */
/* =============== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f4f1ec;
  color: #222222;
  line-height: 1.6;
}

/* =============== */
/* Layout helpers  */
/* =============== */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section--light {
  background-color: #f4f1ec;
}

.section--medium {
  background-color: #e7dfd4;
}

.section--dark {
  background-color: #2b2a29;
  color: #f4f1ec;
}

/* =============== */
/* Typography      */
/* =============== */

h1,
h2,
h3,
h4 {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #7d4f29;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========================= */
/* Header and navigation     */
/* ========================= */

header {
  background-color: #2b2a29;
  color: #f4f1ec;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 160px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f4f1ec;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav a:hover {
  color: #dcb38a;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: #f4f1ec;
}

/* ========================= */
/* Hero section              */
/* ========================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0;
}

.hero-content h1 {
  font-size: 2.6rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #5e4c3a;
}

.hero-contact {
  margin-top: 1rem;
  font-weight: 500;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  display: block;
}

/* =============== */
/* Social Icons    */
/* =============== */

.social-icons a {
  margin-right: 0.75rem;
  font-size: 1.6rem;
  color: #7d4f29;
  transition: 0.2s ease;
}

.social-icons a:hover {
  color: #a06a3f;
}

.faq-card {
  margin-bottom: 1.5rem;
}

/* =============== */
/* Gallery Grid    */
/* =============== */

.image-frame img {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.gallery-caption {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #4a3b2b;
}

.nav-open {
  display: block;
}

#form-status {
  font-weight: bold;
  color: #6b4f3b;
}

/* =============== */
/* Buttons         */
/* =============== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease,
    transform 0.1s ease;
}

.btn-primary {
  background-color: #7d4f29;
  color: #f4f1ec;
  box-shadow: 0 4px 10px rgba(74, 42, 17, 0.35);
}

.btn-primary:hover {
  background-color: #9a6132;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #7d4f29;
  border: 1px solid #7d4f29;
}

.btn-outline:hover {
  background-color: #7d4f29;
  color: #f4f1ec;
}

/* =============== */
/* Content blocks  */
/* =============== */

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header p {
  max-width: 650px;
  margin: 0.5rem auto 0;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  background-color: #fdfaf6;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

.card--dark {
  background-color: #353433;
  color: #f4f1ec;
}

/* About section images */

.image-frame {
  border-radius: 8px;
  overflow: hidden;
  max-width: 420px;
  max-height: 420px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 420px;
  height: auto;
}

/* =============== */
/* List styles     */
/* =============== */

.list-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.list-pills li {
  background-color: #e7dfd4;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* =============== */
/* Contact section */
/* =============== */

.icon {
  margin-right: 0.5rem;
  color: #7d4f29;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
}

.contact-intro {
  font-size: 1rem;
  color: #6b5a47;
  margin-bottom: 1.5rem;
  max-width: 420px;
  line-height: 1.6;
}

.contact-info a {
  font-weight: 500;
}

.contact-form {
  max-width: 750px;
  width: 100%;
  background-color: #fdfaf6;
  border-radius: 8px;
  padding: 1.8rem 1.8rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Form elements */

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-field {
  flex: 1;
  min-width: 160px;
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #4a3b2b;
}

.form-field span.required {
  color: #b42318;
  margin-left: 0.15rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  border: 1px solid #c1b6a5;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: #fdfaf6;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="file"] {
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #7d4f29;
  outline: none;
  box-shadow: 0 0 0 2px rgba(125, 79, 41, 0.18);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Helper text */

.form-help {
  font-size: 0.8rem;
  color: #6b5a47;
  margin-top: 0.2rem;
}

/* FAQ Icons */
.icon {
  margin-right: 0.5rem;
  font-size: 1.3rem;
  color: #7d4f29;
  vertical-align: middle;
}

.icon-title {
  margin-right: 0.6rem;
  font-size: 1.6rem;
  vertical-align: middle;
}

/* FAQ Card Enhancements */
.faq-card {
  border-left: 4px solid #7d4f29;
  padding-left: 1.2rem;
}

.faq-card h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.faq-card p {
  margin-top: 0.25rem;
  color: #4a3b2b;
  line-height: 1.55;
}

/* =============== */
/* Footer          */
/* =============== */

footer {
  background-color: #2b2a29;
  color: #f4f1ec;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 480px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: #f4f1ec;
}

.footer-links a:hover {
  color: #dcb38a;
}

.footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #c5b9a4;
}

/* =============== */
/* Utility classes */
/* =============== */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: #6b5a47;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background-color: #e7dfd4;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =============== */
/* Responsive      */
/* =============== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-image {
    margin: 0 auto;
    order: -1;
  }

  .grid-two,
  .grid-three,
  .contact-wrapper,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ⭐ FINAL, CORRECT MOBILE NAV — ONLY THIS ONE SHOULD EXIST */
@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    background-color: #2b2a29;
    flex-direction: column;
    align-items: flex-end;
    text-align: right; /* RIGHT align text */
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.75rem;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  }

  .nav.nav--open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2.1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 1.4rem 1.4rem 1.8rem;
  }
}
