/*
Theme Name: Website Produk Online
Theme URI: https://aksesaja.com/
Author: Akses Aja
Author URI: https://aksesaja.com/
Description: Tema untuk produk online dengan desain modern, responsif, warna biru dan putih, mendukung fitur blog dan toko.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aksesaja
Tags: blog, toko, responsive, custom‑logo, featured‑image
*/

:root {
  --primary: #6c63ff;
  --secondary: #ff6584;
  --dark: #2a2a4a;
  --light: #f8f9fa;
  --success: #2ecc71;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f9f9ff;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.8rem;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  margin: 0 10px;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #554fd8;
  border-color: #554fd8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.hero-section {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.9), rgba(255, 101, 132, 0.8)),
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  padding: 150px 0 100px;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.section-title.center:after {
  left: 50%;
  transform: translateX(-50%);
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.product-body {
  padding: 20px;
}

.product-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.product-description {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.product-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.badge-trending {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-discount {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--success);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin: 15px 0;
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

/* Footer style updated to black background */
footer {
  background: #000000;
  color: white;
  padding: 60px 0 30px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: white;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  margin-right: 15px;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: var(--primary);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

.btn-outline-white {
    color: white;
    border-color: white;
}

.btn-outline-white:hover,
.btn-outline-white:focus {
    background-color: white;
    color: #007bff; /* atau warna teks saat hover sesuai keinginan */
    border-color: white;
}
