/* ==========================================================================
   HEADER AND FOOTER CSS - Reusable header/footer styles across all pages
   Extracted from css/styles.css
   ========================================================================== */

/* ==========================================================================
   FOOTER CSS VARIABLES AND BASE STYLES
   ========================================================================== */

.footer-new {
  --footer-primary: #ffffff;
  --footer-secondary: #1a1a1a;
  --footer-accent: #888888;
  --footer-text: #ffffff;
  --footer-muted: #a0a0a0;
  --footer-muted-dark: #666666;
  --footer-bg: #141F4C;
  --footer-card-bg: #141F4C;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-border-hover: rgba(255, 255, 255, 0.2);
  --footer-font: 'DM Sans', sans-serif;
  background: #141F4C;
  position: relative;
  overflow: visible;
}

.footer-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.02) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.015) 0%, transparent 50%);
  pointer-events: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3rem, 2rem + 4vw, 5rem) clamp(1rem, 2vw, 3rem) 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.footer-column {
  position: relative;
}

.footer-card {
  background: var(--footer-card-bg);
  border: 1px solid var(--footer-border);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: 0.3s ease;
}

.footer-card:hover {
  border-color: var(--footer-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ==========================================================================
   FOOTER BRAND SECTION
   ========================================================================== */

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-brand .footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand .brand-tagline {
  color: var(--footer-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SOCIAL LINKS
   ========================================================================== */

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--footer-border);
  color: var(--footer-muted);
  font-size: 1.1rem;
  transition: 0.3s ease;
}

.social-link:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

/* ==========================================================================
   FOOTER HEADINGS
   ========================================================================== */

.footer-heading {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 600;
  color: var(--footer-text);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* ==========================================================================
   FOOTER LINKS
   ========================================================================== */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  position: relative;
  color: var(--footer-muted);
  font-size: 0.9375rem;
  padding-left: 0;
  transition: 0.3s ease;
  display: inline-block;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: 0.3s ease;
}

.footer-link:hover {
  color: var(--footer-text);
  padding-left: 8px;
}

.footer-link:hover::before {
  width: 100%;
}

.footer-link i {
  margin-right: 8px;
  color: var(--footer-accent);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.3s ease;
}

.footer-link:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   CONTACT LIST
   ========================================================================== */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #D5AB5A;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  color: var(--footer-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: var(--footer-text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-value a {
  color: var(--footer-text);
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-value a:hover {
  color: #D5AB5A;
}

/* ==========================================================================
   FOOTER BOTTOM SECTION
   ========================================================================== */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--footer-border);
}

.copyright {
  color: var(--footer-muted);
  font-size: 0.875rem;
}

.copyright span {
  color: #D5AB5A;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--footer-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: 0.3s ease;
  position: relative;
}

.footer-bottom-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #D5AB5A;
  transition: 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.footer-bottom-links a:hover::after {
  width: 100%;
}

.made-with {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--footer-muted);
  font-size: 0.875rem;
}

.made-with i {
  color: #e74c3c;
}

/* ==========================================================================
   RESPONSIVE FOOTER STYLES
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    padding: clamp(2rem, 1.5rem + 3vw, 3rem) clamp(1rem, 1.5vw, 2rem) 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-card {
    padding: 1.25rem;
  }
  
  .footer-brand .footer-logo img {
    height: 40px;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* ==========================================================================
   RESPONSIVE GRID FOR TABLET
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* ==========================================================================
   HEADER STYLES (Additional overrides from style.css)
   ========================================================================== */

/* Header Navigation */
.cs_main_header {
  position: relative;
  z-index: 100;
}

.cs_main_header_in {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs_main_header_left {
  display: flex;
  align-items: center;
}

.cs_main_header_right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Site Branding */
.cs_site_branding {
  display: inline-block;
}

.cs_site_branding img {
  height: auto;
  max-width: 100%;
}

/* Navigation */
.cs_nav_list_wrap {
  display: flex;
}

.cs_nav_list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_nav_list li {
  position: relative;
}

.cs_nav_list li a {
  display: block;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Dropdown Menu */
.cs_nav_list li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.cs_nav_list li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Header Button Style */
.cs_btn_style_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cs_btn_color_1 {
  color: #ffffff;
}

/* Sticky Header */
.cs_sticky_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.cs_sticky_header.cs_scroll {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Mobile sticky header body spacing */
@media (max-width: 767px) {
  body {
    padding-top: 70px;
  }
  
  .cs_sticky_header {
    height: 70px;
  }
}

/* ==========================================================================
   RESPONSIVE HEADER STYLES - DESKTOP ONLY (min-width: 992px)
   ========================================================================== */

/* Show toggle on tablet */
@media (max-width: 991px) {
  .cs_main_header_right .cs_nav,
  .cs_main_header_right .cs_btn_style_1 {
    display: none;
  }
}

/* Desktop styles only - hide mobile elements on large screens */
@media (min-width: 769px) {
  /* Mobile menu toggle - desktop fallback */
  .cs_menu_toggle {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
  }

  .cs_menu_toggle span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #D5AB5A;
    transition: all 0.3s ease;
  }

  .cs_menu_toggle span:nth-child(1) {
    top: 0;
  }

  .cs_menu_toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .cs_menu_toggle span:nth-child(3) {
    bottom: 0;
  }

  /* Active state - transform to X */
  .cs_menu_toggle.cs_toggle_active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .cs_menu_toggle.cs_toggle_active span:nth-child(2) {
    opacity: 0;
  }

  .cs_menu_toggle.cs_toggle_active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  /* Mobile Navigation - desktop fallback */
  .cs_mobile_nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    padding: 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
    visibility: hidden;
  }

  .cs_mobile_nav.active {
    right: 0;
    visibility: visible;
  }

  .cs_mobile_nav_close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }

  /* Mobile Nav List */
  .cs_mobile_nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .cs_mobile_nav_list li {
    border-bottom: 1px solid #eee;
  }

  .cs_mobile_nav_list li a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
  }

  .cs_mobile_nav_list li ul {
    padding-left: 20px;
    list-style: none;
  }

  /* Mobile Overlay */
  .cs_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .cs_overlay.active {
    visibility: visible;
    opacity: 1;
  }
}
}

/* Mobile menu toggle */
.cs_menu_toggle {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.cs_menu_toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #D5AB5A;
  transition: all 0.3s ease;
}

.cs_menu_toggle span:nth-child(1) {
  top: 0;
}

.cs_menu_toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.cs_menu_toggle span:nth-child(3) {
  bottom: 0;
}

/* Active state - transform to X */
.cs_menu_toggle.cs_toggle_active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.cs_menu_toggle.cs_toggle_active span:nth-child(2) {
  opacity: 0;
}

.cs_menu_toggle.cs_toggle_active span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile Navigation */
.cs_mobile_nav {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  z-index: 1001;
  padding: 30px;
  overflow-y: auto;
  transition: right 0.3s ease;
  visibility: hidden;
}

.cs_mobile_nav.active {
  right: 0;
  visibility: visible;
}

.cs_mobile_nav_close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Nav List */
.cs_mobile_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_mobile_nav_list li {
  border-bottom: 1px solid #eee;
}

.cs_mobile_nav_list li a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

.cs_mobile_nav_list li ul {
  padding-left: 20px;
  list-style: none;
}

/* Mobile Overlay */
.cs_overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cs_overlay.active {
  visibility: visible;
  opacity: 1;
}

/* ==========================================================================
   ADDITIONAL COMMON HEADER STYLES
   ========================================================================== */

/* Nav container flex display */
.cs_main_header_right .cs_nav.cs_heading_color {
  display: flex;
  justify-content: center;
  flex: 1;
}

/* Nav list gap */
.cs_nav_list {
  gap: 30px;
}

/* Book button background color */
a.cs_btn_style_1.cs_btn_color_1[style*="background-color"] {
  background-color: #D5AB5A !important;
}

/* Gold Button - Default state same as hover */
.cs-btn-gold {
  background-color: #D5AB5A !important;
  border-color: #D5AB5A !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.cs-btn-gold:hover {
  background-color: #D5AB5A !important;
  border-color: #D5AB5A !important;
  color: #141F4C !important;
  box-shadow: none !important;
  transform: none !important;
}

.cs-btn-gold:hover img,
.cs-btn-gold:hover svg {
  transform: none !important;
  filter: none !important;
}

.cs-btn-gold::before {
  display: none !important;
}

/* Custom Nav Styles */
.cs-nav-custom {
  display: flex;
  justify-content: center;
  flex: 1;
}

.cs-nav-list-custom {
  gap: 30px;
}