/* =================================================================
   Modern Responsive CSS for tsimshatsui.hk
   Hong Kong-inspired design with mobile-first approach
   Following recoleta-ba.com structure but customized for Hong Kong
   ================================================================= */

/* ===== CSS VARIABLES - Hong Kong Colors ===== */
:root {
  /* Hong Kong Flag Colors */
  --hk-red: #DE2910;
  --hk-white: #FFFFFF;
  
  /* Extended Hong Kong Palette */
  --primary-red: var(--hk-red);
  --accent-gold: #FFD700; /* Gold for luxury feel */
  --text-dark: #2C3E50;
  --text-light: #6C757D;
  --white: var(--hk-white);
  --background-light: #F8F9FA;
  --border-light: #E9ECEF;
  --red-dark: #B91C1C; /* Darker red for hovers */
  --red-light: #FEF2F2; /* Light red for backgrounds */
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --mobile-padding: 1.5rem;
  --section-padding: 2rem 0;
  --border-radius: 8px;
  
  /* Shadows */
  --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-strong: 0 8px 16px rgba(0,0,0,0.2);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* ===== LAYOUT CONTAINERS ===== */
.site-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
}

/* ===== HEADER & HERO SECTION ===== */
.site-header {
  position: relative;
  background-color: var(--primary-red);
  color: var(--white);
  overflow: hidden;
}

.hero-section {
  background-image: url('images/slide3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Very mild overlay for better text readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15); /* Very subtle dark overlay */
  backdrop-filter: saturate(0.9); /* Very mild desaturation */
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  background: rgba(0,0,0,0.4); /* Better contrast background for text */
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  background: rgba(0,0,0,0.3); /* Better contrast background for subtitle */
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  display: inline-block;
}

/* ===== NAVIGATION ===== */
.main-navigation {
  background-color: var(--white);
  border-bottom: 3px solid var(--primary-red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-medium);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--mobile-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-red);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--red-dark);
}

/* Desktop Navigation */
.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  display: block;
  padding: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-red);
  background-color: var(--red-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-red);
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 1rem;
  margin-right: 1rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -280px; /* Start hidden off-screen */
  width: 280px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-strong);
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  left: 0; /* Slide in when active */
}

.mobile-menu-header {
  background-color: var(--primary-red);
  color: var(--white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-menu a {
  display: block;
  padding: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.mobile-nav-menu a:hover {
  background-color: var(--red-light);
  color: var(--primary-red);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  padding: var(--section-padding);
}

/* ===== CALLOUT STYLES ===== */
.callout-info {
  background-color: #EBF8FF;
  border: 1px solid #BEE3F8;
  border-left: 4px solid #3182CE;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: var(--border-radius);
}

.callout-warning {
  background-color: #FFFBEB;
  border: 1px solid #FED7AA;
  border-left: 4px solid #F59E0B;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: var(--border-radius);
}

.callout-tip {
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-left: 4px solid #10B981;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: var(--border-radius);
}

.callout-cultural {
  background-color: var(--red-light);
  border: 1px solid #FECACA;
  border-left: 4px solid var(--primary-red);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: var(--border-radius);
}

.callout-luxury {
  background-color: #FFFBEB;
  border: 1px solid #FED7AA;
  border-left: 4px solid var(--accent-gold);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: var(--border-radius);
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 2rem 0 1rem;
  margin-top: auto;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  margin-bottom: 0.5rem;
}

.footer-content a {
  color: var(--accent-gold);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile First - Base styles above are for mobile */

/* Tablet and small desktop */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .content-wrapper {
    padding: 0 2rem;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-section {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
}

/* Mobile-specific styles for content */
@media (max-width: 767px) {
  .main-content img {
    width: 100%;
    height: auto;
  }
  
  .main-content {
    padding-left: var(--mobile-padding);
    padding-right: var(--mobile-padding);
  }
  
  /* Allow images to go to screen edge but keep text centered */
  .main-content .full-width-mobile {
    margin-left: calc(-1 * var(--mobile-padding));
    margin-right: calc(-1 * var(--mobile-padding));
    width: calc(100% + 2 * var(--mobile-padding));
  }
}

/* Print styles */
@media print {
  .mobile-menu-toggle,
  .mobile-menu-overlay,
  .mobile-menu-backdrop {
    display: none !important;
  }
}