
body {
  font-family: "Poppins", sans-serif;
  background: #272044;
}

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

.img-responsive {
  max-width: 100%;
  display: block;
  filter: grayscale(30%);
  transition: filter 0.3s ease-in-out;
}

.img-responsive:hover {
  filter: grayscale(0%);
}


.grid {
  display: grid;
  grid-gap: 64px;
}

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

.grid-3-columns {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.grid-3-columns-with-first-narrow {
  grid-template-columns: 1fr 2fr 2fr;
}


header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/header.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 200px 0;
}

header h1 {
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  margin: 30px 0;
}

header h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  margin: 0;
}

header h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 5px;
  margin: 0;
}

header a {
  font-weight: 700;
  font-size: 14px;
  color: #272044;
  background: white;
  padding: 16px 32px;
  margin-top: 32px;
  display: inline-block;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
}


main {
  background-color: white;
}

main h2 {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 5px;
  color: #272044;
  opacity: 0.3;
  text-transform: uppercase;
  margin: 0;
}

main h3 {
  font-weight: 700;
  font-size: 40px;
  color: #272044;
  margin: 0;
}

main p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #272044;
  opacity: 0.7;
}


section {
  max-width: 100%;
  margin: 0 auto;
  padding: 100px;
}

.secondary {
  background-color: #f5f5f5;
  padding: 80px 20px;
}

.text-center {
  text-align: center;
  margin-bottom: 40px;
}


.card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.card h4 {
  font-weight: 700;
  font-size: 22px;
  margin: 16px;
}

.card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  opacity: 0.8;
  margin: 0 16px 16px;
}

.card .btn {
  display: block;
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 16px;
  background-color: #272044;
  margin: 0 16px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}

.card iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-top: 1px solid #eee;
  margin: 16px 0;
  border-radius: 0 0 8px 8px;
}


.gallery-section {
  padding: 80px 20px;
  background-color: #f0f0f5;
}

.gallery-section h2,
.gallery-section h3 {
  text-align: center;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

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


.comparison-section {
  padding: 2rem;
  background-color: #f9f9f9;
}

.comparison-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 12px;
  text-align: left;
}


footer {
  color: white;
  background-image: linear-gradient(
      to bottom,
      rgba(39, 32, 68, 0.95) 0%,
      rgba(39, 32, 68, 0.85) 50%,
      rgba(39, 32, 68, 0.95) 100%
    ),
    url("../images/safari.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

footer h3 {
  font-size: 20px;
  font-weight: 700;
}

footer p {
  font-size: 16px;
  line-height: 24px;
  opacity: 0.7;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  margin: 0 0 10px;
}

footer a {
  color: white;
  opacity: 0.7;
}

.footer-section a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* RESPONSIVE STYLES */
@media (max-width: 960px) {
  header {
    padding: 60px 0;
  }

  header h1 {
    font-size: 48px;
  }

  header h2 {
    font-size: 20px;
  }

  header h3 {
    font-size: 12px;
  }

  .grid,
  .grid-2-columns,
  .grid-3-columns {
    grid-template-columns: 1fr;
    grid-gap: 32px;
  }

  section {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 30px;
  }

  .card iframe {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid img {
    height: 180px;
  }
}

@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  th {
    background: #f4f4f4;
  }
}
