/* thank you https://www.slayingthedragon.io/ */
/* thank you https://www.w3schools.com/ */
/* thank you https://www.youtube.com/@whosajid */
/* thank you https://www.youtube.com/@LogosByNick */
/* fuck you chatgpt and all other ai models */

/* === Root Variables === */
:root {
  /* DO NOT EDIT THIS PART */
  /* Greens */
  --green-one: #c6dec6;   /* mint-grey */
  --green-two: #96e18f;   /* green-light */
  --green-three: #099c5e;  /* green-mid */
  --green-four: #1A3300;   /* green-dark */
  --green-five: #0a2b21;   /* dark-turqoise */

  /* Pinks */
  --pink-one: #e6b2b7;    /* rose-quartz */
  --pink-two: #d68a9b;    /* dusty-rose */
  --pink-three: #f88379;   /* coral-pink */
  --pink-four: #f77fbe;  /* pink-fuschia */
  --red: #ff0000;      /* red /*

  /* Yellows & Orange */
  --yellow-one: #faf335;   /* yellow-max */
  --yellow-two: #fada5e;   /* yellow-dull */
  --yellow-three: #fdca40;  /* yellow-gold */
  --orange: #ff9900;     /* orange */

  /* Neutrals */
  --neutral-one: #fcf7e4;  /* old-lace */
  --neutral-two: #f2f8f2;  /* mint-off-white */
  --neutral-three: #f2e9e0; /* alabaster */
  --neutral-four: #2f3336;  /* dark-charcoal */
  --neutral-five: #202219;  /* black-rich */

  /* Blues & Browns */
  --blue-one: #6d8495;    /* slate-blue */
  --blue-two: #3488d9;    /* blue */
  --brown-one: #b6a798;   /* taupe-soft */
  --brown-two: #645434;   /* Umber */
  --brown-three: #483c32;  /* cocoa-dark */

  --none: transparent;
  /* END OF DO NOT EDIT */


  --background-primary: var(--neutral-four); 
  --background-secondary: var(--neutral-three);
  --background-tertiary: var(--green-five);
  --border: YOUR_COLOR_HERE;
  --border-subtle: YOUR_COLOR_HERE;



  --text-primary: var(--brown-three);
  --text-secondary: var(--neutral-two);
  --text-link: var(--pink-four);
  --text-link-hover: var(--green-two);
  --text-link-alt: var(--green-two);
  --text-link-alt-hover: var(--pink-four);


  --accent-primary: var(--green-three);
  --accent-secondary: var(--pink-four);
  --state-hover: rgba(150, 225, 143, 0.2);
  --state-active: var(--pink-four);
  --state-disabled: var(--blue-one);
  --focus-ring: var(--green-two);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

html {
  /* font-size: clamp(16px, 1.2vw, 18px); */
  font-size: 14px;
}

.google-icons {
  font-family: 'Material Symbols', sans-serif;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24; 
}

body {
  font-family: 'Poppins', sans-serif, system-ui;
  line-height: 1.5;
  min-height: 100vh;
  background-color: var(--background-primary);
  margin-top: 3em;
  color: var(--text-primary);
}


body {
    background-color: #313f2c;
    background: linear-gradient(180deg, rgba(49, 63, 32, 1) 0%, rgba(35, 54, 33, 1) 44%, rgba(22, 35, 18, 1) 88%, rgba(8, 24, 8, 1) 100%);
    color: white;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.background-wrapper {
  background: linear-gradient(180deg, rgba(49, 63, 32, 1) 0%, rgba(35, 54, 33, 1) 33%, rgba(22, 35, 18, 1) 66%, rgba(8, 24, 8, 1) 100%);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
}

.background-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://raw.githubusercontent.com/blossomera/blossomera-art/main/offset_bg.png');
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.4;
  z-index: -1;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* xs */
@media (min-width: 475px) {
  .container {
    max-width: 475px;
  }
}

/* sm */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

/* md */
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

/* lg */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

/* xl */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* 2xl (combined) */
@media (min-width: 1400px) {
  .container {
    max-width: 1440px;
  }
}

/* 3xl */
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

b, strong {
  color: var(--accent-secondary);
  font-weight: bolder;
}

h1, h2, h3 {
  color: var(--accent-primary);
}

h1 {
  font-family: 'UNAL Ancizar Serif', serif, system-ui;
  font-weight: 900;
  font-size: 3.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'UNAL Ancizar Serif', serif;
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-family: 'UNAL Ancizar Serif', serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h4 {
  font-family: 'UNAL Ancizar Serif', serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

h5 {
  font-family: 'UNAL Ancizar Serif', serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.35;
}

h6 {
  font-family: 'UNAL Ancizar Serif', serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

/* === HREF LINKS === */
a, a:visited {
  color: var(--green-light);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: var(--pink-dull);
  text-decoration: none;
}

a:active {
  color: var(--magenta);
}

a:focus {
  outline: 2px dashed var(--green-light);
  outline-offset: 2px;
}

.material-symbols-outlined {
  font-size: 3rem;
}



/* HEADER */

/* Base styles for the logo container, applied across all screen sizes */
.logo-container {
  padding-bottom: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  z-index: 200;
}

.logo-container img {
  height: 60px;
  transition: transform 0.2s ease-in;
  z-index: 200;
}

.logo-container a:hover img {
  transform: scale(1.1);
}

/* Hides medium and large logos by default, showing only the mobile version */
.logo-medium,
.logo-large {
  display: none;
}

.logo-mobile {
  display: block;
}


  .logo-large {
    display: block; /* Ensures the logo is visible */
    height: 40px; /* Gives the logo a specific height */
    width: auto; /* Maintains the logo's aspect ratio */
  }

  /* This rule is crucial to make sure the medium logo is not shown */
  .logo-medium {
    display: none;
  }

.mobile-menu-button,
.header-spacer {
  width: 60px;
}

/*
* ------------------------------
* Mobile Header Styles (Default)
* ------------------------------
*/

.desktop-nav {
  display: none;
}


.mobile-header {
  height: 60px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  color: white;
}

.mobile-menu-button {
  height: 60px;
  width: 60px;
  flex-shrink: 0;
  z-index: 300;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border-top-left-radius: 1rem;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* The `is-active` class is what gives the mobile button its white background and radius */
.mobile-menu-button.is-active {
  background-color: white;
  border-radius: 1em 1rem 0 0;}

.mobile-menu-button svg {
  max-width: 100%;
  height: auto;
}

/*
* ------------------------------
* Mobile Menu Dropdown
* ------------------------------
*/

.mobile-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  z-index: 200;
  background-color: white;
  color: #333;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  text-align: center;
  display: none;
  flex-direction: column;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* This class is toggled by JS to show the menu */
.mobile-menu.is-open {
  display: flex;
  animation: unveilMenu 0.3s ease-in forwards;
}

.mobile-menu a {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}

.mobile-menu a:hover {
  background-color: #f4f4f4;
}

.mobile-menu-divider {
  height: 1px;
  background-color: #eee;
  margin: 0.5rem 1.5rem;
}


/*
* ------------------------------
* Tablet Styles (min-width: 475px)
* ------------------------------
*/
@media (min-width: 475px) {
  .logo-mobile {
    display: none;
  }

  .logo-medium {
    display: block;
  }
}

/*
* ------------------------------
* Desktop Styles (min-width: 640px)
* ------------------------------
*/
@media (min-width: 640px) {
  /* Hides the mobile header */
  .mobile-header {
    display: none;
  }

  .desktop-nav {
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers the logo */
    width: 100%;
    min-height: 200px;
    /* Remove 'position: relative' here */
  }

  .logo-container {
    margin-bottom: auto; /* This pushes the nav bar to the bottom */
  }

  .desktop-links-group {
    display: flex;
    margin: 9 auto; 
  }

  /* This is a crucial fix to center the logo within its container */
  .logo-large {
    width: clamp(420px, 65vw, 600px);
    max-width: 100%;
    height: auto;
  }

/* This will prevent the dropdown content from stacking */
.desktop-dropdown-menu {
  display: flex;
  flex-direction: row;
}
.desktop-dropdown-columns {
  display: flex;
  flex-direction: row;
  gap: 20px;
}


  /* Individual navigation links */
  .desktop-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .desktop-nav a:hover {
    color: var(--orange);
  }

  .desktop-dropdown-toggle {
    width: 54px; /* Makes the button smaller */
    flex-shrink: 0;
    z-index: 200;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border-top-left-radius: 0.5rem; /* Makes the corner radius smaller */
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.3s ease;
  }

  /* This is the key part that styles the button when the menu is open */
  .desktop-dropdown-toggle.is-open {
    background-color: white;
    border-radius: 1rem 1rem 0 0;
    padding: 0;
    z-index: 1000;
  }

  /* This fixes the invisible icon by changing the SVG fill color. */
  .desktop-dropdown-toggle.is-open .open-icon,
  .desktop-dropdown-toggle.is-open .close-icon {
    fill: #000000;
  }

  /* Initially hide the close icon. */
  .desktop-dropdown-toggle .close-icon {
    display: none;
  }

  /* When the button is open, show the close icon and hide the open icon. */
  .desktop-dropdown-toggle.is-open .close-icon {
    display: block;
  }

  .desktop-dropdown-toggle.is-open .open-icon {
    display: none;
  }

  .desktop-nav .logo-container {
    padding: 0;
    margin: 0 auto;
    margin-bottom: -1rem;
    flex-grow: 1;
  }

  .desktop-nav .logo-container a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .desktop-nav .logo-container img {
    height: auto;
    max-width: 100%;
  }

  .desktop-nav > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .desktop-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
  }

  .desktop-nav a:hover {
    color: var(--orange);
  }

  .desktop-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* This is the key change to push the links to the right */
  }


  .desktop-dropdown-container {
    position: relative;
  }

.desktop-dropdown-menu {
    border-radius: 0 0 0 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    width: clamp(600px 90vw 100%);
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    display: none;
    flex-direction: column;
    z-index: 100;
    /* Add the animation properties to this section */
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    /* This is the key fix: set the animation pivot point to the top */
    transform-origin: top;
  }

  .desktop-dropdown-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }

  .column {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: clamp(8rem, 33vw, 10rem);
  }

  .column h3 {
    font-size: 1.2rem;
    font-family: poppins, sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: left;
  }

  .column a {
    color: #555;
    text-decoration: none;
    padding: 0.2rem 0;
  }

  .doodle-column {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ccc;
    text-align: center;
    color: #888;
  }

  .desktop-dropdown-menu.is-open {
    display: flex;
    animation: unveilMenu 0.3s ease-in forwards;
  }
}

/*
* ------------------------------
* Animations
* ------------------------------
*/

@keyframes unveilMenu {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes concealMenu {
  from {
    transform: scaleY(1);
    opacity: 1;
    height: auto; /* Animate from its full height */
  }
  to {
    transform: scaleY(0);
    opacity: 0;
    height: 0; /* Animate to zero height */
  }
}

/* === Footer === */
footer {
  background-color: var(--none);
  color: var(--text-secondary);
  padding: 1rem .5rem .5rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
  gap: 1em;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
  align-items: flex-start;
  text-align: left;
  flex-basis: auto;
  min-width: 320px;
  max-width: 420px;
}

.logo {
  min-width: 310px;
  max-width: 420px;
  width: clamp(310px, 50vw, 420px);
  background-image: url(/assets/footer-logo.svg);
  aspect-ratio: 67/16;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap; 
  gap: 0rem; 
  justify-content: center; 
  align-items: stretch; /* Stretch the divs to be the same height */
  width: 100%; 
  max-width: 100%; 
}

.footer-nav > div {
  min-width: 150px;
  max-width: 190px;
  flex-grow: 1; 
  text-align: left; 
  display: flex; /* Make the inner divs a flex container */
  flex-direction: column; /* Stack the content vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
}


.footer-nav strong {
  text-transform: uppercase;
}

.material-symbols-outlined {
  font-family: 'Material Symbols';
  font-size: inherit;
  color: inherit;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer li a {
  display: inline;
}

.footer-nav a {
  color: var(--text-link-alt);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--text-link-alt-hover);
}

.footer-right {
  display: flex;
  flex-grow: 1;
  width: 100%;
  max-width: 420px;
  align-items: flex-end;
  justify-content: flex-start;
  align-self: flex-end;
}

.footer-right img {
  min-width: 300px;
  max-width: 100%;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.footer-bottom {
  color: var(--text-secondary);
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: bold;
}

.footer-bottom a {
  color: var(--text-link-alt);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  color: var(--text-link);
}

.flag {
  display: inline-block;
  flex: 1;
  aspect-ratio: 14 / 9;
  border: .2rem solid white;
  width: 100%;
  max-width: 434px;
}

.flag.new-pride {
  background:
  linear-gradient(to bottom right, white 10%, #ffa6b9 0 20%, #00d2ff 0 30%, #753000 0 40%, black 0 50%, #0000 0),
  linear-gradient(red 16.66%, orange 0 33.33%, yellow 0 50%, green 0 66.66%, blue 0 83.33%, indigo 0)
}