:root {
--navy: #0A2540;
--dark-navy: #001F3F;
--gold: #D4AF37;
--light-gold: #FFD700;
--red: #C8102E;
--orange: #FF6F00;
--white: #FFFFFF;
}

body {
font-family: 'Roboto', sans-serif;
background-color: var(--dark-navy);
color: var(--white);
overflow-x: hidden;
line-height: 1.7;
-webkit-tap-highlight-color: transparent;
}

h1, h2, h3, .section-title {
font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
background-color: rgba(10, 37, 64, 0.85) !important;
backdrop-filter: blur(10px);
}

.navbar-brand, .nav-link {
color: var(--white) !important;
padding: 0.8rem 1rem;
}

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

/* ====================== HERO – 7-IMAGE SLIDESHOW (PERFECTLY SEAMLESS + EQUAL TIME LOOP) ====================== */
.hero {
  position: relative;
  height: 80dvh;
  min-height: 680px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  
  /* ROCK-SOLID FALLBACK – no blank EVER */
  background-color: var(--dark-navy);
  
  /* Preload performance + smooth loop */
  will-change: background-image;
  
  animation: heroSlideshow 24s infinite linear; /* linear = no easing pauses */
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 37, 64, 0.55), rgba(10, 37, 64, 0.80));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 95%;
  margin: 0 auto;
}

/* 7-IMAGE SLIDESHOW – EQUAL HOLD TIME FOR EVERY PHOTO (no short "loose" segment) */
@keyframes heroSlideshow {
  0%    { background-image: url('../images/hero-1.jpg'); }
  14.29% { background-image: url('../images/hero-1.jpg'); }
  14.3%  { background-image: url('../images/hero-2.jpg'); }
  28.57% { background-image: url('../images/hero-2.jpg'); }
  28.6%  { background-image: url('../images/hero-3.jpg'); }
  42.86% { background-image: url('../images/hero-3.jpg'); }
  42.9%  { background-image: url('../images/hero-4.jpg'); }
  57.14% { background-image: url('../images/hero-4.jpg'); }
  57.2%  { background-image: url('../images/home_1.jpg'); }
  71.43% { background-image: url('../images/home_1.jpg'); }
  71.5%  { background-image: url('../images/hero99.jpeg'); }
  85.71% { background-image: url('../images/hero99.jpeg'); }
  85.8%  { background-image: url('../images/hero77.jpg'); }
  100%   { background-image: url('../images/hero77.jpg'); } /* ← matches 0% = endless perfect loop */
}

/* Text & button styles */
.text-gold { color: var(--gold); }

.btn-gold {
background: linear-gradient(135deg, var(--gold), var(--light-gold));
border: none;
color: var(--navy);
font-weight: bold;
padding: 0.75rem 2rem;
border-radius: 50px;
transition: all 0.3s;
box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-gold:hover {
transform: translateY(-3px);
box-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
}

.btn-red {
background: var(--red);
border: none;
color: white;
padding: 0.75rem 2rem;
border-radius: 50px;
font-weight: bold;
}

/* Desktop cards */
.feature-card, .card {
background: rgba(255, 255, 255, 0.05);
border: 2px solid var(--gold);
border-radius: 15px;
backdrop-filter: blur(10px);
transition: transform 0.4s;
}

.feature-card:hover, .card:hover {
transform: translateY(-10px);
}

/* Titles */
.section-title {
font-size: 3rem;
margin-bottom: 2.5rem;
text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Mobile simplifications */
@media (max-width: 767.98px) {
  .hero {
    min-height: 85dvh;
    padding-top: 5rem;
  }

  .hero-content h1.display-1 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-content h2.display-5 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .btn-gold, .btn-red, .btn-outline-gold {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 1rem;
  }

  .d-flex.gap-4.flex-wrap {
    flex-direction: column;
    gap: 1rem;
  }

  .row.g-5 > div {
    margin-bottom: 2.5rem;
  }

  .feature-card, .card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  section.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* Medium screens */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2.6rem;
  }
}

/* Tablet Optimization */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-content h1.display-1 {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.8rem;
  }
}

/* General */
.bg-gradient {
background: linear-gradient(to bottom, var(--navy), var(--dark-navy));
}

/* Footer enhancements */
footer {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover,
.hover-gold:hover {
  color: var(--gold) !important;
  text-decoration: underline !important;
}

.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-4px);
  color: var(--light-gold) !important;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

footer ul.list-unstyled li {
  margin-bottom: 0.6rem;
}

footer h5, footer h6 {
  letter-spacing: 0.5px;
}

footer .text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }
footer .text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

/* Navbar toggler fix */
.navbar-toggler-icon {
  background-size: cover !important;
  will-change: background-image, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Dropdown menu styling */
.dropdown-menu {
  background-color: rgba(10, 37, 64, 0.92) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 0 !important;
  margin-top: 4px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
  color: var(--white) !important;
  padding: 0.65rem 1.25rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(212, 175, 55, 0.15) !important;
  color: var(--gold) !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: rgba(212, 175, 55, 0.25) !important;
  color: var(--light-gold) !important;
}

.dropdown-toggle::after {
  border-top-color: var(--gold) !important;
}

/* Mobile collapsed dropdown */
@media (max-width: 991.98px) {
  .dropdown-menu {
    background-color: rgba(10, 37, 64, 0.97) !important;
    border: none;
    box-shadow: none;
    margin: 0;
    padding-left: 1rem;
  }
  .dropdown-item {
    padding-left: 1.5rem;
  }
}

/* Navbar Logo – Bigger & Circular */
.logo-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  transition: all 0.35s ease;
  border: 3px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.logo-img:hover {
  transform: scale(1.08);
  border-color: #ffd700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Mobile logo size */
@media (max-width: 991.98px) {
  .logo-img {
    width: 55px;
    height: 55px;
  }
}

/* Extra utility classes */
.hover-gold:hover {
  color: var(--gold) !important;
  transition: color 0.25s ease;
}

.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-bg-state: transparent !important;
  --bs-table-bg-type: transparent !important;
}

.contact-info-card {
  --bs-table-bg: transparent !important;
  --bs-table-bg-state: transparent !important;
  --bs-table-bg-type: transparent !important;
}