@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Kaisei+Tokumin:wght@700&display=swap');

body {
    font-family: 'Kaisei Tokumin', 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff7f3;
    color: #2d1a1a;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-bottom: 3px solid #f7c5cc;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-btn {
    background: #f7c5cc;
    color: #b71c1c;
    border: 2px solid #e94f64;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.cart-btn:hover {
    background: #e94f64;
    color: #fff;
}
.logo {
    font-size: 2rem;
    font-family: 'Kaisei Tokumin', serif;
    font-weight: 700;
    color: #e94f64;
    letter-spacing: 2px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
nav a {
    text-decoration: none;
    color: #2d1a1a;
    font-weight: 500;
    font-family: 'Montserrat', Arial, sans-serif;
    transition: color 0.2s;
}
nav a:hover {
    color: #e94f64;
}
.login-btn {
    background: linear-gradient(90deg, #e94f64 60%, #f7c5cc 100%);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(233,79,100,0.08);
    transition: background 0.2s;
}
.login-btn:hover {
    background: #b71c1c;
}
.hero {
    background: url('sakura-hero-bg.jpg') center/cover no-repeat, linear-gradient(120deg, #f7c5cc 60%, #fff7f3 100%);
    color: #b71c1c;
    text-align: center;
    padding: 100px 20px 80px 20px;
    position: relative;
}
.hero h1 {
    font-size: 2.7rem;
    font-family: 'Kaisei Tokumin', serif;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.fact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.fact-btn {
    background: linear-gradient(135deg, #e94f64 0%, #f7c5cc 100%);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(233,79,100,0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}
.fact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233,79,100,0.4);
    background: linear-gradient(135deg, #b71c1c 0%, #e94f64 100%);
}
.fact-display {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 20px 30px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 2px solid #f7c5cc;
    transition: all 0.3s ease;
}
.fact-display p {
    margin: 0;
    font-size: 1.1rem;
    color: #2d1a1a;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
}
.fact-text {
    font-weight: 600;
    color: #b71c1c !important;
}
.fact-animate {
    animation: factFadeIn 0.5s ease-out;
}
@keyframes factFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.cta-btn {
    background: #e94f64;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(233,79,100,0.08);
    transition: background 0.2s, color 0.2s;
}
.cta-btn:hover {
    background: #b71c1c;
    color: #fff7f3;
}
.featured {
    padding: 60px 20px 40px 20px;
    background: #fff;
    text-align: center;
}
.featured h2 {
    font-family: 'Kaisei Tokumin', serif;
    color: #e94f64;
    font-size: 2rem;
    margin-bottom: 30px;
}
.restaurant-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.restaurant-card {
    background: #fff7f3;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(233,79,100,0.06);
    padding: 24px 18px;
    width: 220px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #f7c5cc;
    position: relative;
}
.restaurant-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 24px rgba(233,79,100,0.12);
    border-color: #e94f64;
}
.restaurant-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1.5px solid #f7c5cc;
}
.menu-highlights {
    padding: 60px 20px 40px 20px;
    background: #f7c5cc;
    text-align: center;
}
.menu-highlights h2 {
    font-family: 'Kaisei Tokumin', serif;
    color: #b71c1c;
    font-size: 2rem;
    margin-bottom: 30px;
}
.menu-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.menu-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(233,79,100,0.06);
    padding: 24px 18px;
    width: 220px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #f7c5cc;
    position: relative;
    display: flex;
    flex-direction: column;
}
.menu-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 24px rgba(233,79,100,0.12);
    border-color: #e94f64;
}
.menu-item img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1.5px solid #f7c5cc;
}
.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}
.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e94f64;
    font-family: 'Montserrat', Arial, sans-serif;
}
.add-to-cart-btn {
    background: #e94f64;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}
.add-to-cart-btn:hover {
    background: #b71c1c;
}
footer {
    background: #2d1a1a;
    color: #fff7f3;
    text-align: center;
    padding: 30px 10px 18px 10px;
    margin-top: 40px;
    border-top: 3px solid #f7c5cc;
}
.social-links a {
    color: #e94f64;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 500;
    font-family: 'Montserrat', Arial, sans-serif;
}
.social-links a:hover {
    color: #fff7f3;
}
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45, 26, 26, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal {
    background: #fff7f3;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(233,79,100,0.18);
    padding: 36px 32px 28px 32px;
    min-width: 320px;
    max-width: 90vw;
    position: relative;
    border: 2.5px solid #f7c5cc;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.close-modal {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #e94f64;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #b71c1c;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin-top: 18px;
}
.login-form label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #b71c1c;
    margin-bottom: 4px;
}
.login-form input[type="email"],
.login-form input[type="password"] {
    padding: 10px 12px;
    border: 1.5px solid #f7c5cc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    color: #2d1a1a;
    outline: none;
    transition: border 0.2s;
}
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    border-color: #e94f64;
}
.login-form .cta-btn {
    margin-top: 10px;
    width: 100%;
}
/* Restaurant Description Modal Styles */
#restaurant-modal .modal {
  width: 320px;
  max-width: 90vw;
  min-height: 220px;
  max-height: 90vh;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#restaurant-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
#restaurant-modal .modal h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.7rem;
  font-size: 1.3rem;
  text-align: center;
}
#restaurant-modal .modal p {
  font-size: 1rem;
  text-align: center;
  margin: 0;
}
#restaurant-modal.modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.18);
  z-index: 1000;
}
/* Cart Modal Styles */
.cart-modal {
    max-width: 500px;
    width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
}
.cart-items {
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f7c5cc;
    position: relative;
}
.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}
.cart-item-details {
    flex: 1;
}
.cart-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #2d1a1a;
}
.cart-item-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #e94f64;
    font-weight: 600;
}
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-item-quantity button {
    background: #f7c5cc;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    color: #b71c1c;
    transition: background 0.2s;
}
.cart-item-quantity button:hover {
    background: #e94f64;
    color: #fff;
}
.cart-item-quantity span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}
.remove-item {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #e94f64;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}
.remove-item:hover {
    background: #f7c5cc;
}
.cart-footer {
    border-top: 2px solid #f7c5cc;
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-total {
    font-size: 1.2rem;
    color: #2d1a1a;
}
.checkout-btn {
    padding: 10px 24px;
    font-size: 1rem;
}
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #e94f64;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@media (max-width: 900px) {
    .restaurant-list, .menu-list {
        flex-direction: column;
        align-items: center;
    }
    header {
        flex-direction: column;
        gap: 18px;
    }
}
@media (max-width: 500px) {
    .modal {
        padding: 18px 6vw 18px 6vw;
        min-width: unset;
    }
}
