/* ==========================================================================
   AFTER ISTANBUL - PREMIUM LUXURY TRAVEL EXPERIENCE
   Apple meets Aman Hotels meets Soho House Design System
   ========================================================================== */

/* --- Custom Variables & Theme Core --- */
:root {
  --bg-primary: #070708;
  --bg-secondary: #0D0D0E;
  --bg-card: #121214;
  --bg-glass: rgba(13, 13, 14, 0.75);
  
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A5;
  --text-muted: #6E6E73;
  --accent-gold: #C5A880; /* Soft luxury champagne gold used extremely sparingly */
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.3);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #252528;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3c3c40;
}

/* Selection Highlight */
::selection {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

/* --- Typography --- */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4rem;
  position: relative;
  z-index: 2;
}

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

section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  z-index: 100;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  height: 70px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: var(--text-primary);
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.logo span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--text-secondary);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--text-primary);
  margin-bottom: 6px;
  transition: var(--transition-fast);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.menu-toggle.active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 105;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: block;
  }

  .nav-actions .btn-nav-book {
    display: none;
  }
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  padding: 1.25rem 2.5rem;
  border-radius: 0;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
}

/* Micro hover lines for text buttons */
.btn-text {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-fast);
}

.btn-text span {
  display: inline-block;
  transition: var(--transition-smooth);
}

.btn-text:hover span {
  transform: translateX(6px);
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.btn-text:hover::after {
  transform: scaleX(1);
}

/* --- HERO SECTION (Cinematic Immersive) --- */
#hero {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Cinematic Ken Burns Image Slide */
.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
  animation: kenBurns 18s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08) translateY(-10px);
  }
}

/* High contrast luxury dark gradients for cinematic overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--bg-primary) 0%, rgba(7, 7, 8, 0.4) 60%, rgba(7, 7, 8, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
  margin-top: 40px;
}

.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 0.04em;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 300;
  margin-bottom: 3.5rem;
  letter-spacing: 0.02em;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

/* Global Entrance Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- ABOUT SECTION (Minimal & Cinematic Narrative) --- */
#about {
  background-color: var(--bg-primary);
  z-index: 2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.about-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.about-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
}

.about-body p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-body p strong {
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  display: block;
  margin-top: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* --- EXPERIENCES SECTION (Premium Cards) --- */
#experiences {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.section-title {
  font-size: 3.2rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.4rem;
  }
}

.section-desc {
  max-width: 450px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

@media (max-width: 992px) {
  .experiences-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Premium Card Design */
.experience-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.experience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.exp-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.exp-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
  transition: var(--transition-smooth);
}

.experience-card:hover .exp-img {
  transform: scale(1.06);
  filter: brightness(0.95);
}

.exp-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 576px) {
  .exp-content {
    padding: 1.75rem;
  }
}

.exp-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.exp-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.exp-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.exp-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  gap: 1.5rem;
}

/* --- WHY AFTER ISTANBUL (Aman-style grid) --- */
#why {
  background-color: var(--bg-primary);
}

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

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

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

.why-card {
  padding: 3.5rem 3rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.why-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 2.5rem;
  color: var(--accent-gold);
  stroke-width: 1px;
}

.why-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- GALLERY SECTION (Cinematic Editorial Grid) --- */
#gallery {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

@media (max-width: 768px) {
  .gallery-grid {
    gap: 1rem;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.1);
  transition: var(--transition-smooth);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.95);
}

/* Custom Cinematic Grid Mapping */
.gallery-span-12 { grid-column: span 12; height: 500px; }
.gallery-span-8 { grid-column: span 8; height: 400px; }
.gallery-span-4 { grid-column: span 4; height: 400px; }
.gallery-span-6 { grid-column: span 6; height: 450px; }

@media (max-width: 992px) {
  .gallery-span-8 { grid-column: span 12; height: 350px; }
  .gallery-span-4 { grid-column: span 12; height: 350px; }
  .gallery-span-6 { grid-column: span 12; height: 350px; }
  .gallery-span-12 { height: 350px; }
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  background: linear-gradient(0deg, rgba(7, 7, 8, 0.9) 0%, rgba(7, 7, 8, 0) 100%);
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  z-index: 3;
}

.gallery-item:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.gallery-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
}

/* --- CTA SECTION (Bold & Premium Statement) --- */
#cta {
  background-color: var(--bg-primary);
  text-align: center;
  padding: 12rem 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2.8rem;
  }
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FOOTER --- */
footer {
  background-color: #070708;
  border-top: 1px solid var(--border-light);
  padding: 6rem 0 3rem;
  z-index: 2;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-brand .logo {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* --- PREMIUM VIP CONCIERGE MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 7, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  place-items: center;
  align-items: start;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  overflow-y: auto;
  padding: 3rem 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 650px;
  padding: 4.5rem 4rem;
  position: relative;
  transform: translateY(40px);
  transition: var(--transition-smooth);
  margin: auto;
}

@media (max-width: 768px) {
  .modal-container {
    padding: 3rem 2rem;
  }
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
  stroke-width: 1.5;
  transition: var(--transition-fast);
}

.modal-close:hover svg {
  stroke: var(--text-primary);
}

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

.modal-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Concierge Form Fields */
.concierge-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
  border-radius: 0;
  outline: none;
}

.form-input:focus {
  border-color: var(--text-primary);
}

/* Custom select dropdown */
select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
}

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

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.form-submit-btn {
  margin-top: 1.5rem;
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--text-primary);
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 1.35rem;
}

.form-submit-btn:hover {
  background-color: transparent;
  color: var(--text-primary);
}

/* Success State Inside Modal */
.form-success-state {
  display: none;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon {
  width: 50px;
  height: 50px;
  stroke: var(--accent-gold);
  stroke-width: 1px;
  margin-bottom: 2.5rem;
}

.success-title {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
}

.success-message {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.8;
}

/* --- Scroll Animation Trigger Utilities (Intersection Observer) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom timing classes */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* --- SECTION 3.5: INTERACTIVE MOODBOARD PLANNER --- */
#moodboard {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.mood-tabs-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.mood-tab {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mood-tab:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.mood-tab.active {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  font-weight: 500;
}

/* Display Card */
.mood-display-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 4.5rem;
  transition: var(--transition-smooth);
}

@media (max-width: 992px) {
  .mood-display-card {
    padding: 3rem 2rem;
  }
}

.mood-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
}

@media (max-width: 992px) {
  .mood-content-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.mood-display-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.mood-display-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.mood-spec-group {
  margin-bottom: 2rem;
}

.mood-spec-group:last-child {
  margin-bottom: 0;
}

.spec-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.mood-spec-group p {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Color Circles */
.color-palette {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

.color-swatch:hover {
  transform: scale(1.15);
  border-color: #FFF;
}

.color-swatch::after {
  content: attr(data-hex);
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-family: var(--font-sans);
  color: var(--text-muted);
  opacity: 0;
  transition: var(--transition-fast);
  pointer-events: none;
}

.color-swatch:hover::after {
  opacity: 1;
}

/* Timeline */
.mood-timeline-col {
  border-left: 1px solid var(--border-light);
  padding-left: 4rem;
}

@media (max-width: 992px) {
  .mood-timeline-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 3rem;
  }
}

.timeline-header-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 1rem;
  width: 1px;
  height: calc(100% + 2.5rem);
  background-color: var(--border-light);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-time {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.timeline-activity {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.timeline-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- ELEGANT LANGUAGE SWITCHER --- */
.lang-selector {
  position: relative;
  z-index: 102;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  list-style: none;
  padding: 0.35rem 0;
  width: 90px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-fast);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-selector.active .lang-dropdown,
.lang-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lang-dropdown button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
  text-transform: uppercase;
  display: block;
}

.lang-dropdown button:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.04);
}

/* --- RIGHT-TO-LEFT (RTL) ARABIC OVERRIDES --- */
html[dir="rtl"] {
  direction: rtl;
  unicode-bidi: embed;
}

html[dir="rtl"] body {
  text-align: right;
}

/* RTL Fonts Optimization (Prevent massive letter-spacing in Arabic) */
html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4, 
html[dir="rtl"] p, 
html[dir="rtl"] span, 
html[dir="rtl"] button, 
html[dir="rtl"] a {
  letter-spacing: 0 !important;
}

html[dir="rtl"] .logo span {
  letter-spacing: 0 !important;
}

/* Language selector dropdown adjustment */
html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang-dropdown button {
  text-align: right;
}

/* Modal Close positioning */
html[dir="rtl"] .modal-close {
  right: auto;
  left: 2.5rem;
}

/* Arrow Flipping */
html[dir="rtl"] .btn-text span,
html[dir="rtl"] .arrow-symbol {
  transform: scaleX(-1);
  display: inline-block;
}

/* Interactive Timeline RTL flips */
html[dir="rtl"] .mood-timeline-col {
  border-left: none;
  border-right: 1px solid var(--border-light);
  padding-left: 0;
  padding-right: 4rem;
}

@media (max-width: 992px) {
  html[dir="rtl"] .mood-timeline-col {
    border-right: none;
    padding-right: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 3rem;
  }
}

html[dir="rtl"] .timeline-item {
  padding-left: 0;
  padding-right: 2rem;
}

html[dir="rtl"] .timeline-item::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .timeline-item::after {
  left: auto;
  right: 2px;
}

/* --- FLOATING LUXURY WHATSAPP CONCIERGE WIDGET --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 99;
  background-color: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.3); /* Thin gold border */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  text-decoration: none;
}

.floating-whatsapp.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-whatsapp::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.15);
}

.floating-whatsapp:hover::after {
  opacity: 0.6;
  transform: scale(1.2);
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Micro-notification pulse indicator in gold */
.whatsapp-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(197, 168, 128, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
  }
}

/* RTL positioning adjustment */
html[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 2.5rem;
}

