/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--neutral-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--light-gray);
  padding: 20px;
}

.service-card h3 {
  color: var(--primary-red);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--neutral-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--primary-dark);
}

/* About Japan Section */
.about-japan-section {
  padding: var(--section-padding);
  background-color: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  color: var(--primary-red);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.japan-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.highlight-item h4 {
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.highlight-item p {
  color: var(--neutral-gray);
  margin: 0;
  font-size: 0.95rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.why-choose-section {
  padding: var(--section-padding);
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background-color: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-item h3 {
  color: var(--black);
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--neutral-gray);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item strong {
  color: var(--secondary-gold);
  font-size: 0.9rem;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form .form input,
.contact-form .form select,
.contact-form .form textarea {
  background-color: var(--white);
  color: var(--text-dark);
}

/* Japanese Map Section */
.japan-map-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.japan-map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c8102e' fill-opacity='0.03'%3E%3Cpolygon points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.map-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.map-text h2 {
  color: var(--primary-red);
  margin-bottom: 1.5rem;
}

.locations-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.location-item {
  background-color: var(--white);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-left: 4px solid var(--primary-red);
}

.location-item h4 {
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.location-item p {
  font-size: 0.9rem;
  color: var(--neutral-gray);
  margin: 0;
}

/* Add this CSS for the Japan map section after the existing styles: */

.japan-map-container {
  max-width: 400px;
  margin: 0 auto;
}

.japan-map-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.city-marker {
  cursor: pointer;
  transition: all 0.3s ease;
}

.city-marker:hover {
  r: 10;
  filter: drop-shadow(0 0 10px rgba(200, 16, 46, 0.8));
}

.japan-map-svg text {
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.japan-map-svg text:hover {
  font-size: 14px;
  filter: drop-shadow(0 0 5px rgba(200, 16, 46, 0.6));
}

/* Improved Mobile Responsive Design for Home */
@media (max-width: 768px) {
  /* Hero Section Mobile */
  .hero-section {
    padding: 60px 0 40px;
    min-height: 70vh;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    min-width: 200px;
  }

  .hero-img {
    max-width: 100%;
    height: auto;
  }

  /* Services Section Mobile */
  .services-section {
    padding: 40px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
    margin: 0 auto;
    max-width: 400px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* About Japan Section Mobile */
  .about-japan-section {
    padding: 40px 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
  }

  .japan-highlights {
    gap: 1rem;
  }

  .highlight-item {
    padding: 1rem;
  }

  .highlight-item h4 {
    font-size: 1rem;
  }

  .highlight-item p {
    font-size: 0.9rem;
  }

  /* Why Choose Section Mobile */
  .why-choose-section {
    padding: 40px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item {
    padding: 1.5rem 1rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .feature-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .feature-item h3 {
    font-size: 1.2rem;
  }

  .feature-item p {
    font-size: 0.95rem;
  }

  /* Contact Section Mobile */
  .contact-section {
    padding: 40px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    text-align: center;
  }

  .contact-details {
    gap: 1.5rem;
  }

  .contact-item {
    text-align: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  /* Japan Map Section Mobile */
  .japan-map-section {
    padding: 40px 0;
  }

  .map-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .locations-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .location-item {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 40px 0 30px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-buttons .btn {
    min-width: 180px;
    padding: 12px 20px;
  }

  .service-card,
  .feature-item {
    padding: 1.25rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-item {
    padding: 0.75rem;
  }

  .highlight-item {
    padding: 0.75rem;
  }
}

/* Mobile adjustments for map */
@media (max-width: 768px) {
  .japan-map-container {
    max-width: 300px;
  }

  .japan-map-svg text {
    font-size: 8px;
  }

  .japan-map-svg text:hover {
    font-size: 10px;
  }
}
