/* 
  LYVOM studio Stylesheet
  Brand colors & Typography based on spec 
*/

:root {
  /* Brand Colors */
  --white:           #FFFFFF;
  --dodger-blue:     #1E90FF;
  --deep-navy:       #0A1628;
  --light-blue:      #E8F4FF;
  --mid-gray:        #6B7280;
  --hover-blue:      #1570CC;
  --border-light:    #D1E8FF;

  /* Typography */
  --font-headline: 'Cormorant Garamond', serif;
  --font-ui: 'DM Sans', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;

  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-ui), var(--font-kr);
  color: var(--deep-navy);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 500;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--deep-navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-ui), var(--font-kr);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--dodger-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--hover-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

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

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

#header.scrolled {
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo a {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--deep-navy);
  text-transform: uppercase;
}

.logo span {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: var(--dodger-blue);
}

.desktop-nav {
  display: flex;
  gap: 2.5rem;
}

.desktop-nav a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--deep-navy);
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--dodger-blue);
  transition: width 0.3s ease;
}

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

.desktop-nav a:hover {
  color: var(--dodger-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--deep-navy);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 1rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-weight: 500;
  font-size: 1.1rem;
}

/* HERO Section */
.hero-section {
  height: 100vh;
  background-color: var(--deep-navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.rain-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.rain-drop {
  position: absolute;
  width: 1px;
  height: 15px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.4));
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-20px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: 6rem;
  letter-spacing: 0.3em;
  margin-left: 0.15em; /* Compensate for letter spacing */
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1;
}

.hero-subtitle {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  letter-spacing: 0.5em;
  margin-left: 0.25em;
  color: var(--dodger-blue);
  margin-top: 1rem;
  text-transform: lowercase;
}

.hero-tagline {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-style: italic;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease 0.8s forwards;
}

.animate-fade-in-delayed {
  opacity: 0;
  animation: fadeIn 1s ease 1.4s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

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

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* PHILOSOPHY Section */
.philosophy-section {
  padding: 8rem 0;
  background-color: var(--white);
  text-align: center;
}

.philosophy-words {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 4rem 0;
}

.word-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.word-group .kr {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dodger-blue);
}

.word-group .en {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--dodger-blue);
}

.dot {
  color: var(--border-light);
  font-size: 2rem;
}

.philosophy-body {
  font-size: 1.25rem;
  color: var(--deep-navy);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* SERVICES Section */
.services-section {
  padding: 8rem 0;
  background-color: var(--light-blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--white);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--dodger-blue);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--light-blue);
  color: var(--dodger-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.service-icon i {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--mid-gray);
  font-size: 0.95rem;
}

/* WORKS Section */
.works-section {
  padding: 8rem 0;
  background-color: var(--white);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--mid-gray);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.filter-btn.active, .filter-btn:hover {
  color: var(--dodger-blue);
}

.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background-color: var(--dodger-blue);
}

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

.work-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
}

.work-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

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

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 144, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: var(--white);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

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

.work-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.work-overlay p {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.1s;
}

.work-item:hover .work-overlay h3,
.work-item:hover .work-overlay p {
  transform: translateY(0);
}

/* Placeholder backgrounds */
.bg-placeholder-1 { background: linear-gradient(135deg, #1E90FF, #0A1628); }
.bg-placeholder-2 { background: linear-gradient(135deg, #0A1628, #1E90FF); }
.bg-placeholder-3 { background: linear-gradient(135deg, #E8F4FF, #1E90FF); }
.bg-placeholder-4 { background: linear-gradient(135deg, #6B7280, #0A1628); }

/* YOUTUBE CHANNEL Section */
.channel-section {
  padding: 8rem 0;
  background-color: var(--dodger-blue);
  color: var(--white);
}

.channel-section .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 4rem;
  opacity: 0.9;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.video-card {
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.video-card:hover .video-thumbnail::after {
  background-color: rgba(0,0,0,0.4);
}

.play-icon {
  width: 48px;
  height: 48px;
  color: var(--white);
  z-index: 2;
  transition: transform 0.3s ease;
}

.video-card:hover .play-icon {
  transform: scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.video-info p {
  font-size: 0.9rem;
  opacity: 0.8;
  font-family: var(--font-ui);
}

.center-cta {
  text-align: center;
}

/* STUDIO RENTAL Section */
.studio-section {
  padding: 8rem 0;
  background-color: var(--white);
}

.studio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.studio-image-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.studio-image {
  aspect-ratio: 4/3;
  width: 100%;
}

.studio-text h2 {
  font-size: 2.5rem;
  color: var(--dodger-blue);
  margin-bottom: 1rem;
}

.studio-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.studio-text p {
  color: var(--mid-gray);
  margin-bottom: 2rem;
}

.studio-features {
  margin-bottom: 2.5rem;
}

.studio-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.studio-features i {
  color: var(--dodger-blue);
  width: 20px;
  height: 20px;
}

/* CONTACT Section */
.contact-section {
  padding: 8rem 0;
  background-color: var(--deep-navy);
  color: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-email {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  color: var(--dodger-blue);
  letter-spacing: 0.05em;
}

.contact-email:hover {
  color: var(--white);
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.contact-social:hover {
  color: var(--dodger-blue);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-ui), var(--font-kr);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dodger-blue);
  background-color: rgba(255, 255, 255, 0.1);
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
}

/* FOOTER */
footer {
  background-color: var(--deep-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
  color: var(--white);
}

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

.footer-logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-logo span {
  font-family: var(--font-ui);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: var(--dodger-blue);
}

.footer-socials a {
  color: var(--white);
  opacity: 0.8;
  transition: all 0.3s ease;
  display: inline-flex;
}

.footer-socials a:hover {
  color: var(--dodger-blue);
  opacity: 1;
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--mid-gray);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 4.5rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }
  
  .hero-title { font-size: 3.5rem; }
  .philosophy-words { flex-direction: column; gap: 1rem; }
  .dot { display: none; }
  
  .services-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
