/*
Theme Name: Most Want Garage
Description: Custom WordPress theme for sport car modification website
Version: 1.0
Author: Your Name
*/

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Exo+2:wght@300;400;500;600;700;800&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rajdhani", "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #0a0a0a;
  font-weight: 400;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.site-logo {
  font-family: "Orbitron", monospace;
  font-size: 28px;
  font-weight: 900;
  color: #ff6b35;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.site-logo:hover {
  color: #ff8c5a;
  text-decoration: none;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-navigation a {
  font-family: "Exo 2", sans-serif;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
}

.main-navigation a:hover {
  color: #ff6b35;
  text-decoration: none;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #ff6b35;
  transition: all 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
  left: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-navigation.active {
    transform: translateX(0);
  }

  .main-navigation ul {
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
  }

  .main-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-navigation a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .main-navigation a:hover {
    background-color: rgba(255, 107, 53, 0.1);
    padding-left: 30px;
  }

  .main-navigation a::after {
    display: none;
  }
}

/* Hero Section with Slideshow */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Slideshow Container */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: "Orbitron", monospace;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
}

.hero-subtitle {
  font-family: "Exo 2", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #ff6b35;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-description {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Modern Slideshow Indicators */
.slideshow-indicators {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 4;
}

.indicator-line {
  position: relative;
  width: 60px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

.indicator-line:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.indicator-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b35, #ff8c5a);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.indicator-line.active .indicator-progress {
  width: 100%;
}

.indicator-number {
  font-family: "Orbitron", monospace;
  position: absolute;
  right: -35px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.indicator-line.active .indicator-number {
  color: #ff6b35;
  transform: translateY(-50%) scale(1.1);
}

.indicator-line:hover .indicator-number {
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: "Exo 2", sans-serif;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background-color: #ff6b35;
  color: #fff;
  border: 2px solid #ff6b35;
}

.btn-primary:hover {
  background-color: transparent;
  color: #ff6b35;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #0a0a0a;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Content Area */
.content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.entry-header {
  margin-bottom: 20px;
}

.entry-title {
  font-family: "Orbitron", monospace;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.entry-content {
  font-family: "Rajdhani", sans-serif;
  color: #ccc;
  line-height: 1.8;
  font-size: 1.1rem;
  font-weight: 400;
}

/* Footer Styles */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
  font-family: "Orbitron", monospace;
  color: #ff6b35;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section li {
  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  font-family: "Rajdhani", sans-serif;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-section a:hover {
  color: #ff6b35;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Header Mobile Styles */
  .header-container {
    height: 70px;
    padding: 0 15px;
  }

  .site-logo {
    font-size: 22px;
    letter-spacing: 2px;
  }

  /* Hero Section Mobile Styles */
  .hero-section {
    height: 100vh;
    min-height: 600px;
  }

  .hero-content {
    padding: 0 15px;
    max-width: 90%;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 100%;
  }

  /* CTA Buttons Mobile */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn {
    width: 280px;
    text-align: center;
    font-size: 13px;
    padding: 12px 25px;
    letter-spacing: 1px;
  }

  /* Modern Indicators Mobile */
  .slideshow-indicators {
    bottom: 25px;
    right: 15px;
    gap: 10px;
  }

  .indicator-line {
    width: 40px;
    height: 2px;
  }

  .indicator-number {
    right: -25px;
    font-size: 10px;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  .header-container {
    height: 65px;
    padding: 0 10px;
  }

  .site-logo {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .btn {
    width: 250px;
    font-size: 12px;
    padding: 10px 20px;
  }

  .slideshow-indicators {
    bottom: 20px;
    right: 10px;
    gap: 8px;
  }

  .indicator-line {
    width: 35px;
    height: 2px;
  }

  .indicator-number {
    right: -22px;
    font-size: 9px;
  }
}

/* Landscape Mobile Devices */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
    min-height: 500px;
  }

  .hero-content {
    transform: translateY(-10px);
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .cta-buttons {
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn {
    width: auto;
    min-width: 140px;
    font-size: 12px;
  }

  .slideshow-indicators {
    bottom: 15px;
    right: 15px;
  }

  /* Marketplace Buttons Styles */
  .marketplace-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
  }

  .marketplace-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 140px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Shopee Button */
  .shopee-btn {
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b35 100%);
    color: white;
    border-color: #ee4d2d;
  }

  .shopee-btn:hover {
    background: linear-gradient(135deg, #d63916 0%, #e55a2b 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 77, 45, 0.4);
    color: white;
    text-decoration: none;
  }

  /* Tokopedia Button */
  .tokopedia-btn {
    background: linear-gradient(135deg, #03ac0e 0%, #42c442 100%);
    color: white;
    border-color: #03ac0e;
  }

  .tokopedia-btn:hover {
    background: linear-gradient(135deg, #029a0b 0%, #38a838 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 172, 14, 0.4);
    color: white;
    text-decoration: none;
  }

  /* Icon styling */
  .marketplace-btn i {
    font-size: 16px;
  }

  /* Style variations */

  /* Default style (for product cards) */
  .marketplace-style-default .marketplace-btn {
    padding: 8px 15px;
    font-size: 12px;
    min-width: 120px;
  }

  .marketplace-style-default .marketplace-btn i {
    font-size: 14px;
  }

  /* Single product page style */
  .marketplace-style-single-product .marketplace-btn {
    padding: 15px 25px;
    font-size: 16px;
    min-width: 160px;
  }

  .marketplace-style-single-product .marketplace-btn i {
    font-size: 18px;
  }

  /* Compact style */
  .marketplace-style-compact {
    gap: 8px;
  }

  .marketplace-style-compact .marketplace-btn {
    padding: 6px 12px;
    font-size: 11px;
    min-width: 100px;
  }

  .marketplace-style-compact .marketplace-btn i {
    font-size: 12px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .marketplace-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .marketplace-btn {
      width: 100%;
      justify-content: center;
    }
  }

  /* Loading state */
  .marketplace-btn.loading {
    pointer-events: none;
    opacity: 0.7;
  }

  .marketplace-btn.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* Dark theme compatibility */
  .dark-theme .marketplace-btn {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  /* Admin page marketplace links preview */
  .mw-marketplace-preview {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .mw-marketplace-preview h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
  }

  .mw-marketplace-preview .marketplace-buttons {
    margin: 0;
  }
}
