/* =========================================
   CSS Variables & Color Palettes
   ========================================= */
:root {
  /* Palette 1 */
  --set1-bg: #000000;
  --set1-fg: #ffffff;
  --set1-a1: #4ab6dd;
  --set1-a2: #84bf31;

  /* Palette 2 */
  --set2-bg: #102131;
  --set2-fg: #ffffff;
  --set2-a1: #84bf31;
  --set2-a2: #4ab6dd;

  /* Palette 3 */
  --set3-bg: #ffffff;
  --set3-fg: #000000;
  --set3-a1: #4ab6dd;
  --set3-a2: #84bf31;

  /* Global Settings */
  --header-height: 185px;
  --max-width: 1200px;
}

/* =========================================
   Reset & Global Styles
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--set1-bg);
  color: var(--set1-fg);
  line-height: 1.6;
}

section {
  width: 100%;
  position: relative;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2; /* Keeps content above overlays */
}

/* Theme Classes */
.theme-set1 {
  background-color: var(--set1-bg);
  color: var(--set1-fg);
}
.theme-set2 {
  background-color: var(--set2-bg);
  color: var(--set2-fg);
}
.theme-set3 {
  background-color: var(--set3-bg);
  color: var(--set3-fg);
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
}

a {
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--set1-a1);
  color: var(--set1-fg);
  border-radius: 25px;
}

.btn-primary:hover {
  background-color: var(--set1-a2);
  color: var(--set1-bg);
}

.btn-accent {
  background-color: var(--set1-a2);
  color: var(--set1-bg);
  border-radius: 25px;
}

.btn-accent:hover {
  background-color: var(--set1-a1);
  color: var(--set1-fg);
}

/* =========================================
 *  Utility Classes
 *  ========================================= */
.text-center { text-align: center; }
.text-justify { text-align: justify; }

.accent-a1 { color: var(--set1-a1); } /* Uses #4ab6dd across all sets essentially */
.accent-a2 { color: var(--set1-a2); } /* Uses #84bf31 across all sets essentially */

.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

/* =========================================
   Header Navigation
   ========================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  /*max-width: var(--max-width);*/
  width: 100%;
  height: var(--header-height);
  background-color: var(--set1-bg);
  color: var(--set1-fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.main-nav a {
  color: var(--set1-fg);
  font-weight: 500;
  font-size: 1.5vw;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--set3-a1);
}

/* =========================================
   HOME Section
   ========================================= */
.section-home {
  /*min-height: 100vh;*/
  /*min-height: 1307px;*/
  padding-top: calc(var(--header-height) + 4rem);
  /*padding-top: 4rem;*/
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  /* Semi-transparent background image setup */
  background-image: url('img/onda-logo.png');
  background-size: 100% auto; /* 100% width, keep aspect ratio */
  background-repeat: no-repeat;
  background-position: right bottom;
}

.home-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.home-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.huge-title {
  font-size: 7rem;
  text-transform: uppercase;
  letter-spacing: -5px;
  line-height: 1;
}

.huge-title-a1 {
  color: var(--set1-a1);
}

.huge-title-a2 {
  color: var(--set1-a2);
}

.home-text p {
  font-size: 1.125rem;
  max-width: 600px;
  color: #cccccc; /* Slightly muted white for readability */
}

.home-image-wrapper {
  flex: 0 0 400px; /* Fixed width for the portrait image container */
  display: flex;
  justify-content: flex-end;
}

.portrait-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 0;
  /*border: 4px solid var(--set1-a1);*/ /* Optional: nice accent border */
}

/* =========================================
 *  SERVICES Section
 *  ========================================= */
.section-services {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch; /* Ensures the borders span the same height */
}

.service-col {
  padding: 0 2rem;
  text-align: center;
  border-right: 2px solid var(--set2-a1); /* Vertical separator */
}

/* Remove the border from the last column */
.service-col:last-child {
  border-right: none;
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* =========================================
 *  HOW IT WORKS Section
 *  ========================================= */
.section-how-it-works {
  padding: 6rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch; /* Ensures the borders span the same height */
}

.step-col {
  padding: 0 2rem;
  text-align: center;
  border-right: 2px solid var(--set3-a1); /* Vertical separator using set3 accent */
}

/* Remove the border from the last column */
.step-col:last-child {
  border-right: none;
}

.step-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-subtitle {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* =========================================
 *  PLANS & PRICING Section
 *  ========================================= */
.section-pricing {
  padding: 6rem 0;
}

.pricing-intro {
  /*max-width: 800px;*/
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d0d0d0; /* Soft contrast text against dark background */
}

.pricing-table {
  width: 100%;
  height: auto;
}

/* =========================================
 *  CONTACT US Section
 *  ========================================= */
.section-contact {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.contact-col {
  padding: 0 2rem;
  border-right: 2px solid var(--set1-a1); /* Vertical separator */
  text-align: center; /* Centers headings and logos by default */
}

.contact-col:last-child {
  border-right: none;
}

.list-wrapper {
  display: flex;
  justify-content: center;
}

.footer-logo {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-logo strong {
  color: var(--set1-a1);
}

.contact-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.contact-list,
.service-areas-list,
.social-list {
  list-style: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li,
.service-areas-list li,
.social-list li {
  font-size: 1.1rem;
}

.contact-list a,
.service-areas-list a,
.social-list a {
  color: var(--set1-fg);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-areas-list a:hover {
  color: var(--set1-a1);
}

.social-list a:hover {
  color: var(--set1-a2);
}

/* =========================================
 *  Footer
 *  ========================================= */
.main-footer {
  padding: 0 0 2rem 0;
}

.footer-hr {
  border: none;
  border-top: 1px solid var(--set1-fg);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

/* =========================================
 *  Responsive Adjustments (Mobile/Tablet)
 *  ========================================= */
@media (max-width: 992px) {
  .main-header {
    flex-direction: column;
    text-align: center;
  }

  .main-nav ul {
    /*flex-direction: column;*/
    gap: 4vw;
  }

  .main-nav a {
    font-size: 2.5vw;
  }


  .section-home {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 4rem;
  }

  .home-content {
    flex-direction: column;
    text-align: center;
  }

  .home-text {
    align-items: center;
  }

  .huge-title {
    font-size: 10vw;
  }

  .home-image-wrapper {
    flex-basis: auto;
    width: 85%;
    justify-content: center;
  }


  .section-services {
    padding: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(1, 4fr);
  }

  .service-col {
    padding: 2rem 0;
    border-bottom: 2px solid var(--set2-a1);
    border-right: none;
  }

  .service-col:last-child {
    border-bottom: none;
    border-right: none;
  }


  .section-how-it-works {
    padding: 3rem;
  }

  .steps-grid {
    grid-template-columns: repeat(1, 4fr);
  }

  .step-col {
    padding: 2rem 0;
    border-bottom: 2px solid var(--set3-a1); /* Vertical separator using set3 accent */
    border-right: none;
  }

  .step-col:last-child {
    border-bottom: none;
    border-right: none;
  }


  /*.section-pricing {
    padding: 3rem;
  }

  .pricing-intro {
    max-width: 85%;
}*/


  .section-contact {
    padding: 3rem;
  }

  .contact-grid {
    grid-template-columns: repeat(1, 3fr);
  }

  .contact-col {
    padding: 2rem 0;
    border-bottom: 2px solid var(--set1-a1);
    border-right: none;
  }

  .contact-col:last-child {
    border-bottom: none;
    border-right: none;
  }

  .social-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
