:root {
  --primary-color: #e82e6f;
  --text-color: #121212;
  --background-color: #f5f5f5; 
  --dark-shadow: #0a0a0a;
  --light-shadow: #242424;
  --grid-size: 25px;
  --grid-line-color: rgba(255, 255, 255, 0.05); 
}

body {
  background-color: var(--background-color);
    linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

/* Navigation Bar */
nav {
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* subtle separation line */
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); /* optional: a baby shadow for depth */
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
}

.nav-list li {
  margin: 0.5rem;
}

.nav-list a {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  color: #121212;
  text-decoration: none;
  font-size: 24px;
}

.nav-list a:hover {
  text-decoration: underline;
  color: #121212;
}

/* Base styles */
body {
  font-family: 'Roboto Condensed', sans-serif;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: var(--background-color); /* Set background color for the entire page */
}

/* Main content - mobile first */
main {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 1rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  color: var(--text-color);
  text-align: center;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  color: var(--text-color);
  text-align: center;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;

}

/* Cover Flow Styling */
.coverflow {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 1.5rem;
  gap: 1rem;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

/* For blog-card: */
.blog-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  perspective: 1500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.blog-card:hover {
  transform: scale(.95) rotateY(-8deg) rotateX(-3deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: #222;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1650 / 2550;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 5px;
  transform-style: preserve-3d;
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
  .coverflow {
    justify-content: flex-start;
  }

  .blog-card {
    width: 80vw; /* Mobile size: take up most of the screen */
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .coverflow {
    justify-content: center;
  }

  .blog-card {
    width: 75vw; /* For tablets: 75% of the screen width */
  }
}

/* Desktop (>1024px) */
@media (min-width: 1024px) {
  .coverflow {
    padding: 3rem 2rem; /* Padding adjusted for desktop */
  }

  /* Give some padding to the first card to avoid clipping */
  .blog-card:first-of-type {
    padding-left: 10rem;
  }

  .blog-card {
    width: 20vw; /* For desktops: 25% of the screen width */
    margin: 0 auto; /* Center the images */
    scroll-snap-align: center;
  }

  /* Optionally, add a snap margin for more space at the start */
  .coverflow {
    scroll-snap-margin-left: 5rem; /* Give some space at the start */
  }
}

.chrome-button {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  margin: 12px;
  font-size: 15px;
  color: #e0e0e0;
  text-decoration: none;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(200, 220, 255, 0.17) 40%,
    rgba(120, 160, 220, 0.15) 100%);
  border: 1px solid rgba(180, 200, 230, 0.25);
  border-radius: 50px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -3px 8px rgba(0, 0, 0, 0.25),
    0 8px 15px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
  user-select: none;
  cursor: pointer;
  overflow: hidden;
}

.chrome-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1) 80%);
  pointer-events: none;
}

.chrome-button:hover {
  background: linear-gradient(to top,
    rgba(220, 240, 255, 0.25) 0%,
    rgba(160, 200, 255, 0.2) 100%);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.3),
    0 4px 10px rgba(0, 0, 0, 0.35);
  transform: translateY(2px);
}

.aqua-button {
  position: relative;
  display: inline-block;
  padding: 12px 32px;
  margin: 12px;
  font-size: 14px;
  color: #121212;
  text-decoration: none;
  background: linear-gradient(to bottom, rgba(194, 233, 255, 0.7) 0%, rgba(120, 212, 255, 0.65) 40%, rgba(60, 181, 255, 0.6) 100%);
  border: 1px solid rgba(74, 169, 233, 0.7);
  border-radius: 50px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -3px 8px rgba(0, 0, 0, 0.15),
    0 8px 15px rgba(0, 80, 200, 0.3);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
  user-select: none;
  cursor: pointer;
  overflow: hidden;
}

.aqua-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 80%);
  pointer-events: none;
}

.aqua-button:hover {
  background: linear-gradient(to top, rgba(160, 224, 255, 0.7) 0%, rgba(80, 200, 255, 0.65) 100%);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    0 4px 10px rgba(0, 80, 200, 0.25);
  transform: translateY(2px);
}

.footer-logo {
  width: 200px;
  max-width: 80vw;
  height: auto;
  margin-bottom: 1rem;
}

