/* RESET + BASE */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* NAVIGATION */

.navbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-family: "Inter", sans-serif;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 2000;
  position: relative;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgb(0, 0, 0);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu {
  list-style: none;
  position: fixed;
  top: 0;
  right: -250px;
  height: 100vh;
  width: 250px;
  background: rgba(0, 0, 0, 0.95);
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.3s ease;
  z-index: 1500;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.menu li a:hover {
  color: #433843;
}

#menu-toggle:checked ~ .menu {
  right: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* INTRO TEXT (matches design page) */

.gallery-intro {
  max-width: 800px;
  margin: 100px auto 10px; /* gap below navbar */
  text-align: center;
  padding: 0 20px;
}

/* GALLERY GRID – same vibe as design page */

.design-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  max-height: 250px;      /* prevents giant logo */
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item p {
  margin-top: 8px;
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
}

/* PRESENTATION SECTION */

.presentation-section {
  padding: 60px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.presentation-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-style: italic;
  color: #444;
}

.presentation-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.presentation-container iframe {
  width: 100%;
  height: min(80vh, 750px);
  border: 0;
}


/* FEATURED BLOGS */

.blog-section {
  padding: 60px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-section-title {
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 30px;
  letter-spacing: 0.00em;
  color: #222;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* Card base */

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Image */

.blog-card-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f8f8f8;
}

.blog-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT CONTENT — italic + consistent look */

.blog-card-content {
  padding: 16px 18px 18px;
  text-align: left;
}

.blog-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-style: italic;
  font-weight: 400;
  color: #222;
  letter-spacing: 0.01em;
}

.blog-card-content p {
  font-size: 0.9rem;
  line-height: 1.35;
  font-style: italic;
  color: #444;
  margin-bottom: 12px;
}

/* CTA */

.blog-card-cta {
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 400;
  color: #433843;
  letter-spacing: 0.02em;
}

/* Hover state */

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}


/* Mobile */

@media (max-width: 600px) {
  .blog-section {
    padding: 40px 20px 60px;
  }
}
