/* ============================================
   Homepage — Premium Conversion-Focused Design
   Inspired by NarisaraLookOil.asia professional layout
   ============================================ */

/* ============================================
   HERO SLIDER
   ============================================ */
.hp-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hp-hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hp-hero-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;
}

.hp-hero-slide.active {
  opacity: 1;
}

.hp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13,27,42,0.85) 0%, rgba(27,122,61,0.75) 100%);
  z-index: 1;
}

.hp-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
  color: #fff;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hp-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hp-hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hp-hero-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 36px;
  opacity: 0.95;
}

.hp-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hp-hero-trust {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
  opacity: 0.9;
}

.hp-trust-item {
  font-weight: 600;
}

.hp-trust-divider {
  opacity: 0.5;
}

/* Hero Indicators */
.hp-hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 12px;
}

.hp-indicator {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hp-indicator.active {
  background: #fff;
  width: 60px;
}

/* Scroll Indicator */
.hp-scroll-indicator {
  position: absolute;
  bottom: 80px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hp-scroll-arrow {
  width: 2px;
  height: 30px;
  background: rgba(255,255,255,0.7);
  position: relative;
}

.hp-scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 12px;
  height: 12px;
  border-left: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 17px;
}

.btn-primary {
  background: #1B7A3D;
  color: #fff;
}

.btn-primary:hover {
  background: #145e2f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,122,61,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #0D1B2A;
  color: #fff;
}

.btn-secondary:hover {
  background: #1a2f42;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,27,42,0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.btn-sm {
  padding: 12px 28px;
  font-size: 14px;
}

/* ============================================
   CONTAINERS & SECTIONS
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.hp-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.hp-section-label {
  display: inline-block;
  background: rgba(27,122,61,0.1);
  color: #1B7A3D;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hp-section-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0D1B2A;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hp-section-header p {
  font-size: 18px;
  color: #6B7280;
  line-height: 1.6;
}

/* ============================================
   QUOTE FORM
   ============================================ */
.hp-quote-section {
  padding: 100px 0;
  background: #fff;
}

.hp-quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hp-quote-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0D1B2A;
  margin-bottom: 16px;
}

.hp-quote-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 24px;
}

.hp-quote-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-quote-benefits li {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  padding: 12px 0 12px 32px;
  position: relative;
}

.hp-quote-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1B7A3D;
  font-weight: 700;
  font-size: 18px;
}

.hp-quote-form {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.hp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.hp-form-group {
  display: flex;
  flex-direction: column;
}

.hp-form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #0D1B2A;
  margin-bottom: 8px;
}

.hp-form-group input,
.hp-form-group textarea {
  padding: 14px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fff;
}

.hp-form-group input:focus,
.hp-form-group textarea:focus {
  outline: none;
  border-color: #1B7A3D;
  box-shadow: 0 0 0 3px rgba(27,122,61,0.1);
}

.hp-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.hp-form-note {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
  margin-top: 12px;
}

/* ============================================
   CERTIFICATIONS
   ============================================ */
.hp-cert-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.hp-cert-label {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.hp-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.hp-cert-item {
  background: #fff;
  padding: 24px 16px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #E5E7EB;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hp-cert-item:hover {
  border-color: #1B7A3D;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.hp-cert-item strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0D1B2A;
  margin-bottom: 6px;
}

.hp-cert-item span {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
}

/* ============================================
   ANIMATED STATISTICS
   ============================================ */
.hp-stats-section {
  padding: 100px 0;
  background: #fff;
}

.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.hp-stat-card {
  background: #fff;
  padding: 40px 24px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #E5E7EB;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
}

.hp-stat-card.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.hp-stat-card:hover {
  border-color: #1B7A3D;
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hp-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #1B7A3D;
  line-height: 1;
  margin-bottom: 8px;
}

.hp-stat-label {
  font-size: 16px;
  font-weight: 700;
  color: #0D1B2A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hp-stat-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   TIRE CATEGORIES
   ============================================ */
.hp-cat-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.hp-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.hp-cat {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hp-cat:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.hp-cat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(13,27,42,0.8) 100%);
  transition: all 0.4s ease;
}

.hp-cat:hover .hp-cat-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(13,27,42,0.95) 100%);
}

.hp-cat-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  color: #fff;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.hp-cat:hover .hp-cat-inner {
  transform: translateY(0);
}

.hp-cat-inner h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.hp-cat-inner span {
  font-size: 16px;
  opacity: 0.9;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.hp-why-section {
  padding: 100px 0;
  background: #fff;
}

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.hp-why-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 12px;
  border: 2px solid #E5E7EB;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hp-why-card:hover {
  border-color: #1B7A3D;
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hp-why-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 16px;
}

.hp-why-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #6B7280;
}

/* ============================================
   BRAND MARQUEE
   ============================================ */
.hp-marquee-section {
  padding: 60px 0;
  background: #0D1B2A;
  overflow: hidden;
}

.hp-marquee-label {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.hp-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hp-marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hp-marquee-item {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.hp-testimonial-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.hp-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.hp-testimonial {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #E5E7EB;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hp-testimonial:hover {
  border-color: #1B7A3D;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hp-testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 24px;
  font-style: italic;
}

.hp-testimonial-author strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 4px;
}

.hp-testimonial-author span {
  font-size: 14px;
  color: #6B7280;
}

/* ============================================
   CTA SECTION
   ============================================ */
.hp-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0D1B2A 0%, #1B7A3D 100%);
  color: #fff;
  text-align: center;
}

.hp-cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.hp-cta-content p {
  font-size: 19px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

.hp-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hp-cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.85;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .hp-hero-content h1 {
    font-size: 42px;
  }
  
  .hp-hero-content p {
    font-size: 18px;
  }
  
  .hp-quote-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hp-cats {
    grid-template-columns: 1fr;
  }
  
  .hp-cat {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hp-hero {
    min-height: 500px;
  }
  
  .hp-hero-content h1 {
    font-size: 32px;
  }
  
  .hp-hero-content p {
    font-size: 16px;
  }
  
  .hp-hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .hp-hero-trust {
    flex-direction: column;
    gap: 8px;
  }
  
  .hp-trust-divider {
    display: none;
  }
  
  .hp-quote-section,
  .hp-stats-section,
  .hp-cat-section,
  .hp-why-section,
  .hp-testimonial-section,
  .hp-cta-section {
    padding: 60px 0;
  }
  
  .hp-section-header h2 {
    font-size: 32px;
  }
  
  .hp-form-row {
    grid-template-columns: 1fr;
  }
  
  .hp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .hp-stat-number {
    font-size: 36px;
  }
  
  .hp-cats {
    gap: 20px;
  }
  
  .hp-why-grid {
    grid-template-columns: 1fr;
  }
  
  .hp-testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .hp-cta-content h2 {
    font-size: 32px;
  }
  
  .hp-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  
  .hp-hero-content h1 {
    font-size: 28px;
  }
  
  .hp-hero-badge {
    font-size: 12px;
    padding: 8px 16px;
  }
  
  .hp-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 14px 32px;
    font-size: 15px;
  }
  
  .btn-lg {
    padding: 16px 40px;
    font-size: 16px;
  }
}
.hp-hero-slide{
display:none;
}

.hp-hero-slide.active{
display:block;
}
.hp-hero-slide{
    opacity:0;
    transition:opacity 1.2s ease;
}

.hp-hero-slide.active{
    opacity:1;
}

.hp-hero-slider{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.hp-hero-slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
}
