/* /css/styles.css */

h2 {
  font-weight: 700;
  color: #fb2115;
}
h3 {
  font-size: medium;
  font-weight: 500;
  color: white;
  background-color: #0b2f61;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
}
h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

#location p, #specs p, #details p {
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.btn {
  background-color: #fb2115;
  color: #fff;
}
.btn:hover {
  background-color: #b31911;
}
.btn-black {
  background-color: #2a2a2a;
  color: #fff; 
}
.btn-black:hover {
  background-color: #484848;
}
.btn-light {
  background-color: #ffffff; 
  color: #fb2115;
  font-weight: 700;
}
.btn-light:hover {
  background-color: #fb2115; 
  color: #ffffff; 
}
button:focus-visible, a:focus-visible {
  outline: none; /* Remove default outline for mouse clicks */
  color: none;
}

/* Navbar Styles */
.navbar {
  background-color: #343a40;
}
.navbar .nav-link {
  color: #fff;
}
.navbar .nav-link:hover {
  color: #f8f9fa;
}

.navbar .btn {
  width: 250px;
  margin-right: auto;
}

/* Header Section */
.header-section {
  background: url('/img/boat-bg-001.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: calc(100vh - 70px);
  padding: 15px;
  position: relative;
  overflow: hidden;
}
.header-section .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.header-section .content {
  display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    color: #fff;
    position: relative;
    padding: 0 15px;
}
.header-top {
  margin-top: 6rem;
  text-align: center;
  width: auto;
}

.header-bottom {
  margin-bottom: 6rem;
  text-align: center;
  width: auto;
}
.header-section h1 {
  font-size: 5rem;
  margin-top: 1rem;
  font-weight: bold;
  color:#fb2115;
}
.header-section .slogan {
  font-size: 1.4rem;
  color: #644c4c;
}
.header-section .handscript {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  line-height: 2.5rem;
  color:white;
}
 
/* About Section */
#about-boat {
  background-color:#747474;
  color:white;
  width: 100%;
 }
#about-boat h2, #contact h2 {
  color:white;
}
 #about-boat img.img-shadow {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
 }

/* Gallery Section */

#gallery .img-fluid {
  border-radius: 10px;
}  

.carousel-gallery {
  position: relative;
}
.carousel-gallery .main-image-container {
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #848484;
  border-radius: 15px;
}

.main-image-container img {
  cursor: pointer;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Main Image Styles */
.carousel-gallery .main-image {
  max-height: 100%;
  max-width: 100%;
}
.carousel-gallery .thumbnails {
  display: flex;
  justify-content: flex-start;
  margin-top: 15px;
  overflow-x: auto;
}
.carousel-gallery .thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 5px;
}
.carousel-gallery .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 0%;
  font-size: 30px;
}
.carousel-gallery .arrow-left {
  left: 10px;
}
.carousel-gallery .arrow-right {
  right: 10px;
}

/* Contact Section */

#contact {
  background-color:#c8c7c7;
  color:black;
  width: 100%;
  height:100vh;
 }

#contact h2 {
  color:#fb2115;
}

.tel-block, .party-address, .broker-email {
  background-position: 0;
  background-size: 20px;
  padding-left: 24px;
  margin-top: 5px;
}

.tel-block {
  background: url(/img/phone-ico.svg) no-repeat 0 0;
}
.party-address {
  background: url(/img/location-ico.svg) no-repeat 0 0;
}
.broker-email {
  background: url(/img/arrow-ico.svg) no-repeat 0 0;
}

#contactForm label {
  display:none;
}

.form-control::placeholder {
  color: rgb(168, 166, 166);
  font-size: 14px;
}

.send-request button {
  width:100%;
  margin-top: 10px;
}

/* Footer Styles */
footer {
  background-color: #343a40;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* Full-Screen Gallery Styles */
.full-screen-gallery {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Full-Screen Image Styles */
.full-screen-image {
  max-width: 90%;
  max-height: 90%;
  /* z-index: 1001;   Ensure the image appears properly */
}

/* Close Button Styles */
.close-gallery {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  /* z-index: 1100;  Higher z-index to make sure it's always on top */
}

/* Close Button Hover Styles */
  .close-gallery:hover {
  color: #ff0000;  /* Highlighted color on hover for visibility */
}

/* Full-Screen Gallery Arrow Styles */
  .full-screen-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 30px;
}

.full-screen-arrow.left {
  left: 20px;
}

.full-screen-arrow.right {
  right: 20px;
}

.full-screen-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Footer */
.footer h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #fb2115;
}
.fotstrong {
  font-size: 1rem;
  font-weight: 600;
}

.footer ul {
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
}

.footer ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
};

.footer ul li a:hover {
  color: #fff;
}

.footer p {
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  font-weight: 300;
}

.footer hr {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* Cookie banner */
.hidden {
  display: none !important;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(34, 34, 34, 0.8); 
  color: #fff;
  font-size: 0.7rem;
  padding: 15px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

#cookie-banner p {
  margin: 10px 0;
  text-align: center;
  margin-right: 20px;
}

#accept-cookies {
  padding: 10px 20px;
  background-color: #1e90ff;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

#accept-cookies:hover {
  background-color: #155a8b;
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
  }

  #cookie-banner p {
    margin-bottom: 10px;
    margin-right: 0;
    text-align: center; 
  }
}

/* Alert Window */

.modal {
  display:none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  text-align: center;
}

.icon {
  font-size: 36px;
  margin-right: 10px;
}

.success-icon {
  color: green;
}

.error-icon {
  color: red;
}

/* line Anchor */

.line-anchor {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 19px;
  position: relative;
}

.line-anchor img {
  position: absolute;
  max-width: none;
  height: 100%;
  object-fit: cover;
  left: 50%;
  transform: translateX(-50%);
}

/* Media section */

/* Medium screen adjustments */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .header-section h1 {
    font-size: 4rem; /* Medium screen size */
  }
}

/* Small screen adjustments */
@media (max-width: 767.98px) {
  .header-section h1 {
    font-size: 3.5rem; /* Small screen size */
  }
  .button-responsive {
    width: 50%;
  }
}

/* Extra small screen adjustments */
@media (max-width: 575.98px) {
  .header-section h1 {
    font-size: 2.5rem; /* Extra small screen size */
  }
  .header-section .slogan {
    font-size: 1.2rem;
  }
  .tel-desc {
    display: block;
  }
  .logo {
    content: url('/img/ggr-croplogo.svg');
  }
  .navbar .btn {
    width: 70px;
  }
}

@media (max-width: 350px) {
  .header-section h1 {
    font-size: 2rem;
  }
}

/* Additional styles for other elements (unchanged) */
@media (min-width: 768px) {
  .carousel-gallery .main-image-container {
    height: 500px; /* Medium screen size */
  }
}

@media (min-width: 1200px) {
  .carousel-gallery .main-image-container {
    height: 550px; /* Large screen size */
  }
}