/* =====================
   LOCATION PAGE
===================== */

/* VARIABLES */
:root {
  --primary-blue: #0a7cff;
  --dark-blue: #064a9f;
  --light-blue: #f2f9ff;
}

/* GLOBAL STYLING */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: #ec7e3a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 124, 255, 0.4);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.logo img {
  height: 60px;
  border-radius: 70%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.nav-links a.active {
  text-decoration: underline;
}

.navbar.scrolled .nav-links a {
  color: white;
}

.navbar.scrolled .nav-links a:hover {
  color: #eaf3ff;
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 5px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  z-index: 1001;
}

.dropdown-menu li {
  background: white;
  border: 1px solid #ddd;
  margin-bottom: 2px;
}

.dropdown-menu li:first-child {
  border-top: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #eaf3ff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* HERO SECTION */
.hero {
  height: 120vh;
  background: linear-gradient(135deg, #0a7cff66, #064a9f66), url("images/29 Magadi Rd - Google Maps_page-0001.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.hero-overlay {
  background: rgba(10,124,255,0.8);
  padding: 25px 35px;
  border-radius: 10px;
}
.hero-overlay h1 {
  margin: 0 0 10px 0;
  font-size: 36px;
}
.hero-overlay p {
  font-size: 16px;
}

/* MAP SECTION */
.map-section {
  padding: 50px 30px;
  text-align: center;
}
.map-section h2 {
  color: var(--primary-blue);
  margin-bottom: 20px;
}
.map-container {
  max-width: 800px;
  margin: 0 auto 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}
.map-actions {
  text-align: center;
}
.map-actions .cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}
.map-actions .cta:hover {
  background: var(--dark-blue);
}

/* LOCATION DETAILS */
.location-details {
  padding: 50px 30px;
  background: var(--light-blue);
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.detail-item {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.detail-item h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

/* HOURS CAROUSEL */
.hours-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hours-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.carousel-btn {
  background: var(--primary-blue);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--dark-blue);
  transform: scale(1.1);
}

.hours-display {
  flex: 1;
  text-align: center;
}

.day-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.day-hours {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.day-hours.closed {
  color: #d32f2f;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
footer {
  background: #ec7e3a;
  color: white;
  padding: 40px 30px 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 20px;
}
.footer-content h3 {
  margin-bottom: 10px;
}
.footer-content a {
  color: white;
  text-decoration: none;
}
.footer-content a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  font-size: 14px;
}
