@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Theme: Mediterranean Coastal Casino Hotel */
  --bg-primary: #FAFAF7; /* Warm Pearl */
  --bg-secondary: #F2EFE9; /* Light Sand */
  --surface-glass: rgba(255, 255, 255, 0.65);
  --surface-glass-hover: rgba(255, 255, 255, 0.85);
  --accent-primary: #2B5A71; /* Deep Azure Blue */
  --accent-primary-light: #3A738F; /* Soft Azure */
  --accent-secondary: #D97C6E; /* Sunset Coral */
  --accent-highlight: #D4AF37; /* Soft Gold */
  
  --text-primary: #2C3539; /* Deep Slate */
  --text-secondary: #5C676D; /* Muted Slate */
  --text-light: #FFFFFF;
  
  --border-subtle: rgba(44, 53, 57, 0.08);
  --border-glass: rgba(255, 255, 255, 0.5);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --container-max: 1320px;
  
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 60px;
  --space-xxl: 110px;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 12px rgba(43, 90, 113, 0.05);
  --shadow-md: 0 12px 32px rgba(43, 90, 113, 0.08);
  --shadow-lg: 0 24px 48px rgba(43, 90, 113, 0.12);
  --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.15);
  
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   Layout & Utilities
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-md); }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

.section-padding {
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 80px 0; }
}

@media (min-width: 1024px) {
  .section-padding { padding: var(--space-xxl) 0; }
}

.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* =========================================
   Typography
   ========================================= */
.heading-xl { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.heading-lg { font-size: clamp(2rem, 4vw, 3.5rem); }
.heading-md { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.subtitle {
  font-size: 1.25rem;
  color: var(--accent-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: block;
}

.legal-notice {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-md);
  padding: 12px 16px;
  background: var(--surface-glass);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  width: fit-content;
}

.legal-notice strong {
  color: var(--accent-secondary);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-light));
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 90, 113, 0.25);
}

.btn-secondary {
  background: var(--surface-glass);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-highlight);
  border-radius: 50%;
  display: inline-block;
}

.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-primary);
}

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

.header-actions {
  display: none;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--accent-primary);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .main-nav, .header-actions { display: block; }
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 100px var(--space-md);
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-primary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  padding-top: 140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

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

@media (min-width: 1024px) {
  .hero-content { padding-right: 40px; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: var(--space-lg);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  transition: transform 10s ease-out;
}

.hero-visual:hover .hero-image {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43, 90, 113, 0.2), rgba(212, 175, 55, 0.1));
  pointer-events: none;
}

/* =========================================
   Features / Content Cards
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
}

.feature-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--surface-glass-hover);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--accent-highlight);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

/* =========================================
   Content Pages (Legal, About, Contact)
   ========================================= */
.page-header {
  padding: 160px 0 80px;
  background: var(--bg-secondary);
  text-align: center;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface-glass);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.content-wrapper h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--accent-primary);
}

.content-wrapper p, .content-wrapper ul {
  margin-bottom: var(--space-md);
}

.content-wrapper ul {
  padding-left: 24px;
  color: var(--text-secondary);
}

.content-wrapper li {
  margin-bottom: 8px;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(43, 90, 113, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--text-primary);
  color: var(--text-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .logo {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.footer-text {
  color: var(--text-secondary);
  max-width: 400px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-highlight);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* =========================================
   Animations
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes gentleFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: gentleFloat 6s ease-in-out infinite;
}