/* ============================================================================
   Kunz Logging - Static Website CSS
   ============================================================================ */

:root {
  --primary-color: #f39c12;
  --dark-color: #2c3e50;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --border-color: #ddd;
  --green-overlay: rgba(60, 120, 50, 0.7);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: #fff;
}

/* ============================================================================
   Typography
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
  margin: 1em 0 0.5em 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e67e22;
}

/* ============================================================================
   Header & Navigation
   ============================================================================ */

header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

.logo img {
  height: 50px;
  width: auto;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.btn-phone {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
  background: linear-gradient(135deg, rgba(60, 120, 50, 0.85) 0%, rgba(45, 85, 35, 0.85) 100%),
              url('../images/background1.png') center/cover no-repeat;
  color: #fff;
  padding: 120px 2rem 80px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.banner {
  background: var(--primary-color);
  color: var(--dark-color);
  padding: 1rem 2rem;
  text-align: center;
  font-weight: 600;
}

/* ============================================================================
   Container & Layout
   ============================================================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 2rem;
}

/* ============================================================================
   Service Cards
   ============================================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.service-card-content {
  padding: 2rem;
}

.service-card h3 {
  margin-top: 0;
  color: var(--dark-color);
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* ============================================================================
   Features Section
   ============================================================================ */

.features {
  background: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.feature-item h3 {
  color: var(--dark-color);
  margin-top: 0;
}

/* ============================================================================
   Contact Form
   ============================================================================ */

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================================================
   Gallery
   ============================================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* ============================================================================
   Testimonials
   ============================================================================ */

.testimonials {
  background: var(--light-bg);
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: #666;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-color);
}

/* ============================================================================
   Footer
   ============================================================================ */

footer {
  background: var(--dark-color);
  color: #fff;
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #bbb;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .menu-toggle {
    display: flex;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero {
    padding: 60px 1rem 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 2rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }

  .hero h1 {
    font-size: 1.5rem;
  }

  .banner {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}
