/* Base */
html {
  font-size: 16px; /* Base size for rem */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.125rem; /* slightly larger text */
  color: #000;
  line-height: 1.6;
}

h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 20px;
}

h4 { 
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
  font-weight: 700; /* Regular weight to avoid competition with H2 */
  font-size: 1.25rem; /* 20px (slightly larger than regular paragraph text) */
  color: #000; /* Subtle gray color, matching your paragraph style */
  line-height: 1.5; /* Ensures readability */
  margin-bottom: 0.75rem; /* Small space below H5 for separation */
  text-align: center;
}

h5 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", sans-serif;
  font-weight: 700; /* Regular weight to avoid competition with H2 */
  font-size: 1.25rem; /* 20px (slightly larger than regular paragraph text) */
  color: #000; /* Subtle gray color, matching your paragraph style */
  line-height: 1.5; /* Ensures readability */
  margin-bottom: 0.75rem; /* Small space below H5 for separation */
  text-align: center;
}

.creative-strategy-h5 {
  text-align: left;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 16px 40px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 60px;
  overflow: hidden;
}

.logo-img {
  height: auto;
  width: auto;
  max-height: 80px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  /* gap: 20px; */
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.5px;
  }

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.dropdown-menu {
  background-color: transparent;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../img/mostly-funny-fallback.webp') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.tagline {
  font-family: "Cherry Bomb One", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.5rem, 8vw, 3.5rem); 
  width: max-content;
  text-align: center;
  color: rgb(221, 218, 19);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: fadeInCenter 1.2s ease-out 0.4s forwards, bob 4.5s ease-in-out infinite;
  opacity: 0;
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%); 
  z-index: 10;
  white-space: nowrap; 
  overflow: visible;
}

.tagline-green {
  font-family: "Cherry Bomb One", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.8rem, 6vw, 3.1rem);
  max-width: 100%;
  width: 100%;
  color: #40F040;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  animation: fadeInCenter 1.2s ease-out 0.4s forwards, bob 4.5s ease-in-out infinite;
  opacity: 0;
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0) translateX(-50%) translateY(-50%);
  z-index: 10;
}



@keyframes fadeInCenter {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-18px);
  }
}


.cta-button {
  margin-top: auto;
  margin-bottom: 60px;
  background-color: #40F040;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  background-color: #28A428;
  transform: translateY(-2px);
}

.hidden {
  display: none;
}

.wave-divider {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0; /* removes white space below SVG */
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider.flip {
  transform: rotate(180deg);
}

/* .section-heading {
  background-color: #ffffff; 
  padding: 80px 20px 40px; 
  text-align: center;
}

.splash-heading {
  font-family: "Cherry Bomb One", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #23a4b6; /* Match your vibe or wave color 
  margin: 0;
} */

.splash-heading,
.tagline {
  font-size: 6vw;
  line-height: 1.1;
  white-space: nowrap;
}

.fix-gap-bottom {
  display: block;
  line-height: 0;
  margin-bottom: -1px;
}

.fix-gap-top {
  display: block;
  line-height: 0;
  margin-top: -1px;
}

.test {
  border: 1px solid red;
}

.blue-bg {
  background-color: #55afea;
} 

.services-section {
  padding: 40px 20px;
}

.service-box {
  padding: 15px 15px; /* Reduce vertical padding */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #111; /* Darker text for contrast */
  height: 100%;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-box h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin: 10px 0; /* Reduced margin between icon and title */
}

.service-box p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.125rem; /* slightly larger text */
  color: #000;
  line-height: 1.6;
  text-align: left;
  margin: 5px 0; /* Reduced margin between title and description */
}

.service-icon {
  width: 70px; /* Slightly smaller icon */
  height: auto;
  margin-bottom: 10px; /* Consistent spacing between icon and title */
}

.link-box {
  display:block;
  text-decoration: none;
  color: inherit;
}

.center-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} 

.frosted-box {
  background: rgba(255, 255, 255, 0.25); /* Frosted effect */
  border-radius: 16px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.25);
 /* backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%); */
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 2rem;
  transition: all 0.3s ease-in-out;
  color: #000;
  background-image: linear-gradient(255,255,255,0.3, rgba(255, 255, 255, 0.3));
  /*transform: translateZ(0);
  contain: paint; */
}

.equal {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 428px !important;
  width: auto;
} 

.equal-img{
  height: 100% !important;
  width: 100% !important;
  object-fit: contain;
  display: block;
  object-position: center;
}

.equal-img-landscape{
  height: 100% !important;
  width: 100% !important;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Section Title (Heading) Styling */
.brand-storytelling h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 20px;
  color: #000;
}

/* Paragraph Text inside Frosted Box */
.brand-storytelling .frosted-box p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.125rem; /* slightly larger text */
  color: #000;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Brochure Image Styling */
.brand-storytelling .frosted-box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.brand-storytelling ul li {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.125rem; /* slightly larger text */
  line-height: 1.6;
  margin-bottom: 0.5em;
  color: #000;
  text-align: left;
}

/* TV SAMPLES */

.video-box {
  /* padding: 2rem 2rem 1rem 2rem; */
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.video-box:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}


.video-box h5 {
/*  margin-top: 0; */
  margin-bottom: 0; 
  padding-bottom: 0;
  color: #000;
}

.video-box p {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.video-fix iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  box-sizing: border-box;
}

.btn-custom {
  background-color: #dc3545;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0.3rem;
  font-weight: bold;
  font-size: 1.25rem;
  transition: all 0.3s ease-in-out;
  text-decoration: none; /* removes underline */
}

.btn-custom:hover {
  background-color: #c82333;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
}

.emoji-ring {
  font-size: 100px; /* Make it big */
  text-align: center;
  animation: sparkle 2s ease-in-out 1;
}

.social-icon {
  width: 150px; /* Slightly smaller icon */
  height: auto;
  max-width: 150px;
  margin-bottom: 20px; /* Consistent spacing between icon and title */
}

.silly-news-logo {
  max-height: 70px;
  max-width: 100%;
  height: auto;
  width: auto;
  display: block;
}

.nudge {
  transform: translateX(-20px);
}

.silly-title {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
}


.article-image-square {
  height: auto;
  width: auto;
  margin: 0;
  padding: 0;
  display: block;
}
.article-image-img {
  display: block;
  max-width: 208px;
  max-height: 139px;
  margin: 0;
  object-fit: contain;
}

.article-image-square.portrait {
  height: 139px;
  width: 100%;
  margin: 0;
  padding: 0 10px;
  display: block;
}


/* Balloon and Mime image */
.article-image-img.portrait {
  width: auto;
  height: 100%;
  object-fit: contain; /* No cropping */
  margin: 0;
  padding: 0; /* breathing room above the button */
  display: block;
} 


.silly-soft-news {
  font-size: 0.9rem;
  color: #000;
  margin-top: 15px;
}

.article-subheading {
  font-weight: bold;
 /*  margin-top: 10px; */
}

.row.no-equal-height {
  align-items: flex-start !important;
}

/* BASE STATE — soft look on load */
.soft-news-article {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);  /* subtle base shadow */
  transition: all 0.3s ease;
  position: relative; /* stays in flow, needed for z-index on hover */
}

/* HOVER STATE — enhanced lift and glow */
.soft-news-article:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);  /* stronger hover shadow */
  z-index: 2;
}


.blue-pic {
  border-radius: 50%;
  max-width: 200px;
}

/* === RESUME SECTION CLEANUP (CLASS-BASED) === */
.resume-section {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
}

.resume-section .name {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #000;
}

.resume-section .contact {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.resume-section .contact span {
  display: inline-block;
  margin: 0 0.5rem;
}

.resume-section .line {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1rem 0;
  color: #000;
  font-size: 1.15rem;
}

.resume-section .headline {
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0000ff;
}

.resume-section .intro p {
  margin-bottom: 1rem;
}

.resume-section h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000;
}

.resume-section h2 + ul {
  margin-bottom: 1.5rem;
}

.resume-section .title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  color: #000;
}

.resume-section .subtitle {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #000;
}

.resume-section ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.resume-section ul li {
  margin-bottom: 0.5rem;
}

.resume-section .download-link {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.link {
  color: #0000ff;
  font-weight: bold;
}

.resume-section .download-link a {
  color: #0000ff;
  text-decoration: underline;
}

.resume-divider {
  border: none;
  border-top: 2px solid #111;
  margin: 2rem 0;
}

.resume-help {
  transform: translateZ(0);
  contain: paint;
}

.site-footer {
  position: relative;
  padding: 1.5rem;
  text-align: center;
  background-color: rgba(85, 175, 234, 0.7); /* muted gray with transparency */ 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #000; /* dark gray text */
  border-top: 1px solid rgba(150, 150, 150, 0.3);
  z-index: 10;
  border-radius: 0px;
}

.site-footer a {
  color: #444; /* slightly lighter gray for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #333; /* hover effect */
}

/* Responsive Styles for Tablets and Mobile */
@media screen and (min-width: 767px) and (max-width: 1399px) {
  .silly-news-title {
    font-size: 95% !important; 
  }

  .silly-news-subheading {
    font-size: 90% !important;
  }
  
  .frosted-box-iphone {
    max-height: 367px;
  }
}


@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 60px;
    right: 40px;
    /* padding: 20px; */
    gap: 10px;
    border-radius: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  /* ✅ Keep links transparent and white */
  .nav-links li a {
    color: white;
    background-color: transparent;
    /* padding: 0.5rem 1rem; */
    text-decoration: none;
    font-weight: 600;
  }

  .nav-links li a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Optional subtle hover */
  }

  .service-box {
    overflow: hidden;
  }

  .service-icon {
    margin: 0 auto 8px auto; /* Centered and spaced */
    width: 60px;
    height: auto;
  }

  .service-box h2 {
    font-size: 1.4rem;
    margin: 0 0 8px;
  }

  #brand-storytelling .row .col-md-6 {
    margin-bottom: 15px;
  }
}

/* Responsive adjustments */

@media (max-width: 400px) {
  .video-warning {
    width: 90%;
    line-height: 1.2;
  }
}

/* Tighten it up below 768px (tablets) */
@media (max-width: 768px) {


  .splash-heading.long {
    font-size: 5.5vw;
    line-height: 1.2;
  }

  html, body {
    overflow-x: hidden;
  }
}

@media screen and (max-width: 768px) {
  .soft-news-story {
    flex: 1 1 100%; /* Stacks articles in a single column on small screens */
  }

  .froggy {
    max-height: 70%; /* Reduce size on mobile */
  }
}

/* Responsive Design */
@media (max-width: 767px) {
  .soft-news-story {
    margin-bottom: 15px;
  }

  .image-and-button-row {
    flex-direction: column;
    align-items: flex-start;
  }


  .read-more-container {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .silly-news-logo {
    max-height: 30px;
  }
}

/* Mobile: turn off hover effects for better UX */
@media (max-width: 675px) {
  .soft-news-article:hover,
  .service-box:hover,
  .video-box:hover,
  .btn-custom:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Tighten it even more below 500px (phones) */
@media (max-width: 500px) {
  .splash-heading {
    font-size: 1.8rem;
  }    

  }

  @media (max-width: 390px) {
    .nav-links {
      gap: 0px !important;
    }   
    ul.dropdown-menu li a.dropdown-item {
      display: block;
      margin-bottom: 0 !important;
    }
  }


@media screen and (min-width: 320px) and (max-width: 899px) {
  .cta-button {
    margin-bottom: 6rem; /* pushes it up */
  }
  }

 


  
  
 