/*
Theme Name: WeVol
Author: JAM CRM
Version: 1.0
*/

/* General */
:root {
  --dark-blue:#3F7EDA;
  --light-blue:#EBFAFB;
  --bright-blue:#81DEE4;
  --dark-grey:#505050;
  --white:#ffffff;
  --black:#000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

p {
  line-height:1.5em;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  color:var(--dark-blue);
}

.flex {
  display:flex;
}

.mobile {
  display:none;
}

.padding-bottom-2 {
  padding-bottom:2rem;
}

.padding-top-2 {
  padding-top:2rem;
}

.contain {
  width: min(95% - 2rem, 1200px);
  margin-inline: auto;
}

.center {
  text-align: center;
}

.center-content {
  margin:0 auto;
}

.light-blue-bg {
  background-color: var(--light-blue);
}

.button {
  text-decoration: none;
  display: inline-block;
  color: var(--white);
  font-size: 1.1rem;
  background-color: var(--dark-blue);
  border:2px solid var(--dark-blue);
  text-align: center;
  font-weight:600;
  padding:0.6rem 1.25rem;
  border-radius: 2rem;
}

.button:hover {
  color: var(--dark-blue);
  background-color: var(--light-blue);
}

.number {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 6rem;
  font-weight:600;
  padding-right:1rem;
  color:var(--dark-blue);
}

.squiggle {
  display:block;
  padding:0;
  width:5rem;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  padding:1rem 3rem;
}

.site-logo img {
  width:140px;
}

nav > ul {
  gap:2rem;
  list-style: none;
}

nav > ul a {
  text-decoration:none;
  color:#505050;
  font-weight:bold;
  font-size:1.2rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  background: #000;
  color: #fff;
  padding: 10px;
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color:var(--white);
  padding:2.5rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  gap:1.5rem;
}

.footer-nav {
  gap:2rem;
  justify-content: center;
  margin:0;
  padding:0;
}

.footer-nav li {
  list-style: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

footer a, footer p {
  text-decoration: none;
  color:var(--white);
  font-size:1.3rem;
  font-weight:700;
  font-family: 'Quicksand', sans-serif;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap:1rem;
}

.footer-social img {
  height:auto;
}

.footer-social p {
  align-self:center;
}

.fb-icon {
  height:26px;
  width:10px;
}

.insta-icon {
  height:26px;
  width:26px;
}

.footer-logo {
  width:140px;
  margin:0 auto;
  align-self: center;
}

.footer-copyright {
  text-align: center;
}

/* Front Page */
.hero {
  display: grid;
  position: relative;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  grid-area: 1 / 1;
}

.hero-image {
  opacity: 0;
  animation: heroFade 25s infinite;
}

.hero-image:nth-of-type(1) { animation-delay: 0s; }
.hero-image:nth-of-type(2) { animation-delay: 5s; }
.hero-image:nth-of-type(3) { animation-delay: 10s; }
.hero-image:nth-of-type(4) { animation-delay: 15s; }
.hero-image:nth-of-type(5) { animation-delay: 20s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero-title {
  grid-area: 1 / 1;
  place-self: center;
  transform: translateY(-22vh);
  color: var(--white);
  font-size: clamp(2rem, 5vw, 7.625rem);
  z-index: 1;
  font-family: 'Arial', sans-serif;
  font-weight:bold;
  letter-spacing: 0.3rem;
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
  margin:0 0.5rem;
}

.main-page-icons {
  background-color: #EBFAFB;
}

.main-page-icons-inner {
  max-width: 900px;
  flex-wrap: wrap;
  justify-content: center;
  gap:2rem;
  padding:3rem 0 3rem 0;
  margin:0 auto;
}

.main-page-icons a:hover {
  text-decoration: underline;
}

.page-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-page-icons p a {
  font-family: 'Quicksand', sans-serif;
  font-size:1.5rem;
  text-decoration: none;
  color: var(--dark-blue);
  font-weight:600;
  padding: 0.5rem 0 0 0;
  display: inline-block;
}

.main-page-icons img {
  width:180px;
}

/* Header */
.site-header {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
}

.desktop-nav a:hover {
  color: var(--dark-blue);
}

/* Desktop nav */
.desktop-nav ul {
	display: flex;
	gap: 30px;
	list-style: none;
}

/* Hide checkbox */
#menu-toggle {
	display: none;
}

.header__menu {
	display: none;
	flex-direction: column;
	cursor: pointer;
	z-index: 1002;
}

.header__menu span {
	width: 28px;
	height: 3px;
	background: var(--dark-blue);
	margin: 4px 0;
	border-radius: 2px;
	display: block;
	transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: var(--light-blue);
	color: var(--dark-grey);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	transform: translateY(-100%);
	transition: transform 0.4s ease;
	z-index: 1001;
}

/* Mobile header */
.mobile-menu__header {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Close button */
.mobile-menu__close {
	font-size: 28px;
	cursor: pointer;
}

/* Menu items */
.mobile-menu ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 25px;
  padding-left: 0;
  margin-left: 0;
}

.mobile-menu a {
	color: var(--dark-grey);
	text-decoration: none;
	font-size: 24px;
}

/* Show menu when checked */
#menu-toggle:checked ~ .mobile-menu {
	transform: translateY(0);
}

/* Animate hamburger → X */
#menu-toggle:checked + .header__menu span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .header__menu span:nth-child(2) {
	opacity: 0;
}

#menu-toggle:checked + .header__menu span:nth-child(3) {
	transform: rotate(-45deg) translate(11px, -11px);
}

body.menu-open {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

.site-logo--mobile img {
  width:220px;
  margin:0 auto;
}

/* Responsive */
@media (max-width: 960px) {

	.desktop-nav {
		display: none;
	}

	.header__menu {
		display: flex;
	}

  .mobile {
    display:block;
  }

  .desktop {
    display: none;
  }

  .footer-nav {
    flex-direction: column;
    align-self:center;
    text-align: center;
  }

}
@media (max-width: 460px) {

  .footer-nav {
    padding:0;
  }
}