/* Raqueen Konveksi — Premium Custom Styles */

:root {
  --color-cream: #faf8f5;
  --color-beige: #e8e0d5;
  --color-mocca: #a68b6f;
  --color-mocca-dark: #8b7355;
  --color-gray-soft: #f5f4f2;
  --color-gray: #9a9590;
  --color-charcoal: #2a2826;
  --color-black: #1a1918;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-soft: 0 4px 24px rgba(26, 25, 24, 0.06);
  --shadow-luxury: 0 20px 60px rgba(26, 25, 24, 0.08);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "kern" 1, "liga" 1;
  cursor: none;
}

body.loading {
  overflow: hidden;
}

/* Custom cursor */
.cursor-dot,
.cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--transition-smooth),
    height 0.3s var(--transition-smooth),
    background 0.3s var(--transition-smooth),
    border-color 0.3s var(--transition-smooth);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--color-mocca);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(166, 139, 111, 0.5);
  background: transparent;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--color-mocca);
  background: rgba(166, 139, 111, 0.08);
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* Loading screen */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--transition-smooth),
    visibility 0.6s var(--transition-smooth);
}

.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--color-charcoal);
  margin-bottom: 2rem;
}

.loader-bar {
  width: 120px;
  height: 1px;
  background: var(--color-beige);
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: "";
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-mocca);
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.glass-dark {
  background: rgba(26, 25, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating shapes */
.float-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatDrift 12s ease-in-out infinite;
}

.float-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-beige);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.float-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(166, 139, 111, 0.25);
  bottom: 20%;
  left: -10%;
  animation-delay: -4s;
}

.float-shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(232, 224, 213, 0.6);
  top: 40%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes floatDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--transition-smooth),
    transform 0.8s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--transition-smooth),
    box-shadow 0.3s var(--transition-smooth);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--transition-smooth);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-luxury);
}

.btn-outline {
  transition: all 0.3s var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--color-charcoal);
  color: white;
  transform: translateY(-2px);
}

/* Cards */
.card-luxury {
  transition: transform 0.4s var(--transition-smooth),
    box-shadow 0.4s var(--transition-smooth);
}

.card-luxury:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-luxury);
}

/* Navbar */
.navbar-scrolled {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

/* Footer social — minimal white border */
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  transition:
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.footer-social-btn:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

/* FAQ accordion */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth), padding 0.4s var(--transition-smooth);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-icon {
  transition: transform 0.3s var(--transition-smooth);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Gallery masonry */
.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .masonry-grid { column-count: 2; }
}

@media (max-width: 640px) {
  .masonry-grid { column-count: 1; }
}

/* WhatsApp float */
.wa-float {
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5); }
}

/* Image hover */
.img-luxury {
  transition: transform 0.6s var(--transition-smooth);
}

.img-luxury:hover {
  transform: scale(1.03);
}

/* Stat counter animation */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Pricing table */
.pricing-row:hover {
  background: rgba(232, 224, 213, 0.3);
}

/* Section spacing */
.section-luxury {
  padding-top: clamp(5rem, 12vw, 8rem);
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

/* Hero gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-mocca) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Line decoration */
.line-accent {
  width: 48px;
  height: 1px;
  background: var(--color-mocca);
}

/* Testimonial quote */
.quote-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-beige);
}
