body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.main-header-img {
  display: block;
  height: auto;
  margin-top: 1rem;
  margin-left: 100px; /* assumes max-width: 1400px container, align flush left */
  max-width: none;
}

p {
  text-align: center;
  font-size: 1.1rem;
  margin: 1rem auto;
}

/* Divider line around nav text */
.nav-divider {
  margin: 1rem auto;
  border: none;
  border-top: 1px solid #ccc;
  max-width: 95%;
}

/* Wrap everything nav-related */
.nav-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  
}

/* ICON BLOCK */
.nav-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end; /* aligns all images at bottom */
  gap: 1.5rem;
  text-align: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
  
}

.nav-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  
  
}


.nav-item img:hover {
  transform: scale(1.12);
}

/* TEXT LINKS BELOW IMAGES */
.nav-text-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.nav-text-links a {
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  min-width: 100px;
}

.nav-text-links a:hover {
  text-decoration: underline;
}

/* MOBILE: hide icons and show button-style links */
@media (max-width: 768px) {
  .nav-blocks {
    display: none;
  }

  .nav-text-links {
    display: flex;
    gap: 0.75rem;
  }

.main-header-img {
  display: none;
}


  .nav-text-links a {
    background-color: #656566;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    flex: 1 1 calc(50% - 1rem);
  }

  .nav-text-links a:hover {
    background-color: #444;
  }

  .nav-divider {
    margin: 1.25rem auto;
  }
}

@media (max-width: 480px) {
  .nav-text-links a {
    flex: 1 1 100%;
  }
}

/* Section heading */
.photo-heading {
  text-align: center;
  font-size: 1.3rem;
  margin: 2rem auto 1rem auto;
  font-weight: 600;
}

/* Container for 3-wide layout */
.row-three-15inch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
}

/* Image styling to match nav icons */
.row-three-15inch img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}



/* Responsive behavior */
@media (max-width: 992px) {
  .row-three-15inch img {
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .row-three-15inch img {
    max-width: 100%;
  }
}





.shop-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  
}

.frame-choices {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  margin-bottom: 45px;
  
}

.threerow-shop {
  display: grid;
  grid-template-columns: 250px 450px 300px;
  justify-content: space-between;

}

.columntwo-shop {
  display: grid;
  grid-template-columns: 200px auto;
  max-width: 1200px;

}


/* Layout wrapper */
.two-up {
  max-width: 1100px; /* room for 2×495px + gap */
  margin: 0 auto;
  padding: 8px;
}

/* Two-column grid at full size, centered */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 495px);
  gap: 24px;
  justify-content: center; /* center the fixed-width columns */
}

/* Make images scale while preserving aspect ratio */
.image-card img {
  display: block;
  width: 100%;
  height: auto;          /* respects intrinsic 495×288 ratio */
  
}

/* Stack on smaller screens */
@media (max-width: 1048px) { /* 2×495 + 24 gap ≈ 1014; add buffer */
  .image-grid {
    grid-template-columns: 1fr;
  }
  .image-card {
    max-width: 495px;   /* keep original size cap */
    margin: 0 auto;     /* center single column items */
  }
}
