:root {
  --accent: #00f5c4;
  --accent-light: #00c9ff;
  --bg-dark: #0a0f1a;
  --bg-card: #141a25;
  --text-light: #ffffff;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:'Inter',sans-serif;background:var(--bg-dark);color:var(--text-light);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block;border-radius:12px}
h1,h2,h3,h4{margin:0 0 .6rem 0;font-weight:700}
a{text-decoration:none;color:inherit}
.gradient{background:linear-gradient(90deg,var(--accent),var(--accent-light));-webkit-background-clip:text;-webkit-text-fill-color:transparent}

/* ---------- Navbar ---------- */
nav {
  background: #0f1a2e;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  transition: top 0.3s;
}
nav .logo {
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--accent);
}
nav .logo img {
  height: 70px; /* Increase the height as needed */
  width: auto;
  display: block;
  object-fit: contain; /* Ensure the image is not cropped */
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
nav ul li a {
  color: #ececec;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}
nav ul li a:hover {
  color: var(--accent);
  background-color: rgba(255,255,255,0.05);
}
nav ul li.cta a {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: 8px;
}
nav ul li.cta a:hover {
  background: var(--accent-light);
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 2px;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: var(--accent);
}
@media(max-width:768px){
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0f1a2e;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  nav ul.show {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  nav .logo img {
    height: 50px; /* Adjust the height for mobile */
  }
  .hero {
    padding: 6rem 1.5rem; /* Adjust top padding for mobile */
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 7rem 1.5rem; /* Increase top padding to accommodate larger navbar */
  text-align: center;
  overflow: hidden;
  background: url('https://kefpobtqhbzqhtqtused.supabase.co/storage/v1/object/public/cdn//Micromart-Smart-Store-transparent_Hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: brightness(0.15);
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--bg-dark), #0c1b2a);
  opacity: 0.65;
  z-index: -1;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.subheadline {
  max-width: 640px;
  margin: 0 auto 1.55rem;
  font-size: 1.5rem;
  opacity: .88;
}
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  margin-top: 1rem;
  text-align: center;
}
.cta-button:hover {
  background: var(--accent-light);
}

/* ---------- Feature Cards ---------- */
.features{padding:2rem 1.5rem;max-width:1200px;margin:0 auto}
.features h2{text-align:center;font-size:2rem;margin-bottom:2.5rem}
.card-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(3,1fr)}
.card{background:var(--bg-card);padding:1.5rem;border-radius:12px;border:2px solid transparent;transition:border-color .3s ease,box-shadow .3s ease}
.card h3{color:var(--accent);margin-bottom:.4rem;font-size:1.2rem}
.card:hover{border-color:var(--accent);box-shadow:0 0 12px #00f5c455}

/* ---------- Amenity Spotlight ---------- */
.amenity{padding:0rem 1.5rem 1rem;background:#0f1724}
.amenity h2{text-align:center;margin-bottom:0rem;font-size:2rem}
.amenity-wrapper{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;gap:2rem;align-items:center;justify-content:center;flex-direction:row-reverse}
.amenity-img{flex:1 1 320px;min-width:280px;text-align:center}
.amenity-cards{flex:1 1 400px;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.amenity-card{background:var(--bg-card);padding:1rem 1.25rem;border-radius:10px;border-left:4px solid var(--accent)}
.amenity-card h4{margin:0 0 .25rem 0;font-size:1rem;color:var(--accent)}
.amenity-card p{margin:0;font-size:.9rem;opacity:.9}

/* ---------- Break Room ---------- */
.breakroom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0rem;
}

.breakroom > div {
  flex: 1;
  margin-right: 1rem;
}

.breakroom img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.breakroom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.25rem;
}

.breakroom li::before {
  content: "✔";
  color: var(--accent);
  margin-right: 0.5rem;
}

@media(max-width:1024px){
  .card-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .breakroom, .amenity-wrapper {
    flex-direction: column !important;
  }

  .easy-shopping {
    flex-direction: column;
    align-items: center;
  }

  .easy-shopping .column {
    width: 100%;
    padding: 1rem 0;
  }

  .easy-shopping h2 {
    text-align: center;
  }

  .easy-shopping .shopping-video {
    width: 50%;
    max-width: 350px;
  }

  .easy-shopping .cards {
    align-items: center;
  }

  .easy-shopping .card {
    width: 90%;
    max-width: 400px;
  }
}
@media(max-width:600px){
  .card-grid{grid-template-columns:1fr}
}

.easy-shopping {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1.5rem 0rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.easy-shopping .column {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.easy-shopping h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.easy-shopping .cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.easy-shopping .card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.easy-shopping .shopping-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.easy-shopping-title {
  text-align: center;
  padding: 0rem 1.5rem 0rem;
  margin-bottom: 0.5rem;
}

.easy-shopping-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.easy-shopping-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0rem;
}

.easy-shopping-content .column {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.easy-shopping-content .cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent); /* optional, matches your card title */
  font-size: 1.2rem; /* ensure it matches your h3 style */
}

.icon-heading img {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  border-radius: 0; /* override global img border-radius */
}


.easy-shopping-content .card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.easy-shopping-content .shopping-video {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.shopping-video {
  transform: scale(1.5); /* Default scale for larger screens */
}

@media(max-width:768px) {
  .easy-shopping-content {
    flex-direction: column;
    align-items: center;
  }

  .easy-shopping-content .column {
    width: 100%;
    padding: 1rem 0;
  }

  .easy-shopping-content .shopping-video {
    width: 90%;
    max-width: 350px;
  }

  .easy-shopping-content .cards {
    align-items: center;
  }

  .easy-shopping-content .card {
    width: 90%;
    max-width: 400px;
  }
  .shopping-video {
    transform: scale(1); /* Adjust scale for smaller screens */
  }
}

.breakroom-title {
  text-align: center;
  padding: 0rem;
  font-size:2rem;
}

@media(max-width:768px) {
  .breakroom {
    flex-direction: column;
    align-items: center;
  }

  .breakroom > div {
    width: 100%;
    padding: 1rem 0;
  }

  .breakroom img {
    width: 90%;
    max-width: 350px;
    align-items: center;
  }

  .breakroom ul {
    align-items: left;
  }
}

.carousel-title {
  text-align: center;
  padding: 1rem 1.5rem 0rem;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

/* ---------- Carousel ---------- */
.carousel-container {
  max-width: 1200px;
  margin: 1rem auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  transition: opacity 0.4s ease;
}

.carousel-slide img {
  width: 100%;
  border-radius: 12px;
}

/* ---------- Footer ---------- */
footer {
  background: #0f1a2e;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.photo-item img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.modal .close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.cta-section {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  color: var(--text-light);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}