/* Reset & Base Layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* ✅ Prevent unwanted horizontal scroll */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
.hero {
  background: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

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

.hero .highlight {
  color: #00bcd4;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* About Section */
.about-section {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: flex-start;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 300px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00bcd4;
  margin-top: 0;
}

.about-text p {
  font-size: 1.2rem;
}

.about-video {
  flex: 1 1 300px;
}

.about-video video {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Highlight Text */
.highlight {
  color: #00bcd4;
  font-weight: 600;
}

/* Gallery */
.gallery-container {
  margin-top: 3rem;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  color: #00bcd4;
  margin-bottom: 1.5rem;
}

/* Video Carousel */
.video-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.video-carousel video {
  width: 100%;
  max-width: 720px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.nav-btn:hover svg {
  transform: scale(1.1);
  stroke: #0097a7;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #111;
  color: #aaa;
  margin-top: auto;
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 3rem 1rem;
  color: #333;
  margin-top: 3rem;
  border-top: 2px solid #00bcd4;
}

.contact-section h2 {
  font-size: 2rem;
  color: #00bcd4;
  margin-bottom: 0.5rem;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.contact-btn {
  max-width: 100%;
  width: auto;
  padding: 0.75rem 1.5rem;
  background-color: #00bcd4;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
  box-sizing: border-box;
}


.contact-btn:hover {
  background-color: #0097a7;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 3rem;
}

.hero h1,
.hero p {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.hero h1 {
  animation-delay: 0.05s;
}

.hero p {
  animation-delay: 0.3s;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Segoe UI', sans-serif;
  width: 100%;
  box-sizing: border-box;
}


/* Responsive */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
  }

  .about-video video {
    max-width: 100%;
  }

  .nav-btn {
    font-size: 2.5rem;
  }

  .contact-btn {
    width: 100%; /* ✅ Make it full-width on mobile */
    max-width: 20rem; /* optional: cap width to avoid stretching */
    margin: 0 auto;
    display: block;
  }

  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-section p {
    font-size: 1rem;
  }

  .contact-form {
    padding: 0 1rem;
  }
}

.home-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1rem;
  color: #00bcd4;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.home-link:hover {
  text-decoration: underline;
  color: #0097a7;
}
