@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --ocean-blue: #0077be;
  --dark-blue: #005f8d;
  --light-blue: #a6dcef;
  --accent-color: #00bcd4;
  --hover-color: #004a70;
  --new-color: #0a2540;
  --bars: #004080;
}
body {
  color: #333;
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  color: #555;
}

.spacer {
  margin-left: 20px;
  margin-right: 20px;
}

.section-padding {
  padding: 6rem 0;
}

.bg-light {
  background-color: #f8f9fa !important;
}
.navbar {
  background-color: var(--bars); 
  position: sticky;
  top: 0;
  z-index: 9;
}
.navbar-brand, .nav-link {
  color: white !important;
}

/* Dropdown menu styling */
.navbar .dropdown-menu {
  background-color: white;
  padding: 0.5rem 0;
  min-width: 160px;
  left: 50%;
  transform: translateX(-50%);
}

.navbar .dropdown-item {
  color: #333;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 1.25rem;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
}

.navbar .dropdown-item:hover {
  background-color: var(--bars);
  color: white !important;
}

.navbar .dropdown-item:active {
  background-color: var(--hover-color) !important;
  color: white !important;
}

#mainNav {
  transition: all 0.3s ease;
}
#mainNav img {
  height: 100px;
  transition: height 0.3s ease;
}
/* When scroled */
#mainNav.scrolled {
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
  background-color: #004080 !important; /* darker shade on scroll */
}
#mainNav.scrolled img {
  height: 60px;
  transition: height 0.3s ease;
}
.hero {
  position: relative;
  height: calc(100vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: "Raleway", sans-serif;
  text-align: center;
  color: white;
}
/* Video styling */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.7);
  z-index: 0;
}
.feature-icon {
  font-size: 4rem;
  color: var(--accent-color);
}
.footer-boat {
  background: var(--bars);
  position: relative;
  color: white;
  overflow: hidden;
}
.footer-boat a {
  color: white;
}
.footer-sunk {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-sunk img {
  max-width: 300px;
}
.footer-content {
  padding: 0;
}
.img-fluid {
  max-height: 600px;
}
.btn {
  background-color: var(--bars);
  border-color: var(--bars);
}
.carousel-button-large {
  transform: scale(2.5);
}
#outputCarousel .carousel-item {
  height: 700px;
}
#outputCarousel .carousel-item img {
  height: 700px;  
  object-fit: cover;  
  width: 100%;          
}
.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.card-title a {
  color: black;
  transition: color 0.3s ease;
  text-decoration: none;
}
.card-img-top {
  height: 400px;
  object-fit: cover;
}
.card-title a:hover {
  color: var(--bars);
  cursor: pointer;
  text-decoration: underline;
}
.timeline {
  position: relative;
  margin: 0 auto;
  padding: 2rem 0;
  max-width: 800px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--bars); 
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  box-sizing: border-box;
}
.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.right {
  left: 50%;
}
.timeline-content {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.timeline-marker {
  position: absolute;
  top: 20px;
  left: 100%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #0077be;
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item.right .timeline-marker {
  left: 0;
  transform: translateX(-50%);
}
/*.ad {
  font-size: 1rem;
}*/
.scroll-down-arrow {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  text-decoration: none;
}
    .spec-list {
      font-size: 1.1rem;
    }

li {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(10px);}
}
/* Responsive for small screens */
@media (max-width: 767px) {
  .timeline::before {
    left: 8px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }
  .timeline-marker {
    left: 0;
    transform: translateX(-50%);
  }
  #mainNav img {
      height: 70px;
  }
}

/* Dropdown Styles */
.dropdown-section {
  margin-bottom: 30px;
}

.dropdown-header {
  background-color: var(--bars);
  color: white;
  padding: 20px 25px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 64, 128, 0.1), 0 2px 4px -1px rgba(0, 64, 128, 0.06);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.dropdown-header:hover {
  background-color: var(--hover-color);
  box-shadow: 0 10px 15px -3px rgba(0, 64, 128, 0.1), 0 4px 6px -2px rgba(0, 64, 128, 0.05);
  transform: translateY(-2px);
}

.dropdown-header:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.dropdown-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.dropdown-header[aria-expanded="true"] .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border-radius: 12px;
  box-shadow: none;
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(-10px);
}

.dropdown-content.show {
  max-height: none;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-inner {
  padding: 30px;
  background: transparent;
  border-radius: 12px;
}

.dropdown-content h5 {
  color: var(--bars);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  border-bottom: 2px solid rgba(0, 64, 128, 0.1);
  padding-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.dropdown-content h5:first-child {
  margin-top: 0;
}

.dropdown-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.dropdown-content li {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #4a5568;
  position: relative;
}

.dropdown-content li::before {
  content: "•";
  color: var(--bars);
  font-weight: bold;
  position: absolute;
  left: -1.25rem;
}

.dropdown-content strong {
  color: var(--bars);
  font-weight: 600;
}

.dropdown-section {
  margin-bottom: 1rem;
}

/* Mobile responsive for dropdowns */
@media (max-width: 767px) {
  .dropdown-header {
    font-size: 1.3rem;
    padding: 12px 15px;
  }
  
  .dropdown-inner {
    padding: 20px 15px;
  }
}

/* Image sizing classes */
.img-max-400 { max-width: 400px; }
.img-max-500 { max-width: 500px; }
.img-max-600 { max-width: 600px; }
.img-max-700 { max-width: 700px; }
.img-max-800 { max-width: 800px; }
.img-max-250 { max-width: 250px; }
.img-max-300 { max-width: 300px; }
.img-max-350 { max-width: 350px; }
.img-max-370 { max-width: 370px; }

/* Contact form styles */
.contact-textarea {
  height: 150px;
}

.contact-map-container {
  position: relative;
}

.contact-map-wrapper {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.contact-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--bs-border-radius-lg);
}

.contact-map-credit {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Text sizing classes */
.text-max-700 {
  max-width: 700px;
}

/* 3D Model iframe styles */
.iframe-3d-container {
  width: 70%;
  min-width: 320px;
  max-width: 900px;
}

.iframe-3d {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Animation classes */
.bounce-animation {
  display: inline-block;
  animation: bounce 1.5s infinite;
}

/* Placeholder box for steve.html */
.placeholder-box {
  border: 2px dashed #ccc;
  border-radius: 8px;
  background-color: #f8f9fa;
  min-height: 200px;
  font-size: 1.1rem;
  font-weight: 500;
}
