/* =====================================================
   GLOBAL STYLES
   Fonts, resets, variables, shared utilities
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600;800&display=swap');

:root{
  --page-max: 1200px;
  --page-pad: 20px;   /* mobile gutters */
  --section-gap: 60px;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

body{
  background-color: #F5F5F5;
  color: #333333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* =====================================================
   HEADER & NAVIGATION
   Mobile-first navigation + hamburger menu
===================================================== */

/* Top banner */

.top-banner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  gap: 10px;
  background: #222222;
  color: white;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9999;
}

.banner-left{
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-right{
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 🔥 important */
  margin-left: auto;
  gap: 10px;
}

.top-banner .banner-btn{
  background: linear-gradient(135deg, #FF9800, #FFC107);
  padding: 10px 18px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease;
}

.top-banner .banner-btn:hover{
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-icons{
  display: flex;
  gap: 0;
}

.social-icon{
  width: 30px;
  height: 30px;
  display: flex;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  background: transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.social-icon:hover img{
  transform: scale(1.2);
  filter: brightness(1.2) sepia(0.3) saturate(1.5);
}

/* Header container */

header{
  background-color: #222222;
  color: white;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-container{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo{
  max-width: 150px;
  height: auto;
}

/* Navigation links */

.nav-links{
  gap: 20px;
}

.nav-links a{
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  color: white;
  background: none;
}

.nav-links a:hover,
.nav-links a.active{
  background: linear-gradient(135deg, #FF9800 0%, #FFC107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Default visibility */
.mobile-nav {
    display: none;
    background: inherit;
}

.desktop-nav{
  display: none;
}

/* Mobile menu toggle */

.menu-toggle{
  position: static;
  background: none;
  border: none;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

/* MOBILE-ONLY NAV BEHAVIOR */

@media (max-width: 768px){
  header{
    display: flex;
    padding: 10px 20px;
  }

  .desktop-nav{
    display: none !important;
  }

  .header-container{
    justify-content: center;
  }

  .logo{
    max-width: 130px;
  }

  body{
    overflow-x: hidden;
  }
  
  .top-banner{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .top-banner .banner-left{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
  }

  .top-banner .banner-right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 0;
    gap: 10px;
    width: auto;
  }

  .top-banner .banner-btn{
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top-banner .mobile-nav{
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    padding: 12px 0 10px;
    background: #222222;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .top-banner .mobile-nav.active{
    display: flex;
  }
}

@media (min-width: 430px) and (max-width: 768px){
  .top-banner{
    padding: 10px 16px;
  }

  .banner-right{
    gap: 10px;
  }

  .top-banner .banner-btn{
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .menu-toggle{
    font-size: 2.1rem;
    padding: 4px 8px;
  }

  .mobile-nav a{
    font-size: 1.35rem;
  }
}

/* DESKTOP NAV BEHAVIOR */

@media (min-width: 769px){
  .mobile-nav{
    display: none !important;
  }

  .desktop-nav{
    display: flex !important;
  }

  .menu-toggle{
    display: none !important;
  }
}
/* =======================
   FLASH MESSAGES
======================= */
.flash-message{
  background-color: #FF9800;
  color: white;
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  text-align: center;
}

.flash-message.success{
  background-color: #4CAF50;
}

/* =====================================================
   HOME PAGE
===================================================== */

/* Welcome section */

.welcome-section{
  background: none;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-content{
  max-width: 900px;
}

.welcome-section h1{
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #222;
  margin-bottom: 20px;
}

.welcome-heading-text,
.welcome-brand{
  display: inline;
  font-family: inherit;
  font-weight: inherit;
}

.welcome-brand{
  white-space: nowrap;
}

.welcome-section p{
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.services-intro{
  max-width: 820px;
  margin: 0 auto 28px;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* =====================================================
   APPROVED SITE HEADER, SOCIALS, AND FOOTER
===================================================== */

.top-banner{
  min-height: 58px;
  padding: 9px clamp(20px, 4vw, 64px);
  background: #181818;
  border-bottom: 1px solid rgba(255, 193, 7, 0.25);
}

.social-icons,
.footer-socials{
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon{
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: transparent;
  transition: transform 180ms ease, filter 180ms ease;
}

.social-icon::after{
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid #FFC107;
  border-radius: 7px;
  opacity: 0;
  transform: scale(0.88);
  box-shadow: 0 0 5px rgba(255, 193, 7, 0.24);
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-icon img,
.footer-socials .social-icon img{
  width: 100%;
  height: 100%;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.social-icon:hover{
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.12);
}

.social-icon:hover::after{
  opacity: 1;
  transform: scale(1);
}

.top-banner .banner-btn{
  padding: 11px 20px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.top-banner .banner-btn:hover{
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: none;
}

header{
  padding: 22px clamp(20px, 4vw, 64px);
  background: #222;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.header-container{
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  justify-content: space-between;
  gap: 34px;
}

.header-brand{
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
}

.header-brand .logo{
  width: 132px;
  max-width: 132px;
  margin: 0;
}

.header-tagline{
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: #b8c3ca;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.desktop-nav{
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a{
  position: relative;
  padding: 8px 0;
  font-size: 1.05rem;
}

.nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF9800, #FFC107);
  transition: right 180ms ease;
}

.nav-links a:hover,
.nav-links a.active{
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.nav-links a:hover::after,
.nav-links a.active::after{
  right: 0;
}

.menu-toggle{
  width: 42px;
  height: 38px;
  display: none;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid #FF9800;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-toggle span{
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.menu-toggle:hover{
  background: rgba(255, 255, 255, 0.13);
  border-color: #FFC107;
  transform: translateY(-1px);
}

footer{
  padding: 46px clamp(22px, 4vw, 64px) 22px;
  background: #191919;
  border-top: 1px solid rgba(255, 193, 7, 0.25);
  color: #fff;
  text-align: left;
}

.footer-layout{
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1050px;
  margin: 0 auto;
}

.footer-brand > img{
  width: 130px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand > p{
  max-width: 310px;
  color: #b9c0c5;
  line-height: 1.7;
}

.footer-socials{
  justify-content: flex-start;
  margin-top: 18px;
  margin-bottom: 0;
}

.footer-column{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column h3{
  margin: 0 0 10px;
  color: #FFC107;
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a{
  color: #b9c0c5;
  line-height: 1.7;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover{
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1050px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p{
  color: #8d979d;
  font-size: 0.86rem;
}

@media (max-width: 768px){
  .top-banner{
    flex-wrap: nowrap;
    padding: 10px 14px;
  }

  .top-banner .banner-left{
    margin: 0;
  }

  .top-banner .banner-right{
    margin: 0 0 0 auto;
    gap: 12px;
  }

  .top-banner .banner-btn{
    padding: 9px 13px;
    font-size: 0.76rem;
  }

  .top-banner .social-icon{
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .menu-toggle{
    display: grid;
  }

  header{
    padding: 16px;
  }

  .header-container{
    justify-content: center;
  }

  .header-brand{
    justify-content: center;
    gap: 14px;
    margin: 0;
  }

  .header-brand .logo{
    width: 92px;
    max-width: 92px;
  }

  .header-tagline{
    padding-left: 14px;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    line-height: 1.55;
  }

  .top-banner .mobile-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px 20px 18px;
    background: #181818;
    border-top: 1px solid rgba(255, 193, 7, 0.25);
    border-bottom: 1px solid rgba(255, 193, 7, 0.25);
  }

  .footer-layout{
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand > p{
    max-width: 285px;
    margin: 0 auto;
  }

  .footer-socials{
    justify-content: center;
  }

  .footer-bottom{
    flex-direction: column;
    text-align: center;
  }
}

.surfboard-img{
  height: 3.5rem;
  vertical-align: middle;
  transform: translateY(-0.7rem);
}

@media (max-width: 768px){
  .welcome-section h1{
    line-height: 1.25;
  }

  .welcome-heading-text,
  .welcome-brand{
    display: block;
  }

  .welcome-brand{
    margin-top: 0.15em;
  }

  .surfboard-img{
    height: 1.15em;
    transform: translateY(-0.16em);
  }
}

/* Buttons */
.cta-btn,
.see-more-btn{
  display: inline-block;
  margin: 30px auto 0;
  padding: 15px 25px;
  outline: none;
  text-decoration: none;
  background: linear-gradient(135deg, #6FA6C2 0%, #3E7FA3 100%);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.cta-btn:hover,
.see-more-btn:hover{
  background: linear-gradient(135deg, #5C95B3 0%, #356F8E 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.cta-btn:active,
.see-more-btn:active{
  transform: scale(0.97);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Hero image */

.hero-image img{
  width: 100%;
  display: block;
  border-radius: 0;
}

/* Reviews carousel */

.reviews-carousel-section{
  padding: 40px 20px 80px;
  text-align: center;
  --swiper-theme-color: #bdbdbd;
  --swiper-navigation-color: #bdbdbd;
}

.reviews-carousel-section h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.review-card{
  background: white;
  padding: 20px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 300px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-text{
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  overflow: auto;
}

.reviewer-name{
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
  margin-top: auto;
}

.review-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

.reviews-carousel-section .swiper-button-next,
.reviews-carousel-section .swiper-button-prev{
  color: #bdbdbd !important;
  opacity: 1;
  transition: color 0.2s ease;
}

.reviews-carousel-section .swiper-button-next::after,
.reviews-carousel-section .swiper-button-prev::after{
  font-size: 18px !important;
  font-weight: 700;
}

.reviews-carousel-section .swiper-button-next:hover,
.reviews-carousel-section .swiper-button-prev:hover{
  color: #999;
}

.reviews-carousel-section .reviews-swiper{
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0 40px;
  overflow: visible !important;
}

.reviews-carousel-section .swiper{
  overflow: visible !important;
}

.reviews-carousel-section .swiper-wrapper{
  align-items: stretch;
}

.reviews-carousel-section .swiper-slide{
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto !important;
  overflow: visible !important;
}

@media (max-width: 768px){
  .reviews-carousel-section .reviews-swiper{
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0 40px 30px;
  }

  .reviews-carousel-section .swiper-slide{
    width: 100% !important;
  }

  .reviews-carousel-section .review-card{
    width: 100%;
    min-height: 240px;
    padding: 20px 22px;
  }

  .reviews-carousel-section .review-text{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .reviews-carousel-section .reviewer-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 900px){
  .reviews-carousel-section .reviews-swiper{
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .reviews-carousel-section .review-card{
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Static Google reviews link */

.google-reviews-static{
  width: 100vw;
  max-width: 100vw;
  padding: 56px 20px 76px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.google-reviews-static h2{
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 0 0 34px;
  color: #333;
}

.google-reviews-card{
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 58px 54px 48px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.google-reviews-rating{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.google-reviews-stars{
  color: #ffbd00;
  display: flex;
  justify-content: space-between;
  width: min(100%, 570px);
  font-size: clamp(3.6rem, 9vw, 5.5rem);
  line-height: 1;
  text-shadow: 0 2px 2px rgba(0,0,0,0.08);
}

.google-reviews-copy h3{
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #333;
}

.google-reviews-copy{
  width: 100%;
  text-align: center;
}

.google-reviews-copy p{
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.65;
  color: #555;
  font-size: 1.08rem;
}

.google-reviews-btn{
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  min-height: 62px;
  padding: 16px 22px;
  border-radius: 15px;
  background: linear-gradient(135deg, #6FA6C2 0%, #3E7FA3 100%);
  color: white;
  font-weight: bold;
  font-size: 1.15rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-reviews-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

@media (max-width: 768px){
  .google-reviews-static{
    padding: 48px 18px 72px;
  }

  .google-reviews-static h2{
    max-width: 360px;
    margin: 0 auto 32px;
    font-size: 2.25rem;
    line-height: 1.35;
  }

  .google-reviews-card{
    max-width: calc(100vw - 36px);
    gap: 26px;
    padding: 50px 28px 34px;
    border-radius: 22px;
  }

  .google-reviews-stars{
    font-size: clamp(2.8rem, 12vw, 4.25rem);
  }

  .google-reviews-copy h3{
    margin-bottom: 16px;
  }

  .google-reviews-copy p{
    font-size: 1rem;
    line-height: 1.65;
  }

  .google-reviews-btn{
    min-height: 58px;
    font-size: 1.05rem;
  }
}

@media (max-width: 420px){
  .google-reviews-card{
    padding: 44px 22px 28px;
  }

  .google-reviews-stars{
    font-size: 2.55rem;
  }
}

/* =====================================================
   SERVICES & PACKAGES
===================================================== */

/* How It Works */

.how-it-works-section{
  padding: 70px 20px;
  text-align: center;
}

.how-it-works-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works-section h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 12px;
  color: #333;
}

.how-it-works-lead{
  max-width: 750px;
  margin: 0 auto 35px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.how-it-works-steps{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: left;
}

.how-step{
  background: white;
  border-radius: 15px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.how-step h3{
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #333;
}

.how-step p{
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.how-it-works-cta{
  margin-top: 28px;
}

/* Popular packages */

.packages-popular-section{
  padding: 40px 20px;
  text-align: center;
}

.packages-popular-section h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.packages-popular-description{
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: #555;
}

.packages-popular-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 20px;
  justify-items: center;
}

.packages-popular-card{
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 380px;
  height: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.packages-popular-card img{
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 8px;
}

.packages-popular-card h3{
  font-size: 1.1rem;
  margin-top: 0;
  text-align: center;
}

.packages-popular-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

/* Services list */

.services{
  max-width: 1200px;
  margin: 50px auto;
  padding: 40px 20px;
  text-align: center;
}

.services h1,
.services h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.services-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-item{
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.service-item.visible{
  opacity: 1;
  transform: translateY(0);
}

.service-item h3{
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #333;
}

.service-item p{
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.service-item img,
.service-img{
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  display: block;
}

/* Accordion */
.service-accordion{ overflow: hidden; }

.service-summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-summary::-webkit-details-marker{ display: none; }

.service-toggle{
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.95rem;
  color: white;
  background: linear-gradient(135deg, #6FA6C2 0%, #3E7FA3 100%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.service-body{
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 5px;
}

.service-accordion .service-body{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.service-accordion[open] .service-body{
  max-height: 1000px;
  opacity: 1;
}

.service-accordion[open] .service-toggle::after{
  content: " (Hide)";
}

/* SERVICES PAGE – center Read more toggle */
.page-services .service-summary{
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers h3 + Read more */
}

.page-services .service-toggle{
  margin-top: 12px;
  text-align: center;
}

/* SERVICES PAGE – center title + Read more (mobile & desktop) */
body.page-services details.service-accordion > summary.service-summary{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Override left alignment coming from base styles */
body.page-services .service-toggle{
  align-self: center;
  width: fit-content;
  margin-top: 12px;
}

/* Keep image full-width while text stays centered */
body.page-services .service-img{
  width: 100%;
}

/* =======================
   POPULAR FLAKES + BASECOATS (GLOBAL)
======================= */
.flakes-popular-section,
.basecoat-popular-section{
  padding: 40px 20px;
  text-align: center;
}

.flakes-popular-section h2,
.basecoat-popular-section h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.flakes-popular-description,
.basecoat-popular-description{
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: #555;
}

.flakes-popular-grid,
.basecoat-popular-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.flakes-popular-card,
.basecoat-popular-card{
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flakes-popular-card img,
.basecoat-popular-card img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  margin-bottom: 8px;
}

.flakes-popular-card h3,
.basecoat-popular-card h3{
  font-size: 1.1rem;
  margin-top: 0;
  text-align: center;
}

.flakes-popular-card:hover,
.basecoat-popular-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

/* =====================================================
   GALLERY PAGES
   Our Projects, Flakes, Basecoats
===================================================== */

/* ---------- OUR PROJECTS ---------- */

section.gallery{
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;

  display: grid;
  grid-template-columns: 1fr;   /* mobile: single column */
  gap: 16px;

  justify-items: stretch;       /* IMPORTANT: cards fill the row */
  align-items: start;
}

/* keep the heading spanning full width */
section.gallery h1,
section.gallery h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

/* cards should be full width, but not ridiculously wide */
section.gallery .project-card{
  width: 100%;
  max-width: 520px;             /* nice mobile max */
  margin: 0 auto;               /* center the max-width card */
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section.gallery .project-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

/* make images uniform */
section.gallery .project-card img{
  width: 100%;
  height: 360px;                /* uniform mobile height */
  object-fit: cover;
  display: block;
  border-radius: 0;             /* card handles rounding */
}

/* optional: if you have titles under images */
section.gallery .project-card h3{
  padding: 12px 14px;
  margin: 0;
  text-align: left;
  font-size: 1.1rem;
  color: #333;
}

/* ---------- FLAKE GALLERY ---------- */

.flake-gallery-section{
  padding: 40px 20px;
  text-align: center;
}

.flake-gallery-section h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.flake-gallery-description{
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: #555;
}

.flake-gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.flake-gallery-card{
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flake-gallery-card img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
  display: block;
}

.flake-gallery-card h3{
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

.flake-gallery-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

/* ---------- BASECOAT GALLERY ---------- */

.basecoat-gallery-section{
  padding: 40px 20px;
  text-align: center;
  margin: 0 auto;
}

.basecoat-gallery-section h2{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.basecoat-gallery-description{
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

.basecoat-gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.basecoat-gallery-card{
  height: 200px;
  background: white;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.basecoat-gallery-card:hover{
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.12);
}

.basecoat-gallery-card img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

.basecoat-gallery-card h3{
  font-size: 1.1rem;
  margin-top: 0;
  color: #333;
}

@media (max-width: 767px){
  .basecoat-gallery-card:last-child{
    grid-column: 1 / -1;
    width: calc((100% - 15px) / 2);
    justify-self: center;
  }
}

/* FLAKE MODAL + ZOOM MODAL */
.flake-modal{
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.85);
  padding-top: 60px;
}

.flake-modal-content{
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.flake-close{
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
}

.flake-close:hover{
  color: #FF9800;
  transform: scale(1.2);
}

#zoom-modal{
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

#zoom-close{
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

#zoom-image{
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#zoom-modal.show #zoom-image{
  transform: scale(1);
  opacity: 1;
}

.flake-card img{
  cursor: zoom-in;
}

/* =====================================================
   CONTACT PAGE
===================================================== */

/* Contact form */

.contact{
  padding: 40px 20px;
}

.contact form{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea{
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 15px;
}

.contact button{
  padding: 15px;
  border: none;
  background-color: #1A73E8;
  color: white;
  font-weight: bold;
  border-radius: 15px;
  cursor: pointer;
}

.contact button:hover{
  background-color: #155ab6;
}

/* Hero contact section */

.hero-contact{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 50px 20px;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('../images/jobs/Garage_with_viper.webp') center/cover no-repeat;
  color: white;
  text-align: center;
}

.hero-contact form{
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: rgba(0,0,0,0.4);
  padding: 30px;
  border-radius: 15px;
}

.hero-contact form h1{
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin: 0;
}

.contact-intro{
  margin: -8px 0 4px;
  color: #f1f1f1;
  line-height: 1.5;
}

.field-label{
  text-align: left;
  font-weight: 700;
}

.contact-name-fields{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-address-fields{
  display: grid;
  grid-template-columns: 2fr 1.15fr 1fr 0.8fr;
  gap: 14px;
}

.contact-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field input{
  width: 100%;
  box-sizing: border-box;
}

.contact-field select{
  width: 100%;
}

.optional-label{
  font-weight: 400;
  color: #ddd;
}

.minimum-project-notice{
  padding: 14px 16px;
  border: 1px solid rgba(255,193,7,0.55);
  border-radius: 15px;
  background: rgba(0,0,0,0.35);
  text-align: left;
}

.minimum-project-notice > strong{
  display: block;
  color: #FFC107;
  font-size: 1.15rem;
  text-align: center;
}

.minimum-project-notice > p{
  margin: 5px 0 10px;
  color: #eee;
  font-size: 0.9rem;
  text-align: center;
}

.minimum-acknowledgement{
  width: fit-content;
  margin: 0 auto;
}

.is-hidden{
  display: none;
}

@media (max-width: 520px){
  .contact-name-fields,
  .contact-address-fields{
    grid-template-columns: 1fr;
  }
}

.form-messages{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-message{
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
}

.form-message.success{
  background: rgba(76,175,80,0.25);
}

.form-message.error{
  background: rgba(244,67,54,0.25);
}

.hero-contact form input,
.hero-contact form select,
.hero-contact form textarea{
  border-radius: 15px;
  padding: 13px 15px;
  border: none;
  background-color: white;
  color: #333;
  font-size: 1rem;
}

.hero-contact form select{
  width: 100%;
}

.hero-contact form button{
  background: linear-gradient(135deg, #FF9800 0%, #FFC107 100%);
  color: white;
  border: none;
  border-radius: 15px;
  padding: 14px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

.turnstile-container{
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.consent-option{
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  width: fit-content;
  max-width: min(100%, 820px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #f1f1f1;
}

.hero-contact form .consent-option input{
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #FF9800;
}

.consent-note{
  margin: -4px 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #ddd;
  text-align: center;
}

@media (min-width: 521px) and (max-width: 850px){
  .contact-address-fields{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.consent-note a,
.legal-page a{
  color: #FFC107;
}

.legal-page{
  max-width: 920px;
  min-height: 65vh;
  margin: 48px auto 72px;
  padding: clamp(30px, 6vw, 64px);
  border-top: 5px solid #FF9800;
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  color: #333333;
  line-height: 1.75;
}

.legal-page h1,
.legal-page h2{
  font-family: 'Montserrat', sans-serif;
}

.legal-page h1{
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  color: #222222;
}

.legal-updated{
  margin-top: 10px;
  color: #68757d;
}

.legal-page h2{
  margin-top: 34px;
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 4px solid #FF9800;
  color: #333333;
}

.legal-page h3{
  margin-top: 22px;
  margin-bottom: 4px;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
}

.legal-page p + p{
  margin-top: 10px;
}

.legal-callout{
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #FF9800;
  border-radius: 0 10px 10px 0;
  background: #fff4df;
  color: #573600;
  font-weight: 800;
}

.legal-page a{
  color: #b56500;
  font-weight: 700;
}

header .banner-btn{
  background: linear-gradient(135deg, #FF9800, #FFC107);
  padding: 10px 18px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

@media (max-width: 600px){
  .legal-page{
    margin: 24px 14px;
    border-radius: 16px;
  }
}

/* =====================================================
   SHARED COMPONENTS
===================================================== */

/* Section dividers */

.section-divider{
  width: 80%;
  height: 2px;
  background-color: #ddd;
  margin: var(--section-gap) auto;
  border-radius: 1px;
}

.section-divider::before{
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* Scroll animations */

.animate-on-scroll{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible{
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   DESKTOP OVERRIDES (900px+)
   Desktop-only layout & spacing changes
===================================================== */
@media (min-width: 900px){

  /* ---- Global spacing / layout ---- */
  :root{
    --page-pad: 40px;
    --section-gap: 70px;
  }

  /* Keep main sections centered on desktop */
  .welcome-section,
  .reviews-carousel-section,
  .how-it-works-section,
  .services,
  .packages-popular-section,
  .flakes-popular-section,
  .basecoat-popular-section,
  section.gallery{
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

/* =======================
   TOP BANNER – DESKTOP ONLY
======================= */

/* Sync top banner with header columns */
.top-banner{
padding-left: clamp(24px, 3vw, 48px);
padding-right: clamp(24px, 3vw, 48px);
}

  /* Move social icons slightly right */
.banner-left{
  margin-left: 4vw;   /* adjust as needed */
}

/* Position the top-banner quote button */
.banner-right{
  margin-right: 3vw;  /* adjust as needed */
}

.social-icons img{
  width: 30px;   /* default is usually ~20–22px */
  height: 30px;
}

/* =======================
     HEADER – DESKTOP SPREAD
  ======================= */

/* Header */

    header{
        padding: 16px 0;
    }

    .header-container{
        width: 100%;                /* ⬅ full width */
        max-width: none;             /* ⬅ remove centering constraint */
        margin: 0;

        padding-left: 24px;          /* ⬅ tighter left edge */
        padding-right: 24px;         /* ⬅ tighter right edge */

        display: flex;
        align-items: center;
    }

    .mobile-nav {
        display: none !important;
    }

    /* ---- Logo: push FAR LEFT ---- */
    .logo{
        max-width: 170px;
        margin-left: 80px;           /* controls how far from left edge */
        margin-right: auto;          /* ⬅ forces nav away */
    }

    /* ---- Nav: push FAR RIGHT ---- */
    .desktop-nav {
        display: flex !important;
        gap: 2vw;
        margin-left: auto;
        margin-right: 4.5vw;
        position: static;
    }

    .desktop-nav a {
        font-size: 1.35rem;
        font-weight: 700;
        letter-spacing: 0.6px;
    }

    /* Hide hamburger */
    .menu-toggle{
        display: none !important;
    }

    /* ---- Home hero image ---- */
    .hero-image{
        width: 100%;
        max-width: none;
        height: 35vh;
        max-height: 540px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        overflow: hidden;
    }

    .hero-image img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 55%;
        display: block;
    }
    
   /* =======================
    REVIEWS – DESKTOP ONLY FIX
  ======================= */

.reviews-carousel-section{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--page-pad) 90px;
  text-align: center;
}

.reviews-carousel-section h2{
  text-align: center;
}

.reviews-carousel-section .reviews-swiper{
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 40px;
  overflow: visible !important;
}

.reviews-carousel-section .swiper{
  overflow: visible !important;
}

.reviews-carousel-section .swiper-wrapper{
  align-items: stretch;
}

.reviews-carousel-section .swiper-slide{
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto !important;
}

.reviews-carousel-section .review-card{
  width: 100%;
  max-width: 500px;
  min-height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-carousel-section .swiper-button-next,
.reviews-carousel-section .swiper-button-prev{
  display: none !important;
}

    /* HOW IT WORKS – DESKTOP CENTERING FIX */
  .how-it-works-section{
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

  .how-it-works-inner{
    margin-left: auto;
    margin-right: auto;
  }

  .how-it-works-steps{
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .how-step h3{
    text-align: center;
  }

  .how-step p{
    text-align: left;
  }


    /* HOME – Popular Service Section DESKTOP ONLY */

   .packages-popular-section{
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
  }

  .packages-popular-grid{
    max-width: 900px;
    margin: 40px auto 0;
  }

  .packages-popular-card{
    max-width: 900px;
    height: auto;
    padding: 20px;

    display: flex;
    flex-direction: column;
  }

  .packages-popular-card img{
    width: 100%;
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .packages-popular-card h3{
    font-size: 1.4rem;
    margin-top: 12px;
    text-align: center;
  }
        
    /* HOME – Popular Flakes & Base Coats (DESKTOP ONLY) */
    .flakes-popular-card,
    .basecoat-popular-card{
        height: 340px;     /* bigger container */
        padding: 18px;     /* more breathing room */
        gap: 10px;         /* extra vertical spacing between image + text */
    }

    .flakes-popular-card img,
    .basecoat-popular-card img{
        height: 260px;     /* taller image */
    }

    .flakes-popular-card h3,
    .basecoat-popular-card h3{
        margin-top: 2px;
        font-size: 1.2rem;
        line-height: 1.2;
    }

    /* ---- Services: 3-column desktop ---- */
    .services-grid{
    grid-template-columns: 1fr;
    gap: 40px;   /* nice vertical spacing */
    }

    .services .service-item h3{
    text-align: center;
    }

  /* SERVICES PAGE */
  .page-services .services-grid{
    grid-template-columns: 1fr;   /* one per row */
    max-width: 900px;             /* keeps it centered and readable */
    margin: 0 auto;
    gap: 48px;                    /* vertical spacing between cards */
  }

  .page-services .service-item{
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .page-services .service-summary{
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .page-services .service-img{
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    object-position: center;
    margin-bottom: 14px;
    flex-shrink: 0;
  }

  /* when accordion opens, let it grow naturally */
  .page-services .service-accordion[open]{
    height: auto;
  }
  
  .page-services .service-summary h3{
    text-align: center;
    margin-top: 12px;
  }

  .page-services .service-readmore{
    display: block;          /* ensures margin auto works */
    margin-left: auto;
    margin-right: auto;
  }

  /* Gallery */
    
  /* Shared gallery sections */
  .flake-gallery-section,
  .basecoat-gallery-section,
  section.gallery{
    max-width: 1800px;          /* ⬅ wider for 4 columns */
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;         /* ⬅ side margins */
    padding-right: 48px;
  }
  
  section.gallery h1,
  section.gallery h2{
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 32px;
  }

  /* ---- Our Projects grid ---- */
  section.gallery{
    grid-template-columns: repeat(8, 1fr);
    gap: 28px;
    justify-items: stretch;
  }

  /* ---- Project card ---- */
  section.gallery .project-card{
    grid-column: span 2;
    max-width: none;
    height: 520px;           /* overall card size */
    overflow: hidden;        /* ✅ prevents white bleed */
  }

  /* Center only the final row when it contains fewer than four cards. */
  section.gallery .project-card:nth-of-type(4n + 1):last-child{
    grid-column: 4 / span 2;
  }

  section.gallery .project-card:nth-of-type(4n + 1):nth-last-child(2){
    grid-column: 3 / span 2;
  }

  section.gallery .project-card:nth-of-type(4n + 1):nth-last-child(3){
    grid-column: 2 / span 2;
  }

  /* ---- Project image fills card ---- */
  section.gallery .project-card img{
    width: 100%;
    height: 100%;            /* ✅ fills entire card */
    object-fit: cover;
    object-position: center;
    display: block;
  }
    /* GALLERY – Flake grid: 3 per row */
    .flake-gallery-grid{
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .flake-gallery-card{
    height: 400px;          /* ⬆ taller card */
    padding: 18px;
  }

  .flake-gallery-card img{
    height: 330px;          /* ⬆ taller image */
    object-fit: cover;
  }

    /* GALLERY – Basecoat grid: 3 per row */
    .basecoat-gallery-grid{
      grid-template-columns: repeat(8, 1fr);
      gap: 32px;
    }

    .basecoat-gallery-card{
      grid-column: span 2;
      height: 400px;          /* taller card */
      padding: 18px;
    }

    .basecoat-gallery-card:nth-child(5){
      grid-column: 2 / span 2;
    }

    .basecoat-gallery-card img{
      height: 330px;          /* taller image */
      object-fit: cover;
    }
  }

/* Ultra-wide screens: bigger gutters */
@media (min-width: 1300px){
:root{ --page-pad: 60px; }
}
