/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #e1dbcf;
  --surface: #ffffff;
  --text: #3b2f22;
  --text-muted: #5d4710;
  --primary: #5d4710;
  --primary-soft: rgba(93, 71, 16, 0.15);
  --accent: #daa827;
  --accent-dark: #b2851c;
  --border: #d7caa5;
}

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section,
header,
footer {
  width: 100%;
}

/* Header and Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.logo img {
  height: 42px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  font-weight: 600;
}

.nav-links a {
  padding: 0.35rem 0.5rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
  background: var(--primary-soft);
}

/* Section common */
.section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1080px;
  width: 100%;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
}

/* Landing Section */
.landing {
  background: linear-gradient(135deg, #4dabf7 0%, #1971c2 45%, #0a3d62 100%);
  color: #2b2109;
  text-align: center;
  min-height: 90vh;
  position: relative;
}

.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 255, 255, 0.2),
    rgba(93, 71, 16, 0.45) 55%
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.landing .container {
  position: relative;
  z-index: 1;
}

.landing h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: white;
}

.landing p {
  font-size: clamp(1.03rem, 1.8vw, 1.45rem);
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

/* Button */
.btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background-color: var(--accent);
  padding: 0.9rem 1.7rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(165, 128, 51, 0.35);
}

/* Services */
.services {
  background: #fff;
}

.services .container {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.45rem;
  margin-top: 2rem;
}

.service-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.7rem;
  box-shadow: 0 8px 20px rgba(32, 48, 70, 0.08);
  transition: all 0.3s ease;
  text-align: left;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.service-item h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.service-item p {
  line-height: 1.6;
}

/* About */
.about {
  background: #f7f8fb;
  padding-bottom: 5rem;
  padding-top: 5rem;
}

.about h2 {
  text-align: center;
}

.about p {
  max-width: 760px;
  margin: 0 auto;
  margin-top: 0.8rem;
  line-height: 1.7;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: 2.2rem;
}

.about-text {
  text-align: left;
  line-height: 1.7;
}

.about-text img {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(35, 45, 70, 0.1);
}

.about-image img {
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(35, 45, 70, 0.1);
}

/* Contact */
.contact {
  background: var(--surface);
  padding-bottom: 6rem;
}

.contact .container {
  text-align: center;
}

.contact h2 {
  margin-bottom: 0.6rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
  margin: 2rem auto 0;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.95rem 0.95rem;
  font-size: 1rem;
  background: #fff;
  box-shadow: inset 0 2px 6px rgba(32, 43, 67, 0.05);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 88, 163, 0.25);
  border-color: var(--primary);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

footer {
  background: #5d4710;
  color: #ffffff;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.95rem;
}

footer p {
  margin: 0.5rem 0;
  color: white;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-content,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    text-align: center;
  }

  .landing {
    min-height: 75vh;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .landing h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .landing p {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    text-align: center;
  }

  .contact-form {
    max-width: 100%;
  }
}
