/* ================================================
   KOBUTA PHOTO STUDIO - LUXURY THEME
   ================================================ */

:root {
  --primary-color: #0ABAB5;
  /* Tiffany Blue */
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #FFFFFF;
  --bg-light: #F9F9F9;
  --border-color: #E0E0E0;
  --white: #FFFFFF;

  --font-en: 'Cinzel', serif;
  --font-jp: 'Noto Serif JP', serif;

  --max-width: 1200px;
  --header-height: 80px;
}

/* ================================================
   Base Styles
   ================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-jp);
  line-height: 2.0;
  font-size: 16px;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* ================================================
   Header
   ================================================ */
.luxury-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo-text {
  font-family: var(--font-en);
  font-size: 1.5rem;
  color: var(--text-color);
  letter-spacing: 0.15em;
}

.header-nav {
  display: flex;
  gap: 3rem;
}

.nav-item {
  font-family: var(--font-en);
  font-size: 0.9rem;
  color: var(--text-color);
  text-transform: uppercase;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-item:hover::after {
  width: 100%;
}

/* ================================================
   Hero Grid Section
   ================================================ */
.hero-grid-section {
  padding-top: var(--header-height);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: var(--white);
}

.hero-grid-container {
  display: grid;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  /* Grid Template based on reference: 4 columns, 3 rows */
  /* Columns: Large Left (approx 2fr), then 3 smaller columns */
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 1.5fr 1fr 1.5fr;
  gap: 4px;
  grid-template-areas:
    "area-1 area-5 area-5 area-3"
    "area-1 area-4 area-9 area-3"
    "area-1 area-4 area-2 area-2";
}

.grid-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.grid-item:hover img {
  transform: scale(1.03);
}

/* Grid Areas */
.area-1 {
  grid-area: area-1;
}

.area-2 {
  grid-area: area-2;
}

.area-3 {
  grid-area: area-3;
}

.area-4 {
  grid-area: area-4;
}

.area-5 {
  grid-area: area-5;
}

.area-9 {
  grid-area: area-9;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10;
}

/* Center Text Styling */
.grid-text-content {
  text-align: center;
}

.grid-logo {
  font-family: var(--font-en);
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.grid-catch {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Slider Styles */
.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid-container {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "area-1 area-1"
      "area-5 area-5"
      "area-3 area-4"
      "area-2 area-2"
      "area-9 area-9";
  }

  .area-1 {
    aspect-ratio: 4/3;
  }

  .area-5,
  .area-2 {
    aspect-ratio: 2/1;
  }

  .area-3,
  .area-4 {
    aspect-ratio: 3/4;
  }

  .area-9 {
    padding: 3rem 1rem;
  }
}

/* ================================================
   Sections Common
   ================================================ */
.section-luxury {
  padding: 8rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-luxury.bg-light {
  background-color: var(--bg-light);
  max-width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 1rem auto 0;
}

.section-desc {
  color: var(--text-light);
  font-size: 1rem;
}

/* ================================================
   Plans
   ================================================ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: start;
}

.plan-card {
  background: var(--white);
  padding: 3rem 2rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.plan-card.featured {
  border: 2px solid var(--primary-color);
  position: relative;
}

.plan-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.plan-price {
  font-family: var(--font-en);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.plan-body {
  margin-bottom: 3rem;
}

.plan-concept {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-light);
  min-height: 3em;
}

.plan-features {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.plan-features li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* ================================================
   Buttons
   ================================================ */
.btn-luxury {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--text-color);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-luxury:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-wide {
  width: 100%;
  max-width: 300px;
  text-align: center;
}

/* ================================================
   Gallery
   ================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ================================================
   Flow
   ================================================ */
/* ================================================
   Flow (Manga Style)
   ================================================ */
.manga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.manga-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.manga-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  /* Manga panel ratio */
  border: 2px solid var(--text-color);
  /* Comic panel border */
  overflow: hidden;
  background: var(--white);
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.manga-image-wrapper:hover {
  transform: translateY(-5px);
}

.manga-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  /* Enforce monochrome style */
  transition: filter 0.3s ease;
}

.manga-image-wrapper:hover .manga-image {
  filter: grayscale(0%);
  /* Color on hover if image has color */
}

.manga-step-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.manga-caption {
  text-align: center;
}

.manga-title {
  font-family: var(--font-en);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.manga-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .manga-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .manga-image-wrapper {
    aspect-ratio: 1/1;
  }
}

/* ================================================
   Parallax Divider
   ================================================ */
.parallax-divider {
  height: 400px;
  background-image: url('assets/hero_couple.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.parallax-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.parallax-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
}

.parallax-text {
  font-family: var(--font-en);
  font-size: 3rem;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ================================================
   Voice
   ================================================ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.voice-card {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 4px;
  position: relative;
}

.voice-card::before {
  content: '“';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-en);
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.voice-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.voice-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.voice-date {
  font-family: var(--font-en);
  color: var(--text-light);
  font-size: 0.9rem;
}

.voice-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-color);
}

/* ================================================
   Instagram
   ================================================ */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.insta-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insta-item:hover img {
  transform: scale(1.1);
}

.insta-btn-wrapper {
  text-align: center;
}

@media (max-width: 768px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================
   About
   ================================================ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 2.4;
}

/* ================================================
   FAQ
   ================================================ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  padding: 2rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.toggle-icon {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  /* Adjust as needed */
}

.faq-answer p {
  padding-bottom: 2rem;
  color: var(--text-light);
}

/* ================================================
   Access
   ================================================ */
.access-content {
  text-align: center;
}

.access-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.access-note {
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* ================================================
   Footer
   ================================================ */
.luxury-footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.copyright {
  font-family: var(--font-en);
  font-size: 0.8rem;
  opacity: 0.6;
  letter-spacing: 0.1em;
}

/* ================================================
   Animations
   ================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   Responsive
   ================================================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 18px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    gap: 2rem;
  }

  .header-nav.active {
    right: 0;
  }

  .nav-item {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-content {
    width: 90%;
    padding: 2rem;
  }

  .section-luxury {
    padding: 5rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}