body {
  font-family: 'Raleway', sans-serif;
  color: #716277;  /* Text color */
  background-color: #f8f9fa;
  margin-left: 10%;
  margin-right: 10%;
}

/* Header Styles */
header {
  background-color: #fff;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: 'Raleway', sans-serif;

}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-height: 80px; 
}

#imagem_about
{
  max-height: 80%;
  max-width: 80%;
}
#spica-video {
  max-height: 80%;
  max-width: 80%;
  
}

nav.menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem; /* Space between menu items */
  color: #716277;  /* Text color */

}

nav.menu ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #716277;  /* Text color */

}

nav.menu ul li a:hover, nav.menu ul li a.active {
  color: #b92c4d; /* Highlight color for active or hovered menu items */
}


.hourly-charters-image img {
  align-items: center;
  max-inline-size: 90%;
  margin: 2rem ;
  font-family: 'Raleway', sans-serif;
  color: #716277;  /* Text color */
}

.info-page {
  text-align: left;
  margin: 2rem 0;
  font-family: 'Raleway', sans-serif;
  color: #716277;  /* Text color */
}

.info-page h1 {
  font-size: 2rem;
  text-align: left;
  font-family: 'Raleway', sans-serif;
}

.info-page .image-text-container { /* New CSS for Flexbox */
  display: flex;
  align-items: flex-start; 
  gap: 1rem; 
}


.hero {
  text-align: center;
  margin: 2rem 0;
  font-family: 'Raleway', sans-serif;
  color: #716277;  /* Text color */
}

.hero h1 {
  font-size: 3rem;
  text-align: left;
  font-family: 'Raleway', sans-serif;

}

/* Grid Layout */
.content-grid {
  padding: 2rem;
  display: flex;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  color: #716277;  /* Text color */

}

.grid-container {
  display: flex;
  gap: 1.5rem; /* Space between grid items */
  flex-wrap: wrap; /* Ensure items wrap on smaller screens */
}

.grid-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  overflow: hidden;
  padding: 1rem;
  width: 300px; /* Set width of each grid item */
  cursor: pointer; /* Change cursor to pointer on hover */
  text-decoration: none;
  color: inherit;

}

.grid-item:hover {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  padding: 1rem;
  transition: all 0.3s ease-in-out;
  transform: scale(1.05); /* Adjust the scale value as needed */
  text-decoration: none;
  transform-origin: center; /* Optional: Adjust the origin of the scaling */
}

.grid-item img {
  width: 100%; /* Adjust the size of the images */
  height: auto;
  margin-bottom: 1rem; /* Space between image and title */
  
}

.grid-item h3 {
  font-size: 1.25rem;
  margin-top: 1rem;
}


/* Footer */
footer {
  background-color: #fff;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
  border-top: 1px solid #ddd;
  margin-top: 2rem;
}

.left{
  float:left;
  text-align:left;
}

.right{
  float:right;
  text-align:right;
  vertical-align: top;
}

.centered{
  text-align:center;
  float:center;
}

footer p {
  margin: 0;
}


p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .grid-container {
    flex-direction: column; /* Stack items on smaller screens */
    align-items: center;
  }

  .grid-item {
    width: 90%; /* Make the grid items full width on smaller screens */
  }
}

.daily-charters video {
  width: 100%;
  max-height: 500px;
}

.daily-charters .about-section, .bring-section {
  margin: 20px 0;
}


/* Video Section Styling */
.video-section {
  margin: 2rem 0;
  text-align: center;
}

.video-section video {
  width: 100%;
  max-width: 800px; /* Limit the max size of the video */
  height: auto;
  border-radius: 8px;
}

.video-caption {
  margin-top: 0.5rem;
  color: #716277; /* Text color matching your theme */
  font-size: 0.9rem;
}


/* Contact Page Specific Styles */
.contact-page {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
}

.contact-info li {
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}




.form-label {
  margin-bottom: 0.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-control {
  width: 90%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
}

.btn-primary {
  background-color: #b92c4d; /* Your highlight color */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
}

.btn-primary:hover {
  background-color: #9c243d; /* Darker shade on hover */
}

/* Responsive Adjustments (if needed) */
@media (max-width: 768px) {
  .contact-left {
    flex-direction: column;
  }
  .contact-right {
    flex-direction: column;
  }

}


.quadros:hover{
  color: #424242; 
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
-ms-transition: all .3s ease-in;
-o-transition: all .3s ease-in;
transition: all .3s ease-in;
opacity: 1;
transform: scale(1.15);
-ms-transform: scale(1.15); /* IE 9 */
-webkit-transform: scale(1.15); /* Safari and Chrome */

}

.modal-home {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  transition: all 0.3s all ease-in 1s;
}


/* Modal Content */
.modal-home-content {
  position: fixed; /* Fixed position relative to the viewport */
  
  top: 10%;
  left: 10%;
  
  width: 80%;
  height: 70%;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  animation-name: zoom;
  animation-duration: 0.6s;
  
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


.modal-description {
  display: flex; /* Use flexbox for centering */
  align-items: top; /* Center vertically */
  z-index: 1000; /* Ensure it's on top */
  
  display: inline-flex; /* Enable flexbox */
  align-items: center; /* Align items to the top */
  width: 100%; /* Make the container take full width */
  max-width: 100%; /* Optional: Set a maximum width */
  margin: 0 auto; /* Optional: Center the container */
}


.left-column {
  flex: 1; /* Left column takes 1/3 of the space */
  padding-right: 50px; /* Add some space between columns */
}

.left-column img {
  width: 100%; /* Make the image fill the column */
  height: auto;
  align-items: left;
  display: block; /* Remove extra space below image */
}

.right-column {
  flex: 2; /* Right column takes 2/3 of the space */
}

/* Optional: Add some styling to the text */
.right-column p {
  line-height: 1.6;
  color: #333;
}