/* Kudozen/久渡春生 Website Styles
   A clean, poetic, high-end design for an elegant brand */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@300;400;500;700&family=Noto+Sans:wght@300;400;500&family=Noto+Serif+JP:wght@300;400;500;700&family=Noto+Sans+JP:wght@300;400;500&display=swap');

:root {
  /* Main color palette */
  --primary-color: #8E354A; /* Deep plum red - Japanese traditional color "Kurenai" */
  --secondary-color: #F8F1E0; /* Soft cream */
  --accent-color: #D9B166; /* Gold accent */
  --text-color: #333333;
  --light-text: #FFFFFF;
  --dark-bg: #1A1A1A;
  --light-bg: #FFFFFF;
  
  /* For transitions */
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Noto Serif', 'Noto Serif JP', serif;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Container */
.container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-placeholder {
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Noto Serif', 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.5rem;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
  font-size: 1rem;
  transition: color var(--transition-speed);
  position: relative;
  padding-bottom: 5px;
}

nav a:hover {
  color: var(--primary-color);
}

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

nav a:hover::after {
  width: 100%;
}

/* Language Switch */
.language-switch {
  display: flex;
  gap: 10px;
  margin-left: 2rem;
}

.language-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
  transition: opacity var(--transition-speed);
}

.language-switch button:hover,
.language-switch button.active {
  opacity: 1;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--light-text);
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: var(--light-text);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all var(--transition-speed);
  border: 1px solid var(--primary-color);
}

.btn:hover {
  background-color: transparent;
  color: var(--light-text);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--light-text);
}

.btn-outline:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
  border-color: var(--light-text);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 20px auto 0;
}

/* About Section */
.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About image placeholder */
.about-image {
  background: linear-gradient(45deg, var(--secondary-color), #fff);
  min-height: 300px;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image::before {
  content: "About Kudozen";
  font-family: 'Noto Serif', 'Noto Serif JP', serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  z-index: 1;
}

.about-image::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: rgba(142, 53, 74, 0.1);
  bottom: -50px;
  right: -50px;
}

.about-image img {
  opacity: 0;  /* Hide actual img elements since we don't have images */
}

/* Philosophy Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.philosophy-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: var(--light-bg);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed);
}

.philosophy-item:hover {
  transform: translateY(-10px);
}

.philosophy-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Products */
.product-series {
  margin-bottom: 80px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 250px;
  overflow: hidden;
}

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

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

/* Product image placeholders */
.product-image {
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: attr(data-product-name);
  position: absolute;
  font-family: 'Noto Serif', 'Noto Serif JP', serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-align: center;
  padding: 2rem;
}

.product-image::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(142, 53, 74, 0.2);
  bottom: -20px;
  right: -20px;
}

.product-image img {
  opacity: 0;  /* Hide actual img elements since we don't have images */
}

.product-info {
  padding: 25px;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-description {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #666;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--light-text);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo .logo-placeholder {
  width: 60px;
  height: 60px;
  font-size: 2rem;
  margin-bottom: 20px;
  background-color: white;
  color: var(--primary-color);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  margin-top: 10px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: var(--light-text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Video container */
.video-container {
  position: relative;
  width: 100%;
  margin: 40px 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--secondary-color), #fff);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container::before {
  content: "Video Content";
  font-family: 'Noto Serif', 'Noto Serif JP', serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  z-index: 1;
}

.video-container::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(142, 53, 74, 0.1);
  bottom: -30px;
  right: -30px;
}

.video-container video {
  width: 100%;
  display: block;
  opacity: 0; /* Hide video element since we don't have actual videos */
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    width: 95%;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 15px 0;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 5px 10px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

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

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
