/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
.site-header {
  background-image: url('../Images/header backgorund.png');
  background-color: #415a77;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 20px 0;
  position: relative;
  z-index: 1000;
}

/* LAYOUT */
.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 100px;
  width: auto;
}


/* NAV (desktop) */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: x-large;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.main-nav a:hover {
  color: slategray;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* MOBILE STYLES */
@media (max-width: 900px) {

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .main-nav ul {
    position: absolute;
    top: 120px;
    right: 0;
    width: 100%;
    background-image: url('../Images/dropdown\ image.png');
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    gap: 1.5rem;
    display: none; /* hidden by default */
  }

  .main-nav a {
  text-decoration: none;
  color: lightslategray;
  font-size: x-large;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  }

  .main-nav.open ul {
    display: flex; /* show when toggled */
  }
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 40%;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.container {
  padding: 2px 16px;
}

.solutions-section {
  padding: 80px 20px;
  text-align: center;
  background-image: url('../Images/Home/coastal-themed\ sand\ .png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.solutions-heading {
  font-size: 3rem;
  margin-bottom: 40px;
  color: lightslategray;
  font-family: Arial, Helvetica, sans-serif;
}

.solutions-heading {
  opacity: 0;
  transform: translateY(15px);
  animation: textFadeUp 0.8s ease forwards;
}

.solutions-heading { animation-delay: 0.1s; }
.solution-card h3 { animation-delay: 0.2s; }
.solution-card p { animation-delay: 0.35s; }

@keyframes textFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.solution-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.25s; }
.solution-card:nth-child(3) { animation-delay: 0.4s; }
.solution-card:nth-child(4) { animation-delay: 0.55s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.solution-card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.solution-card p {
  font-size: 1rem;
  color: #415a77;
}

.card-icon {
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

.price-guide {
  padding: 60px 20px;
  background-image: url('../Images/Home/coastal-themed\ blue.png');
  text-align: center;
}

.price-heading {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: lightslategray;
  font-family: Arial, Helvetica, sans-serif;
}

.price-heading-description {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: lightslategray;
  font-family: Arial, Helvetica, sans-serif;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.price-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #1b263b;
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #415a77;
  margin-bottom: 10px;
}

.price-desc {
  font-size: 1rem;
  color: #415a77;
}

/* Mobile */
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background-color: #1b263b;
  color: white;
  padding: 20px 20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-left h4 {
  margin-bottom: 10px;
}

.footer-right .social-link {
  display: block;
  color: #a8c0d6;
  text-decoration: none;
  margin: 5px 0;
}

.footer-right .social-link:hover {
  color: white;
}

/* Mobile */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
}