/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #f7f7f7;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Navigation Bar Styles */
header {
  background: linear-gradient(90deg, #007bff, #0047ab);
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}
.nav-container .logo {
  width: 120px;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Mobile Menu Styles */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.nav-links {
  flex-wrap: nowrap;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #007bff, #0047ab);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    text-align: center;
  }
}

/* General Layout Styles */
main {
  margin-top: 80px;
  padding: 20px;
  max-width: 1200px;
  margin: 80px auto 0;
}
h1, h2 {
  color: #0047ab;
}
/* Ensure the page content takes up the full viewport height */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* Main content will expand to fill the space between header and footer */
main {
  flex: 1;
}

/* Footer styling remains consistent */
footer {
  background: #0047ab;
  color: white;
  text-align: center;
  padding: 20px 10px;
  position: relative;
  width: 100%;
}
footer a {
  color: #80c0ff;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  color: white;
}


/* Button Styles */
button {
  background-color: #0047ab;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
  background-color: #007bff;
  transform: scale(1.05);
}

/* Flushing Animation */
@keyframes flush {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}
#flush-animation {
  animation: flush 2s ease-out;
  background-color: #007BFF;
  height: 50px;
  width: 100%;
  position: absolute;
  top: 0;
  display: none;
}

  
  /* Grid Layout */
  main {
    padding: 2em;
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }
  .grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  /* Contact Form */
  #contact-form input,
  #contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  button:hover {
    background-color: #45a049;
  }
  
  /* Flushing Animation */
  @keyframes flush {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
  }
  #flush-animation {
    animation: flush 2s ease-out;
    background-color: #007BFF;
    height: 50px;
    width: 100%;
    position: absolute;
    top: 0;
    display: none;
  }
  #thank-you-message {
    padding: 20px;
    text-align: center;
    display: none;
  }
  
  /* Responsive Design */
  @media (max-width: 640px) {
    nav ul {
      display: block;
      text-align: center;
    }
    nav ul li {
      display: block;
      margin: 10px 0;
    }
  }

  .intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('assets/skibity-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 20px;
  }
  .intro-content {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  .intro-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #80c0ff;
  }
  .intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #0047ab;
    background: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .btn:hover {
    background-color: #80c0ff;
    transform: scale(1.1);
  }

  /* Shared Styles for Feature and Character Cards */
.features-grid, .characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center; /* Centers grid items horizontally */
}

.features-grid .feature:nth-child(3), 
.characters-grid .character:nth-child(3) {
  grid-column: span 2; /* Makes the third card span two columns */
  text-align: center;
}

h2 {
  text-align: center;
}

.feature, .character {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin:10px
}

.feature:hover, .character:hover {
  transform: translateY(-5px); /* Slight lift effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

  .cta-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(90deg, #007bff, #0047ab);
    color: white;
  }
  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color:white
  }
  .cta-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .cta-section .btn {
    background: white;
    color: #0047ab;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
  }
  .cta-section .btn:hover {
    background: #80c0ff;
  }
      /* Intro Section */

/* Add padding to ensure the intro content is not hidden behind the navbar */
.gallery-intro {
  text-align: center;
  padding: 100px 20px 50px; /* Adjust top padding to account for navbar height */
  background: #f0f8ff;
  color: #0047ab;
}

.gallery-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-left:30%;
  margin-right:30%;
}
.gallery-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-left:30%;
  margin-right:30%;
}

/* Image Grid */
.image-grid {
  padding: 50px 20px;
  background: #eaf7ff;
  text-align: center;
}
.image-grid h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0047ab;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-card img {
  width: 100%;
  display: block;
  border-radius: 10px;
}
.image-card .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}
.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.image-card:hover .caption {
  transform: translateY(-5px);
}

/* Highlight Showcase */
.highlight-showcase {
  padding: 50px 20px;
  background: white;
  text-align: center;
}
.highlight-showcase h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0047ab;
}
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.highlight img {
  width: 100px;
  border-radius: 10px;
}
.highlight-text {
  text-align: left;
}
.highlight-text h3 {
  margin-bottom: 10px;
  color: #0047ab;
}
.highlight p {
  font-size: 0.9rem;
  color: #555;
}
.highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.about-intro {
  text-align: center;
  padding: 60px 20px;
  background: #f4f8ff;
  color: #0047ab;
}
.about-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.about-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-left:30%;
  margin-right:30%;
}

/* Our Story Section */
.our-story {
  background: #eaf7ff;
  padding: 50px 20px;
  text-align: center;
}
.our-story h2 {
  font-size: 2rem;
  color: #0047ab;
  margin-bottom: 30px;
  margin-left:30%;
  margin-right:30%;
}
.story-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-left:30%;
  margin-right:30%;
}

/* Meet the Team Section */
.meet-the-team {
  padding: 60px 20px;
  text-align: center;
  background: #f0f8ff;
}
.meet-the-team h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0047ab;
  margin-left:30%;
  margin-right:30%;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}
.team-member img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 15px;
}
.team-member h3 {
  font-size: 1.5rem;
  color: #0047ab;
  margin-bottom: 10px;
}
.team-member p {
  font-size: 1rem;
  color: #555;
}

/* Ensuring Bowl Buddy is centered below the other cards */
.team-grid .team-member:nth-child(3) {
  grid-column: span 1; /* Ensures it stays in its own grid column */
  justify-self: center; /* Centers the Bowl Buddy card */
}


/* Our Mission Section */
.our-mission {
  padding: 50px 20px;
  background: #eaf7ff;
  text-align: center;
}
.our-mission h2 {
  font-size: 2rem;
  color: #0047ab;
  margin-bottom: 20px;
  margin-left:30%;
  margin-right:30%;
}
.our-mission p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-left:30%;
  margin-right:30%;
}

/* Contact Form Section */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 20px;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-form form {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 500px;
}

.contact-form .form-field {
  margin-bottom: 15px;
  text-align: left;
}

.contact-form .form-field label {
  display: block;
  font-size: 1rem;
  margin-bottom: 5px;
  color: #555;
}

.contact-form .form-field input,
.contact-form .form-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form .form-field input:focus,
.contact-form .form-field textarea:focus {
  border-color: #007bff;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-form #thankYouMessage {
  margin-top: 20px;
  font-size: 1.2rem;
  color: green;
}

@media (max-width: 640px) {
  .contact-form form {
    padding: 15px;
    width: 100%;
  }
}

/* Thank You Message */
.thank-you {
  font-size: 1.5rem;
  color: #0047ab;
  padding: 20px;
  background-color: #eaf7ff;
  border-radius: 8px;
  display: inline-block;
  margin-top: 20px;
}

/* Character Cards Section */
.character-cards {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.character-cards .section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
}

.character-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
}

.character-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.character-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.character-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #007bff;
}

.character-card p {
  font-size: 1rem;
  color: #555;
}

.character-center {
  grid-column: span 2;
  justify-self: center;
}

@media (max-width: 640px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
  .character-center {
    grid-column: span 1;
  }
}
.map {
  display: block; /* Ensures it's treated as a block-level element */
  margin: 0 auto; /* Centers the element horizontally */
  max-width: 100%; /* Makes it responsive to screen width */
  width: 90%; /* Default width is 90% of the container */
  height: 400px; /* Set a fixed height */
  border: 2px solid #007bff; /* Optional: Adds a border for better visibility */
  border-radius: 10px; /* Optional: Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds a subtle shadow */
}
