YANZ UPLOAD ANJG

/* Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header Styles */ .site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .header-content { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; } .logo img { height: 50px; } .main-nav ul { display: flex; list-style: none; gap: 2rem; } .main-nav a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s ease; } .main-nav a:hover, .main-nav a.active { color: #20b2aa; } .cart-icon { position: relative; cursor: pointer; padding: 10px; background: #20b2aa; color: white; border-radius: 50%; transition: background 0.3s ease; } .cart-icon:hover { background: #1a9a92; } .cart-count { position: absolute; top: -5px; right: -5px; background: #ff4757; color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; } /* Hero Section */ .hero-section { background: linear-gradient(135deg, #20b2aa 0%, #1a9a92 100%); color: white; padding: 120px 0 80px; text-align: center; } .hero-content h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 700; } .hero-content p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; } /* Services Section */ .services-section { padding: 80px 0; } .section-header { text-align: center; margin-bottom: 60px; } .section-header h2 { font-size: 2.5rem; color: #333; margin-bottom: 1rem; } .section-header p { font-size: 1.1rem; color: #666; max-width: 500px; margin: 0 auto; } .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; } .service-card { background: white; border-radius: 15px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 2px solid transparent; } .service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-color: #20b2aa; } .service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, #20b2aa, #1a9a92); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; } .service-icon i { font-size: 24px; color: white; } .service-content h3 { font-size: 1.5rem; color: #333; margin-bottom: 10px; } .service-price { font-size: 1.8rem; font-weight: bold; color: #20b2aa; margin-bottom: 15px; } .service-description { color: #666; margin-bottom: 25px; line-height: 1.6; } .add-to-cart-btn { background: linear-gradient(135deg, #20b2aa, #1a9a92); color: white; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; width: 100%; font-size: 1rem; } .add-to-cart-btn:hover { background: linear-gradient(135deg, #1a9a92, #158a82); transform: translateY(-2px); } .add-to-cart-btn:active { transform: translateY(0); } /* Cart Sidebar */ .cart-sidebar { position: fixed; top: 0; right: -400px; width: 400px; height: 100vh; background: white; box-shadow: -5px 0 20px rgba(0,0,0,0.1); transition: right 0.3s ease; z-index: 1001; display: flex; flex-direction: column; } .cart-sidebar.open { right: 0; } .cart-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #20b2aa; color: white; } .cart-header h3 { margin: 0; } .close-cart { background: none; border: none; color: white; font-size: 20px; cursor: pointer; } .cart-items { flex: 1; padding: 20px; overflow-y: auto; } .cart-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; } .cart-item:last-child { border-bottom: none; } .item-info h4 { margin: 0 0 5px 0; color: #333; } .item-price { color: #20b2aa; font-weight: bold; } .remove-item { background: #ff4757; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 12px; } .remove-item:hover { background: #ff3742; } .empty-cart { text-align: center; color: #666; font-style: italic; margin-top: 50px; } .cart-footer { padding: 20px; border-top: 1px solid #eee; background: #f8f9fa; } .cart-total { margin-bottom: 15px; font-size: 1.2rem; text-align: center; } .checkout-btn { width: 100%; background: linear-gradient(135deg, #20b2aa, #1a9a92); color: white; border: none; padding: 15px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; } .checkout-btn:hover:not(:disabled) { background: linear-gradient(135deg, #1a9a92, #158a82); } .checkout-btn:disabled { background: #ccc; cursor: not-allowed; } .cart-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .cart-overlay.active { opacity: 1; visibility: visible; } /* Checkout Modal */ .checkout-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 1002; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .checkout-modal.active { opacity: 1; visibility: visible; } .modal-content { background: white; border-radius: 15px; width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.2); } .modal-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #20b2aa; color: white; border-radius: 15px 15px 0 0; } .modal-header h3 { margin: 0; } .close-modal { background: none; border: none; color: white; font-size: 20px; cursor: pointer; } .modal-body { padding: 30px; } .checkout-summary { margin-bottom: 30px; } .checkout-summary h4 { margin-bottom: 15px; color: #333; } .checkout-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; } .checkout-total { margin-top: 15px; padding-top: 15px; border-top: 2px solid #20b2aa; font-size: 1.2rem; text-align: right; } .payment-options { margin-bottom: 30px; } .payment-options h4 { margin-bottom: 15px; color: #333; } .payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; } .payment-method { padding: 15px; border: 2px solid #eee; border-radius: 10px; text-align: center; cursor: pointer; transition: all 0.3s ease; } .payment-method:hover { border-color: #20b2aa; background: #f0fffe; } .payment-method.selected { border-color: #20b2aa; background: #20b2aa; color: white; } .payment-method i { font-size: 24px; margin-bottom: 10px; display: block; } .customer-details h4 { margin-bottom: 15px; color: #333; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: #333; } .form-group input, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 8px; font-size: 1rem; transition: border-color 0.3s ease; } .form-group input:focus, .form-group textarea:focus { outline: none; border-color: #20b2aa; } .modal-footer { padding: 20px; border-top: 1px solid #eee; background: #f8f9fa; border-radius: 0 0 15px 15px; } .complete-order-btn { width: 100%; background: linear-gradient(135deg, #20b2aa, #1a9a92); color: white; border: none; padding: 15px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; } .complete-order-btn:hover { background: linear-gradient(135deg, #1a9a92, #158a82); } .checkout-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.7); z-index: 1001; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .checkout-overlay.active { opacity: 1; visibility: visible; } /* Responsive Design */ @media (max-width: 768px) { .main-nav { display: none; } .hero-content h1 { font-size: 2rem; } .services-grid { grid-template-columns: 1fr; } .cart-sidebar { width: 100%; right: -100%; } .payment-methods { grid-template-columns: 1fr; } .modal-content { width: 95%; margin: 20px; } } /* Animation for added items */ @keyframes addToCart { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } .add-to-cart-btn.added { animation: addToCart 0.3s ease; background: #27ae60 !important; } .add-to-cart-btn.added:after { content: " ✓"; } /* Success message */ .success-message { position: fixed; top: 100px; right: 20px; background: #27ae60; color: white; padding: 15px 20px; border-radius: 8px; z-index: 1003; transform: translateX(400px); transition: transform 0.3s ease; } .success-message.show { transform: translateX(0); }