/* UTILITY */

:root {
    --text-dark: #333;
    --text-norm: #333;
    --text-light: #666;
    --text-wh-dark: #cacaca; 
    --text-wh-norm: #fafafa;
    --text-wh-light: #fafafa;
    --bg-old: #113f64;
    --bg: #113958;
    --bg-light: #195A90;
    --red: #770000;
    --red-light: #DD0000;
    --purp: #90195A;
  }
  
.center { 
    /* align-items: center;
    align-self: center;
    align-content: center; */
    text-align: center;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

/* LAYOUT */

body {
    background-color: var(--bg);
    color: var(--text-wh-norm);
    font-size: 125%;
    line-height: 1.5;
}

.smalltext {
    font-size: 80%;
}

.biggertext {
    font-size: 125%;
}

.main {
    width: 100%;
    max-width: 800px;
    padding: 1rem;
    margin: 0 auto;
    box-sizing: border-box;
  }

.top-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 45% of viewport height */
    object-fit: cover; /* Cover the area without stretching */
    object-position: center 46%;
    z-index: -1;
}

.content {
    margin-bottom: 2rem;
    font-family: "Outfit", sans-serif;
}

/* NAVIGATION */

.site-nav {
  display: flex;
  justify-content: space-between; /* logo left, links right */
  align-items: center;
  padding: 1em 0;
  width: 100%;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-right a {
  margin-left: 1em;
}

.site-header {
  margin: 0 2em;
}

.site-nav a {
  display: block;
  padding: 0.5rem;
}

.logo {
  text-decoration: none;
  color: var(--text-wh-norm);
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  text-shadow: 2px 2px 1px var(--text-norm);
}

.nav-link {
  text-decoration: none;
  color: var(--text-wh-norm);
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  text-shadow: 2px 2px 1px var(--text-norm);
}

@media screen and (max-width: 48rem) {
    .site-nav,
    .main-menu {
        flex-direction: column;
    }

.site-nav a {
    padding: 0.5rem;
    padding-left: 0;
    }
}

.uline {
    text-decoration: underline !important;
}

/* LISTS */

.post-snippet {
    margin-bottom: 1rem;
}

.post-snippet h3 {
    margin-bottom: 0.25rem;
}

.info-box {
    margin-top: 4rem;
    margin-bottom: 4rem;
    list-style-type: none;
    border: 2px solid var(--text-wh-light);
    /* filter: drop-shadow(3px 2px 4px #888); */
    /* max-width: 25vw; */
    border-radius: 4rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    color: var(--text-wh-norm);
    align-content: center;
}

.info-head {
    color: var(--text-wh-norm);
    letter-spacing: 1px;
    font-size: 1.5rem;
    font-weight: 800;
    /* text-decoration: underline; */
}

.info-separator {
    max-width: 25rem;
}

#tel {
    color: var(--text-wh-norm);
}

#email {
    color: var(--text-wh-norm);
    /* text-decoration: underline; */
}

/* OTHER */

.footer {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
}

.quote {
    font-family: "Playfair Display", serif;
    color: var(--text-wh-light);
    margin-bottom: 2rem;
}

.qline {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tagline{
    margin-top: 30vh;
    margin-bottom: 55vh;
    text-shadow: 2px 2px 1px var(--text-norm);
    color: var(--text-wh-norm)
}

.test-title {
    text-shadow: 2px 2px 1px var(--text-norm);
    color: var(--text-wh-norm)
}

.test-link {
    font-style: italic;
}

.home-image {
    width: 100%;
}

.service {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 2rem;
    color: var(--text-wh-norm);
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-thickness: .2rem;
}

.service-section {
    font-size: 3rem;
}

.pricing {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 2rem;
    color: var(--text-wh-dark);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

li.li {
    margin: 0;
	padding: 1rem 0 1rem 4rem;
	list-style: none;
    background-image: url("../media/bullet-wh-fa.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 40px;
}

.sublist {
    margin-left: 3em;
}

#active-page {
    /* color: var(--text-light); */
    text-decoration: underline var(--text-wh-light);
    /* text-decoration-style:double; */
    text-decoration-thickness: 2px;
}

#active-page:hover {
    text-decoration: underline var(--text-wh-dark);
    text-decoration-thickness: 2px;
}

.main-text {
    display: block;
    text-align: justify !important;
    text-justify: inter-word !important;
    font-size: 110%;
    hyphens: auto;
}

.main-block {
    /* margin-top: 100vh; */
    display: block;
    /* padding-top: 4em; */
}

.service-nav {
    font-size: 2rem;
    display: flex;
    width: 100%;
    justify-content: space-between !important;
    flex-direction: column;
    align-items: center;
    margin-bottom: 45vh;
}

.link {
    text-decoration: none;
    color: inherit;
}

.link:hover {
    color: var(--text-wh-dark) !important;
}

.sublink {
    text-decoration: none;
    color: var(--text-wh-norm);
    padding-bottom: 1em;
}

.sublink:hover {
    color: var(--bg);
}

.no-banner {
    margin-top: 4em;
}

.portrait {
    max-width: 12em;
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
    border-radius: 30px;
}

.testimonial {
    text-align: justify;
    padding: 1em;
    padding-left: 2em;
    padding-right: 2em;
    border-radius: 30px;
    padding: 1em 0;
}

.testimonials {
    font-family: "Outfit", sans-serif;
}

.w-border {
    border: 2px solid white;
    padding: 1em 1em 1em 2em;
    border-radius: 30px;
}

.test-left {
    /* float: left; */
    background-color: rgba(17, 57, 88, 0.7);
    position: absolute;
    width: 20vw;
    top: 110vh;
    left: 3vw;
    margin-top: 0%;
    /* margin-right: 2em; */
    margin-bottom: 1em;
}

.test-right {
    background-color: rgba(17, 57, 88, 0.7);
    position: absolute;
    width: 20vw;
    top: 150vh;
    right: 3vw;
    margin-top: 0%;
    margin-bottom: 1em;
}

#how-it-works {
    margin-bottom: 1rem;
}

#pricing {
    margin-bottom: 1rem;
}

/* .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}
  
.gallery img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
} */

.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 column baseline */
    gap: 1rem;
    padding: 1rem -2vw;
    box-sizing: border-box;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: .5vw;
    margin: 2em 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-box {
    flex: 1;
    padding: 1em;
    border-radius: 10px;
    display: flex;
    align-items: center; /* vertically center icon and text */
    min-height: 100px; /* ensures equal height even with smaller text */
    box-sizing: border-box;
    border: 4px solid var(--text-wh-norm);
    position: relative;
    margin-bottom: 1em;
    
}

.contact-box:hover {
    background-color: var(--bg-light);
}

.nav-icon {
    color: var(--text-wh-norm);
    flex-shrink: 0;
    margin-right: 1em;
    z-index: 1;
    padding-left: .5em;
}

.contact-link {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--text-wh-norm);
  }
  
.contact-details {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    font-size: 120%;
    color: var(--text-wh-norm);
}

.contact-details.email {
    font-size: 120%;
}

.gs {
    border: 2px solid var(--text-wh-norm);
    border-radius: 40px;
    box-shadow: 2px 2px 1px var(--text-norm);
}

/* RESPONSIVE CSS */

@media screen and (max-width:2000px) {
    .main-block {
        margin-top: 0em;
    }
}

@media screen and (max-width:1200px) {
    .main {
        max-width: 80vw;
    }
    .service-nav {
        flex-direction: column;
        align-items: center; 
    }
    .service-list {
        padding: 0;
        margin: 0;
    }
    .portrait {
        max-width: 8em;
    }

    .logo{
        font-size: 1.8rem;
    }

    .nav-link {
        font-size: 140%;
    }

    .tagline {
        margin-top: 40vh;
        margin-top: 40svh;
        /* margin-bottom: 0px; */
    }

    .info-box {
        padding-left: .5em;
        padding-right: .5em;
    }
}

/* @media (max-width: 1200px) {
    .gallery {
      grid-template-columns: 1fr;
    }
  } */


.gallery img.v {
    grid-column: span 2; /* 3 per row (6 / 2 = 3) */
}

.gallery img.h {
    grid-column: span 3; /* 2 per row (6 / 3 = 2) */
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery img.v,
    .gallery img.h {
        grid-column: span 2; /* Full width on small screens */
    }

    .logo{
        font-size: 1.8rem;
    }

    .contact-row {
        flex-direction: column;
    }

    .contact-details {
        font-size: 120%; /* smaller font size on mobile */
    }

    .contact-details.email {
        font-size: 80%; /* even smaller for email */
    }

    .nav-icon {
        font-size: 1.2rem !important;
    }

    .tagline {
        margin-top: 20vh;
        margin-bottom: 25vh;
    }

    .portrait {
        max-width: 6em;
    }

}

@media (max-width: 2000px) {
    .tagline {
        margin-top: 30vh;
        margin-bottom: 46vh;
    }

    .service-nav {
        margin-top:  20vh;
        margin-bottom: 40vh;
    }

    body {
        font-size: 115%;
    }

}

@media (max-width: 420px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    .tagline {
        margin-top: 10vh;
        margin-bottom: 15vh;
    }

}

@media (max-width: 420px) and (max-height: 900px) {
    .tagline {
        margin-top: 10vh;
        margin-bottom: 25vh;
    }
}

@media (max-width: 1290px) and (max-height: 850px) {
    .nav-link {
        font-size: 100% !important;
        align-content: center;
    }

    .logo {
        font-size: 100%;
    }
}

@media (max-width: 1100px) and (max-height: 1370px) {
    .tagline {
        margin-top: 15vh;
        margin-bottom: 45vh;
    }
}

@media (max-width: 855px) and (max-height: 1290px) {
    .tagline {
        margin-top: 20vh;
        margin-bottom: 40vh;
    }
}

@media (max-width: 822px) and (max-height: 1190px) {
    .tagline {
        margin-top: 20vh;
        margin-bottom: 30vh;
    }
}

@media (max-width: 855px) {
    .site-nav {
        flex-direction: column;
        font-size: 90%;
        align-items: flex-start; /* or center if you prefer centered items */
        line-height: 0.6;
        flex-wrap: wrap;
        justify-content: center;
    }
  
    .nav-right {
        flex-direction: column;
        width: 100%;
        margin-top: 1em;
    }
  
    .nav-right a {
        margin: 0.5em 0;
        padding-left: 0; /* optional: align left */
    }
  
    .nav-left {
        width: 100%;
    }
  
    .logo {
        align-content: center;
        margin-bottom: 1em;
        white-space: nowrap;
        text-align: center;
        width: 100%;
    }
  
    .nav-link {
        padding: 0.25em 0; /* was likely 1em or more — reduce it */
        font-size: 1.4rem;  /* optional: smaller text on mobile */
    }

    .contact-details.email {
        overflow-wrap: anywhere;
    }

    .sublist {
        margin-left: 2em;
    }
}

@media (max-width: 800px) and (max-height: 1100px) {
    .tagline {
        margin-top: 10vh;
        margin-bottom: 38vh;
    }

    .contact-details.email {
        font-size: 120%;
    }

    .nav-icon {
        font-size: 2em !important;
    }
}

@media (max-width: 600px) and (max-height: 800px) {
    .tagline {
        margin-top: 10vh;
        font-size: 160%;
        margin-bottom: 28vh;
    }

    .nav-icon {
        font-size: 1.5em !important;
    }
}

@media (max-width: 500px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .sublist {
        margin-left: 2em;
        font-size: 90%;
    }

    .info-box {
        font-size: 90%;
    }

    .tagline {
        margin-top: 8vh;
        margin-bottom: 18vh;
    }

}


@media (max-width: 420px) and (max-height: 990px) {
    .tagline {
        margin-top: 10vh;
        margin-bottom: 35vh;
    }

    .contact-details.email {
        font-size: 80%;
    }

    .nav-icon {
        font-size: 1.2em !important;
    }
}

@media (max-width: 440px) and (max-height: 940px) {
    .tagline {
        margin-top: 10vh;
        margin-bottom: 28vh;
    }

    .contact-details.email {
        font-size: 80%;
    }

    .nav-icon {
        font-size: 1.2em !important;
    }

    .top-img {
        width: 100vw;
    }
}

@media (max-width: 380px) and (max-height: 750px) {
    .tagline {
        font-size: 150%;
        margin-top: 10vh;
        margin-bottom: 24vh;
    }

    .contact-details.email {
        font-size: 100%;
    }

    .nav-icon {
        font-size: 1em !important;
    }
}

@media (max-width: 400px) and (max-height: 690px) {
    .tagline {
        margin-top: 10vh;
        margin-bottom: 25vh;
    }

    .contact-details.email {
        font-size: 70%;
    }

    .nav-icon {
        font-size: 1em !important;
    }

}

@media (min-width: 2200px) {
    .main {
        max-width: 1050px;
    }

}

@media (max-width: 360px) {
    .sublist {
        margin-left: 2em;
        font-size: 80%;
    }

    li.li {
        background-size: 30px;
    }

}

@media (max-width: 840px) and (max-height: 1200px) and (min-width: 800px) and (min-height: 1100px) {
    .tagline {
        margin-top: 10vh;
        margin-bottom: 45vh;
    }
}


@media (max-width: 1100px) and (max-height: 1370px) and (min-width: 1000px) and (min-height: 1300px) {
    .tagline {
        margin-top: 30vh;
        margin-bottom: 55vh;
    }
}

.nav-link.gs {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em 1em; /* Adjust padding as needed */
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap; /* Prevent wrapping */
}

.logo {
    font-size: 2em;
    line-height: 1.2;
    white-space: normal;
}

.nav-link {
    font-size: 135%;
}

