/* Global Variables */
:root {
  --color-primary: #D4AF37;
  /* Gold */
  --color-primary-light: #F4C430;
  /* Lighter Gold */
  --color-primary-dark: #AA8C2C;
  /* Darker Gold */
  --color-bg: #1A1A1A;
  /* Dark Grey Background */
  --color-bg-secondary: #2C2C2C;
  /* Slightly Lighter Dark */
  --color-text: #F5F5F5;
  /* Off-white text */
  --color-text-muted: #B0B0B0;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --border-gold: 1px solid var(--color-primary);
  --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.btn-gold {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #000;
  font-weight: bold;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: bold;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #000;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Mobile Menu Styles (To be added via media queries) */

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #cfc09f, #ffecb3, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s infinite linear;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 2px;
}

/* Shine Animation */
@keyframes shine {
  0% {
    background-position: 0;
  }

  100% {
    background-position: 1000px;
  }
}

/* About Section */
.about {
  background-color: var(--color-bg);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}

/* Business Links Section */
.business-links {
  background-color: var(--color-bg-secondary);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.business-card {
  background-color: var(--color-bg);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.business-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.business-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.business-card p {
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-left: 3px solid var(--color-primary);
  transition: background 0.3s;
}

.philosophy-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.philosophy-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

/* CEO Section */
.ceo-container {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.ceo-image {
  flex: 0 0 400px;
  height: 500px;
  background-color: #333;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-primary);
}

.ceo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-text {
  flex: 1;
}

.ceo-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--color-primary);
}

.ceo-title {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: 'Q.';
  font-family: var(--font-heading);
}

.faq-answer {
  color: var(--color-text-muted);
  padding-left: 30px;
  position: relative;
}

.faq-answer::before {
  content: 'A.';
  position: absolute;
  left: 0;
  font-family: var(--font-heading);
  color: #fff;
}

/* Footer Grid */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-bottom: 50px;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 35px;
  height: 35px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-icon:hover {
  background: var(--color-primary);
  color: #000;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
    color: var(--color-primary);
    font-size: 1.5rem;
  }

  .business-grid,
  .philosophy-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .ceo-container {
    flex-direction: column;
    text-align: center;
  }

  .ceo-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }
}

/* Purchase Page Styles */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #2a2a2a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.rate-table th,
.rate-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #444;
}

.rate-table th {
  background-color: var(--color-primary-dark);
  color: #000;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.rate-table tr:last-child td {
  border-bottom: none;
}

.rate-up {
  color: #ff4d4d;
  font-weight: bold;
}

.rate-down {
  color: #4da6ff;
  font-weight: bold;
}

.rate-same {
  color: #ccc;
}
/* Purchase Flow Styles */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 50px;
  position: relative;
}

.flow-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-number {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gold);
}

.flow-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.flow-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Car Card Image Fix */
.car-card .car-image {
  height: 250px;
  overflow: hidden;
}

.car-card .car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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