
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #FFEEEE;
  color: #333;
  line-height: 1.6;
  background-image: radial-gradient(#FFDDDD 15%, transparent 15%);
  background-size: 20px 20px;
}

header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(139, 0, 0, 0.2);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #FF0000, #8B0000, #FF0000) 1;
  animation: headerGlow 3s infinite alternate, borderColorChange 8s infinite;
}

.account-button {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 2px solid #B22222;
  border-radius: 50px;
  padding: 6px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.2);
}

.account-button:hover {
  background-color: #FFEEEE;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(178, 34, 34, 0.3);
}

.account-icon {
  font-size: 20px;
  color: #B22222;
  margin-right: 8px;
  animation: accountPulse 2s infinite alternate;
}

@keyframes accountPulse {
  0% {
    transform: scale(1);
    color: #8B0000;
  }
  100% {
    transform: scale(1.1);
    color: #FF0000;
  }
}

.account-button span {
  font-weight: 600;
  font-size: 14px;
  color: #B22222;
}

.greeting-popup {
  position: absolute;
  top: 120%;
  right: 0;
  width: 280px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(139, 0, 0, 0.3);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 1100;
  border: 2px solid #FF0000;
  pointer-events: none;
}

.greeting-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.greeting-content {
  text-align: center;
}

.greeting-icon {
  font-size: 32px;
  color: #B22222;
  margin-bottom: 15px;
  animation: greetingSteam 2s infinite;
}

@keyframes greetingSteam {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-5px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.greeting-popup h3 {
  color: #B22222;
  font-size: 22px;
  margin-bottom: 10px;
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.greeting-popup p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.4;
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  animation-delay: 0.1s;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.signin-btn, .register-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 5px;
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  animation-delay: 0.2s;
}

.signin-btn {
  background-color: #B22222;
  color: white;
}

.register-btn {
  background-color: white;
  color: #B22222;
  border: 1px solid #B22222;
}

.signin-btn:hover {
  background-color: #8B0000;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

.register-btn:hover {
  background-color: #FFEEEE;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.1);
}

@keyframes headerGlow {
  0% {
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.4);
  }
}

@keyframes borderColorChange {
  0% {
    border-image: linear-gradient(90deg, #FF0000, #8B0000, #FF0000) 1;
  }
  25% {
    border-image: linear-gradient(90deg, #8B0000, #FF0000, #8B0000) 1;
  }
  50% {
    border-image: linear-gradient(90deg, #FF0000, #8B0000, #FF0000) 1;
  }
  75% {
    border-image: linear-gradient(90deg, #8B0000, #FF0000, #8B0000) 1;
  }
  100% {
    border-image: linear-gradient(90deg, #FF0000, #8B0000, #FF0000) 1;
  }
}

.logo-container {
  display: flex;
  align-items: center;
}

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

.coffee-cup {
  margin-bottom: 5px;
}

.steam {
  opacity: 0;
  animation: steamAnimation 3s infinite;
  stroke-dasharray: 10;
  stroke-dashoffset: 20;
}

.steam-1 {
  animation-delay: 0.2s;
}

.steam-2 {
  animation-delay: 0.8s;
}

.steam-3 {
  animation-delay: 0.4s;
}

@keyframes steamAnimation {
  0% {
    opacity: 0;
    transform: translateY(0);
    stroke-dashoffset: 20;
  }
  30% {
    opacity: 0.8;
    stroke-dashoffset: 10;
  }
  70% {
    opacity: 0.5;
    transform: translateY(-5px);
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
    stroke-dashoffset: -10;
  }
}

/* Coffee cup animations */
.cup {
  transition: transform 0.3s ease;
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% {
    fill: #8B0000;
  }
  100% {
    fill: #FF0000;
  }
}

.coffee-cup svg {
  filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.2));
}

.handle {
  animation: handlePulse 2s infinite alternate;
}

@keyframes handlePulse {
  0% {
    stroke: #8B0000;
  }
  100% {
    stroke: #FF0000;
  }
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: #8B0000;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #8B0000, #FF0000, #8B0000);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 5s linear infinite;
}

.logo-sub {
  font-size: 14px;
  font-weight: 500;
  color: #FF0000;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #FF0000, #8B0000, #FF0000);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 5s linear infinite reverse;
}

@keyframes gradientText {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #B22222;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #FF0000;
}

.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-poster-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease, transform 1.5s ease;
  transform: scale(1.1);
}

.hero-poster.active {
  opacity: 1;
  transform: scale(1);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.poster-text {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 1s ease 0.5s;
}

.hero-poster.active .poster-text {
  transform: translateY(0);
  opacity: 1;
}

.poster-text h2 {
  font-size: 36px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: white;
}

.poster-text h2::after {
  display: none;
}

.poster-text p {
  font-size: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.poster-navigation {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 10;
}

.poster-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.poster-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.poster-dot.active {
  background-color: #FF0000;
  transform: scale(1.2);
}

.hero-content {
  color: #fff;
  max-width: 800px;
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: contentFadeIn 1s ease-out;
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  animation: fadeIn 1.5s ease-in;
}

.hero-content h1 span {
  color: #D2691E;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  background-color: #FF0000;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(139, 0, 0, 0.3);
  animation: buttonPulse 2s infinite alternate;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn:hover {
  background-color: #B22222;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(178, 34, 34, 0.4);
}

.btn:hover::before {
  left: 100%;
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.3);
  }
  100% {
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
  }
}

section {
  padding: 80px 10%;
}

.menu-section, .about-section, .contact-section {
  text-align: center;
}

h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #B22222;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #FF0000;
}

.menu-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
}

.menu-item {
  flex: 0 0 calc(33.33% - 30px);
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  border: 2px solid transparent;
  background: linear-gradient(90deg, #FF0000, #8B0000, #FF0000) border-box;
  -webkit-mask: 
    linear-gradient(#fff 0 0) padding-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  animation: borderColorChange 8s infinite;
}

.menu-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.menu-item:hover::before {
  opacity: 1;
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item h3 {
  font-size: 20px;
  margin: 15px 0 10px;
  color: #B22222;
}

.menu-item p {
  color: #666;
  padding: 0 15px 15px;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: #555;
}

.contact-info {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.animated-contact {
  margin: 0 15px;
  text-align: center;
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  border: 2px solid transparent;
}

.animated-contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 13px;
  border: 2px solid;
  border-image: linear-gradient(90deg, #FF0000, #8B0000, #FF0000) 1;
  opacity: 0;
  transition: opacity 0.4s;
  animation: borderColorChange 8s infinite;
  pointer-events: none;
}

.animated-contact:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.animated-contact:hover::after {
  opacity: 1;
}

.animated-contact::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,0,0,0.1) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s ease;
  z-index: 0;
}

.animated-contact:hover::before {
  opacity: 1;
  transform: scale(1);
}

.icon-container {
  margin-bottom: 15px;
  font-size: 30px;
  color: #FF0000;
  position: relative;
  z-index: 1;
}

.bounce-animation {
  animation: bounce 2s infinite;
}

.pulse-animation {
  animation: pulse-icon 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.address h3, .phone h3, .logo-contact h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #B22222;
  position: relative;
  z-index: 1;
}

.address p, .phone p, .logo-contact p {
  font-size: 16px;
  color: #555;
  position: relative;
  z-index: 1;
}

.city-text {
  font-style: italic;
  margin-top: 5px;
  font-size: 14px !important;
  color: #777 !important;
}

.contact-number {
  font-weight: 600;
  letter-spacing: 1px;
}

.coffee-cup-contact {
  margin-bottom: 15px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.contact-cup {
  animation: glowCup 2s infinite alternate;
}

.contact-handle {
  animation: glowHandle 2s infinite alternate;
}

.contact-steam-1, .contact-steam-2, .contact-steam-3 {
  animation: contactSteam 3s infinite;
  opacity: 0;
}

.contact-steam-1 {
  animation-delay: 0.2s;
}

.contact-steam-2 {
  animation-delay: 0.8s;
}

.contact-steam-3 {
  animation-delay: 0.4s;
}

@keyframes glowCup {
  0% {
    fill: #8B0000;
  }
  100% {
    fill: #FF0000;
  }
}

@keyframes glowHandle {
  0% {
    stroke: #8B0000;
  }
  100% {
    stroke: #FF0000;
  }
}

@keyframes contactSteam {
  0% {
    opacity: 0;
    transform: translateY(0);
    stroke-dashoffset: 20;
  }
  30% {
    opacity: 0.8;
    stroke-dashoffset: 10;
  }
  70% {
    opacity: 0.5;
    transform: translateY(-10px);
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    transform: translateY(-15px);
    stroke-dashoffset: -10;
  }
}

.map iframe {
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.map iframe:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
  transform: translateY(-5px);
}

footer {
  background-color: #262626;
  color: #fff;
  padding: 40px 10%;
  text-align: center;
}

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

.logo-footer {
  margin-bottom: 20px;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #FF0000;
}

.copyright p {
  font-size: 14px;
  color: #bbb;
}

/* Coffee bean floating particles */
.coffee-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.coffee-particle {
  position: absolute;
  width: 15px;
  height: 10px;
  background-color: #8B0000;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(45deg);
  animation: floatParticle 20s linear infinite;
  opacity: 0.1;
}

.coffee-particle::before {
  content: '';
  position: absolute;
  top: 35%;
  left: 35%;
  width: 30%;
  height: 30%;
  background-color: #FFF;
  border-radius: 50%;
  opacity: 0.8;
}

@keyframes floatParticle {
  0% {
    transform: rotate(45deg) translateY(0) rotate(0deg);
  }
  100% {
    transform: rotate(45deg) translateY(-100vh) rotate(360deg);
  }
}

/* Add red theme to section backgrounds */
.menu-section, .contact-section {
  background-color: rgba(255, 238, 238, 0.8);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
}

.about-section {
  background-color: rgba(255, 0, 0, 0.05);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px;
  }
  
  nav ul {
    margin-top: 15px;
  }
  
  nav ul li {
    margin-left: 15px;
  }
  
  .menu-item {
    flex: 0 0 100%;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  section {
    padding: 60px 5%;
  }
}
