/* ===========================
   Variables & Reset
   =========================== */
:root {
  --color-primary: #2c1400;
  --color-secondary: #3d1e05;
  --color-accent: #c04010;
  --color-accent-light: #e8921a;
  --color-bg: #fdf6ed;
  --color-surface: #fffbf4;
  --color-text: #2c1400;
  --color-text-muted: #7a5a3a;
  --color-border: #e8d5b0;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(44, 20, 0, 0.10);
  --shadow-lg: 0 12px 48px rgba(44, 20, 0, 0.18);
  --transition: 0.25s ease;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   Utility
   =========================== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 64, 16, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ===========================
   Header / Nav
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--color-primary);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--color-accent-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary) 0%, #4a2800 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}

.accent { color: var(--color-accent); }

.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero logo graphic */
.hero-graphic {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.hero-logo-img {
  width: clamp(300px, 38vw, 560px);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ===========================
   Services
   =========================== */
.services {
  padding: 6rem 0;
  background: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===========================
   About
   =========================== */
.about {
  padding: 6rem 0;
  background: var(--color-bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-stats li {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Decorative blocks */
.about-visual {
  position: relative;
  height: 340px;
}

.about-block {
  position: absolute;
  border-radius: var(--radius);
}

.ab1 {
  width: 220px; height: 220px;
  background: linear-gradient(135deg, var(--color-primary), #4a2800);
  top: 0; left: 40px;
}

.ab2 {
  width: 160px; height: 160px;
  background: var(--color-accent);
  bottom: 20px; left: 0;
  opacity: 0.85;
}

.ab3 {
  width: 120px; height: 120px;
  border: 4px solid var(--color-accent);
  background: transparent;
  top: 40px; right: 20px;
  border-radius: 50%;
}

/* ===========================
   Contact
   =========================== */
.contact {
  padding: 6rem 0;
  background: var(--color-surface);
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(192, 64, 16, 0.12);
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.5rem;
}

.form-feedback.success { color: #28a745; }
.form-feedback.error   { color: var(--color-accent); }

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.6);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.footer-copy { font-size: 0.875rem; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 1rem 5%;
    gap: 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-visual { display: none; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-graphic { display: none; }
}

/* ===========================
   Scroll animations
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}
