/* ===== Reset & Variables ===== */
:root {
  --primary: #c45a11;
  --primary-dark: #9a4610;
  --secondary: #2c3e50;
  --light: #ecf0f1;
  --white: #fff;
  --text: #333;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 8px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===== Header & Nav ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  font-weight: 500;
  color: var(--secondary);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
}

/* Mobile menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary) 0%, #1a252f 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920') center/cover;
  opacity: 0.25;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--secondary);
}

/* ===== Sections ===== */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--secondary);
  margin-bottom: 2rem;
  text-align: center;
}

.section-title span {
  color: var(--primary);
}

/* ===== Cards / Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--light);
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Content blocks ===== */
.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary);
}

.content-block p {
  margin-bottom: 1rem;
  text-align: justify;
}

.content-block img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

/* ===== Two columns ===== */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}

.two-cols img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .two-cols {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer h4 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== Contact form ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 90, 17, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ===== Responsive: Mobile menu ===== */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list a {
    padding: 0.75rem;
    display: block;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .hero {
    min-height: 60vh;
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
  .btn {
      margin-left: unset !important;
      margin-bottom: 15px;
  }
}
