/*
Theme Name: Rejeki Anak Baik
Theme URI: https://rejekianakbaik.co.id
Author: Rejeki Anak Baik
Author URI: https://rejekianakbaik.co.id
Description: Professional IT distributor website theme for Rejeki Anak Baik
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rejeki-anak-baik
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Navbar Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-box {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
}

.site-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  transition: color 0.3s;
}

.site-header.scrolled .site-name {
  color: #1f2937;
}

.main-navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.site-header.scrolled .main-navigation a {
  color: #1f2937;
}

.main-navigation a:hover {
  color: #dc2626;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #7f1d1d 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 2rem 2rem;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.4"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  color: white;
  animation: fadeIn 1s ease-out;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-number {
  font-size: 4.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-button {
  background: white;
  color: #991b1b;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-button:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.hero-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.circle-1 {
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(251, 207, 232, 0.3);
  filter: blur(3rem);
}

.circle-2 {
  bottom: 0;
  left: 0;
  width: 12rem;
  height: 12rem;
  background: rgba(248, 113, 113, 0.4);
  filter: blur(2rem);
  animation-delay: 1s;
}

.circle-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14rem;
  height: 14rem;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(3rem);
}

.it-solutions-box {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.it-solutions-box h2 {
  font-size: 3.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.it-solutions-box p {
  font-size: 1.5rem;
  color: white;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* About Section */
.about-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, white, #f9fafb);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.title-underline {
  height: 4px;
  width: 8rem;
  background: linear-gradient(to right, #dc2626, #991b1b);
  margin: 0 auto;
  border-radius: 9999px;
}

.about-card {
  max-width: 56rem;
  margin: 0 auto 4rem;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.about-card:hover {
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.about-card p {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.brand-highlight {
  font-weight: 600;
  color: #b91c1c;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transform: translateY(-8px);
}

.stat-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.75rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
  font-weight: 500;
}

/* Products Section */
.products-section {
  padding: 5rem 2rem;
  background: white;
}

.products-header {
  text-align: center;
  margin-bottom: 3rem;
}

.products-title-box {
  display: inline-block;
  background: linear-gradient(to right, #b91c1c, #7f1d1d);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.products-title-box h2 {
  color: white;
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
}

.products-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.tabs-wrapper {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.tab-button {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  color: #6b7280;
}

.tab-button.active {
  background: linear-gradient(to right, #dc2626, #991b1b);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s;
}

.product-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transform: translateY(-8px);
}

.product-image {
  height: 12rem;
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  height: 6rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-content {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.product-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, #f9fafb, white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.contact-details h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: #6b7280;
}

.why-choose-card {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.why-choose-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-choose-card ul {
  list-style: none;
  padding: 0;
}

.why-choose-card li {
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.why-choose-card li:before {
  content: "✓";
  margin-right: 0.5rem;
  font-weight: 700;
}

.contact-form-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  width: 100%;
  background: linear-gradient(to right, #dc2626, #991b1b);
  color: white;
  padding: 1.25rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.submit-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: white;
  padding: 3rem 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column ul {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero-graphic {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-number {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}