/* Estilos gerais */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --border-radius: 5px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f9f9;
}

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

/* Header */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 0;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.logo span {
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/fundo_sala_moderna_1.jpeg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #2980b9;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  margin-left: 15px;
}

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

/* Seções */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

/* Como Funciona */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.step {
  flex-basis: calc(33.333% - 30px);
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  text-align: center;
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-10px);
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary-color);
}

.step h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Projetos */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-image {
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.project-content p {
  color: #777;
  margin-bottom: 15px;
}

.project-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.status-construction {
  background-color: #ffeaa7;
  color: #d35400;
}

.status-planning {
  background-color: #d6eaf8;
  color: #2980b9;
}

.status-completed {
  background-color: #d5f5e3;
  color: #27ae60;
}

/* Detalhes do Projeto */
.project-details {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin-bottom: 40px;
}

.project-header {
  margin-bottom: 30px;
  text-align: center;
}

.project-header h1 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.schedule {
  margin-top: 40px;
}

.schedule h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th, .schedule-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.schedule-table th {
  background-color: var(--light-color);
  color: var(--primary-color);
  font-weight: 600;
}

.schedule-table tr:hover {
  background-color: #f5f5f5;
}

.photos {
  margin-top: 40px;
}

.photos h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.photo-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.photo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.photo-info {
  padding: 15px;
  background-color: white;
}

.photo-info p {
  margin-bottom: 5px;
  font-size: 14px;
  color: #777;
}

/* Contrato */
.contract {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
}

.contract h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contract p {
  margin-bottom: 15px;
}

.contract ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.contract ul li {
  margin-bottom: 10px;
}

.download-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #1e2b38;
}

/* Contato */
.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 16px;
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #1e2b38;
}

.contact-info {
  margin-top: 40px;
}

.contact-info h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  flex-basis: calc(25% - 30px);
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-column p {
  margin-bottom: 15px;
  color: #ccc;
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
}

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

.footer-bottom p {
  color: #ccc;
}

/* Responsividade */
@media (max-width: 992px) {
  .step {
    flex-basis: calc(50% - 20px);
  }
  
  .footer-column {
    flex-basis: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .step {
    flex-basis: 100%;
  }
  
  .projects {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .footer-column {
    flex-basis: 100%;
  }
  
  .header-container {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 20px;
  }
  
  nav ul li {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .btn {
    display: block;
    margin-bottom: 15px;
  }
  
  .btn-outline {
    margin-left: 0;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .photos-grid {
    grid-template-columns: 1fr;
  }
}
