* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Reset any potential overflow */
html,
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

.nav-wrapper,
.container,
.hero-content,
.gallery-grid,
.events-grid {
  width: 100%;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
}

.absolute-element,
.fixed-element {
  left: 0;
  right: 0;
}

:root {
  /* Main colours*/
  --pink-dark: #d83d7f;
  --pink-bright: #ff5da4;
  --pink-medium: #ffa8ce;
  --pink-light: #ffc0dc;
  --pink-lighter: #ffe8f4;
  --white: #ffffff;
  --gray-medium: #868686;
  --black: #000000;

  /* Button colours */
  --button-bg: #ff5da4; /* Vibrant Pink for default button background */
  --button-hover-bg: #d83d7f; /* Darker Pink on hover */
  --button-text: #ffffff; /* White text for contrast */
  --button-border: #ffa8ce; /* Medium Pink for border */
}

body {
  font-family: "Glacial Indifference", Arial, sans-serif;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 93, 164, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

/* Styles when image is loaded successfully */
.back-to-top.has-image {
  background: transparent;
}

.back-to-top-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Fallback styles when image fails to load */
.back-to-top.with-bg {
  background: #ff5da4;
}

.back-to-top-fallback {
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: none; /* Hidden by default */
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 93, 164, 0.4);
}

.back-to-top:hover .back-to-top-img {
  transform: scale(1.1);
}

.back-to-top.with-bg:hover {
  background: #ff7ab8;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .back-to-top-fallback {
    font-size: 20px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }

  .back-to-top:hover .back-to-top-img {
    transform: none;
  }
}
.fredoka {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.brittany {
  font-family: "Brittany Signature", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.glacial {
  font-family: "Glacial Indifference", sans-serif;
}

h1 {
  font-family: "Brittany Signature", sans-serif;
  font-weight: bolder;
  font-size: 5em;
  font-display: bold;

  text-align: center;
  color: #d83d7f;
}

h2 {
  font-family: "Fredoka";
  font-size: 5em;
  text-transform: uppercase;
}

h3 {
  font-family: "Fredoka", sans-serif;
  font-size: 4em;
}

h4 {
  font-family: "Fredoka", sans-serif;
  font-size: 2.5em;
}

h5 {
  font-family: "Fredoka", sans-serif;
  font-size: 1em;
}

h6 {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1em;
  text-transform: uppercase;
}

p {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 2rem;
}

/* ========== UPDATED NAVIGATION STYLES ========== */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
}

.awning-top {
  background-color: #ff5da4;
  height: clamp(10px, 4vw, 30px);
  width: 100%;
}

.awning {
  height: 1em;
  background-color: #ffe8f4;
  background-image: radial-gradient(
    circle at 17.5px -6px,
    #ff5da4 17.5px,
    #ffe8f4 18px
  );
  background-size: 35px 35px;
  background-repeat: repeat-x;
}

/* Main container for logo + navigation */
.nav-sticky {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #ffe8f4;
  box-shadow: 0 0.15em 0.2em rgba(0, 0, 0, 0.2);
  min-height: 100px; /* Ensure nav bar has enough height for overhang */
}

/* Logo container - positioned absolutely to overhang */
.nav-logo-wrapper {
  max-width: 100%;
  position: absolute;
  left: 2em;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  z-index: 200;
  pointer-events: auto; /* Ensure logo is clickable */
}

.nav-logo-circle {
  position: absolute;
  aspect-ratio: 1 / 1;
  background-color: #ffe8f4;
  border-radius: 50%;
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 149;
}

.nav-logo {
  max-width: 100%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  position: relative;
  z-index: 150;
}

.nav-logo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  position: relative;
  border-radius: 0;
}

/* Navigation bar - pushed right to account for logo space */
.nav-bar {
  flex: 1;
  margin-left: 200px; /* Push nav content right to avoid logo overlap */
  display: flex;
  justify-content: center;
  font-family: "Glacial Indifference", sans-serif;
  padding: 0.75em 0;
}

.nav-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.1em;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-bar a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 0.25em 1.2em;
  border-radius: 50px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.2em;
  white-space: nowrap;
}

.nav-bar a.active {
  background-color: #ff5da4;
  color: #000000;
  font-weight: bold;
}

.nav-bar a:hover {
  background-color: #ff5da4;
  color: #fff;
}

.learn_more {
  font-size: 2em;
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  padding: 0.5em 1.5em;
  border-radius: 8px;
  font-weight: 600;
  margin: 0em auto 0;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.learn_more:hover {
  background-color: #d83d7f;
  transform: translateY(-2px);
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
}

a:visited {
  color: inherit;
}

a:hover,
a:focus {
  text-decoration: none;
  color: inherit;
}

a:active {
  outline: none;
}

/*Footer Styling */
#contact {
  position: relative;
  background-color: #ac1b57;
  padding: 2em 1em 1em 1em;
  z-index: 1;
  margin-top: 1em;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/RepeatingBackground1.png") repeat;
  background-size: 20em 20em;
  opacity: 0.2;
  z-index: 2;
}

#contact * {
  position: relative;
  z-index: 3;
}

.footer-title {
  text-transform: none;
  font-family: "Brittany Signature", sans-serif;
  font-size: 2.5em;
  font-style: normal;
  color: #ffffff;
  margin-bottom: 0.2em;
  font-weight: 550;
  text-align: center;
}

.footer-map {
  text-align: center;
  font-size: 1.4em;
  padding: 1em 1em;
  margin: 0.1em auto;
  color: #ac1b57;
  background-color: #ffa8ce;
  border-radius: 1em; /* rounded corners for the box */
  max-width: 24em; /* keeps the footer from stretching too wide */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* soft shadow for depth */
}

.footer-map iframe {
  display: block;
  border: none;
  border-radius: 0.5em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 7em;
  width: 100%;
  max-width: 20em;
  margin: 0 auto 0.1em auto;
}

.footer-map h6 {
  padding-bottom: 0.2em;
}

.footer-social {
  text-align: center;
  font-size: 2.4em;
  color: #ffffff;
}

.footer-disclaimer {
  font-family: "Glacial Indifference", sans-serif;
  text-align: center;
  font-size: 0.9em;
  color: #ffffff;
  opacity: 0.9;
  margin: 0.5em 0;
  padding-bottom: 1em;
}

.footer-bottom {
  background-color: #ff5da4;
  padding: 1em 0;
  font-family: "Glacial Indifference", sans-serif;
  text-align: center;
  font-size: 0.9em;
  color: #ffffff;
  opacity: 0.9;
}

/* Container for two columns */
.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* stacks on mobile */
  gap: 2em; /* space between columns */
  max-width: 1200px;
  margin: 0 auto;
}

/* Left and right columns */
.footer-left,
.footer-right {
  flex: 1 1 300px; /* grow, shrink, base width */
}

/* Keep existing centering and styles inside each column */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

/* ========== UPDATED RESPONSIVE STYLES ========== */

/* Large Desktop (17"+) */
@media (min-width: 1441px) {
  h1 {
    font-size: 5.5em;
  }
  h2 {
    font-size: 5.5em;
  }
  .nav-bar {
    font-size: 1.3em;
  }
  .nav-logo-wrapper {
    width: 200px;
    height: 200px;
    left: 2.5em;
  }
  .nav-logo {
    position: absolute;
    top: 30%;
    left: -10%;
    width: 200px;
    height: 200px;
  }
  .nav-logo-circle {
    aspect-ratio: 1 / 1 !important;
    position: absolute;
    top: 25%;
    right: 10%;
    width: 300px;
  }
  .nav-logo img {
    width: 160px;
    height: 160px;
  }
  .nav-bar {
    margin-left: 220px;
  }
}

/* Standard Desktop (15"-16") */
@media (max-width: 1440px) and (min-width: 1025px) {
  h1 {
    font-size: 4.5em;
  }
  h2 {
    font-size: 4.5em;
  }
  .nav .nav-bar {
    font-size: 1.1em;
  }
  .nav-logo {
    position: absolute;
    top: 33%;
    left: -14%;
    width: 140px;
    height: 140px;
  }
  .nav-logo-wrapper {
    width: 160px;
    height: 160px;
    left: 1.5em;
  }
  .nav-logo-circle {
    position: absolute;
    left: -20%;
    top: 25%;
    width: 250px;
  }

  .nav-logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
  }
  .nav-bar {
    margin-left: 80px;
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) and (min-width: 769px) {
  h1 {
    font-size: 4em;
  }
  h2 {
    font-size: 4em;
  }
  h3 {
    font-size: 3.5em;
  }
  p {
    font-size: 1.8rem;
  }
  .nav-sticky {
    flex-direction: column;
    min-height: auto;
    padding-top: 100px;
  }
  .nav-logo-wrapper {
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
  }
  .nav-logo {
    position: absolute;
    top: -9%;
    left: -8%;
    width: 120px;
    height: 120px;
    display: cover;
  }
  .nav-logo-circle {
    display: none;
    width: 150px;
  }
  .nav-logo img {
    padding: 10px, 5px;
    width: 80px;
  }
  .nav-bar {
    margin-left: 0;
    width: 100%;
    padding: 0.5em 0;
  }
  .nav-bar ul {
    gap: 0.5em;
  }
}

/* Mobile */
@media (max-width: 768px) and (min-width: 481) {
  h1 {
    font-size: 3.5em;
  }
  h2 {
    font-size: 3em;
  }
  h3 {
    font-size: 2.5em;
  }
  h4 {
    font-size: 2em;
  }
  p {
    font-size: 1.6rem;
  }
  .nav-sticky {
    flex-direction: column;
    min-height: auto;
    padding-top: 70px; /* Make space for overhanging logo */
  }
  .nav-logo-wrapper {
    top: -40px; /* Pull logo up to overhang */
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
  }
  .nav-logo {
    position: absolute;
    top: 30%;
    left: 16%;
    width: 80px;
    height: 80px;
  }
  .nav-logo-circle {
    display: none;
    top: 60%;
    width: 90px;
  }
  .nav-logo img {
    width: 90px;
    height: 90px;
  }
  .nav-bar {
    margin-left: 0;
    width: 100%;
    padding: 0.5em 0;
    font-size: 1em;
  }
  .nav-bar ul {
    flex-wrap: wrap;
    gap: 0.5em;
  }
  .nav-bar a {
    padding: 0.2em 0.8em;
    font-size: 1em;
  }
  .footer-columns {
    flex-direction: column;
    gap: 1em;
  }
  .footer-map iframe {
    height: 200px;
  }
  .learn_more {
    font-size: 1.6em;
    padding: 0.4em 1.2em;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 2.5em;
  }
  h3 {
    font-size: 2em;
  }
  h4 {
    font-size: 1.8em;
  }
  p {
    font-size: 1.4rem;
  }
  .nav-sticky {
    padding-top: 60px;
  }
  .nav-logo-wrapper {
    top: -30px;
    width: 100px;
    height: 100px;
  }
  .nav-logo-circle {
    width: 120px;
  }
  .nav-logo img {
    width: 80px;
    height: 80px;
  }
  .nav-bar {
    font-size: 0.9em;
  }
  .nav-bar a {
    padding: 0.2em 0.6em;
    font-size: 0.9em;
  }
  .footer-title {
    font-size: 2em;
  }
  .footer-map {
    font-size: 1.2em;
    max-width: 90%;
  }
}
/* ======================
   BURGER MENU STYLES FROM MAIN.CSS
   ====================== */

/* Burger Button - Fixed */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #d83d7f;
  color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.burger.active span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  color: white;
}

.burger.active span:nth-child(2) {
  opacity: 0;
  color: white;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  color: white;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #ff5da4 0%, #d83d7f 100%);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  padding: 80px 25px 25px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-links li {
  margin: 0;
}

.mobile-nav-links a {
  display: block;
  color: white;
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1.2em;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.menu-overlay.active {
  display: block;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile Breakpoint */
@media (max-width: 850px) {
  .burger {
    display: flex;
  }

  /* Hide desktop navigation */
  .nav-bar > ul {
    display: none !important;
  }

  /* Ensure nav bar has proper layout */
  .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: relative;
    min-height: 60px;
  }
}
