/* ROWISM The Black - Ultra Premium Luxury Styles */

/* Base Typography - More Refined */
body {
  font-family: 'Pretendard', -apple-system, sans-serif;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar - Minimal */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 98, 0.15);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 98, 0.25);
}

/* Selection - Subtle Gold */
::selection {
  background-color: rgba(201, 169, 98, 0.15);
  color: #E8E8E8;
}

/* Noise Texture Background */
.bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Fade-in Animation - Slower & More Elegant */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Scroll-based Animation - Ultra Smooth */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation - More Transparent */
#navbar.scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.08), transparent);
}

/* FAQ - Refined Accordion */
.faq-item {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item:hover {
  background-color: rgba(26, 26, 26, 0.3);
}

.faq-question {
  cursor: pointer;
  transition: all 0.5s ease;
}

.faq-icon {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Links - Subtle Underline Effect */
a {
  position: relative;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Ultra Thin Borders */
.border-white\/5 {
  border-color: rgba(255, 255, 255, 0.03);
}

/* Mobile CTA - More Refined */
@media (max-width: 1023px) {
  .fixed.bottom-0 {
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.98), rgba(10, 10, 10, 0.95));
  }
}

/* Hover States - More Subtle */
.group:hover {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Champagne Gold - Slightly Muted */
.text-champagne {
  color: #C4A55A;
}

.bg-champagne {
  background-color: #C4A55A;
}

.border-champagne {
  border-color: #C4A55A;
}

/* Text Opacity Refinements */
.text-off-white\/80 {
  color: rgba(232, 232, 232, 0.75);
}

.text-off-white\/60 {
  color: rgba(232, 232, 232, 0.55);
}

.text-off-white\/40 {
  color: rgba(232, 232, 232, 0.35);
}

.text-off-white\/30 {
  color: rgba(232, 232, 232, 0.25);
}

/* Button Hover - Elegant Transition */
a[href="#reserve"],
a[href="https://booking.naver.com/"] {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

a[href="#reserve"]:hover,
a[href="https://booking.naver.com/"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 165, 90, 0.15);
}

/* Section Spacing - More Generous */
section {
  position: relative;
}

/* Grid Gap Refinement */
.gap-px {
  gap: 1px;
}

/* Image Placeholder for Future */
.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

/* Subtle Grain Overlay */
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 0;
}

section > * {
  position: relative;
  z-index: 1;
}

/* Philosophy & Features Cards - Refined Hover */
.group.hover\:bg-soft-black\/30:hover,
.group.hover\:bg-soft-black\/50:hover {
  background-color: rgba(26, 26, 26, 0.2);
}

/* Menu Items - Subtle Hover */
.group:hover h4,
.group:hover h3 {
  transition: color 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Timeline Dots - Refined */
.rounded-full.bg-champagne\/30 {
  box-shadow: 0 0 15px rgba(196, 165, 90, 0.1);
}

/* Map Filter - Darker */
iframe {
  filter: grayscale(100%) invert(92%) contrast(85%) brightness(0.9);
}

/* Letter Spacing Adjustments */
.tracking-\[0\.4em\] {
  letter-spacing: 0.45em;
}

.tracking-\[0\.3em\] {
  letter-spacing: 0.35em;
}

.tracking-\[0\.25em\] {
  letter-spacing: 0.28em;
}

/* Font Weight - Lighter */
.font-light {
  font-weight: 280;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    letter-spacing: 0.15em;
  }
  
  h2 {
    letter-spacing: 0.08em;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  nav, .fixed.bottom-0 {
    display: none;
  }
}
