@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400;500;600&family=Outfit:wght@300;400;500;600&family=Pretendard:wght@300;400;500&display=swap');

:root {
  --primary-color: #2b3e34; /* Deep Forest Green */
  --primary-light: #445D4E;
  --secondary-color: #d1ba98; /* Warm Wood/Beige */
  --text-dark: #1a1a1a;
  --text-light: #fdfcf8; /* Creamy White */
  --bg-color: #fdfcf8;
  --bg-alt: #f3f0e8;
  --font-heading: 'Noto Serif KR', serif;
  --font-body: 'Pretendard', 'Outfit', sans-serif;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

section {
  padding: 8rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-smooth);
}

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

/* Header / Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition-smooth);
  background: transparent;
}

header.scrolled {
  background: rgba(253, 252, 248, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

nav a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./image/1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  z-index: 0;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInDown 1s ease 0.5s forwards;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.hero-btn:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* About Section */
.about {
  background-color: var(--bg-color);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #ddd;
  padding-top: 2rem;
}

.stat h4 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  font-family: var(--font-heading);
}

.stat span {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Programs Section */
.programs {
  background-color: var(--bg-alt);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.program-card:hover .card-img::after {
  background: rgba(0,0,0,0);
}

.card-img.img-terra { background-image: url('./assets/class-image.png'); }
.card-img.img-flower { background-color: var(--primary-light); } /* Placeholder if only 3 images */
.card-img.img-centerpiece { background-color: var(--secondary-color); } /* Placeholder */

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.card-content p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.card-link:hover {
  gap: 0.8rem;
}

/* Spatial Rental Section */
.rental {
  position: relative;
  color: var(--text-light);
  background-color: var(--primary-color);
}

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

.rental-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.rental-img-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.8s ease;
}

.rental-img-wrapper:hover img {
  transform: scale(1.05);
}

.rental-text {
  padding-right: 2rem;
}

.rental-text h2 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.rental-text p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.rental-list {
  list-style: none;
  margin-bottom: 2rem;
}

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

.rental-list li::before {
  content: '✦';
  color: var(--secondary-color);
}

/* Portfolio & Media Section */
.portfolio-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.portfolio-item {
  padding: 2rem;
  border-bottom: 1px solid #eee;
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  background-color: #fff;
  border-bottom-color: var(--secondary-color);
  transform: translateY(-5px);
}

.p-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.p-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.p-desc {
  font-size: 0.9rem;
  color: #777;
}

/* Footer */
footer {
  background-color: #1a241e;
  color: #fff;
  padding: 5rem 0 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  text-align: left;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  animation: modalPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--primary-color);
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: #666;
  font-size: 0.9rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: var(--primary-light);
}

/* Booking Tabs */
.booking-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 0.4rem;
}

.booking-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: #888;
  transition: all 0.3s ease;
}

.booking-tab.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.booking-tab:hover:not(.active) {
  color: var(--primary-color);
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Naver Booking Card */
.naver-booking-card {
  text-align: center;
  padding: 1rem 0;
}

.naver-booking-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.naver-booking-logo span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.naver-booking-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.naver-booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #03C75A;
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(3, 199, 90, 0.35);
}

.naver-booking-btn:hover {
  background: #02b350;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 199, 90, 0.45);
}

.naver-booking-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.naver-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #555;
}

/* Hero Stats Strip */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(43, 62, 52, 0.75);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(209,186,152,0.2);
  z-index: 2;
  animation: fadeInUp 1s ease 1.4s both;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 3rem;
  gap: 0.25rem;
}

.hs-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--secondary-color);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hs-num small {
  font-size: 0.9rem;
}

.hs-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(209,186,152,0.25);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

/* About Tag */
.about-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary-color);
  border: 1px solid rgba(209,186,152,0.5);
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

/* About Features */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0 2rem;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #555;
}

/* Spaces Gallery Section */
.spaces {
  background: var(--bg-color);
  padding: 8rem 0;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.space-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.space-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.space-card--wide {
  grid-column: span 2;
}

.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 260px;
}

.space-card--large img {
  min-height: 540px;
}

.space-card:hover img {
  transform: scale(1.06);
}

.space-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: white;
  transform: translateY(10px);
  opacity: 0.9;
  transition: all 0.4s ease;
}

.space-card:hover .space-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.space-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary-color);
  margin-bottom: 0.4rem;
  display: block;
}

.space-card-overlay h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: white;
}

.space-card--large .space-card-overlay h3 {
  font-size: 1.5rem;
}

.space-card-overlay p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem;
}

.space-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.space-tags span {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Card Badges */
.card-badges {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.card-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  border-radius: 20px;
}

.card-badge--inquiry {
  border-color: #aaa;
  color: #888;
  text-transform: none;
  letter-spacing: 0;
}

/* Photo Gallery Section */
.gallery-section {
  background: var(--bg-alt);
  padding: 8rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }
}

/* Use Cases Section */
.usecases {
  background: var(--primary-color);
  padding: 8rem 0;
}

.usecases .section-title {
  color: var(--text-light);
}

.usecases .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.usecase-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(209,186,152,0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.usecase-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(209,186,152,0.4);
  transform: translateY(-4px);
}

.usecase-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(209,186,152,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--secondary-color);
}

.usecase-card h4 {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.usecase-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Access & Info Section */
.access-section {
  background: var(--bg-alt);
  padding: 8rem 0;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.map-placeholder {
  background: white;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid #e8e4da;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #03C75A;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.map-btn:hover {
  background: #02b350;
}

.access-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.access-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #e8e4da;
}

.access-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(43,62,52,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.access-info-card h4 {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.access-info-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.access-info-card small {
  font-size: 0.775rem;
  color: #aaa;
}

.access-cta {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e8e4da;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.7;
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  border-color: rgba(209,186,152,0.4);
}

/* Portfolio Visual Grid */
.portfolio {
  background: #fdfdfd;
  padding: 8rem 0;
}

.portfolio-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pv-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.pv-card--tall {
  grid-row: span 2;
}

.pv-card--wide {
  grid-column: span 2;
}

.pv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-card:hover img {
  transform: scale(1.06);
}

.pv-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: white;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(8px);
}

.pv-card:hover .pv-card-info {
  opacity: 1;
  transform: translateY(0);
}

.pv-card-info .p-category {
  color: var(--secondary-color);
  font-size: 0.7rem;
  margin-bottom: 0.3rem;
}

.pv-card-info h3 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 0.3rem;
}

.pv-card-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

/* Credits Grid */
.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.credit-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e4da;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.credit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.credit-card--nolink {
  cursor: default;
}

.credit-card--nolink:hover {
  transform: none;
  box-shadow: none;
}

/* Card thumbnail */
.credit-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credit-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.credit-card:hover .credit-card-thumb img {
  transform: scale(1.07);
}

.credit-card-thumb--insta,
.credit-card-thumb--brand {
  flex-direction: column;
  gap: 0.75rem;
}

.credit-card-insta-icon {
  width: 52px;
  height: 52px;
  opacity: 0.9;
}

.credit-card-brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

/* Play button overlay */
.credit-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.credit-card-play i,
.credit-card-play svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.credit-card:hover .credit-card-play {
  opacity: 1;
}

/* Genre badge on thumbnail */
.credit-card-genre {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(0,0,0,0.55);
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.credit-card-thumb--brand .credit-card-genre,
.credit-card-thumb--insta .credit-card-genre {
  position: static;
  background: rgba(255,255,255,0.2);
  font-size: 0.6rem;
}

/* Card info */
.credit-card-info {
  padding: 1.1rem 1.25rem 1.25rem;
}

.credit-card-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.credit-card-info h3 em {
  font-style: normal;
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 400;
  margin-left: 0.4rem;
}

.credit-card-info p {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.45;
}

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

@media (max-width: 560px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery Masonry */
.gallery-masonry {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.gallery-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-col img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .gallery-masonry {
    flex-direction: column;
  }
}

.portfolio-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid #e8e4da;
}

.portfolio-cta p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.portfolio-cta-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.portfolio-cta-btn:hover {
  background: var(--primary-light);
}

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 1024px) {
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
  .space-card--large { grid-column: span 2; }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .access-grid { grid-template-columns: 1fr; }
  .credits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }

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

  nav ul { display: none; }
  .cta-btn { font-size: 0.85rem; padding: 0.55rem 1.1rem; }

  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 0.8rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-stats { display: none; }

  .about-grid, .rental-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-features { grid-template-columns: 1fr 1fr; }

  .spaces-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .space-card--large { grid-column: span 2; }
  .space-card { border-radius: 10px; }

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

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

  .credits-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .gallery-masonry { gap: 0.75rem; }

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

  .footer-content { flex-direction: column; gap: 2.5rem; }
  .footer-links { flex-wrap: wrap; gap: 0.75rem; }
}

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

  .section-title { font-size: 1.7rem; }
  .section-subtitle { font-size: 0.88rem; line-height: 1.7; }

  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 0.85rem; }
  .hero-stat-item { padding: 0.85rem 1.25rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; align-items: flex-start; }

  .spaces-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .space-card--large { grid-column: span 1; grid-row: span 1; }
  .space-card img { min-height: 220px; }

  .programs-grid { grid-template-columns: 1fr; }
  .card-img { height: 200px; }

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

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

  .gallery-masonry { flex-direction: column; }

  .about-features { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

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

  .portfolio-cta { padding: 2rem 1.25rem; }

  .booking-modal .modal-body { padding: 1.25rem; }
}
