html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: url(../img/gallery/dive3.JPG);
  background-repeat: no-repeat;
  background-size: 100% 500px;
  background-attachment: fixed;
}

main {
  flex: 1 0 auto;
  margin-top: 120px;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.slogan {
  position: relative;
  left: -100%;
  transition: left 1s;
  z-index: 0;
  height: 380px;
  display: flex;
  align-items: center;
  padding: 0 50px;
}

.slogan h1 {
  color: white;
  font-size: 48px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  max-width: 600px;
}

.sections-container {
  background: linear-gradient(135deg, #000814 0%, #001d3d 100%);
  padding: 80px 0;
}

.section-preview {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  color: #00b4d8;
  font-size: 2.8em;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header p {
  color: #90e0ef;
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.preview-card {
  background: rgba(0, 29, 61, 0.8);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.preview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.3);
}

.preview-image {
  height: 200px;
  overflow: hidden;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.preview-card:hover .preview-image img {
  transform: scale(1.1);
}

.preview-content {
  padding: 25px;
}

.preview-content h3 {
  color: #90e0ef;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.preview-content p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.preview-features {
  margin-bottom: 25px;
}

.preview-feature {
  color: #90e0ef;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.preview-feature:before {
  content: "•";
  color: #00b4d8;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.preview-link {
  display: inline-block;
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.preview-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4);
}

/* Reviews Section */
.reviews-section {
  background: rgba(0, 53, 102, 0.7);
  padding: 80px 0;
  border-top: 1px solid rgba(0, 180, 216, 0.3);
  border-bottom: 1px solid rgba(0, 180, 216, 0.3);
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(0, 180, 216, 0.2);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.2);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  background: #00b4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5em;
}

.review-info h4 {
  color: #90e0ef;
  margin: 0 0 5px;
  font-size: 1.2em;
}

.review-info .review-date {
  color: #ccc;
  font-size: 0.9em;
}

.review-stars {
  color: #FFD700;
  margin-bottom: 15px;
}

.review-text {
  color: #ccc;
  line-height: 1.6;
  font-style: italic;
}

.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0, 29, 61, 0.9) 0%, rgba(0, 53, 102, 0.9) 100%);
}

.cta-section h2 {
  color: #00b4d8;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.cta-section p {
  color: #90e0ef;
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid #00b4d8;
  color: #00b4d8;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4);
}

.cta-button.secondary:hover {
  background: rgba(0, 180, 216, 0.1);
}

@media only screen and (min-width: 900px) {
  body {
    background-size: 100% 700px;
  }
  
  .slogan {
    padding: 0 0 0 200px;
    height: 700px;
  }
  
  .slogan h1 {
    font-size: 60px;
  }
}

@media only screen and (max-width: 768px) {
  .slogan h1 {
    font-size: 36px;
  }
  
  .section-header h2 {
    font-size: 2.2em;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}