/*
Theme Name: LightSpace IT School
Description: Custom WordPress theme based on user-provided design mockup for a friendly IT school.
Version: 1.0
Author: Artificial Intelligence
License: GNU General Public License v2 or later
Text Domain: lightspace
*/

/* --- Basic Style --- */
:root {
  --color-blue: #a3dafb;
  --color-yellow: #fdedb0;
  --color-beige: #faf7f2;
  --color-text: #333333;
  --color-primary: #f28f5a; /* Button color */
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--color-beige);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-domain: none;
  color: inherit;
}

button, .button {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

/* --- Layout Elements --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Header --- */
header {
  background-color: #fff;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.school-name {
  font-size: 18px;
  font-weight: bold;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

nav li {
  margin-left: 20px;
  font-size: 14px;
}

.header-cta {
  background-color: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  padding: 8px 18px;
  border-radius: 18px;
  font-size: 12px;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Background blobs */
.hero-section::before, .hero-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.hero-section::before {
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--color-blue);
  opacity: 0.5;
}

.hero-section::after {
  bottom: -30px;
  right: 100px;
  width: 150px;
  height: 150px;
  background-color: var(--color-yellow);
  opacity: 0.5;
}

.hero-text-area {
  flex: 1;
  padding-right: 50px;
}

.hero-headline {
  font-size: 36px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero-image-area {
  flex: 1;
  text-align: right;
  position: relative;
}

.hero-image {
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.blob-blue-hero {
  position: absolute;
  top: 10px;
  left: 20px;
  width: 80px;
  height: 80px;
  background-color: var(--color-blue);
  border-radius: 50%;
  z-index: -1;
}

.blob-yellow-hero {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--color-yellow);
  border-radius: 50%;
  z-index: -1;
}

/* --- Courses Section --- */
.courses-section {
  padding: 50px 0;
  background-color: #fff;
}

.course-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.course-card {
  background-color: var(--color-beige);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.course-icon-area {
  margin-right: 15px;
}

.course-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.course-info-area h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.course-info-area p {
  margin: 0;
  font-size: 12px;
}

/* --- Mentors Section --- */
.mentors-section {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.mentor-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  width: 60%;
  margin: 0 auto;
}

.mentor-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
}

.mentor-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.mentor-name {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}

.mentor-bio {
  font-size: 12px;
  color: #666;
}

/* --- Responsive styles for mobile --- */
@media screen and (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 50px 0;
    text-align: center;
  }

  .hero-text-area {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .hero-headline {
    font-size: 28px;
  }

  .hero-subtext {
    font-size: 14px;
  }

  .hero-image-area {
    width: 100%;
    text-align: center;
  }

  .blob-blue-hero, .blob-yellow-hero {
    display: none;
  }

  .course-card-grid {
    grid-template-columns: 1fr;
  }

  .mentor-card-grid {
    grid-template-columns: 1fr;
    width: 90%;
  }

  nav ul {
    display: none; /* Hide menu for mobile, can be toggled by JS */
  }

  /* Hamburger menu icon styles here, if implemented */
}