/* The Pinnacle Luxury Resort - Custom CSS
   Primary: Deep Teal/Green #004D40
   Secondary: Light Mint/Aqua #B2DFDB
   Using Inter font family
*/

:root {
  /* Brand Colors - Updated to #DEF5ED */
  --primary-color: #004D40;
  --secondary-color: #B2E6D9;
  --primary-dark: #002B23;
  --secondary-light: #F0FAF7;
  --text-primary: #004D40;
  
  /* Luxury Design Tokens */
  --luxury-gradient: linear-gradient(135deg, #004D40, #00695C);
  --luxury-gradient-soft: linear-gradient(135deg, #F0FAF7, #DEF5ED);
  --luxury-shadow: 0 20px 40px -12px rgba(222, 245, 237, 0.4);
  --luxury-shadow-soft: 0 10px 30px -10px rgba(178, 230, 217, 0.3);
  --transition-luxury: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Custom Bootstrap Color Classes */
.text-primary {
  color: var(--text-primary) !important;
}

.text-secondary {
  color: var(--text-primary) !important;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.btn-secondary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition-luxury);
}

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

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

.site-header .navbar {
  background-color: white !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transition: var(--transition-luxury);
}

.navbar-brand {
  font-weight: 700;
  color: var(--text-primary) !important;
  letter-spacing: 1px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  transition: var(--transition-luxury);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-color);
}

/* ===============================
   NAVBAR BRAND LOGO STYLE
   =============================== */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.brand-logo {
  height: 55px; /* Adjust logo size */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Optional: Adjust navbar height and spacing */
.navbar {
  padding: 0.6rem 1rem;
}

@media (max-width: 992px) {
  .brand-logo {
    height: 45px;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 77, 64, 0.7), rgba(0, 77, 64, 0.4)), url('./assets/hero-resort.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 77, 64, 0.8), rgba(0, 77, 64, 0.4));
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 300;
  opacity: 0.95;
}

.hero-location {
  font-size: clamp(1rem, 3vw, 1.25rem);
  opacity: 0.9;
}

.highlight {
  color: var(--primary-color);
  font-weight: 500;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: var(--transition-luxury);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
}

.scroll-box {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* Section Styles */
.luxury-section {
  padding: 5rem 0;
  position: relative;
}

.luxury-gradient-bg {
  background: var(--luxury-gradient);
  position: relative;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

/* Luxury Cards */
.luxury-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--luxury-shadow-soft);
  transition: var(--transition-luxury);
  height: 100%;
}

.luxury-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--luxury-shadow);
}

.glass-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Icon Styles */
.icon-circle {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box {
  width: 3rem;
  height: 3rem;
  background-color: var(--text-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.lucide-icon {
  width: 2rem;
  height: 2rem;
  color: var(--text-primary);
}

.lucide-icon-dark {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Phase Cards */
.phase-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phase-number {
  width: 2rem;
  height: 2rem;
  background-color: var(--text-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Amenities */
.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #666;
  font-size: 0.95rem;
}

.amenity-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Investment Metrics */
.metric-card {
  transition: var(--transition-luxury);
}

.metric-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.metric-value-sm {
  font-size: 1.75rem;
  font-weight: 700;
}

.metric-label {
  font-size: 1.2rem;
  font-weight: 600;
}

/* SWOT Lists */
.swot-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.swot-list li {
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.swot-list li:last-child {
  border-bottom: none;
}

.swot-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* Table Styles */
.table-hover tbody tr:hover {
  background-color: rgba(0, 77, 64, 0.05);
}

.table th {
  border-bottom: 2px solid var(--text-primary);
  font-weight: 600;
}

.table td {
  vertical-align: middle;
  padding: 1rem 0.75rem;
}

/* Footer */
.footer-section {
  background-color: var(--text-primary);
  padding: 3rem 0;
}

.footer-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.footer-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-style: italic;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem auto;
  width: 50%;
}

.footer-copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-location {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .luxury-section {
    padding: 3rem 0;
  }
  
  .luxury-card {
    padding: 1.5rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .metric-value {
    font-size: 2.5rem;
  }
  
  .phase-card {
    min-height: 150px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .luxury-card {
    padding: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.hover-scale {
  transition: transform 0.3s ease;
}

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

/* ===============================
   Board of Directors - Luxury Style
   =============================== */
.directors-section {
  background: var(--luxury-gradient-soft);
}

.director-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 77, 64, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-luxury);
  position: relative;
  overflow: hidden;
}

.director-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 77, 64, 0.12);
}

.director-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.director-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  transition: transform 0.6s ease;
}

.director-card:hover .director-image {
  transform: scale(1.08);
}

.director-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 77, 64, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  border-radius: 16px;
}

.director-card:hover .director-overlay {
  opacity: 1;
}

.director-social a {
  color: white;
  font-size: 1.25rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.director-social a:hover {
  color: var(--secondary-color);
}

.director-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.director-role {
  color: #00796B;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.director-detail {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===============================
   GALLERY SECTION - LUXURY STYLE
   =============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 77, 64, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 77, 64, 0.12);
}

.gallery-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.08);
}

.gallery-caption {
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #F0FAF7, #DEF5ED);
}

.gallery-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.gallery-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1050;
  padding-top: 4rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--secondary-color);
}

/* Responsive Gallery Adjustments */
@media (max-width: 992px) {
  .gallery-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-image {
    height: 200px;
  }
}

/* Print Styles */
@media print {
  .hero-section {
    background-attachment: scroll;
  }
  
  .luxury-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
