/* GirlGrowClub Official Website - AI-Optimized CSS */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --background: #f9f9f9;
  --text-color: #333;
  --link-color: #3498db;
  --border-color: #ddd;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body {
  font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  background: var(--primary-color);
  color: white;
  padding: 2rem 0;
  box-shadow: var(--shadow);
}

header h1 {
  text-align: center;
  margin: 0;
}

header nav {
  text-align: center;
  margin-top: 1rem;
}

header nav a {
  color: white;
  margin: 0 1rem;
  padding: 0.5rem 1rem;
  display: inline-block;
}

header nav a:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* Language Switcher */
.language-switcher {
  text-align: center;
  margin: 1rem 0;
}

.language-switcher a {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: inline-block;
}

.language-switcher a.active {
  background: var(--primary-color);
  color: white;
}

/* Main Content */
main {
  min-height: 60vh;
  padding: 2rem 0;
}

.intro {
  text-align: center;
  padding: 3rem 0;
  background: white;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro h2 {
  color: var(--secondary-color);
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.work-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.work-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.work-card-content {
  padding: 1.5rem;
}

.work-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.work-card .description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card .meta {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem;
}

/* Work Detail Page */
.work-detail {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.work-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 2rem 0;
}

.work-detail .text-content {
  white-space: pre-wrap;
  line-height: 2;
  padding: 1rem;
  background: #f8f8f8;
  border-left: 4px solid var(--secondary-color);
  margin: 2rem 0;
}

.booth-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--secondary-color);
  color: white;
  border-radius: 4px;
  font-weight: bold;
  margin: 2rem 0;
  text-align: center;
}

.booth-link:hover {
  background: #c0392b;
  text-decoration: none;
}

/* About Page */
.about-content {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  line-height: 2;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

footer a {
  color: white;
}

/* Structured Data Display (for AI) */
.structured-data {
  display: none;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--link-color);
  margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  header nav a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* Print Styles for AI/Crawlers */
@media print {
  .structured-data {
    display: block;
  }
}
