:root {
  /* Warna Resmi Toyota */
  --toyota-red: #EB0A1E;
  --toyota-dark: #000000;
  --toyota-silver: #D5D6D2;
  --toyota-gray: #53565A;
  --toyota-white: #FFFFFF;
  --toyota-accent: #FFD100;
  
  /* Warna Tema */
  --primary-color: var(--toyota-red);
  --secondary-color: var(--toyota-dark);
  --accent-color: var(--toyota-accent);
  --light-bg: #f8f9fa;
  --card-bg: var(--toyota-white);
  --dark-text: #212529;
  --light-text: var(--toyota-white);
  --border-color: #e9ecef;
  --hover-color: #c5000f;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--dark-text);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

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

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

.navbar a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.navbar .logo {
  padding: 0.5rem 0;
  display: inline-block;
}

.navbar .logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar .logo:hover img {
  transform: scale(1.1);
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* Jumbotron */
.jumbotron {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('../image/toyota-bg.jpg') no-repeat center center/cover;
  color: var(--light-text);
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.jumbotron h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.jumbotron p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.jumbotron::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../image/toyota-logo-black.png') no-repeat center/contain;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

.jumbotron h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.jumbotron p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  opacity: 0.9;
}

/* Navigation */
.navbar {
  background-color: var(--toyota-white);
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.3rem 2rem;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
}

nav li {
  margin: 0;
  position: relative;
}

nav a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.8rem 0.5rem;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 3px;
}

nav a:hover,
nav a:focus,
nav a.active {
  color: var(--primary-color);
}

nav a:hover::after,
nav a:focus::after,
nav a.active::after {
  width: 100%;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

#content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.card h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.card h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

.card p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
  color: #444;
}

.featured-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Images */
.featured-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  box-sizing: border-box;
}

.featured-image:hover {
  transform: scale(1.01) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

/* Model Sections */
.model-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: var(--light-text);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

/* Sidebar */
aside {
  position: sticky;
  top: 100px;
  height: fit-content;
  min-width: 300px;
  margin-left: 0;
  padding-top: 0;
}

/* Profile Card */
.profile.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.profile header {
  background: linear-gradient(135deg, var(--primary-color), #c5000f);
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.profile header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: white;
}

.profile header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.profile figure {
  width: 100px;
  height: 100px;
  margin: -50px auto 1rem;
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  padding: 10px;
  background: white;
}

.profile section {
  padding: 1.5rem;
}

.profile h3 {
  color: var(--secondary-color);
  margin: 0 0 1.2rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.profile h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table-container th,
.table-container td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.table-container th {
  background-color: #f8f9fa;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.table-container tr:last-child td {
  border-bottom: none;
}

.table-container tr:hover td {
  background-color: #f8f9fa;
}

.table-container a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.table-container a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

/* Content Area */
#content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Jumbotron */
.jumbotron {
  padding: 4rem 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('../image/toyota-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.jumbotron h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.jumbotron p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Model Selection */
.model-selector {
  margin: 2.5rem auto 3rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.model-selector label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#modelSelect {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23eb0a1e%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem top 50%;
  background-size: 0.65em auto;
}

#modelSelect:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.1);
}

#modelSelect option {
  padding: 0.5rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-list li {
  padding: 0.8rem 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.9rem;
  position: relative;
  padding-left: 2rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0.8rem;
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.spec-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spec-item h4 {
  color: var(--primary-color);
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.spec-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

/* Tech Features */
.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 1000px;
}

.tech-item {
  background: #f8f9fa;
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
}

.tech-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block;
}

.tech-item h3 {
  color: var(--secondary-color);
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.tech-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Model Sections */
.model-section {
  animation: fadeIn 0.5s ease-out;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-top: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
  aside {
    margin-left: 0;
    margin-top: 2rem;
    padding-top: 0;
  }
  main {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 1.5rem;
  }
  
  .jumbotron {
    padding: 3rem 1rem;
    margin: 0 -1rem 1.5rem;
    border-radius: 0;
  }
  
  .jumbotron h1 {
    font-size: 2rem;
  }
  
  .jumbotron p {
    font-size: 1rem;
  }
  
  .jumbotron h1 {
    font-size: 2.5rem;
  }
  
  nav li {
    margin: 0 0.8rem;
  }
}

@media (max-width: 768px) {
  .jumbotron {
    padding: 3rem 1rem;
  }
  
  .jumbotron h1 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: 0.5rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
}

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

.card {
  animation: fadeIn 0.6s ease-out forwards;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-50px);
  transition: transform 0.3s ease-in-out;
  max-height: 80vh;
  overflow-y: auto;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: #000;
}

/* Company Information Section */
.profile {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid #f0f0f0;
}

.profile h3 {
  background: var(--primary-color);
  color: white;
  padding: 1.2rem 2rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.profile h3 i {
  margin-right: 10px;
  font-size: 1.4rem;
}

/* Info Items Container */
.info-container {
  padding: 1.5rem 0;
}

/* Individual Info Item */
.info-item {
  display: flex;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f8f8f8;
  align-items: flex-start;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item:hover {
  background-color: #fafafa;
}

.info-label {
  width: 180px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.info-label i {
  margin-right: 8px;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.info-content {
  flex: 1;
  color: #444;
  line-height: 1.6;
}

.info-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(235, 10, 30, 0.2);
  padding-bottom: 1px;
}

.info-content a:hover {
  color: #c5000f;
  border-bottom-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .info-item {
    flex-direction: column;
    padding: 1.2rem 1.5rem;
  }
  
  .info-label {
    width: 100%;
    margin-bottom: 0.5rem;
    padding-right: 0;
  }
  
  .info-content {
    width: 100%;
  }
}

/* Responsive table */
@media (max-width: 768px) {
  .profile table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.9rem;
  }
  
  .profile th, 
  .profile td {
    padding: 1rem;
    white-space: normal;
  }
  
  .profile th {
    width: 40%;
    min-width: 120px;
  }
  
  .profile td {
    width: 60%;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .profile table {
    font-size: 0.85rem;
  }
  
  .profile th, 
  .profile td {
    padding: 0.8rem;
    display: block;
    width: 100% !important;
  }
  
  .profile th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
  }
}

/* Model Specific Styles */
#produk .featured-image {
  max-width: 70%;
  margin: 1.5rem auto;
  border: 1px solid #eee;
}

#teknologi .featured-image {
  max-width: 80%;
  margin: 1.5rem auto;
}
