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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.btn {
  display: inline-block;
  background: #0076d1;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #005fa3;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #0076d1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0076d1;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0076d1;
  text-align: center;
}

.about p {
  margin-bottom: 1rem;
}

.about .features {
  list-style: disc;
  padding-left: 1.5rem;
}

.about .features li {
  margin-bottom: 0.5rem;
}

/* Services */
.services .service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.75rem;
  color: #0076d1;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

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

/* Testimonials */
.testimonials .testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonials blockquote {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid #0076d1;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonials blockquote p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonials blockquote cite {
  font-size: 0.9rem;
  color: #333;
}

/* Contact */
.contact .contact-details {
  margin-bottom: 1.5rem;
}

.contact .contact-details p {
  margin-bottom: 0.5rem;
}

/* Contact form styling */
.contact-form {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #0076d1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 1rem;
}

/* Hide the honeypot field */
.hidden {
  display: none;
}

.contact .btn {
  display: inline-block;
  margin-top: 1rem;
}

/* Gallery */
.gallery .instagram-embeds {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery .instagram-embeds blockquote {
  flex: 1 1 320px;
  max-width: 360px;
}

/* Photo Gallery */
.photo-gallery .gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/*
 * Make the photo gallery items fill the available space more gracefully on larger
 * screens. Each image will flex to occupy roughly one third of the row with
 * consistent spacing. On smaller viewports the images will stack nicely.
 */
.photo-gallery img {
  /* Allow the flexbox container to size images evenly across the row */
  flex: 1 1 calc(33.333% - 1rem);
  max-width: 100%;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Video Gallery */
.video-gallery .video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/*
 * Video gallery tweaks: enlarge the videos on wide screens while allowing
 * them to wrap on narrow viewports. Each video will take up about half the
 * available width with some space between them.
 */
.video-gallery video {
  flex: 1 1 480px;
  max-width: 600px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Footer */
.footer {
  background: #f0f0f0;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
  }
}