/* ========== Base Styles ========== */
:root {
  --yellow: #f2c61f; /* Lamborghini yellow */
  --green: #324735; /* Dark military green */
  --brown: #8a7052; /* Earth/clay brown */
  --light-brown: #d9cebe; /* Lighter version of brown */
  --dark: #2a2a2a;
  --light: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f9f7f4;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--green);
}

h3 {
  font-size: 1.5rem;
  color: var(--green);
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

section {
  padding: 5rem 0;
}

.btn-primary {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--dark);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: var(--green);
  color: var(--light);
  transform: translateY(-3px);
}

.subtitle {
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ========== Header ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

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

.logo {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 220px;
  margin-right: 12px;
  position: relative;
  top: 6; /* opcional, pode ajudar no alinhamento */
  transform: translateY(25%); /* faz ela “saltar” */
  z-index: 1001; /* garante que fique sobre o header */
}

.logo-text {
  display: flex;
  flex-direction: column;
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--yellow);
  transition: var(--transition);
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

.btn-reserva::after {
  content: none !important;
}

.btn-reserva {
  background-color: var(--yellow);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--dark);
}

.btn-reserva:hover {
  background-color: var(--green);
  color: var(--light);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== Hero Section ========== */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(images/fachada.jpeg) no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--light);
}

.hero-content {
  max-width: 800px;
  padding: 0 1rem;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* ========== Sobre Section ========== */
.sobre {
  background-color: #ffffff;
}

.sobre-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.sobre-text {
  flex: 1;
}

.sobre-img {
  flex: 1;
}

.sobre-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ========== Instalações Section ========== */
.instalacoes {
  background-color: var(--light-brown);
}

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

.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.card i {
  font-size: 2.5rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

/* ========== Passeios Section ========== */
.passeios {
  position: relative;
  background-color: var(--green);
  color: var(--light);
  overflow: hidden;
}

.passeios h2, .passeios h3 {
  color: var(--light);
}

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

.tour {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.tour img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.tour-info {
  padding: 1.5rem;
}

/* ========== Avaliações Section ========== */
.avaliacoes {
  background-color: #ffffff;
}

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

.review {
  background-color: #f9f7f4;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.review:hover {
  transform: translateY(-5px);
}

.stars {
  color: var(--yellow);
  margin-bottom: 1rem;
}

.reviewer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

.name {
  font-weight: 500;
}

.source {
  background-color: var(--yellow);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* ========== Localização Section ========== */
.localizacao {
  background-color: var(--light-brown);
}

.location-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

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

.address {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.address p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.address i {
  margin-right: 1rem;
  color: var(--yellow);
}

.highlight {
  background-color: rgba(242, 198, 31, 0.1);
  padding: 10px;
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
}

/* ========== Contato Section ========== */
.contato {
  background-color: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.contact-form {
  background-color: #f9f7f4;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e2e2;
  border-radius: var(--radius);
  font-family: inherit;
  background-color: #ffffff;
}

textarea {
  resize: vertical;
}

.booking-options {
  background-color: var(--green);
  padding: 2rem;
  border-radius: var(--radius);
  color: var(--light);
  box-shadow: var(--shadow);
}

.booking-options h3 {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.booking-platforms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition);
}

.booking-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.booking-link i {
  margin-right: 1rem;
  font-size: 1.5rem;
}

/* ========== Footer ========== */
footer {
  background-color: var(--green);
  color: var(--light);
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  height: 185px;
  border-radius: 0;
}

.footer-logo h3 {
  color: var(--yellow);
}

.footer-links h4 {
  color: var(--yellow);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social h4 {
  color: var(--yellow);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--yellow);
  color: var(--dark);
}

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

/* Estilo para a seção "Desenvolvido por" */
.developer-info {
  text-align: right;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.developer-info p {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0;
}

.developer-logo {
  height: 20px;
  margin-left: 8px;
  border-radius: 0;
}

/* Success Message */
.message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.message.show {
  opacity: 1;
  visibility: visible;
}

.message-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  max-width: 500px;
}

.message-content i {
  font-size: 3rem;
  color: #4CAF50;
  margin-bottom: 1rem;
}

#close-message {
  background-color: var(--green);
  color: var(--light);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 1rem;
  transition: var(--transition);
}

#close-message:hover {
  background-color: var(--yellow);
  color: var(--dark);
}

/* ========== Responsive Styles ========== */
@media (max-width: 992px) {
  .sobre-content,
  .location-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--light);
    transition: 0.5s;
    z-index: 1001;
    padding-top: 60px;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2rem;
  }
  
  nav a {
    display: block;
    padding: 10px 0;
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1002;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .card,
  .tour,
  .review {
    margin-bottom: 1.5rem;
  }
  
  .form-group-inline {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* Galeria */

.galeria {
  background-color: #f9f7f4;
  padding: 5rem 0;
}

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

.galeria-item {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.galeria-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.galeria-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.galeria-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.galeria-prev, .galeria-next {
  background-color: var(--green);
  color: var(--light);
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.galeria-prev:hover, .galeria-next:hover {
  background-color: var(--yellow);
  color: var(--dark);
}

/* Ajustar o scroll para evitar sobreposição do header fixo */
section {
  scroll-margin-top: 70px; /* Ajuste o valor conforme a altura do header */
}