/* ---- 1. DEFINE YOUR LOCAL FONTS ---- */
/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2');
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v30-latin-regular.woff2') format('woff2');
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v30-latin-700.woff2') format('woff2');
}


/* ---- 2. USE THE FONTS IN YOUR STYLES ---- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
    background-color: #1E849C; 
}

header {
    background-color: #007b83;
    color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dolphin-logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bob-logo {
    margin-left: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: white;
}

.menu-toggle {
    cursor: pointer;
    display: none;
    font-size: 24px;
    line-height: 1;
}

.menu-toggle-cb {
    display: none;
}

.menu-overlay {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #92fe9d;
    transition: width 0.3s ease-in-out;
}

nav a:hover::after, nav a:focus::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #92fe9d 20%, #00c9ff 100%);
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
    max-width: none;
}

h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

section {
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

section#product img {
    max-width: 250px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
    -webkit-mask-image: radial-gradient(circle, black 45%, transparent 65%);
    mask-image: radial-gradient(circle, black 45%, transparent 65%);
    transition: all 0.3s ease-in-out;
}

footer {
    background-color: #007b83;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #92fe9d;
    transition: width 0.3s ease-in-out;
}

footer a:hover::after {
    width: 100%;
}

@media (hover: hover) {
    .dolphin-logo:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 12px navy;
    }

    section#product img:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 768px) {
    .logo-container {
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    nav {
       display: none;
       width: 100%;
    }
    
    #menu-toggle-cb:checked ~ nav {
        display: block;
    }

    #menu-toggle-cb:checked ~ .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 998;
    }

    nav ul {
        flex-direction: column;
        background-color: #007b83;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        padding: 10px 0;
        z-index: 999;
    }

    nav ul li {
        text-align: center;
        width: 100%;
        padding: 10px 0;
    }
}

/* ---- Spacing Utility Class ---- */
.section-tight-top {
  padding-top: 10px;
}

/* ---- Subtle Glow Animation for Selling Point ---- */
@keyframes subtleGlow {
  0%, 100% {
    text-shadow: 0 0 4px #92fe9d;
  }
  50% {
    text-shadow: 0 0 12px #92fe9d, 0 0 16px #92fe9d;
  }
}
.highlight-text {
  font-weight: bold;
  color: #FFFFFF;
  animation: subtleGlow 3s ease-in-out infinite;
}

/* ---- CSS for the Ingredients Tooltip ---- */
.tooltip-container {
  position: relative;
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: help;
}
.tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #006066;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: normal;
  line-height: 1.4;
}
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #006066 transparent transparent transparent;
}
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ---- CSS Hamburger Icon Styles ---- */
.menu-toggle {
    width: 28px;
    height: 22px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    font-size: 0;
}
.menu-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #ffffff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.menu-toggle span:nth-child(1) {
    top: 0px;
}
.menu-toggle span:nth-child(2) {
    top: 9px;
}
.menu-toggle span:nth-child(3) {
    top: 18px;
}

/* ---- Announcement Banner Styles ---- */
.announcement-banner {
  background-color: #E2FFE3; /* A very light, accessible green */
  color: #0F4C5C; /* The dark teal from your theme for high contrast */
  text-align: center;
  padding: 12px 40px; /* Padding top/bottom and left/right */
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  font-size: 0.9em;
}

.announcement-banner p {
  margin: 0;
  padding: 0;
}

.announcement-banner .close-btn {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #0F4C5C;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.announcement-banner .close-btn:hover {
  opacity: 1;
}