/* ==========================================================================
   SUNRISE PALACE & RESORT - LUXURY DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CORE VARIABLES & THEME TOKENS (Blue, Yellow, Red Brand Palette)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Matched with Sunrise Logo (Vibrant Blue, Yellow, Red) */
  --primary: #0D3B66;          /* Sunrise Royal Blue */
  --primary-light: #1E5083;    /* Lighter Ocean Blue */
  --primary-dark: #071D33;     /* Deep Midnight Blue */
  
  --secondary: #F7B801;        /* Sunrise Radiant Yellow */
  --secondary-light: #FFE066;  /* Warm Sunbeam Yellow */
  --secondary-dark: #D49B00;   /* Deep Amber Yellow */

  --accent-red: #E63946;       /* Sunset Crimson Red */
  --accent-red-light: #FF6B6B; /* Soft Crimson */
  --accent-red-dark: #B71C1C;  /* Royal Deep Red */
  
  --bg-main: #F8F9FA;          /* Soft Silk White */
  --bg-card: #FFFFFF;          /* Pure White */
  --bg-dark: #0A192F;          /* Dark Obsidian */
  --bg-darker: #050E1A;
  
  --text-dark: #0D3B66;        /* Deep Royal Blue Text */
  --text-light: #F8F9FA;
  --text-muted: #555555;
  --text-gold: #F7B801;
  --text-red: #E63946;
  
  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #F7B801 0%, #FFE066 50%, #E63946 100%);
  --navy-gradient: linear-gradient(135deg, #0D3B66 0%, #1E5083 50%, #071D33 100%);
  --red-gradient: linear-gradient(135deg, #E63946 0%, #FF6B6B 50%, #B71C1C 100%);
  --hero-overlay: linear-gradient(180deg, rgba(7, 29, 51, 0.6) 0%, rgba(7, 29, 51, 0.85) 100%);
  
  /* Glassmorphism & Header */
  --glass-bg: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(247, 184, 1, 0.4);
  --glass-shadow: 0 10px 30px rgba(13, 59, 102, 0.12);
  
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-subheading: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Layout & Spacing */
  --container-max: 1320px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: #222222;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Cursor Disabled */
.luxury-cursor, .luxury-cursor-follower {
  display: none !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

a:hover {
  color: var(--accent-red);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--secondary) !important; }
.text-red { color: var(--accent-red) !important; }
.text-navy { color: var(--primary) !important; }
.text-white { color: #FFFFFF !important; }
.bg-navy { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }
.bg-silk { background-color: var(--bg-main) !important; }

/* Subtitle Tagline */
.sub-tagline {
  font-family: var(--font-subheading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-red);
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.sub-tagline-gold {
  color: var(--secondary-light);
}

/* Section Title Wrapper */
.section-header {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-header .divider-gold {
  width: 90px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 1rem auto;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. LUXURY BUTTONS & BADGES
   -------------------------------------------------------------------------- */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--secondary);
  background: var(--gold-gradient);
  color: var(--primary-dark);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(247, 184, 1, 0.35);
}

.btn-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 2;
}

.btn-luxury:hover::before {
  left: 100%;
}

.btn-luxury:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.45);
  color: #FFFFFF;
  background: var(--red-gradient);
  border-color: var(--accent-red);
}

.btn-outline-gold {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  box-shadow: none;
}

.btn-outline-gold:hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(247, 184, 1, 0.4);
}

.btn-navy {
  background: var(--primary);
  color: #FFFFFF;
  border: 1px solid var(--primary-light);
  box-shadow: 0 4px 15px rgba(13, 59, 102, 0.3);
}

.btn-navy:hover {
  background: var(--accent-red);
  color: #FFFFFF;
  border-color: var(--accent-red);
}

/* Badge */
.badge-gold {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(247, 184, 1, 0.18);
  border: 1px solid var(--secondary);
  color: var(--secondary-dark);
  border-radius: var(--radius-sm);
}

.badge-red {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   4. CREATIVE WHITE HEADER WITH ROYAL BLUE FONT
   -------------------------------------------------------------------------- */
.header-top-bar {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--secondary);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-social {
  display: flex;
  gap: 1rem;
}

.top-social a {
  color: var(--secondary-light);
  font-size: 0.9rem;
}

.top-social a:hover {
  color: var(--accent-red);
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: 0 4px 25px rgba(13, 59, 102, 0.1);
  border-bottom: 2px solid var(--secondary);
  transition: all 0.4s ease;
}

.main-header.scrolled {
  padding: 0.3rem 0;
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(13, 59, 102, 0.18);
  border-bottom-color: var(--accent-red);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(13, 59, 102, 0.2));
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.brand-subtitle {
  font-family: var(--font-subheading);
  font-size: 0.8rem;
  color: var(--accent-red);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary) !important;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-red) !important;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION & VIDEO BACKGROUND
   -------------------------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}

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

.hero-bg-media img,
.hero-bg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  text-align: center;
  max-width: 900px;
  padding: 4rem 1rem 6rem;
}

.hero-content h1 {
  color: #FFFFFF;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.15;
  margin: 1rem 0 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   6. LUXURY CARDS & GRID LAYOUTS
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.luxury-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 59, 102, 0.08);
  border: 1px solid rgba(247, 184, 1, 0.25);
  transition: all 0.4s ease;
  position: relative;
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 59, 102, 0.2);
  border-color: var(--accent-red);
}

.card-image-box {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.luxury-card:hover .card-image-box img {
  transform: scale(1.08);
}

.card-price-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--primary);
  border: 1px solid var(--secondary);
  color: #FFFFFF;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.card-content {
  padding: 1.8rem;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.luxury-card:hover .card-content h3 {
  color: var(--accent-red);
}

.room-amenities-icons {
  display: flex;
  gap: 1.2rem;
  margin: 1.2rem 0;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.room-amenities-icons span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* --------------------------------------------------------------------------
   7. STATS & COUNTERS SECTION
   -------------------------------------------------------------------------- */
.stats-banner {
  background: var(--navy-gradient);
  color: #FFFFFF;
  padding: 4rem 0;
  border-top: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   8. TESTIMONIALS & REVIEWS
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 184, 1, 0.3);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  color: #FFFFFF;
  position: relative;
  backdrop-filter: blur(10px);
}

.star-rating {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.3rem;
}

.testimonial-text {
  font-family: var(--font-subheading);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.guest-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guest-name {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
}

.guest-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   9. RICH LUXURY FOOTER FOR ALL PAGES
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 3px solid var(--secondary);
  position: relative;
}

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

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(247, 184, 1, 0.3);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #FFFFFF;
  outline: none;
  width: 100%;
}

.newsletter-form button {
  padding: 0.8rem 1.2rem;
  background: var(--gold-gradient);
  border: none;
  color: var(--primary-dark);
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--accent-red);
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 1.5px solid var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-red);
  color: #FFFFFF;
  border-color: var(--accent-red);
  transform: translateY(-4px);
}
