/* =========================================
   COLOR VARIABLES
========================================= */
:root{
  --navy:#003f7f;
  --blue:#0070A8;
  --aqua:#00B0E8;
  --yellow:#FFD232;
  --orange:#F79C0B;
  --green:#2FA245;
  --off:#F8F8F8;
  --ink:#103038;
}

/* =========================================
   GLOBAL RESET & BASE
========================================= */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html, body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--off);
  line-height:1.6;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:var(--blue);
  text-decoration:none;
}
a:hover{
  text-decoration:underline;
}

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:0 16px 40px;
}

/* =========================================
   HEADER
========================================= */
.site-header{
  background:linear-gradient(90deg,var(--navy),var(--blue));
  padding:10px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#fff;
  box-shadow:0 4px 18px rgba(0,0,0,.35);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand img{
  height:72px;
  width:auto;
}

.brand strong{
  font-size:1.25rem;
}

.main-nav{
  display:flex;
  gap:18px;
  font-weight:bold;
  font-size:.95rem;
}

.main-nav a{
  color:#fff;
  opacity:.9;
}
.main-nav a.active,
.main-nav a:hover{
  opacity:1;
  text-decoration:underline;
}

.sep{
  color:#fff;
  opacity:.65;
}

@media(max-width:720px){
  .site-header{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    padding:10px 16px;
  }
  .brand img{
    height:56px;
  }
  .main-nav{
    flex-wrap:wrap;
    gap:10px;
  }
}

/* =========================================
   HERO (SHARED STYLES)
========================================= */
.hero{
  position:relative;
  min-height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:60px 16px;
  color:#fff;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.45),rgba(0,0,0,.55));
}

.hero-inner{
  position:relative;
  max-width:720px;
  z-index:1;
}

.hero-inner.hero-right{
  text-align:right;
  margin-left:auto;
}

.hero h1{
  font-size:2.4rem;
  margin:0 0 10px;
}

.hero p{
  font-size:1.1rem;
  margin:0 0 18px;
}

.hero-contact{
  margin-top:14px;
  font-size:1rem;
  line-height:1.4;
}

.hero.hero-small{
  min-height:40vh;
}

/* RESPONSIVE HERO */
@media(max-width:720px){
  .hero{
    min-height:50vh;
    padding:40px 16px;
  }
  .hero-inner.hero-right{
    text-align:left;
    margin-left:0;
  }
  .hero h1{
    font-size:1.9rem;
  }
  .hero p,
  .hero-contact{
    font-size:.97rem;
  }
}

/* =========================================
   PER-PAGE HERO IMAGES
========================================= */
body.page-index .hero{
  background-image:url("../img/turtle-hero.jpg");
}

body.page-services .hero{
  background-image:url("../img/tall-seaweed.jpg");
}

body.page-gallery .hero{
  background-image:url("../img/muskie-hero.png");
}

body.page-calendar .hero{
  background-image:url("../img/bluegill-seaweed.jpg");
}

body.page-about .hero{
  background-image:url("../img/diver-hero.png");
}

body.page-contact .hero{
  background-image:url("../img/bass-hero.jpg");
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary{
  display:inline-block;
  padding:10px 22px;
  border-radius:999px;
  background:var(--yellow);
  color:#222;
  font-weight:700;
  border:none;
  cursor:pointer;
  box-shadow:0 4px 10px rgba(0,0,0,.35);
}
.btn-primary:hover{
  filter:brightness(1.05);
  text-decoration:none;
}

/* =========================================
   CARDS & TYPOGRAPHY
========================================= */
.section-card{
  background:#fff;
  border-radius:18px;
  padding:24px 20px;
  margin-top:24px;
  margin-bottom:26px;
  box-shadow:0 10px 30px rgba(15,23,42,0.12);
}

.section-header h2{
  margin:0 0 6px;
  font-size:1.6rem;
}

.lead{
  font-size:1rem;
  margin-top:4px;
  margin-bottom:12px;
}

.columns-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
@media(max-width:768px){
  .columns-2{
    grid-template-columns:1fr;
  }
}

.check-list{
  list-style:none;
  padding-left:0;
  margin:8px 0 0;
}
.check-list li{
  position:relative;
  padding-left:20px;
  margin-bottom:6px;
}
.check-list li::before{
  content:"•";
  position:absolute;
  left:4px;
  top:0;
  color:var(--blue);
}

/* =========================================
   SERVICES GRID
========================================= */
.services-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:24px;
}

.service-row{
  background:#fff;
  border-radius:14px;
  border:1px solid #e2e8f0;
  box-shadow:0 4px 14px rgba(15,23,42,0.12);
  display:flex;
  flex-direction:column;
  height:100%;
}

.service-row-header{
  padding:10px 16px;
  font-weight:700;
  color:#fff;
  display:flex;
  align-items:flex-end;
  min-height:80px;
}

.sr1{background:var(--orange);}
.sr2{background:var(--aqua);}
.sr3{background:var(--yellow); color:#333;}
.sr4{background:var(--green);}

.service-row-header h3{
  margin:0;
}

.service-row-body{
  padding:12px 16px 18px;
  flex:1;
  font-size:.95rem;
}

@media(max-width:1024px){
  .services-list{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:640px){
  .services-list{
    grid-template-columns:1fr;
  }
}

/* =========================================
   HOW IT WORKS GRID
========================================= */
.section-how .how-it-works{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.section-how .how-it-works li{
  background:#fff;
  border-radius:12px;
  border:1px solid #e2e8f0;
  padding:14px 16px;
  box-shadow:0 3px 10px rgba(15,23,42,0.12);
  font-size:.95rem;
}

.section-how .how-it-works h3{
  margin-top:0;
  font-size:1.05rem;
}

@media(max-width:768px){
  .section-how .how-it-works{
    grid-template-columns:1fr;
  }
}

/* =========================================
   REVIEWS
========================================= */
.section-reviews{
  display:none;
}

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.review{
  background:#f9fafb;
  border-radius:12px;
  padding:14px 16px;
  border:1px solid #e2e8f0;
  font-size:.95rem;
}

.review-author{
  display:block;
  margin-top:8px;
  font-size:.85rem;
  opacity:.8;
}

@media(max-width:768px){
  .reviews-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================
   PRICING (SERVICES PAGE)
========================================= */
.price-tag{
  font-weight:600;
  margin-bottom:8px;
}
.price-tag strong{
  font-size:1.02rem;
}
.small-note{
  font-size:.85rem;
  opacity:.8;
  margin-top:6px;
}

/* =========================================
   FLOATING CALL BUTTON
========================================= */
.call-button{
  position:fixed;
  bottom:20px;
  right:20px;
  background:var(--orange);
  color:#fff;
  padding:12px 20px;
  border-radius:999px;
  font-weight:bold;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  z-index:999;
}

.call-button:hover{
  filter:brightness(1.03);
}

@media(max-width:480px){
  .call-button{
    bottom:16px;
    right:16px;
    padding:10px 16px;
    font-size:.9rem;
  }
}

/* =========================================
   FOOTER
========================================= */
footer{
  text-align:center;
  padding:20px;
  background:var(--navy);
  color:#fff;
  font-size:.9rem;
}

footer a{
  color:#fff;
  text-decoration:underline;
}

/* =========================================
   INDEX PAGE — bottom-anchored hero text
========================================= */

body.page-index .hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;     /* anchor to bottom */
  padding: 0;
  min-height: 60vh;
}

body.page-index .hero .hero-inner {
  position: absolute;
  bottom: 40px;              /* distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

body.page-index .hero h1 {
  margin-bottom:14px;
}

body.page-index .hero p {
  margin-bottom:12px;
}

body.page-index .hero .btn-primary {
  margin-top:10px;
  margin-bottom:8px;
}
