/* ====== GLOBAL / RESET ====== */
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
   display: flex;
  flex-direction: column;

}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0; /* removes default top margin */
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}

/* ====== HEADER ====== */
header {
  width: 100%;
  background: #c8beff;
  border-bottom: 2px solid #8178c9;
  color: white;
  display: flex;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  min-height: 120px;
}

/* Top header: brand + nav */
.head-top {
  display: flex;
  justify-content: space-between;  
  align-items: flex-end;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  gap: 40px;                        /* default gap */
  flex-wrap: nowrap;
}

/* Brand section */
.brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
}

.brand h1, .brand h2 {
  margin: 0;
  color: #fff;
  white-space: nowrap;
}

.brand h1 { font-size: 2.5rem; }
.brand h2 { font-size: 1.5rem; }

/* Navigation */
.main-navigation {
  display: flex;
}

.main-navigation ul {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.main-navigation li { width: auto; }

.main-navigation a {
  display: inline-block;
  padding: 12px 20px;
  border: 2px solid #8178c9;
  border-radius: 3px;
  font-weight: bold;
  text-transform: uppercase;
  background: #fd82dc;
  color: azure;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus {
  background: #ff41c4;
  color: #fff;
}

/* ====== MAIN CONTENT ====== */
/* Full-background container */
.majority {
  position: relative;
  display: block;                /* let normal document flow stack header/buttons/gallery/footer */
  width: 100%;
  min-height: 100vh;             /* at least one viewport high but grows with content */
  padding: 30px 0 60px;          /* space above buttons and room before footer */
  background-image: url("../images/background.png");
  background-repeat: repeat;     /* tile instead of stretch */
  background-size: auto;         /* keep natural size so it doesn't blow up */
  background-position: top left;
  box-sizing: border-box;
}

.home-majority {
  display: flex;
  justify-content: center;  /* horizontal centering */
  align-items: center;      /* vertical centering */
  min-height: 100vh;        /* full viewport height */
  padding: 0;               /* remove extra top/bottom padding */
  box-sizing: border-box;
}

.home-majority .center-stage {
  width: 90%;
  max-width: 1000px;
  min-height: 100vh;              /* fills the viewport height */
  background-color: rgba(129, 120, 201, 0.85);
  padding: 40px 20px;             /* inner spacing */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;        /* vertical centering inside the box */
  align-items: center;            /* horizontal centering */
}


.highlight {
  color: #ffc5f0; /* text color */
  text-shadow:
     -1px -1px 0 #464667,
      1px -1px 0 #464667,
     -1px  1px 0 #464667,
      1px  1px 0 #464667;
}

.center-stage {
  width: 90%;           /* scales with screen width */
  max-width: 1000px;    /* caps at 1000px */
  height: 100%;         /* full height of parent section */
  background-color: rgb(129, 120, 201, .85); /* black with 40% opacity */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers text vertically inside overlay */
  align-items: center;     /* centers horizontally */
  padding: 40px 20px;      /* inner spacing */
  box-sizing: border-box;  /* ensures padding doesn’t overflow width */
    
}

.majority h3 {
  font-weight: normal;
  margin: 10px 0;
    font-size: 2.8rem;
   
}

/* Enter button */
.enter {
  margin-top: 30px;
}

.enter a {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  background: #fff;
  color: #464667;
  border: 2px solid #222;
  border-radius: 6px;
  transition: all 0.2s;
    text-transform: uppercase;
}

.enter a:hover {
  background: #464667;
  color: #fff;
}
/* ====== BIO PAGE ====== */
/* base card */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0px auto;
  background: #8178c9;   /* default color */
  color: #ffffff;
}

.bio-page {
  background: url("../images/background.png") no-repeat center center fixed;
  background-size: cover;   /* fills entire screen */
  min-height: 100vh;        /* at least full viewport height */
}

/* flip layout only (no color here) */
.about-section:nth-child(even) {
  flex-direction: row-reverse;
}
.bio-page main .about-section:nth-of-type(even) {
    flex-direction: row-reverse;
    background: #ebaaff;
        color: #464667;
;  /* optional, or keep transparent */
}


.about-text {
  flex: 1;
    line-height: 1.3;
    padding:50px;
    font-size: 1.2rem
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;

}

/* Make the entire box clickable */
.gallery-box {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Style the section to look like a button */
/* Make the entire box clickable */
.gallery-button {
  display: flex;                /* enables flex centering */
  justify-content: center;      /* horizontal centering */
  align-items: center;          /* vertical centering */
  
  width: 90%;                   /* scales with page width */
  max-width: 1000px;            /* caps width */
  height: 250px;                /* height of the button */
  
  margin: 0px auto;            /* centers on page with spacing above/below */
  background-color: #fd82dc;
  color: #ffffff;
  
  
  font-weight: bold;
  font-size: 2rem;
  text-transform: uppercase;
  text-decoration: none;        /* removes underline */
  
  transition: background 0.2s, transform 0.2s;
}
.about-section + .gallery-button,
.aftercare-section + .gallery-button {
  width: 100%;           /* spans the entire content box */
  max-width: 1000px;       /* remove previous 1000px cap */
  margin: 0 auto;             /* remove spacing above/below */
  padding: 20px 0;       /* inner height of button */
  font-size: 2rem;       /* desktop size */
    align-content: center;
    text-align:center;
}
/* Hover effect */
.gallery-button:hover {
  background-color: #ff41c4;
  color: #ffffff;
  transform: translateY(-2px);
  cursor: pointer;
}


/* ====== GALLERY ====== */
.gallery {
  display: grid;
  gap: 15px;                  /* space between images */
  max-width: 1000px;          /* caps content width */
  margin: 0 auto 60px auto;   /* center gallery and leave space for footer */
  padding: 0 12px;            /* breathing room on small screens */
  box-sizing: border-box;

  /* Responsive columns: 3 across, drop to 2 then 1 automatically */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery img {
  width: 100%;                /* fill grid column */
  height: auto;               /* maintain aspect ratio */
  display: block;
  border-radius: 6px;
}

/* Optional: control spacing of type-selection buttons on small screens */
.type-selection {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
  padding: 6px 10px;
  z-index: 2;
}

/* Individual filter buttons */
.type-selection button {
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid #8178c9;
  border-radius: 6px;
  background-color: #fd82dc;
  color: #fff;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
}

.type-selection button:hover {
  background-color: #ff41c4;
  transform: translateY(-2px);
}

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

.shop-hours {
  text-align: center;
}

.shop-hours hr {
  width:120px;
  margin: 10px auto;
  border: none;
  border-top: 2px solid #464667;
}
.map-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;

  border-radius: 6px;
  background-color: #fd82dc;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.map-button:hover {
  background-color: #ff41c4;
  transform: translateY(-2px);
}
.shop-hours a {
    text-decoration:none;
    color: #ffffff;
}
/* ====== AFTERCARE ====== */
/* base card */
.aftercare-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0px auto;
  background: #8178c9;   /* default color */
  color: #ffffff;
}


/* flip layout only (no color here) */
.aftercare-section:nth-child(even) {
  flex-direction: row-reverse;
}
.bio-page main .aftercare-section:nth-of-type(even) {
    flex-direction: row-reverse;
    background: #ebaaff;
        color: #464667;
;  /* optional, or keep transparent */
}


.aftercare-text {
  flex: 1;
    line-height: 1.3;
    padding:50px;
    font-size: 1.2rem;
text-align: center;
}

.aftercare-text h3{
    font-weight:bold;
    font-size:1.35rem;
    text-decoration: underline;
}

.aftercare-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.aftercare-image img {
  max-width: 100%;

}




/* ====== FOOTER ====== */
.footer {
  padding: 40px 20px;
  background: #8178c9;
  text-align: center;
  color: #464667;
}

/* Social icons in a row */
#social-bar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex;
  justify-content: center;
  gap: 50px;
}

#social-bar img {
  width: 70px;
  height: auto;
  transition: transform 0.2s;
}

#social-bar img:hover {
  transform: scale(1.1);
}

/* Footer text */
.footer p {
  margin: 10px 0;
text-decoration: none;
}
.footer a {
    text-decoration:none;
    color: #464667;   
}

.footer hr {
  width:120px;
  margin: 10px auto;
  border: none;
  border-top: 2px solid #8dc0cc;
}














/* ================== FULL MEDIA QUERIES REVAMP ================== */

/* ----------------- INTERMEDIATE SHRINK (row layout) ----------------- */
@media (max-width: 1200px) {
  .head-top { gap: 40px; }
}

@media (max-width: 1000px) {
  .head-top { gap: 30px; }
}

@media (max-width: 900px) {
  .head-top { gap: 20px; }
}

/* ----------------- EARLY STACK / COLLISION ----------------- */
@media (max-width: 950px) {
  header {
    min-height: auto;
    padding: 20px 0;
  }

  .head-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    width: 90%;
    max-width: 550px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .main-navigation {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .main-navigation li { width: 100%; }

  .main-navigation a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    padding: 10px 5px;
    font-size: 0.9rem;
  }
}

/* ----------------- TABLET / FURTHER STACK ----------------- */
@media (max-width: 768px) {
  .head-top { gap: 12px; padding: 0 5px; }
  .main-navigation a { padding: 8px 0; font-size: 0.85rem; }

  /* Stack bio/aftercare sections vertically */
  .about-section,
  .aftercare-section {
    flex-direction: column !important;
    gap: 0;
    margin-bottom: 0;
  }

  .about-text,
  .aftercare-text {
    width: 100%;
    margin: 0 15px;      /* horizontal breathing room */
    padding: 0;
  }

  .about-image,
  .aftercare-image {
    width: auto;
    max-width: 100%;
    flex: none;           /* prevents shrinking */
    margin: 0 auto;
    padding: 0;
  }

  .about-text p,
  .aftercare-text p { margin-bottom: 10px; }

  /* Force flush bottom spacing */
  .about-section:last-child .about-image,
  .aftercare-section:last-child .aftercare-image { margin-bottom: 0; }

  /* Full-width “See Gallery” button adjustments */
  .about-section + .gallery-button,
  .aftercare-section + .gallery-button {
    width: 100%;
    max-width: 1000px;
    margin: 0px auto;
    padding: 18px 0;
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .aftercare-text { padding: 30px 20px; font-size: 1rem; }
  .shop-hours { font-size: 0.9rem; }
  .map-button { padding: 10px 20px; font-size: 1rem; }
  #social-bar ul { gap: 30px; }
  #social-bar img { width: 60px; }
  .footer p { font-size: 0.9rem; }
}

/* ----------------- SMALL SCREENS (PHONES) ----------------- */
@media (max-width: 480px) {
  header { padding: 15px 0; }
  .head-top { width: 95%; max-width: 100%; padding: 0 5px; gap: 10px; }
  .main-navigation ul { gap: 6px; }
  .main-navigation a { padding: 6px 0; font-size: 0.8rem; }

  .about-section,
  .aftercare-section {
    flex-direction: column !important;
    gap: 0;
    margin-bottom: 0;
  }

  .about-text,
  .aftercare-text {
    width: 100%;
    margin: 0 10px;      /* horizontal breathing room on phones */
    padding: 0;
  }

  .about-image,
  .aftercare-image {
    width: auto;
    max-width: 100%;
    flex: none;
    margin: 0 auto;
    padding: 0;
  }

  .about-text p,
  .aftercare-text p { margin-bottom: 8px; }

  /* Full-width “See Gallery” button adjustments for phones */
  .about-section + .gallery-button,
  .aftercare-section + .gallery-button {
    width: 100%;
    padding: 14px 0;
    font-size: 1.4rem;
  }

  .aftercare-text { padding: 20px 15px; font-size: 0.9rem; }
  .shop-hours { font-size: 0.8rem; }
  .map-button { padding: 8px 15px; font-size: 0.85rem; }
  .home-majority .center-stage { padding: 30px 15px; }
  #social-bar ul { gap: 20px; }
  #social-bar img { width: 50px; }
  .footer p { font-size: 0.8rem; }
}

/* ----------------- MAIN CONTENT ADJUSTMENTS ----------------- */
@media (max-width: 900px) {
  .majority h3 { font-size: 2.4rem; }
  .enter a { padding: 12px 35px; font-size: 1.2rem; }
  .gallery-button { font-size: 1.8rem; }
  .type-selection button { font-size: 0.9rem; padding: 8px 18px; }
}

@media (max-width: 768px) {
  .majority h3 { font-size: 2rem; }
  .enter a { padding: 10px 30px; font-size: 1.1rem; }
  .gallery-button { font-size: 1.6rem; }
  .type-selection button { font-size: 0.85rem; padding: 7px 15px; }
}

@media (max-width: 480px) {
  .majority h3 { font-size: 1.6rem; }
  .enter a { padding: 8px 25px; font-size: 1rem; }
  .gallery-button { font-size: 1.4rem; padding: 10px 15px; }
  .type-selection button { font-size: 0.8rem; padding: 6px 12px; }
}