/* Base */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4e7c5;
  color: #2a1b0f;
  line-height: 1.6;
  transition: all 0.6s ease;
}

/* 🌙 Night (stout mode) */
body.night {
  background: #1a120b;
  color: #f5e6c8;
}

/* Hero */
.hero {
       background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 40%,
        #f8efd9 100%
    );
    color: #2a1b0f;
}

.hero-overlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff3d6;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  color: #2a1b0f; /* dark roast */
}

.hero::after {
    content: "";
    display: block;
    height: 24px;
    background: radial-gradient(circle at 10px 10px, #ffffff 6px, transparent 7px) repeat-x;
    background-size: 40px 20px;
    opacity: 0.6;
}

.tagline {
  opacity: 0.85;
   color: #6b4f2a; /* malt brown */
}

/* Cards */
main {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 40px 20px;
}
.card {
  background: #fff8e1;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Night card */
body.night .card {
  background: #2b1d0e;
}


/* Button */
button {
  background: #c47a2c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #a96522;
}

/* Links */
a {
  color: #b86b1b;
}

/* Foam */
.hero::after {
  content: "";
  display: block;
  height: 20px;
  background: repeating-radial-gradient(
    circle,
    #fff 0px,
    #fff 5px,
    transparent 6px
  );
  animation: foam 6s infinite linear;
}

@keyframes foam {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 0;
  }
}

/* Bubbles */
.bubble {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffffff55;
  border-radius: 50%;
  animation: rise 2s ease-out forwards;
}

@keyframes rise {
  to {
    transform: translateY(-120px);
    opacity: 0;
  }
}
.logo {
 width: 140px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
     filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
     filter: contrast(1.1) brightness(0.95);
}

/* subtle hover */
.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}