/* ========================================================
   Maranda Breese — Portfolio Site
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Unkempt:wght@400;700&display=swap');

:root {
  --pink: #FF9EBE;
  --orange: #FFB47F;
  --yellow: #FFE571;
  --ink: #201F1D;
  --gray: #9B9B9B;
  --gray-light: #E4E4E4;
  --white: #FFFFFF;
  --cream: #FFFDFB;
  --teal: #1F4E52;
  --max-width: 1440px;
  --side-pad: clamp(24px, 6vw, 100px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ---------- Header / Nav ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px var(--side-pad) 35px;
  position: relative;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Unkempt', cursive;
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-weight: 600;
  font-size: 1.05rem;
}

.main-nav a {
  padding: 6px 2px;
  transition: color .15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  text-decoration: underline var(--yellow) 3px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown > button:hover { text-decoration: underline var(--yellow) 3px;}

.nav-dropdown .caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform .15s ease;
}

.nav-dropdown.open .caret { transform: rotate(-135deg); margin-top: 2px; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 180px;
  background: var(--white);
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.nav-dropdown.open .dropdown-menu { display: flex; }

@media (min-width: 861px) {
  .nav-dropdown:hover .dropdown-menu { display: flex; }
  .nav-dropdown:hover .caret { transform: rotate(-135deg); margin-top: 2px; }
}

.dropdown-menu a {
  padding: 14px 20px;
  border: 2px solid var(--yellow);
  margin-top: -2px;
  color: var(--gray);
  font-weight: 600;
  text-align: center;
  background: var(--white);
}

.dropdown-menu a:first-child { margin-top: 0; }

.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--ink);
  background: var(--yellow);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Divider bars ---------- */

.bar {
  height: 14px;
  width: 100%;
}
.bar-pink { background: var(--pink); }
.bar-orange { background: var(--orange); }

.bar-right {
  margin-left: auto;
  width: 45%;
}
.bar-left {
  margin-right: auto;
  width: 45%;
}

/* ---------- Headline treatment ---------- */

.headline {
  font-family: 'Unkempt', cursive;
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.page-title {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  margin: 40px 0 50px;
}

.hero-title {
  font-size: 11em;
  margin: 30px 0 0;
}

.section.hero-section {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 4%;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  border: 2px solid var(--yellow);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 13px;
  transition: background .15s ease;
  background: var(--white);
}
.btn:hover { 
  background: var(--yellow); }

.link-header {
  margin:14px 0 18px; 
  font-size: 28px; 
  font-weight: 300;
}
/* ---------- Footer ---------- */

.site-footer {
  margin-top: 10px;
}

.footer-nav {
  padding: 60px var(--side-pad) 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-nav .primary-links {
  display: flex;
  gap: 60px;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-nav .sub-links {
  display: flex;
  gap: 60px;
  color: var(--gray);
  font-weight: 600;
}

.footer-nav .sub-links a:hover { text-decoration: underline var(--yellow) 3px;}
.footer-nav .primary-links a:hover { text-decoration: underline var(--yellow) 3px;}

.footer-bee {
  margin-top: 40px;
}

.footer-bee-img {
  height: 64px;
  width: auto;
  display: inline-block;
}

.bee-img {
  height: 100px;
  width: auto;
  display: inline-block;
}

.footer-copy {
  text-align: center;
  color: var(--gray);
  font-size: .85rem;
  padding: 6px 0 40px;
}
/* ---------- Video ---------- */

.video-decoration {
  height:4px; 
  width:50%; 
  background:var(--yellow);
}

.video-grid {
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:50px 40px;
}

#customervideos {
  grid-template-columns:1fr 1fr 1fr; 
}

/* ---------- Graphics Page ---------- */

.gallery-grid {
  display:grid; 
  grid-template-columns:repeat(5,1fr); 
  gap:36px;
}

.gallery {
  width:100%; 
  object-fit:cover; 
}

.gallery .pink {
  box-shadow:8px 8px 0 var(--pink);
}

.gallery .orange {
  box-shadow:8px 8px 0 var(--orange);
}

.gallery .yellow {
  box-shadow:8px 8px 0 var(--yellow);
}

.gallery img {
  cursor: pointer;
}

.img-modal {
  position: fixed;
  inset: 0;
  background: rgba(32, 31, 29, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px;
  z-index: 1000;
}

.img-modal.open {
  display: flex;
}

.img-modal img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  background-color: white;
}

.img-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Utility ---------- */

.section {
  padding: 60px 0;
}

.home-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.home-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.placeholder-photo {
  background: repeating-linear-gradient(45deg, #F4F4F4, #F4F4F4 10px, #ECECEC 10px, #ECECEC 20px);
  border: 2px dashed #C9C9C9;
  color: #9B9B9B;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  padding: 20px;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px var(--side-pad) 30px;
    gap: 18px;
    box-shadow: 0 12px 20px rgba(0,0,0,.06);
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    margin-top: 10px;
  }
  .nav-dropdown.open .dropdown-menu { display: flex; }
  .dropdown-menu a {
    border: none;
    margin-top: 0;
    padding: 10px 4px;
    text-align: center;
  }
  .footer-nav .primary-links,
  .footer-nav .sub-links { gap: 30px; flex-wrap: wrap; justify-content: center; }
  .video-grid { grid-template-columns: 1fr !important; }
  .home-row,
  .home-row-3 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .home-row .btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .home-row img {
    order: -1;
  }
  .section.hero-section {
    aspect-ratio: auto;
    padding: 40px 0;
  }
  .hero-title {
    font-size: clamp(2.5rem, 14vw, 4.5rem);
    margin-top: 16px;
  }
  .hero-content {
    margin-top: 0;
  }
  .about-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-hero img {
    order: -1;
  }
  .about-photos {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .thumb-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .gallery-grid {
    grid-template-columns:repeat(3,1fr); 
    gap:20px;
  }
}
