/* Reset & Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Kanit', sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header & Navigation */ .header { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: fixed; top: 0; width: 100%; z-index: 1000; } .navbar { padding: 1rem 0; } .nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; } .nav-logo h2 { color: #8B4513; font-weight: 600; } .nav-logo i { margin-right: 10px; } .nav-menu { display: flex; list-style: none; gap: 2rem; } .nav-menu a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s ease; } .nav-menu a:hover { color: #8B4513; } .nav-cart { position: relative; } .cart-btn { background: #8B4513; color: white; border: none; padding: 10px 15px; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; position: relative; } .cart-btn:hover { background: #654321; transform: translateY(-2px); } .cart-count { position: absolute; top: -8px; right: -8px; background: #dc3545; color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; display: flex; align-items: center; justify-content: center; } .hamburger { display: none; flex-direction: column; cursor: pointer; } .hamburger span { width: 25px; height: 3px; background: #333; margin: 3px 0; transition: 0.3s; } /* Hero Section */ .hero { margin-top: 80px; padding: 4rem 2rem; background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%); color: white; display: flex; align-items: center; min-height: 60vh; } .hero-content { flex: 1; max-width: 600px; } .hero-content h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 700; } .hero-content p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; } .hero-buttons { display: flex; gap: 1rem; } .btn { padding: 12px 30px; border: none; border-radius: 50px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; text-align: center; } .btn-primary { background: #fff; color: #8B4513; } .btn-primary:hover { background: #f8f9fa; transform: translateY(-2px); } .btn-secondary { background: transparent; color: white; border: 2px solid white; } .btn-secondary:hover { background: white; color: #8B4513; } .btn-success { background: #28a745; color: white; } .btn-success:hover { background: #218838; } .hero-image { flex: 1; text-align: center; } .hero-image img { max-width: 100%; height: auto; border-radius: 20px; } /* Order Type Section */ .order-type { padding: 4rem 0; background: white; } .order-type h2 { text-align: center; margin-bottom: 3rem; color: #8B4513; font-size: 2.5rem; } .order-options { display: flex; justify-content: center; gap: 2rem; } .order-option { background: #f8f9fa; padding: 2rem; border-radius: 15px; text-align: center; cursor: pointer; transition: all 0.3s ease; border: 3px solid transparent; min-width: 200px; } .order-option:hover, .order-option.active { background: #8B4513; color: white; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3); } .order-option i { font-size: 3rem; margin-bottom: 1rem; } .order-option h3 { font-size: 1.5rem; margin-bottom: 0.5rem; } /* Menu Section */ .menu { padding: 4rem 0; background: #f8f9fa; } .menu h2 { text-align: center; margin-bottom: 3rem; color: #8B4513; font-size: 2.5rem; } .menu-categories { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; } .category-btn { background: white; color: #8B4513; border: 2px solid #8B4513; padding: 10px 20px; border-radius: 25px; cursor: pointer; transition: all 0.3s ease; font-weight: 500; } .category-btn:hover, .category-btn.active { background: #8B4513; color: white; } .menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .menu-item { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; } .menu-item:hover { transform: translateY(-5px); } .menu-item-image { height: 200px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; } .menu-item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .menu-item:hover .menu-item-image img { transform: scale(1.1); } .menu-item-image::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, transparent, rgba(139, 69, 19, 0.1)); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .menu-item:hover .menu-item-image::before { opacity: 1; } .menu-item-content { padding: 1.5rem; } .menu-item h3 { margin-bottom: 0.5rem; color: #333; } .menu-item p { color: #666; margin-bottom: 1rem; font-size: 0.9rem; } .menu-item-price { font-size: 1.5rem; font-weight: 600; color: #8B4513; margin-bottom: 1rem; } .menu-item-options { margin-bottom: 1rem; } .option-group { margin-bottom: 0.5rem; } .option-group label { font-size: 0.9rem; color: #666; margin-right: 1rem; } .option-group select { padding: 5px; border: 1px solid #ddd; border-radius: 5px; } .add-to-cart { width: 100%; background: #8B4513; color: white; border: none; padding: 12px; border-radius: 8px; font-weight: 500; cursor: pointer; transition: background 0.3s ease; } .add-to-cart:hover { background: #654321; } /* About Section */ .about { padding: 4rem 0; background: white; } .about h2 { text-align: center; margin-bottom: 3rem; color: #8B4513; font-size: 2.5rem; } .about-content { display: flex; align-items: center; gap: 3rem; } .about-text { flex: 1; } .about-text p { font-size: 1.1rem; margin-bottom: 2rem; color: #666; } .features { display: grid; gap: 2rem; } .feature { display: flex; align-items: flex-start; gap: 1rem; } .feature i { font-size: 2rem; color: #8B4513; margin-top: 0.5rem; } .feature h3 { margin-bottom: 0.5rem; color: #333; } .feature p { color: #666; margin: 0; } .about-image { flex: 1; } .about-image img { width: 100%; height: auto; border-radius: 15px; } /* Contact Section */ .contact { padding: 4rem 0; background: #f8f9fa; } .contact h2 { text-align: center; margin-bottom: 3rem; color: #8B4513; font-size: 2.5rem; } .contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; } .contact-info { display: flex; flex-direction: column; gap: 2rem; } .info-item { display: flex; align-items: flex-start; gap: 1rem; } .info-item i { font-size: 1.5rem; color: #8B4513; margin-top: 0.5rem; } .info-item h3 { margin-bottom: 0.5rem; color: #333; } .info-item p { color: #666; margin: 0; } .contact-map { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; } .contact-map:hover { transform: translateY(-2px); } .contact-map iframe { display: block; width: 100%; height: 373px; border: none; border-radius: 15px; } #map { position: relative; } .map-placeholder { height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e9ecef; color: #666; } .map-placeholder i { font-size: 3rem; margin-bottom: 1rem; } /* Modal Styles */ .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); } .modal-content { background-color: #fefefe; margin: 5% auto; border-radius: 15px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; animation: modalSlideIn 0.3s ease; } @keyframes modalSlideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .modal-header { padding: 1.5rem; border-bottom: 1px solid #dee2e6; display: flex; justify-content: space-between; align-items: center; } .modal-header h2 { color: #8B4513; margin: 0; } .close { font-size: 2rem; font-weight: bold; cursor: pointer; color: #aaa; } .close:hover { color: #000; } .modal-body { padding: 1.5rem; } .modal-footer { padding: 1.5rem; border-top: 1px solid #dee2e6; display: flex; justify-content: flex-end; gap: 1rem; } /* Cart Styles */ .cart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-bottom: 1px solid #dee2e6; } .cart-item:last-child { border-bottom: none; } .cart-item-image { width: 60px; height: 60px; background: #f8f9fa; border-radius: 8px; overflow: hidden; position: relative; flex-shrink: 0; } .cart-item-image img { width: 100%; height: 100%; object-fit: cover; } .cart-item-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #8B4513; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; } .cart-item-info { flex: 1; } .cart-item-info h4 { margin-bottom: 0.25rem; color: #333; } .cart-item-info p { font-size: 0.9rem; color: #666; margin: 0; } .cart-item-controls { display: flex; align-items: center; gap: 0.5rem; } .quantity-btn { background: #8B4513; color: white; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; } .quantity-btn:hover { background: #654321; } .quantity { min-width: 40px; text-align: center; font-weight: 500; } .remove-btn { background: #dc3545; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 0.8rem; } .remove-btn:hover { background: #c82333; } .cart-summary { border-top: 2px solid #dee2e6; padding-top: 1rem; margin-top: 1rem; } .summary-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; } .summary-row.total { font-size: 1.2rem; font-weight: 600; color: #8B4513; border-top: 1px solid #dee2e6; padding-top: 0.5rem; margin-top: 1rem; } /* Form Styles */ .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #333; } .form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; transition: border-color 0.3s ease; } .form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #8B4513; } /* Order Summary */ .order-summary { background: #f8f9fa; padding: 1.5rem; border-radius: 10px; margin-top: 1.5rem; } .order-summary h3 { color: #8B4513; margin-bottom: 1rem; } .checkout-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid #dee2e6; } .checkout-item:last-child { border-bottom: none; } .checkout-total { text-align: right; margin-top: 1rem; padding-top: 1rem; border-top: 2px solid #8B4513; font-size: 1.2rem; color: #8B4513; } /* Payment Styles */ .qr-code { margin: 2rem 0; } .qr-placeholder { width: 200px; height: 200px; margin: 0 auto; background: #f8f9fa; border: 2px dashed #8B4513; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #8B4513; } .qr-placeholder i { font-size: 4rem; margin-bottom: 1rem; } .amount { font-size: 1.2rem; font-weight: 600; color: #8B4513; margin-top: 1rem; } .payment-status { margin-top: 1rem; color: #666; } .text-center { text-align: center; } /* Footer */ .footer { background: #333; color: white; padding: 3rem 0 1rem; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .footer-section h3, .footer-section h4 { margin-bottom: 1rem; color: #8B4513; } .footer-section ul { list-style: none; } .footer-section ul li { margin-bottom: 0.5rem; } .footer-section ul li a { color: #ccc; text-decoration: none; transition: color 0.3s ease; } .footer-section ul li a:hover { color: #8B4513; } .social-links { display: flex; gap: 1rem; margin-top: 1rem; } .social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #8B4513; color: white; border-radius: 50%; text-decoration: none; transition: transform 0.3s ease; } .social-links a:hover { transform: translateY(-3px); } .footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #555; color: #ccc; } /* Responsive Design */ @media (max-width: 768px) { .hamburger { display: flex; } .nav-menu { display: none; } .hero { flex-direction: column; text-align: center; } .hero-content h1 { font-size: 2rem; } .hero-buttons { justify-content: center; } .order-options { flex-direction: column; align-items: center; } .menu-grid { grid-template-columns: 1fr; } .about-content { flex-direction: column; } .contact-content { grid-template-columns: 1fr; } .modal-content { margin: 10% auto; width: 95%; } .footer-content { grid-template-columns: 1fr; text-align: center; } } @media (max-width: 480px) { .container { padding: 0 15px; } .hero { padding: 2rem 1rem; } .hero-content h1 { font-size: 1.8rem; } .hero-buttons { flex-direction: column; gap: 0.5rem; } .menu-categories { flex-direction: column; align-items: center; } .category-btn { width: 200px; } } /* Animation Classes */ .fade-in { animation: fadeIn 0.5s ease-in; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .bounce-in { animation: bounceIn 0.6s ease-out; } @keyframes bounceIn { 0% { transform: scale(0.3); opacity: 0; } 50% { transform: scale(1.05); } 70% { transform: scale(0.9); } 100% { transform: scale(1); opacity: 1; } } /* Scrollbar Styling */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #8B4513; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #654321; }