
/* Style for the navigation links */
.nav-link, .navbar, .navbar-brand{
  font-size: 20px;
  color: rgb(179, 179, 179);
  background-color: black;
}

.navbar-nav {
  /* margin-top will be handled by media query */
}

/* Style for the active/current navigation link */
.nav-link.active {
  color: rgb(255, 0, 0) !important; /* Make the active link text red */
}

.nav-link.active span {
  border-bottom: 2px solid rgb(255, 0, 0); /* Red underline */
  padding-bottom: 5px; /* Space between text and line */
}

.nav-link:hover {
  color: rgb(255, 0, 0); /* Make the active link stand out */
}

.navbar-brand {
    max-height: 10vh;
}

.social-icons {
  /* On mobile, center the icons and add some top margin */
  justify-content: center;
  margin-top: 20px;
  margin-right: 0;
}

/* Apply desktop styles only on large screens (>= 992px) */
@media (min-width: 992px) {
  .navbar-nav {
    margin-top: -50px;
  }
  .social-icons {
    margin-top: -40px;
    margin-right: 100px;
    justify-content: flex-start; /* Reset justification for desktop */
  }
}

.body {
    position: relative; /* Needed for the ::before pseudo-element positioning */
    background-color: #000;
}

.body::before {
    content: ''; /* Pseudo-elements require a content property */
    position: fixed; /* Fixed position to cover the viewport */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Place it behind the content */

    /* Background image properties moved here */
    background-image: url('../images/Black.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80vh;
    opacity: 0.3; /* Set your desired transparency here (0.0 to 1.0) */
}
.card-title {
    color: rgb(255, 255, 255);
    text-decoration: underline 1px solid rgb(255, 0, 0);
    font-weight: bold;
    text-align: center;

}

.gallery-card1 {
    border: 3px solid rgb(255, 0, 0); 
  }

.foto {
    /* Use flexbox for centering */
    display: flex;
    justify-content: center; /* Horizontal centering */
    padding-bottom: 50px;
}

.foto img {
  border: 3px solid rgb(255, 0, 0); /* Adds a red border */
  /* The img-fluid class will handle the sizing */
}

.container {
    width: auto;
    margin-top:10vh;
}

.contacts {
    color: rgb(255, 0, 0);
    font-size: x-large;
}

.card {
  border: 3px solid rgb(255, 0, 0); /* Adds a red border */
}
/* Custom class for news card images */
.news-card-img {
    height: 300px; /* Sets a fixed height for the images */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    width: 100%;
}

/* Style for social media icons */
.social-link {
    color: rgb(255, 0, 0); /* Sets the icon color to red */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.social-link:hover {
    color: rgb(200, 0, 0); /* A slightly darker red on hover */
}

/* Apply a dark mode filter to the embedded Google Calendar */
#calendario iframe {
    width: 100%;
    height: 500px;
    border-radius: 8px; /* Soften the corners of the calendar */
    border: none;
}

/* Style for the calendar wrapper to hold the border */
.calendar-wrapper {
    width: 100%;
    max-width: 1000px; /* Limit max width on large screens */
    border: 3px solid rgb(255, 0, 0); /* Adds a true red border */
    line-height: 0; /* Removes extra space below the iframe */
    border-radius: 10px; /* Match the iframe's rounded corners */
}

.mapouter{
  display: flex;
  justify-content: center; /* Horizontal centering */
  width: 100%;
}

.gmap_canvas {
  overflow: hidden;
  background: none !important;
  width: 100%;
  max-width: 500px; /* Set max-width for larger screens */
}
.gmap_canvas iframe {
  width: 100% !important;
  height: 390px !important;
}

/* Underline for all h1 section titles */
h1 {
  border-bottom: 2px solid rgb(255, 0, 0); /* Red underline */
  padding-bottom: 10px; /* Space between text and line */
  display: inline-block; /* Ensures the line only spans the width of the text */
}

/* Gallery Album Card Styles */
.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.gallery-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
  border-color: rgb(255, 0, 0);
}

.gallery-thumb {
  height: 250px;
  object-fit: cover;
}

/* Modal Carousel Image Style */
.modal-carousel-img {
  max-height: 90vh;
  object-fit: contain;
}

/* Style for the ad space block */
.ad-space {
  background-color: #000000;
  /* The margin is now handled by 'my-4' in the HTML */
}

.ad-space p {
  margin: 30px;
  color: aquamarine;
}