/* Variables */
:root {
  --primary-color: #6f4e37;
  --secondary-color: #c7a17a;
  --background-light: #f5e6d3;
  --background-dark: #2c1810;
  --text-light: #333;
  --text-dark: #fff;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Cooper Black', serif;
  background-color: var(--background-light);
  color: var(--text-light);
  transition: all 0.3s ease;
  min-height: 100vh;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}

/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-light);
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s;
}
.logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.logo img {
  width: 60px;            /* Adjust the coffee cup icon size */
  margin-right: 10px;
}

.logo h1 {
  font-size: 3rem;        /* Increase logo text size */
  margin: 0;
  color: var(--primary-color);
}

.spotify iframe {
  border-radius: 15px;    /* Round the edges of the Spotify container */
  overflow: hidden;
}
.coffee-cup {
  width: 100px;
  height: 100px;
  border: 5px solid var(--primary-color);
  border-radius: 0 0 40px 40px;
  position: relative;
  animation: fill 2s infinite;
}
@keyframes fill {
  0%, 100% { box-shadow: inset 0 0 0 var(--primary-color); }
  50% { box-shadow: inset 0 -60px 0 var(--primary-color); }
}

/* Top Right Controls */
.top-right-icons {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1100;
}
.icon-button {
  background: var(--primary-color);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}
.icon-button:hover {
  background: var(--secondary-color);
}

/* Navigation */
.cafe-nav {
  margin: 80px 0 20px;
  text-align: center;
}
.cafe-nav ul {
  list-style: none;
  display: inline-flex;
  gap: 30px;
}
.cafe-nav li {
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.cafe-nav li:hover,
.cafe-nav li.active {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

/* Home Section */
.home-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.left-content {
  flex: 1;
  max-width: 500px;
}
.spotify {
  margin-top: 2rem;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}

/* Features */
.features {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.3s;
  cursor: pointer;
}
.feature-item:hover {
  background: rgba(111, 78, 55, 0.1);
}
.feature-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s;
}
.feature-item img:hover {
  transform: scale(1.1);
}
.feature-item p {
  margin-top: 8px;
  font-size: 1rem;
  color: var(--primary-color);
}
/* Volume Slider */
.volume-slider {
  width: 100%;
  margin-top: 10px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Section Headings */
.section-heading {
  text-align: center;
  font-size: 3rem;
  color: var(--primary-color);
  margin: 20px 0;
}

/* Menu Section */
.menu-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin: 4rem 0 2rem;
  position: relative;
}
.menu-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 4px;
  background: var(--secondary-color);
  margin: 1rem auto;
  border-radius: 2px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.menu-item {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.menu-item img {
  max-width: 80px; /* Reduced image size */
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}
.menu-item:hover img {
  transform: scale(1.1); /* Slight pop-out on hover */
  z-index: 10;
}

.menu-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.menu-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}
.menu-item:hover .menu-icon {
  transform: scale(1.2) rotate(8deg);
}
.menu-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}
.menu-item p {
  font-size: 1rem;
  color: #666;
  min-height: 60px;
}
.price {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Todo List */
/* Todo List Container */
/* Main Container - Now with more coffee vibes */
.todo-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 350px; /* Slightly narrower for better focus */
  max-width: 90%;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px;
  display: none;
  overflow: hidden;
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; /* More modern font stack */
  border: 1px solid #e0e0e0;
}

/* Header - Simpler style */
.todo-container h3 {
  color: #5c3a21; /* Coffee brown */
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Input Field - With placeholder styling */
.todo-container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  background: #f9f9f9;
}

.todo-container input::placeholder {
  color: #999;
  font-style: italic;
}

.todo-container input:focus {
  outline: none;
  border-color: #8d6e63; /* Coffee-ish focus color */
  box-shadow: 0 0 0 2px rgba(141, 110, 99, 0.2);
}

/* Add Button - Coffee-colored */
.todo-container > button {
  width: 100%;
  padding: 10px;
  background: #6d4c41; /* Coffee button */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

.todo-container > button:hover {
  background: #5d4037; /* Darker coffee */
}

/* Task List - Minimalist style */
.todo-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 50vh;
  overflow-y: auto;
}

/* Task Items - Clean cards */
.todo-container ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  margin: 6px 0;
  background: #f5f5f5;
  border-radius: 4px;
  border-left: 3px solid #8d6e63; /* Coffee accent */
  transition: all 0.2s;
}

.todo-container ul li:hover {
  background: #eeeeee;
}

/* Delete Button - Subtle style */
.todo-container ul li button {
  background: none;
  border: none;
  color: #d32f2f;
  cursor: pointer;
  padding: 2px 5px;
  margin-left: 8px;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.todo-container ul li button:hover {
  opacity: 1;
}

/* Dark Mode - Keeping your coffee theme */
.dark-mode .todo-container {
  background: #2B2118;
  border-color: #3a2e22;
  color: #E0D5C8;
}

.dark-mode .todo-container h3 {
  color: #C7A17A;
  border-color: #4A3F35;
}

.dark-mode .todo-container input {
  background: #3D3228;
  border-color: #4A3F35;
  color: #E0D5C8;
}

.dark-mode .todo-container input::placeholder {
  color: #A9927D;
}

.dark-mode .todo-container input:focus {
  border-color: #C7A17A;
  box-shadow: 0 0 0 2px rgba(199, 161, 122, 0.3);
}

.dark-mode .todo-container > button {
  background: #6F4E37;
}

.dark-mode .todo-container > button:hover {
  background: #5D4037;
}

.dark-mode .todo-container ul li {
  background: #3D3228;
  border-left-color: #6F4E37;
}

.dark-mode .todo-container ul li:hover {
  background: #483D32;
}

.dark-mode .todo-container ul li button {
  color: #C7A17A;
}
/* About Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: var(--background-light);
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  position: relative;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 2rem;
  cursor: pointer;
}

/* Footer */
.cafe-footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid #ccc;
}
.cafe-footer .social-links a {
  margin: 0 10px;
  color: var(--primary-color);
  transition: color 0.3s;
}
.cafe-footer .social-links a:hover {
  color: var(--secondary-color);
}

/* Dark Mode Styles */
.dark-mode {
  background-color: var(--background-dark);
  color: var(--text-dark);
}
.dark-mode .menu-item {
  background: rgba(50, 50, 50, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}
.dark-mode .menu-item p {
  color: #ccc;
}
.dark-mode .menu-item:hover {
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.05);
}
.dark-mode .spotify iframe {
  background-color: #444;
}
.dark-mode .modal-content {
  background: var(--background-dark);
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .home-content {
    flex-direction: column;
    align-items: center;
  }
  .left-content {
    max-width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
  }
  .menu-item {
    padding: 1.5rem;
  }
  .menu-icon {
    font-size: 2.5rem;
  }
}
@media (max-width: 480px) {
  .section-heading, .menu-title {
    font-size: 2rem;
  }
  .feature-item img {
    width: 90px;
    height: 90px;
  }
}

.cafe-footer .inspired-note {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--primary-color);
}

.cafe-footer .inspired-note a {
  color: var(--secondary-color);
  text-decoration: none;
}

.cafe-footer .inspired-note a:hover {
  text-decoration: underline;
}
.rights{
  margin-top: 10px;  
}
/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #f5e6d3;  /* Light background to match the theme */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #6f4e37, #c7a17a);  /* Gradient scrollbar */
  border-radius: 10px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #c7a17a, #6f4e37);  /* Invert colors on hover */
  transform: scale(1.1);
}

::-webkit-scrollbar-corner {
  background: #f5e6d3;
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #6f4e37 #f5e6d3;
}

/* Smooth Scrolling Effect */
html {
  scroll-behavior: smooth;
}

/* Chat Container */
.chat-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.chat-container.hidden {
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
}

/* Chat Toggle Button */
.chat-toggle {
  background: var(--primary-color) !important;
  border: none;
  border-radius: 50%;
  padding: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  background: var(--secondary-color) !important;
}

.chat-toggle img {
  width: 32px;
  height: 32px;
}

/* Chat Box */
.chat-box {
  display: none;
  width: 340px;
  background: var(--background-light);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(111, 78, 55, 0.15);
}

/* Chat Header */
.chat-header {
  background: var(--primary-color);
  color: white;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.chat-header h3 {
  margin: 0;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Close Button */
.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.close-chat:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

/* Chat Messages */
.chat-messages {
  height: 320px;
  padding: 18px;
  overflow-y: auto;
  background: rgba(255,255,255,0.92);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Message Bubbles */
.message {
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 85%;
  line-height: 1.4;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-message {
  background: var(--secondary-color);
  color: white;
  margin-left: auto;
  border-radius: 18px 18px 4px 18px;
}

.bot-message {
  background: rgba(111, 78, 55, 0.08);
  color: var(--text-light);
  margin-right: auto;
  border-radius: 18px 18px 18px 4px;
}

/* Chat Input */
.chat-input {
  display: flex;
  padding: 16px;
  gap: 12px;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.chat-input input {
  flex: 1;
  padding: 12px;
  border: 1px solid rgba(111, 78, 55, 0.2);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(111, 78, 55, 0.1);
}

/* Send Button */
.send-btn {
  background: var(--primary-color);
  border: none;
  border-radius: 12px;
  padding: 0 18px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.send-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

.send-btn i {
  font-size: 1.3rem;
}

/* Quick Questions */
.quick-questions {
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.quick-questions p {
  color: var(--primary-color);
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  margin: 4px;
  padding: 8px 14px;
  background: rgba(111, 78, 55, 0.05);
  border: 1px solid rgba(111, 78, 55, 0.15);
  border-radius: 20px;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.quick-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: transparent;
}

.quick-btn i {
  margin-right: 8px;
  font-size: 0.9rem;
}

/* Dark Mode Overrides */
.dark-mode .chat-box {
  background: var(--background-dark);
  border-color: rgba(255,255,255,0.1);
}

.dark-mode .chat-messages {
  background: rgba(77, 63, 63, 0.85) !important;
  color: var(--text-dark);
}

.dark-mode .bot-message {
  background: rgba(255,255,255,0.1) !important;
  color: var(--text-dark) !important;
}

.dark-mode .user-message {
  background: var(--secondary-color) !important;
}

.dark-mode .chat-input {
  background: rgba(50, 50, 50, 0.9);
  border-color: rgba(255,255,255,0.1);
}

.dark-mode .chat-input input {
  background: rgba(58, 42, 42, 0.05);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-dark);
}

.dark-mode .chat-input input:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
}

.dark-mode .quick-questions {
  background: rgba(50, 50, 50, 0.9);
  border-color: rgba(255,255,255,0.1);
}

.dark-mode .quick-btn {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: var(--text-dark);
}

.dark-mode .quick-btn:hover {
  background: var(--primary-color);
  color: var(--text-dark);
}

