/*
==============================================================================
DD DIAMOND PARK RWA - COMPLETE MODERNIZED STYLESHEET v2.0 ULTIMATE
==============================================================================

Theme: Modern Green & Goldenrod with Dynamic Multi-Theme Support
Author: DD Diamond Park Web Team
Last Updated: October 14, 2025 - 3:01 PM IST
NOTE: This file is a consolidation of dddpstyle.css and the inline styles from index6.php.
==============================================================================
*/


/*==============================================================================
 COLORS - CSS CUSTOM PROPERTIES (VARIABLES)
==============================================================================*/

/* Default Theme: Green & Goldenrod */
:root {
  /* Core Brand Colors */
  --white-color: #ffffff;
  --primary-color: #059669; /* Emerald green */
  --secondary-color: #eab308; /* Goldenrod */
  --section-bg-color: #065f46; /* Deep green */
  --border-color: #10b981; /* Light green */

  /* Semantic Colors */
  --custom-btn-bg-color: #059669;
  --custom-btn-bg-hover-color: #047857;
  --dark-color: #1f2937;
  --p-color: #717275;
  --link-hover-color: #eab308;

  /* Typography Colors */
  --hero-text-color: #ffffff;
  --notice-text-color: #1f2937;
  --gallery-text-color: #f3f4f6;
  --contact-heading-color: #eab308;
  --footer-text-color: #f4f4f4;

  /* Navbar Colors */
  --navbar-bg-transparent: rgba(0, 0, 0, 0.35);
  --navbar-bg-sticky: rgba(6, 95, 70, 0.8);
  --navbar-text-color: #ffffff;
  --navbar-text-hover: #eab308;

  /* Typography Settings */
  --body-font-family: 'Plus Jakarta Sans', sans-serif;
  --h1-font-size: 68px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --btn-font-size: 16px;
  --form-btn-font-size: 18px;
  --menu-font-size: 16px;

  /* Border Radius */
  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  /* Font Weights */
  --font-weight-thin: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
}

/* Alternative Theme 1: Blue & Gold */
[data-theme="blue"] {
  --primary-color: #2563eb;
  --secondary-color: #eab308;
  --section-bg-color: #1e40af;
  --border-color: #60a5fa;
  --custom-btn-bg-color: #2563eb;
  --custom-btn-bg-hover-color: #1d4ed8;
  --navbar-bg-sticky: rgba(30, 64, 175, 0.8);
}

/* Alternative Theme 2: Purple & Gold */
[data-theme="purple"] {
  --primary-color: #7c3aed;
  --secondary-color: #eab308;
  --section-bg-color: #5b21b6;
  --border-color: #a78bfa;
  --custom-btn-bg-color: #7c3aed;
  --custom-btn-bg-hover-color: #6d28d9;
  --navbar-bg-sticky: rgba(91, 33, 182, 0.8);
}

/* Alternative Theme 3: Teal & Coral */
[data-theme="teal"] {
  --primary-color: #0d9488;
  --secondary-color: #fb923c;
  --section-bg-color: #115e59;
  --border-color: #5eead4;
  --custom-btn-bg-color: #0d9488;
  --custom-btn-bg-hover-color: #0f766e;
  --navbar-bg-sticky: rgba(17, 94, 89, 0.8);
}


/*==============================================================================
 BASE STYLES
==============================================================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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


/*==============================================================================
 TYPOGRAPHY
==============================================================================*/

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
  touch-action: manipulation;
}

a:hover {
  color: var(--link-hover-color);
}

b, strong {
  font-weight: var(--font-weight-bold);
}

button {
  touch-action: manipulation;
  transition: var(--transition-fast);
}


/*==============================================================================
 SECTIONS - BASE STYLES
==============================================================================*/

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.section-overlay + .container {
  position: relative;
  z-index: 22;
}

.back-top-icon {
  font-size: var(--h2-font-size);
}


/*==============================================================================
 ABOUT SECTION - LIGHT NEUTRAL BACKGROUND (THEME-ADAPTIVE)
==============================================================================*/

#about,
.about-section,
section.about {
  background: #f9fafb; /* Light gray with subtle warmth */
  color: #1f2937;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#about h1,
#about h2,
#about h3,
#about h4,
.about-section h1,
.about-section h2,
.about-section h3,
.about-section h4 {
  color: var(--primary-color);
}

#about p,
#about li,
.about-section p,
.about-section li {
  color: #374151;
}

/* Theme-specific variations for About Section */
[data-theme="blue"] #about,
[data-theme="blue"] .about-section {
  background: #eff6ff; /* Light blue tint */
}

[data-theme="purple"] #about,
[data-theme="purple"] .about-section {
  background: #faf5ff; /* Light purple tint */
}

[data-theme="teal"] #about,
[data-theme="teal"] .about-section {
  background: #f0fdfa; /* Light teal tint */
}


/*==============================================================================
 MENU SECTION - WARM ACCENT BACKGROUND (THEME-ADAPTIVE)
==============================================================================*/

#menu-section,
.menu-section,
section.menu-section {
  background: #fffbeb; /* Very light amber/cream */
  color: #1f2937;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#menu-section h1,
#menu-section h2,
#menu-section h3,
#menu-section h4,
.menu-section h1,
.menu-section h2,
.menu-section h3,
.menu-section h4 {
  color: var(--primary-color);
}

#menu-section p,
#menu-section li,
.menu-section p,
.menu-section li {
  color: #374151;
}

/* Theme-specific variations for Menu Section */
[data-theme="blue"] #menu-section,
[data-theme="blue"] .menu-section {
  background: #fef9c3; /* Light warm yellow (works with blue) */
}

[data-theme="purple"] #menu-section,
[data-theme="purple"] .menu-section {
  background: #fef3c7; /* Light goldenrod */
}

[data-theme="teal"] #menu-section,
[data-theme="teal"] .menu-section {
  background: #fff7ed; /* Light coral/peach tint */
}


/*==============================================================================
 SECTION 2, 3, 4 - COLOR VARIANTS (COORDINATED PROGRESSION)
==============================================================================*/

/* Section 2 - Lightest variant (8% tint) */
#section-2,
.section-2 {
  background-color: rgba(5, 150, 105, 0.08);
  color: #1f2937;
}

#section-2 h1,
#section-2 h2,
#section-2 h3,
#section-2 h4,
.section-2 h1,
.section-2 h2,
.section-2 h3,
.section-2 h4 {
  color: var(--primary-color);
}

#section-2 p,
#section-2 li,
.section-2 p,
.section-2 li {
  color: #374151;
}

/* Section 3 - Medium variant (gradient) */
#section-3,
.section-3 {
  background: linear-gradient(to bottom,
rgba(5, 150, 105, 0.15) 0%,
 rgba(6, 95, 70, 0.25) 100%);
  color: #1f2937;
}

#section-3 h1,
#section-3 h2,
#section-3 h3,
#section-3 h4,
.section-3 h1,
.section-3 h2,
.section-3 h3,
.section-3 h4 {
  color: var(--section-bg-color);
}

#section-3 p,
#section-3 li,
.section-3 p,
.section-3 li {
  color: #1f2937;
}

/* Section 4 - Darkest variant (full color) */
#section-4,
.section-4 {
  background-color: var(--section-bg-color);
  color: #f3f4f6;
}

#section-4 h1,
#section-4 h2,
#section-4 h3,
#section-4 h4,
.section-4 h1,
.section-4 h2,
.section-4 h3,
.section-4 h4 {
  color: var(--secondary-color);
}

#section-4 p,
#section-4 li,
.section-4 p,
.section-4 li {
  color: #f3f4f6;
}

/* Blue Theme Section Variants */
[data-theme="blue"] #section-2,
[data-theme="blue"] .section-2 {
  background-color: rgba(37, 99, 235, 0.08);
}

[data-theme="blue"] #section-3,
[data-theme="blue"] .section-3 {
  background: linear-gradient(to bottom,
rgba(37, 99, 235, 0.15) 0%,
 rgba(30, 64, 175, 0.25) 100%);
}

[data-theme="blue"] #section-4,
[data-theme="blue"] .section-4 {
  background-color: #1e40af;
}

/* Purple Theme Section Variants */
[data-theme="purple"] #section-2,
[data-theme="purple"] .section-2 {
  background-color: rgba(124, 58, 237, 0.08);
}

[data-theme="purple"] #section-3,
[data-theme="purple"] .section-3 {
  background: linear-gradient(to bottom,
rgba(124, 58, 237, 0.15) 0%,
 rgba(91, 33, 182, 0.25) 100%);
}

[data-theme="purple"] #section-4,
[data-theme="purple"] .section-4 {
  background-color: #5b21b6;
}

/* Teal Theme Section Variants */
[data-theme="teal"] #section-2,
[data-theme="teal"] .section-2 {
  background-color: rgba(13, 148, 136, 0.08);
}

[data-theme="teal"] #section-3,
[data-theme="teal"] .section-3 {
  background: linear-gradient(to bottom,
rgba(13, 148, 136, 0.15) 0%,
 rgba(17, 94, 89, 0.25) 100%);
}

[data-theme="teal"] #section-4,
[data-theme="teal"] .section-4 {
  background-color: #115e59;
}


/*==============================================================================
 NAVBAR - TRANSPARENT OVERLAY WITH STICKY BEHAVIOR
==============================================================================*/

.sticky-wrapper {
  position: absolute;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
  transition: var(--transition-fast);
}

.sticky-wrapper.is-sticky {
  position: fixed;
  background: transparent;
}

.sticky-wrapper.is-sticky .container {
  background: var(--navbar-bg-sticky);
  border-radius: var(--border-radius-medium);
  padding: 12px 30px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-medium);
  transition: var(--transition-fast);
}

.navbar {
  background: transparent;
  z-index: 999999;
  padding-top: 30px;
  padding-bottom: 30px;
  transition: var(--transition-fast);
}

.navbar .container {
  background: var(--navbar-bg-transparent);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
  backdrop-filter: blur(5px);
  transition: var(--transition-fast);
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  color: var(--navbar-text-color);
  transition: var(--transition-fast);
}

.navbar-brand:hover {
  color: var(--secondary-color);
}

.navbar-brand-image {
  width: 48px;
  height: auto;
  margin-right: 10px;
}

.navbar .custom-btn {
  padding: 10px 20px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px 20px;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--navbar-text-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-bold);
  padding-top: 15px;
  padding-bottom: 15px;
  transition: var(--transition-fast);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--navbar-text-hover);
  background: rgba(255, 255, 255, 0.1);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: var(--shadow-elevated);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: var(--transition-fast);
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding: 8px 20px;
  transition: var(--transition-fast);
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*==============================================================================
 HERO SECTION
==============================================================================*/

.hero-section {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  min-height: 620px;
  text-align: center;
  padding-top: 180px;
}

@media screen and (min-width: 992px) {
  .hero-section {
    height: 100vh;
    padding-top: 0;
  }
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p {
  color: var(--hero-text-color);
}

.small-text {
  color: var(--secondary-color);
  font-weight: var(--font-weight-bold);
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: absolute !important;
  top: 0;
  left: 0;
}


/*==============================================================================
 BUTTONS
==============================================================================*/

.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: var(--transition-fast);
  padding: 12px 28px;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

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

.custom-btn-bg-white {
  background: var(--white-color);
  border-color: var(--white-color);
  color: var(--primary-color);
}

.custom-btn-bg-white:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color);
}


/*==============================================================================
 THEME SWITCHER COMPONENT
==============================================================================*/

.theme-switcher {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 15px;
  box-shadow: var(--shadow-elevated);
  transition: var(--transition-fast);
}

.theme-switcher-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: var(--white-color);
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-switcher-toggle:hover {
  background: var(--secondary-color);
  transform: rotate(180deg);
}

.theme-options {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid var(--border-color);
}

.theme-options.active {
  display: block;
}

.theme-option {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  border-radius: var(--border-radius-small);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.theme-option:hover {
  background: rgba(5, 150, 105, 0.1);
  border-color: var(--primary-color);
}

.theme-option.active {
  background: rgba(5, 150, 105, 0.2);
  border-color: var(--primary-color);
}

.theme-palette {
  display: flex;
  gap: 5px;
  margin-right: 10px;
}

.theme-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.theme-name {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--dark-color);
}


/*==============================================================================
 RESPONSIVE STYLES
==============================================================================*/

@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
    min-height: 500px;
  }

  .navbar {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .navbar .container {
    padding: 12px 20px;
  }

  .sticky-wrapper.is-sticky .container {
    padding: 10px 20px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
    background: var(--navbar-bg-sticky);
    border-radius: var(--border-radius-medium);
    margin-top: 15px;
    padding: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 10px;
    margin: 5px 0;
  }

  .theme-switcher {
    bottom: 20px;
    right: 20px;
  }

  /* Simplify section gradients on mobile */
  #section-3,
  .section-3 {
    background: rgba(6, 95, 70, 0.2);
  }

  [data-theme="blue"] #section-3,
  [data-theme="blue"] .section-3 {
    background: rgba(37, 99, 235, 0.2);
  }

  [data-theme="purple"] #section-3,
  [data-theme="purple"] .section-3 {
    background: rgba(124, 58, 237, 0.2);
  }

  [data-theme="teal"] #section-3,
  [data-theme="teal"] .section-3 {
    background: rgba(13, 148, 136, 0.2);
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }
}


/*==============================================================================
 ACCESSIBILITY ENHANCEMENTS
==============================================================================*/

*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/*==============================================================================
 ADDITIONAL STYLES (from original index6.php inline block)
==============================================================================*/

/* Transparent navbar always */
.navbar {
  background: transparent !important;
  transition: all 0.4s ease !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}

/* Still transparent when scrolling - just adds blur effect */
.navbar.is-sticky {
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: #ffffff !important;
}

/* Alert styles for PHP version */
.php-alert {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  min-width: 300px;
}

/* Gallery section light background - OVERRIDE */
/* This overrides the theme-adaptive section 4 background for the gallery section (id="section_4") in index6.php */
#section_4 {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  color: #1f2937 !important;
  border-top: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
}

#section_4 h1,
#section_4 h2,
#section_4 h3,
#section_4 h4 {
  color: var(--primary-color) !important;
}

#section_4 p,
#section_4 li {
  color: #4b5563 !important;
}



/* Hero content overlay styles - AUTO-HIDE FIXED */
.hero-content-overlay {
    transition: all 0.8s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
}

.hero-content-overlay.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-20px) !important;
    pointer-events: none !important;
}

.hero-content-background {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Moved/merged styles for index.php hero, buttons, gallery, notices, etc. */

/* Transparent navbar always */
.navbar {
  background: transparent !important;
  transition: all 0.4s ease !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}

/* Still transparent when scrolling - just adds blur effect */
.navbar.is-sticky {
  background: rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: #ffffff !important;
}

/* Alert styles for PHP version */
.php-alert {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  min-width: 300px;
}

/* Gallery section light background */
#section_4 {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  color: #1f2937 !important;
  border-top: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
}

#section_4 h1,
#section_4 h2,
#section_4 h3,
#section_4 h4 {
  color: var(--primary-color) !important;
}

#section_4 p,
#section_4 li {
  color: #4b5563 !important;
}

/* Hero content overlay styles */
.hero-content-overlay {
    transition: all 0.8s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.hero-content-overlay.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

/* ===== Hero Overlay background & palette ===== */
:root{
    --overlay-bg: rgba(255,255,255,0.98);
    --overlay-fg: #071020;
    --accent1: #ff2d7f;    /* pink */
    --accent2: #7c4dff;    /* purple */
    --accent3: #06b6d4;    /* teal/cyan */
    --muted: #24303a;
}

/* Hero panel */
.hero-content-background {
    background: var(--overlay-bg);
    color: var(--overlay-fg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 26px 60px rgba(2,6,23,0.08);
    border: 1px solid rgba(2,6,23,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* "Welcome to" */
.hero-content-background .small-text {
    font-size: clamp(1.4rem, 3.2vw, 1.9rem);
    color: var(--accent1);
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 8px rgba(255,45,127,0.12);
}

/* Gradient headline for strong visual impact */
.hero-content-background h1 {
    font-size: clamp(3rem, 8.5vw, 5rem);
    line-height: 1.02;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 10px 30px rgba(124,77,255,0.06);
}

/* Lead / tagline */
.hero-content-background p.lead {
    font-size: clamp(1.15rem, 2.8vw, 1.6rem);
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1px;
}

/* Stronger "Joy of" styling */
.hero-content-background .lead-strong {
    display: inline-block;
    font-weight: 900;
    font-size: 1.05em;
    color: var(--accent1);
    margin-right: 0.35rem;
    text-shadow: 0 3px 18px rgba(255,45,127,0.10);
    transform: translateY(-1px);
}

/* Accent words (Unity / Community) */
.hero-content-background .accent-word {
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent2), var(--accent3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-decoration: none;
}

/* Buttons - base */
.hero-content-background .btn.custom-btn {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    border: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(124,77,255,0.12);
}

.hero-content-background .btn.custom-border-btn {
    background: transparent;
    color: var(--accent2);
    border: 1px solid rgba(124,77,255,0.12);
    font-weight: 700;
}

/* Notice button */
.hero-content-background .notice-btn {
    border: 2px solid var(--accent1); /* pink accent */
    background: transparent;
    color: var(--accent1);
    font-weight: 800;
    padding: .7rem 1.25rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(255,45,127,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hero-content-background .notice-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,45,127,0.12);
}

/* Larger typography adjustments */
.hero-content-background .small-text {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: #ff2d7f !important;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 0.5rem;
}

.hero-content-background h1 {
    font-size: clamp(3rem, 8.5vw, 5rem);
    line-height: 1.02;
    color: #071020;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-content-background p.lead {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    color: #24303a;
    margin-bottom: 1.25rem;
}

/* Buttons sizing */
.hero-content-background .btn {
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    padding: .85rem 1.35rem;
    border-radius: 10px;
}

/* Gallery hover effects */
.community-image {
    transition: transform 0.3s ease;
}
.community-image:hover {
    transform: translateY(-5px);
}

/* Amenity icons */
.amenity-icon { transition: transform 0.3s ease; }
.amenity-icon:hover { transform: scale(1.1); }

/* NOTICE BOARD styles */
.notice-alert-warning {
    background: linear-gradient(135deg, #fffaf0 0%, #ffe4b5 100%);
    border-left: 4px solid #ffa500;
    color: #8b4513;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.notice-alert-info {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-left: 4px solid #4169e1;
    color: #1e3a8a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.notice-alert-success {
    background: linear-gradient(135deg, #f0fff0 0%, #e0ffe0 100%);
    border-left: 4px solid #32cd32;
    color: #006400;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* Event list */
.event-list-item {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    padding: 15px;
    border-left: 4px solid var(--primary-color, #007bff);
}
.event-list-item:hover {
    background: #f8f9fa;
    border-color: var(--primary-color, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.event-date-badge {
    background: linear-gradient(135deg, var(--primary-color, #007bff), var(--secondary-color, #6c757d));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85em;
    min-width: 70px;
    text-align: center;
}
.event-date-badge.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
    color: #000 !important;
}

/* Card header improvements */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color, #007bff), #0056b3) !important;
}

/* Better text contrast */
.alert-heading { color: inherit !important; }

/* Gallery lightbox */
.gallery-image { cursor: pointer; transition: all 0.3s ease; }
.gallery-image:hover { transform: translateY(-5px) scale(1.02); }
.lightbox-modal .modal-content {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}
.lightbox-modal .modal-header { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.lightbox-modal .modal-footer { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    padding: 10px 20px;
    transition: all 0.3s ease;
}
.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}
.lightbox-image {
    max-height: 70vh;
    width: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .lightbox-nav-btn { padding: 8px 16px; font-size: 0.9rem; }
    .lightbox-image { max-height: 60vh; }
}

/* changed code: 3D button styles for hero overlay */
.hero-content-background .btn-3d{
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease, filter .18s ease;
    will-change: transform;
    border-radius: 10px;
    z-index: 1;
    /* subtle default depth */
    box-shadow: 0 10px 0 rgba(0,0,0,0.06), 0 18px 30px rgba(2,6,23,0.08);
}

/* soft shadow / depth layer below the button */
.hero-content-background .btn-3d::after{
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -10px;
    height: 12px;
    background: rgba(0,0,0,0.12);
    border-radius: 8px;
    z-index: -1;
    filter: blur(8px);
    transition: transform .18s ease, opacity .18s ease;
    opacity: 1;
}

/* hover lifts the button — increases shadow and raises depth */
.hero-content-background .btn-3d:hover{
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(2,6,23,0.12);
}
.hero-content-background .btn-3d:hover::after{
    transform: translateY(6px);
    opacity: .95;
    filter: blur(12px);
}

/* pressed effect — button moves down to simulate press and shadow shrinks */
.hero-content-background .btn-3d:active{
    transform: translateY(2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.06);
}
.hero-content-background .btn-3d:active::after{
    transform: translateY(2px);
    opacity: .6;
    filter: blur(6px);
}

/* keep original visual styles but compatible with 3D */
.hero-content-background .btn-3d.custom-btn {
    color: #fff;
    font-weight: 700;
    padding: .85rem 1.35rem;
}

.hero-content-background .btn-3d.custom-border-btn {
    background: transparent;
    border: 1px solid rgba(124,77,255,0.12);
    color: var(--accent2);
}

/* stronger pink depth for the Notice Board button */
.hero-content-background .btn-3d.notice-btn {
    border: 2px solid var(--accent1);
    background: linear-gradient(90deg, rgba(255,45,127,0.06), rgba(255,45,127,0.02));
    color: var(--accent1);
    font-weight: 800;
    padding: .7rem 1.25rem;
    box-shadow: 0 12px 0 rgba(255,45,127,0.06), 0 26px 42px rgba(255,45,127,0.06);
}
.hero-content-background .btn-3d.notice-btn::after{
    left: 8%;
    right: 8%;
    bottom: -12px;
    height: 14px;
    background: rgba(255,45,127,0.12);
    filter: blur(10px);
}

/* End of moved styles */

/*==============================================================================
 END OF STYLESHEET - DD DIAMOND PARK RWA v2.0 ULTIMATE
==============================================================================*/