/* ===================================
   IRODORI Photo Studio - style.css
   =================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg: #FAF7F2;
  --color-bg-alt: #F3EDE4;
  --color-text: #3D3530;
  --color-text-light: #7A6F66;
  --color-accent: #C4957A;
  --color-accent-dark: #A67B62;
  --color-accent-light: #E8D5C8;
  --color-gold: #C9A96E;
  --color-mauve: #C8A2A8;
  --color-white: #FFFFFF;
  --color-overlay: rgba(61, 53, 48, 0.55);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;

  --shadow-sm: 0 2px 8px rgba(61, 53, 48, 0.06);
  --shadow-md: 0 4px 20px rgba(61, 53, 48, 0.1);
  --shadow-lg: 0 8px 40px rgba(61, 53, 48, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* --- Typography --- */
.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 2;
}

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

/* --- Section Spacing --- */
.section {
  padding: 120px 0;
  overflow: hidden;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.header.scrolled .logo {
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-bottom: 4px;
  font-weight: 400;
}

.header.scrolled .nav-links a {
  color: var(--color-text-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover {
  color: var(--color-accent);
}

.header.scrolled .nav-links a:hover {
  color: var(--color-accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.header.scrolled .hamburger span {
  background: var(--color-text);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(61, 53, 48, 0.35) 0%,
      rgba(61, 53, 48, 0.2) 50%,
      rgba(61, 53, 48, 0.5) 100%);
  z-index: 1;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: 16px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1.2s ease 0.3s forwards;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 4px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(15px);
  animation: heroFadeIn 1.2s ease 0.7s forwards;
  line-height: 2.2;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 1.5rem auto;
  opacity: 0;
  animation: heroFadeIn 1.2s ease 0.5s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeIn 1.2s ease 1.2s forwards;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-lr;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
}

/* ===== CONCEPT ===== */
.concept {
  background: var(--color-bg);
  overflow: hidden;
}

.concept .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.concept-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.concept-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.concept-image:hover img {
  transform: scale(1.03);
}

.concept-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-md);
  z-index: 1;
  pointer-events: none;
}

.concept-text p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 2.2;
  margin-top: 1.5rem;
}

.concept-text .highlight {
  color: var(--color-accent-dark);
  font-weight: 500;
}

/* ===== MENU ===== */
.menu {
  background: var(--color-bg-alt);
}

.menu .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.menu .section-subtitle {
  margin: 0 auto;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.menu-card-icon {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.menu-card-icon::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.08);
  top: -20px;
  right: -20px;
}

.menu-card-body {
  padding: 2rem;
}

.menu-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.menu-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

.menu-card-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--color-accent);
  border: 1px solid var(--color-accent-light);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ===== STUDIO ===== */
.studio {
  background: var(--color-bg);
}

.studio .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.studio-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.studio-feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.studio-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.studio-feature h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.studio-feature p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.studio-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: relative;
}

.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.studio-image:hover img {
  transform: scale(1.03);
}

/* ===== PHOTOGRAPHER ===== */
.photographer {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
  overflow-x: clip;
}

.photographer::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 162, 168, 0.1) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.photographer .container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 80px;
  align-items: center;
}

.photographer-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}

.photographer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photographer-profile {
  position: relative;
}

.photographer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.photographer-role {
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.photographer-bio {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 2.2;
}

.photographer-bio p+p {
  margin-top: 1rem;
}

/* ===== INFO ===== */
.info {
  background: var(--color-bg);
}

.info .container {
  max-width: 900px;
}

.info .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-accent-light);
  color: var(--color-text);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  gap: 1rem;
}

.info-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.info-label {
  color: var(--color-accent-dark);
  font-weight: 500;
  min-width: 90px;
}

.info-value {
  color: var(--color-text-light);
  text-align: right;
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(135deg, var(--color-text) 0%, #4A3F39 100%);
  color: var(--color-white);
  text-align: center;
}

.contact .section-label {
  color: var(--color-gold);
}

.contact .section-title {
  color: var(--color-white);
}

.contact-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 2;
}

.contact-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 400;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 149, 122, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 400;
  transition: var(--transition-smooth);
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ===== SNS ===== */
.sns-section {
  background: var(--color-bg-alt);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.sns-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  min-width: 140px;
}

.sns-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sns-link .sns-icon {
  font-size: 2rem;
  transition: var(--transition-smooth);
}

.sns-link:hover .sns-icon {
  transform: scale(1.15);
}

.sns-link .sns-name {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--color-text-light);
  font-weight: 400;
}

.sns-link.instagram .sns-icon {
  color: #E1306C;
}

.sns-link.line .sns-icon {
  color: #06C755;
}

.sns-link.tiktok .sns-icon {
  color: #010101;
}

.sns-link.twitter .sns-icon {
  color: #1DA1F2;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.4);
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-sns a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.footer-sns a:hover {
  color: var(--color-accent);
}

.footer p {
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    color: var(--color-text);
    letter-spacing: 3px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span {
    background: var(--color-text);
  }

  .concept .container,
  .studio .container,
  .photographer .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .concept-image {
    aspect-ratio: 1 / 1;
  }

  .photographer .container {
    grid-template-columns: 1fr;
  }

  .photographer-image {
    max-width: 280px;
    margin: 0 auto;
  }

  .menu-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }

  .menu-grid::-webkit-scrollbar {
    display: none;
  }

  .menu-card {
    min-width: 260px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .menu-card-icon {
    height: 120px;
    font-size: 2.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .sns-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .sns-link {
    min-width: 60px;
    max-width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .sns-link .sns-name {
    display: none;
  }

  .sns-link .sns-icon {
    font-size: 1.5rem;
  }

  .hero-title {
    letter-spacing: 8px;
  }

  .section {
    padding: 80px 0;
    overflow: hidden;
  }

  .studio .container .studio-image {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .fade-in-left {
    transform: translateX(-20px);
  }

  .fade-in-right {
    transform: translateX(20px);
  }

  .section-label {
    letter-spacing: 2px;
  }

  .logo {
    letter-spacing: 4px;
  }

  .footer-logo {
    letter-spacing: 4px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    white-space: nowrap;
  }

  .info-card {
    padding: 1.5rem;
  }

  .info-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .info-value {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    letter-spacing: 4px;
    padding: 0 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 0 1rem;
    width: 100%;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .menu-card-body {
    padding: 1.5rem;
  }

  .menu-card-tag {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .photographer-role {
    letter-spacing: 1px;
    font-size: 0.75rem;
  }

  .contact-desc {
    padding: 0 0.5rem;
  }
}