* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Verdana, Tahoma, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; color: #333; background-color: #fff; min-height: 100vh; } header { width: 100%; background-color: #02a2d8; } .header-image { width: 100%; background-color: #02a2d8; position: relative; display: flex; align-items: center; } .site-title { position: absolute; left: 150px; color: white; font-size: 2.5em; font-weight: bold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); margin: 0; } .header-image img { width: 100%; height: auto; max-height: 367px; object-fit: cover; } .main-nav { background-color: #000; padding: 0; } .main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; } .main-nav li { flex: 1; } .main-nav a { display: block; color: #d4d4d4; padding: 12px 20px; text-decoration: none; text-align: center; border-left: 1px solid #3c4042; border-right: 1px solid #3c4042; transition: all 0.3s ease; } .main-nav a:hover { color: #fff; background: #3c4042; } .announcement { background-color: #fff; padding: 5px 0; margin: 5px 0; } .container { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px; width: 100%; margin: 0; } .content { flex: 1; min-width: 300px; max-width: calc(100% - 320px); } .post { display: flex; gap: 20px; margin-bottom: 30px; padding: 15px; background: #fff; border: 1px solid #ddd; border-radius: 5px; } .post-image { width: 150px; height: 140px; object-fit: cover; border: 1px solid #ddd; } .post-content { flex: 1; } .post h2 { font-size: 20px; margin-bottom: 10px; color: #000; } .post h3 { font-size: 16px; margin-bottom: 10px; color: #333; } .detail-produk { display: block; margin: 10px auto; color: #02a2d8; text-decoration: none; text-align: center; font-size: 14px; } .detail-produk:hover { text-decoration: underline; } .product-detail { display: flex; gap: 30px; padding: 20px; background: #fff; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 30px; } .product-image { width: 400px; height: auto; object-fit: cover; border: 1px solid #ddd; border-radius: 5px; } .product-content { flex: 1; } .product-content h1 { font-size: 28px; margin-bottom: 15px; color: #2c3e50; } .product-specs, .product-description, .product-warranty { margin-bottom: 25px; } .product-specs h2, .product-description h2, .product-warranty h2 { font-size: 20px; color: #2c3e50; margin-bottom: 15px; } .product-specs ul, .product-description ul { list-style: none; padding-left: 20px; } .product-specs li, .product-description li { margin-bottom: 10px; position: relative; } .product-specs li:before, .product-description li:before { content: "•"; color: #02a2d8; font-weight: bold; position: absolute; left: -20px; } .back-button { display: inline-block; padding: 10px 20px; background-color: #02a2d8; color: white; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; } .back-button:hover { background-color: #0184b3; text-decoration: none; } .sidebar { width: 300px; min-width: 300px; } .widget { background: #fff; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 20px; padding: 15px; } .widget-title { background: #000; color: #fff; padding: 10px; margin: -15px -15px 15px -15px; border-radius: 5px 5px 0 0; text-align: center; font-size: 16px; } .ad-image { width: 100%; height: 300px; object-fit: cover; } .popular-posts { list-style: none; } .popular-posts li { border-bottom: 1px dotted #ccc; padding: 8px 0; } .popular-posts a { color: #333; text-decoration: none; display: block; padding: 5px 0; } .popular-posts a:hover { color: #02a2d8; } footer { background-color: #000; color: #fff; text-align: center; padding: 15px; margin-top: 20px; } @media (max-width: 768px) { .container { flex-direction: column; padding: 10px; } .content { max-width: 100%; } .sidebar { width: 100%; min-width: 100%; } .post { flex-direction: column; } .post-image { width: 100%; height: 200px; } .main-nav ul { flex-direction: column; } .main-nav li { border-bottom: 1px solid #3c4042; } .product-detail { flex-direction: column; } .product-image { width: 100%; height: auto; } } @media (max-width: 480px) { body { font-size: 14px; } .container { padding: 10px; } .post { padding: 10px; } } .price { font-size: 1.5em; font-weight: bold; color: #e74c3c; margin: 15px 0; } .page-title { text-align: center; margin-bottom: 30px; color: #2c3e50; } /* About Page Styles */ .about-content { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .about-section { margin-bottom: 2rem; } .about-section h2 { color: #333; margin-bottom: 1rem; font-size: 1.5rem; } .about-section ul { list-style-type: disc; margin-left: 1.5rem; } .about-section li { margin-bottom: 0.5rem; line-height: 1.6; } /* Contact Page Styles */ .contact-content { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .contact-info { margin-bottom: 2rem; } .contact-info ul { list-style: none; padding: 0; } .contact-info li { margin-bottom: 1rem; line-height: 1.6; } .contact-info a { color: #007bff; text-decoration: none; } .contact-info a:hover { text-decoration: underline; } .contact-form { margin-bottom: 2rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; color: #333; } .form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; } .form-group textarea { resize: vertical; } .submit-button { background-color: #007bff; color: white; padding: 0.75rem 1.5rem; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; transition: background-color 0.3s; } .submit-button:hover { background-color: #0056b3; } .business-hours { background-color: #f8f9fa; padding: 1.5rem; border-radius: 4px; } .business-hours ul { list-style: none; padding: 0; } .business-hours li { margin-bottom: 0.5rem; line-height: 1.6; } /* Responsive styles for About and Contact pages */ @media (max-width: 768px) { .about-content, .contact-content { padding: 1rem; } .form-group input, .form-group textarea { font-size: 16px; /* Prevents zoom on mobile */ } } /* Social Media Icons */ .social-links { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #eee; } .social-links h3 { margin-bottom: 1rem; color: #333; font-size: 1.2rem; } .social-icons { display: flex; gap: 1rem; flex-wrap: wrap; } .social-icon { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; border-radius: 50px; color: white; text-decoration: none; transition: transform 0.3s ease; background-color: #333; } .social-icon:hover { transform: translateY(-3px); } .social-img { width: 24px; height: 24px; object-fit: contain; } .social-icon span { font-weight: 500; } .social-icon.whatsapp { background-color: #25D366; } .social-icon.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); } .social-icon.github { background-color: #333; } @media (max-width: 768px) { .social-icons { flex-direction: column; } .social-icon { width: 100%; justify-content: center; } }