/* Styling for Template 8 in the suttertek Development menu */

/*==============================*/
/* Base Styles & Typography     */
/*==============================*/
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

h1 {
  text-align: center;
  margin-top: 40px;
}

p.gallery-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1rem;
  color: #666;
}

/*==============================*/
/* Header Navigation            */
/*==============================*/
header {
  position: sticky;               /* keeps bar visible when scrolling */
  top: 0;
  z-index: 1000;
  display: flex;                  /* 3 columns: logo | (avatar) | nav */
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 40px;
  background-color: #f5f1e4;
  color: #333;
}

/* Left group: logo + brand name */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;                    /* reserve the left third */
  min-width: 0;
}

.logo-image {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  white-space: nowrap;            /* prevent wrapping into the center area */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right group: navigation */
.nav { flex: 1 1 0; }
.nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;      /* push links to the right edge */
  gap: 25px;
  margin: 0;
  padding: 0;
}
.nav a { color: #333; text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; }

/* Center avatar: sits exactly in the middle of the header */
.header-headshot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;                    /* tweak as you like (56–72px works well) */
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;         /* subtle ring to separate from background */
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  z-index: 1;                     /* above text/links, below any menus */
}

/*==============================*/
/* Gallery Grid Layout          */
/*==============================*/
.gallery {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;          /* Fixed height instead of auto */
  object-fit: contain;    /* Keep image fully visible (letterboxed if needed) */
  background-color: #fff; /* Background for small/transparent images */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/*==============================*/
/* Gallery Pagination Controls  */
/*==============================*/
.pagination {
  text-align: center;
  margin: 30px auto 20px;
}

.pagination button {
  background-color: #f5f1e4;
  border: 1px solid #ccc;
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  transition: background-color 0.2s ease;
}

.pagination button.active,
.pagination button:hover {
  background-color: #e0d9c9;
}

/*==============================*/
/* Instagram Banner Button      */
/*==============================*/
.instagram-banner {
  margin-top: 20px;
  margin-bottom: 50px;
  text-align: center;
}

.instagram-banner a {
  display: inline-block;
  background-color: #fff2d8;
  padding: 12px 20px;
  border-radius: 10px;
  color: #e2730c;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.instagram-banner a:hover {
  background-color: #ffecc1;
}

/*==============================*/
/* Footer with Social Icons     */
/*==============================*/
footer {
  background-color: #f5f1e4;
  color: #333;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

.social-icons {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin: 0 8px;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 24px;
  height: 24px;
}

/* Social Media Icon Styling */
.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.social-links a {
  font-size: 24px;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

/* NEW: Uniform copyright line + Orbitron “suttertek” wordmark */
.footer-text {
  margin-top: 12px;
  font-size: 0.95rem;
}

/* Wordmark anchor (Orbitron is loaded in <head>) */
.brand-suttertek {
  text-decoration: none;
  font-family: 'Orbitron', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-suttertek:hover { text-decoration: underline; }

/* Split-color glyphs */
.brand-suttertek .st.sutter { color: #091B74; } /* Blue */
.brand-suttertek .st.tek    { color: #E9592D; } /* Orange */

/*==============================*/
/* Responsive Adjustments       */
/*==============================*/
@media (max-width: 700px) {
  /* stack nav under the bar and let the avatar flow naturally */
  header {
    padding: 12px 16px 56px;      /* extra bottom room for the avatar */
  }

  .header-headshot {
    position: static;             /* no absolute centering on small screens */
    transform: none;
    margin: 8px auto -4px;        /* keep it visually centered */
    display: block;
  }

  .nav ul {
    justify-content: center;      /* center links on small screens */
    gap: 18px;
    margin-top: 6px;
  }

  .logo-text {
    font-size: 1.25rem;           /* keep brand from crowding the avatar */
    max-width: 60vw;
  }
}

