/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-img {
  height: 5rem;
  width: auto;
}

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

.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #16a34a;
}

.phone-btn {
  display: flex;
  align-items: center;
  background: #22c55e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
}

.phone-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 24rem;
  background: linear-gradient(to right, #9a3412, #ea580c);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  max-width: 50rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.hero-text {
  font-size: 1.125rem;
  opacity: 0.8;
}

/* Main Content */
.main-content {
  padding: 4rem 0;
  background: #f9fafb;
}

.intro-text {
  text-align: center;
  margin-bottom: 4rem;
}

.intro-subtitle {
  color: #16a34a;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.intro-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #16a34a;
}

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

.service-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-text {
  color: #6b7280;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: white;
}

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

.feature {
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #16a34a;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text {
  color: #6b7280;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: #1f2937;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: #4ade80;
}

.contact-company h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-company p {
  color: #d1d5db;
}

.services-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.services-items {
  list-style: none;
  color: #d1d5db;
}

.services-items li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: #374151;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 4rem;
  width: auto;
  margin-right: 0.75rem;
}

.footer-company {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #d1d5db;
}

.footer-copyright {
  color: #9ca3af;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2937;
  color: white;
  padding: 1rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top: 4px solid #22c55e;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-info {
  display: flex;
  gap: 0.75rem;
  flex: 1;
}

.cookie-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.cookie-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cookie-text {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.5;
}

.cookie-link {
  color: #4ade80;
  text-decoration: underline;
}

.cookie-link:hover {
  color: #22c55e;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: fit-content;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.cookie-btn-essential {
  background: transparent;
  color: white;
  border: 1px solid #6b7280;
}

.cookie-btn-essential:hover {
  background: #374151;
}

.cookie-btn-all {
  background: #16a34a;
  color: white;
}

.cookie-btn-all:hover {
  background: #15803d;
}

/* Service Grid 4-Column Layout */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

/* Responsive adjustments for service grids */
@media (max-width: 1199px) {
  .services-grid-4,
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .services-grid-4,
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

  .intro-title {
    font-size: 2rem;
  }

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

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

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

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    flex-direction: row;
    align-self: stretch;
  }

  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-wrap: wrap;
  }

  .phone-btn {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero {
    height: 20rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }
}
