/* =========================================================
   AUN WORKSHOP - CORPORATE THEME (MOBILE FIXED)
   ========================================================= */

:root {
  /* AUN Corporate Colors */
  --aun-navy: #1B2A53;        
  --aun-orange: #C85A28;      
  --aun-orange-hover: #A6471C; 
  
  /* Light Theme Backgrounds */
  --bg-main: #FFFFFF;         
  --bg-section: #F4F6F9;      
  --bg-card: #FFFFFF;         
  
  /* Text Colors */
  --text-main: #1A1A24;       
  --text-muted: #5A606E;      
  --text-light: #FFFFFF;      
  
  --border-light: #E2E8F0;
  
  /* Sidebar Width */
  --sidebar-width: 280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-left: var(--sidebar-width); 
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { 
  font-weight: 900; 
  line-height: 1.2; 
  text-transform: uppercase; 
  letter-spacing: 0.5px;
}
h1 { font-size: 4rem; letter-spacing: -1px; color: var(--text-light); }

.highlight-zh { 
  font-weight: 600; 
  font-size: 0.7em; 
  color: var(--text-muted); 
  display: block; 
  margin-top: 8px; 
  letter-spacing: 1px;
}
p { color: var(--text-muted); font-size: 1.15rem; }

/* ===== 1. LEFT SIDEBAR NAVIGATION ===== */
.nav-wrapper {
  position: fixed; top: 0; left: 0; width: var(--sidebar-width); height: 100vh; 
  background: var(--bg-main); border-right: 1px solid var(--border-light);
  z-index: 1000; display: flex;
}

.navbar {
  display: flex; flex-direction: column; align-items: flex-start; width: 100%;
  padding: 40px 30px;
}

.logo { display: flex; align-items: center; gap: 15px; margin-bottom: 50px; }
.logo img { width: 50px; }
.logo-text { font-size: 1.5rem; font-weight: 900; letter-spacing: 1px; color: var(--aun-navy); } 

.nav-links { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
.nav-links a { 
  color: var(--text-main); text-decoration: none; font-weight: 700; font-size: 0.95rem; 
  text-transform: uppercase; letter-spacing: 1px; width: 100%; padding: 15px 0;
  border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; 
  align-items: center; transition: 0.3s; 
}
.nav-links a:not(.btn-whatsapp-nav)::after { content: '›'; font-size: 1.5rem; color: var(--text-muted); transition: transform 0.2s; }
.nav-links a:hover { color: var(--aun-orange); }
.nav-links a:hover::after { transform: translateX(5px); color: var(--aun-orange); }

/* Sidebar Button */
.btn-whatsapp-nav {
  background: transparent !important; color: var(--aun-navy) !important; border: 2px solid var(--aun-navy);
  padding: 12px 20px !important; margin-top: 30px; border-radius: 50px; text-align: center;
  justify-content: center !important; font-weight: 800; border-bottom: 2px solid var(--aun-navy) !important;
}
.btn-whatsapp-nav:hover { background: var(--aun-navy) !important; color: #fff !important; }

/* ===== BUTTONS ===== */
.btn-whatsapp, .btn-primary {
  background: var(--aun-orange); color: var(--text-light) !important; padding: 14px 28px; 
  border-radius: 4px; text-decoration: none; font-weight: 800; text-transform: uppercase; 
  letter-spacing: 1px; display: inline-flex; justify-content: center; align-items: center;
  border: none; transition: all 0.2s ease; box-shadow: 0 4px 10px rgba(200, 90, 40, 0.2);
}
.btn-whatsapp:hover, .btn-primary:hover { 
  transform: translateY(-2px); background: var(--aun-orange-hover); box-shadow: 0 6px 15px rgba(200, 90, 40, 0.3);
}

/* ===== 2. HERO SECTION ===== */
.hero {
  height: 85vh; display: flex; align-items: center; padding: 0 5%;
  background: linear-gradient(to right, rgba(27, 42, 83, 0.85) 10%, rgba(27, 42, 83, 0.4) 100%), 
              url('Aun Workshop Address.png') center/cover no-repeat;
}
.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero p { max-width: 650px; margin-bottom: 40px; color: rgba(255,255,255,0.9); font-size: 1.2rem;}
.hero .highlight-zh { color: rgba(255,255,255,0.8); }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.ssm-badge { 
  display: inline-block; background-color: var(--aun-orange); color: var(--text-light); 
  padding: 6px 14px; border-radius: 3px; font-size: 0.85rem; font-weight: 800; 
  letter-spacing: 2px; margin-bottom: 25px; 
}

/* ===== 3. TRUST STRIP ===== */
.trust-wrapper { padding: 0 5%; margin-top: -50px; position: relative; z-index: 10; display: flex; justify-content: center; }
.trust-strip {
  display: flex; justify-content: space-around; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--bg-card); padding: 40px 60px; border-radius: 8px;
  box-shadow: 0 15px 35px rgba(27, 42, 83, 0.08); width: 100%; max-width: 1200px;
  border-top: 5px solid var(--aun-navy); 
}
.trust-item { display: flex; align-items: center; gap: 15px; }
.trust-icon-svg { width: 45px; height: 45px; color: var(--aun-orange); }
.trust-item strong { display: block; font-size: 1.2rem; font-weight: 800; color: var(--aun-navy); }
.trust-item .highlight-zh { margin-top: 4px; color: var(--text-muted);}

/* ===== 4. SECTIONS ===== */
.section-dark { padding: 100px 5%; background-color: var(--bg-section); } 
.section-light { padding: 100px 5%; background-color: var(--bg-main); }   

.section-header { text-align: left; margin-bottom: 60px; position: relative; padding-top: 20px; max-width: 1200px; margin-left: auto; margin-right: auto;}
.section-header::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--aun-orange); }
.section-header h2 { font-size: 2.8rem; color: var(--aun-navy); }
.section-header .highlight-zh { color: var(--text-muted); font-size: 1.1rem; margin-top: 10px;}
.launch-date { color: var(--aun-orange); font-weight: 800; font-size: 1.1rem; margin-top: 20px; display: inline-block; padding: 5px 15px; border: 1px solid var(--aun-orange); border-radius: 4px;}

/* ===== 5. UNIFORM CARDS ===== */
.service-grid, .service-grid-3, .parts-grid, .rental-grid { 
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; 
}

.service-card, .rental-info, .parts-info {
  background: transparent; padding: 0; border: none; box-shadow: none; transition: 0.3s;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
}

.rental-info .btn-whatsapp, .parts-info .btn-whatsapp { margin-top: auto; }

.media-placeholder, .media-placeholder-small { 
  width: 100%; aspect-ratio: 16 / 10; background-color: #E2E8F0; 
  position: relative; overflow: hidden; margin-bottom: 25px;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.media-placeholder span { color: var(--text-muted); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.placeholder-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .placeholder-img, .rental-grid:hover .placeholder-img { transform: scale(1.05); }

.service-card h3, .parts-info h3, .rental-info h3 { 
  font-size: 1.5rem; color: var(--text-main); margin-bottom: 15px; display: inline-flex; align-items: center;
}
.service-card h3::after, .parts-info h3::after, .rental-info h3::after {
  content: '→'; font-family: Arial, sans-serif; margin-left: 10px; color: var(--aun-orange); font-weight: 300; transition: transform 0.3s;
}
.service-card:hover h3::after, .parts-info:hover h3::after, .rental-grid:hover h3::after { transform: translateX(8px); }

.service-list, .parts-list { list-style: none; padding: 0; width: 100%;}
.service-list li, .parts-list li {
  color: var(--text-muted); margin-bottom: 10px; font-size: 1.05rem; display: flex; align-items: flex-start;
}
.service-list li::before, .parts-list li::before { content: '•'; color: var(--aun-orange); font-size: 1.5rem; margin-right: 10px; line-height: 1;}

/* ===== 6. GOOGLE MAPS ===== */
.map-container { width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; border: 1px solid var(--border-light); }
.map-container iframe { filter: grayscale(30%); display: block; transition: all 0.3s ease; }
.map-container:hover iframe { filter: grayscale(0%); }

/* ===== 7. FOOTER ===== */
footer { 
  text-align: left; padding: 80px 5% 50px; background-color: var(--aun-navy); color: rgba(255,255,255,0.8); 
}
footer h2 { color: var(--text-light); letter-spacing: 2px; margin-bottom: 10px; font-size: 2rem;}
.ssm-number { font-size: 0.95rem; color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 20px;}
.footer-contact { font-weight: 700; color: var(--text-light); margin-bottom: 20px; font-size: 1.1rem; }
.footer-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.copyright { font-size: 0.9rem; color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* ===== 8. SCROLL ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }


/* =========================================================
   9. RESPONSIVE PERFECTION (TABLET & MOBILE FIXES)
   ========================================================= */

@media (max-width: 1024px) { 
  /* Tablet Adjustments */
  body { padding-left: 0; padding-top: 70px; } 
  
  .nav-wrapper { 
    position: fixed; width: 100%; height: 70px; border-right: none; border-bottom: 1px solid var(--border-light); 
  }
  .navbar { padding: 0 5%; flex-direction: row; align-items: center; justify-content: space-between; height: 100%;}
  .logo { margin-bottom: 0; }
  .logo img { width: 40px; }
  .logo-text { font-size: 1.3rem; }
  
  .nav-links { display: none; } /* Hide sidebar links on mobile/tablet */
  
  .hero { height: auto; min-height: 60vh; padding-top: 60px; padding-bottom: 100px; }
  h1 { font-size: 3.2rem; }
  
  .trust-wrapper { margin-top: -50px; }
  .trust-strip { padding: 30px; gap: 20px; }
  
  .section-header h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  /* Mobile Phone Adjustments (Clean & Aligned) */
  body { padding-top: 60px; }
  .nav-wrapper { height: 60px; }
  .logo img { width: 35px; }
  .logo-text { font-size: 1.1rem; }
  
  .hero { padding-bottom: 100px; }
  h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  
  /* Fix Hero Buttons on Mobile (Full Width Stacked) */
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
  .hero-actions a { width: 100%; justify-content: center; }
  
  /* Fix Trust Strip on Mobile (Left Aligned Stack) */
  .trust-strip { 
    flex-direction: column; align-items: flex-start; padding: 25px; 
    border-radius: 8px; gap: 25px;
  }
  .trust-item { width: 100%; }
  .trust-icon-svg { width: 35px; height: 35px; }
  .trust-item strong { font-size: 1.1rem; }
  
  /* Fix Sections Spacing */
  .section-dark, .section-light { padding: 60px 5%; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 2rem; }
  
  /* Fix Grids to stack perfectly */
  .rental-grid, .parts-grid, .service-grid-3 { grid-template-columns: 1fr; gap: 40px; }
  
  /* Fix Footer Buttons on Mobile (Full Width Stacked) */
  footer { padding: 60px 5% 40px; }
  .footer-actions { flex-direction: column; width: 100%; }
  .footer-actions a { width: 100%; justify-content: center; margin-left: 0 !important;}
}