/* Classic clean styling */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f5f2ed;
  --bg-alt: #e8e1d6;
  --text: #2e2a25;
  --accent: #a1743b;
  --accent-dark: #815426;
  --card-bg: #ffffff;
  --border-soft: #ddd1c0;
  --font-main: "Georgia", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

/* Containers */
.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* Header / Nav */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo a {
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  background: #fff;
  font-size: 1.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1505691723518-36a5ac3be353?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(25, 20, 15, 0.8),
    rgba(25, 20, 15, 0.4)
  );
}

.hero-content {
  position: relative;
  max-width: 620px;
  padding: 4rem 0;
}

.hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 3.5vw, 3.1rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
}

.primary-btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.primary-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.secondary-btn {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--font-main);
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-subtitle {
  font-size: 0.98rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: #666;
}

/* Cards / Grid */
.grid-3 {
  display: grid;
  gap: 1.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card h3 {
  font-family: var(--font-main);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

/* Projects */
.project-grid .card-image {
  border-radius: 10px;
  overflow: hidden;
  margin: -1.5rem -1.5rem 1rem;
}

.project-grid img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.card-body h3 {
  font-family: var(--font-main);
  margin-top: 0;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-soft);
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-stats strong {
  display: block;
  font-size: 1.3rem;
  font-family: var(--font-main);
}

.about-stats span {
  font-size: 0.9rem;
  color: #666;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: flex-start;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin-top: 1.1rem;
}

.contact-info li {
  margin-bottom: 0.6rem;
}

/* Form */
.contact-form .form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #c9bba4;
  font: inherit;
  background: #fbf8f2;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(161, 116, 59, 0.2);
}

.full-width {
  width: 100%;
}

.form-success {
  font-size: 0.88rem;
  margin-top: 0.7rem;
  color: #216e3a;
}

/* Footer */
.site-footer {
  background: #1e1a16;
  color: #dcd0c2;
  padding-top: 2.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  font-family: var(--font-main);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: #dcd0c2;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #3a3228;
  text-align: center;
  padding: 0.75rem 0 1rem;
  margin-top: 2rem;
  font-size: 0.8rem;
}

/* Blog Pages & Legal Pages Common */
.blog-hero,
.legal-hero {
  background: var(--bg-alt);
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-soft);
}

.blog-hero h1,
.legal-hero h1 {
  font-family: var(--font-main);
  margin-bottom: 0.5rem;
}

.blog-content,
.legal-content {
  padding: 2.5rem 0 3rem;
}

.blog-content h2,
.blog-content h3,
.legal-content h2,
.legal-content h3 {
  font-family: var(--font-main);
}

.blog-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    min-width: 180px;
    border: 1px solid var(--border-soft);
    border-top: none;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }
}
