/* styles.css */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Root Variables for Brand Colors and Fonts */
:root {
  /* Brand Colors */
  --bs-primary: #0cb4ce; /* Bright blue from the dolphin logo */
  --bs-secondary: #4a4a4a; /* A dark gray tone, complementing the text */
  --bs-success: #28a745; /* Can be kept standard for general use */
  --bs-info: #17a2b8; /* Slightly tweaked to align with the blue */
  --bs-warning: #ffc107; /* Standard warning color */
  --bs-danger: #dc3545; /* Standard danger color */
  --bs-light: #f8f9fa; /* Standard light color */
  --bs-dark: #343a40; /* Standard dark color */

  /* Custom Variables */
  --primary-color: #0cb4ce; /* Primary color from the logo */
  --secondary-color: #4a4a4a; /* Text gray matching the logo */
  --font-family-base: 'Roboto', sans-serif;
  --accent-color: #8ed4e4; /* Lighter blue for accents or highlights */
  --neutral-color: #e5e5e5; /* Neutral background or border shade */
}

/* Base Styles */
body {
  font-family: var(--font-family-base);
  color: #343a40;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

p {
  font-size: 1.1rem;
}

/* Navbar Styles */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.navbar-brand img {
  height: 80px;
}

.navbar .nav-link {
  color: #343a40;
  margin-right: 1rem;
  transition: all 0.3s ease;
  font-size: 1.2rem; /* Increase font size */
  font-weight: 500; /* Optional: Make it slightly bolder */
}

.navbar .nav-link:hover {
  color: var(--bs-primary);
  border-bottom: 2px solid var(--bs-primary);
}

.navbar-toggler {
  border: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
  }
}

/* Hero Section */
#hero {
  position: relative;
  background-image: url('images/hero-background.webp'); /* Update with your image path */
  background-size: cover;
  background-position: center;
  min-height: 75vh;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
}

#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay color */
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

#hero .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

/* Call-to-Action Section */
#cta {
  position: relative;
  background-image: url('images/cta-background.webp'); /* Update with your image path */
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}

#cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 180, 206, 0.7); /* Overlay color matching primary */
}

#cta .container {
  position: relative;
  z-index: 1;
}

#cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

#cta .btn-primary {
  background-color: #fff;
  color: var(--bs-primary);
  border: none;
}

#cta .btn-primary:hover {
  background-color: #e0e0e0;
  color: var(--bs-primary);
}

#cta .btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

#cta .btn-secondary:hover {
  background-color: #fff;
  color: var(--bs-primary);
  border-color: #fff;
}

/* Buttons */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0a98ad; /* Darker shade for hover */
  border-color: #0a98ad;
}

.btn-secondary {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
  background-color: var(--bs-primary);
  color: #fff;
  font-weight: bold;
}

.card-body {
  padding: 1.5rem;
}

/* Forms */
.form-control {
  border-radius: 0;
  border-color: #ced4da;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: none;
}

/* Footer */
footer {
  background-color: #343a40;
  color: #fff;
  padding: 2rem 0;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .social-icons a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

footer .social-icons a:hover {
  color: var(--bs-primary);
}

/* Sections */
section {
  padding: 4rem 0;
}

h2 {
  margin-bottom: 2rem;
}

/* Smooth Transitions for Interactive Elements */
a, .btn, .nav-link, .card, .form-control {
  transition: all 0.3s ease;
}

/* Adjust Heading Sizes */
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  /* Mobile styles */
  #hero h1 {
    font-size: 2rem;
  }
  #hero p {
    font-size: 1.2rem;
  }
  #cta h2 {
    font-size: 2rem;
  }
  #cta p {
    font-size: 1rem;
  }
}

/* General Icon Styles */
.icon-primary {
  color: var(--bs-primary); /* Use your brand's primary color */
}

.icon-secondary {
  color: var(--bs-secondary); /* Use your brand's secondary color */
}

.icon-light {
  color: var(--bs-light); /* Use a light color for contrast on dark backgrounds */
}

.icon-dark {
  color: var(--bs-dark); /* Use a dark color for contrast on light backgrounds */
}

/* Example Hover Effect */
.icon-primary:hover {
  color: #0a98ad; /* Slightly darker shade for hover */
  transition: color 0.3s ease;
}

/* Site optimization for mobile */
a.btn {
  padding: 1rem 2rem;
}

.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  color: var(--bs-primary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}
