/*
Theme Name: M7 Engenharia
Theme URI: https://m7engenharia.com.br
Description: Tema personalizado para M7 Engenharia - Construção Civil em Joinville
Author: M7 Engenharia
Version: 1.0.0
Text Domain: m7engenharia
*/

:root {
  --m7-orange: #F97316;
  --m7-orange-light: #FB923C;
  --m7-orange-dark: #EA580C;
  --m7-dark: #1E293B;
  --m7-gray: #64748B;
  --m7-light: #F8FAFC;
}

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

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

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

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

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--m7-orange);
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--m7-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--m7-orange);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(30, 41, 59, 0.9));
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--m7-orange);
  color: white;
}

.btn-primary:hover {
  background: var(--m7-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Sections */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--m7-dark);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--m7-gray);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.card h3 {
  color: var(--m7-orange);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background: var(--m7-dark);
  color: white;
  padding: 3rem 0 1rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
}
