/* reset & globals */
* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: Arial, sans-serif;
  background: #e1e1e1;
  margin: 10px;
}
/* Top nav */
.top-nav {
  display:flex;
  justify-content:space-between;
  background:#434340;
  padding:0.5rem 2rem;
}
.top-nav ul {
  list-style:none;
  display:flex;
  gap:1.5rem;
}
.top-nav a {
  color:#edae14;
  text-decoration:none;
  font-weight:bold;
  letter-spacing:1px;
}

/* Site header */
.site-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#e2e1e1;
  padding:1rem 2rem;
}
.header-left, .header-right {
  text-align:center;
}
.logo-text { max-width:150px; }
.subtitle { font-size:0.9rem; letter-spacing:2px; }
.title { font-size:1.2rem; font-weight:bold; }

.header-center {
  text-align:center;
}
.logo-pic {
  max-width:250px;
  display:block;
  margin:0 auto;
}
.mode-toggle {
  margin-top:0.5rem;
  background:#444;
  color:#fff;
  border:none;
  padding:0.5rem 1rem;
  border-radius:2rem;
  letter-spacing:2px;
  cursor:pointer;
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-auto-rows: 250px;                  /* fixed row height for bigger boxes */
  gap: 1rem;
  padding: 1rem;
  justify-items: center;
}
.gallery img {
  width: auto;
  height: 100%;          /* fill full cell height */
  max-width: 100%;
  object-fit: cover;     /* crop nicely */
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.gallery img:hover {
  transform:scale(1.05);
}

/* Footer sleepy baby */
.site-footer {
  background:#444;
  padding:1rem;
  text-align:right;
}
.site-footer .sleepy {
  max-width:100px;
  opacity:0.8;
}
.about-content {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.about-heading {
  font-size: 6rem;
  margin-bottom: 50px;
  color: #333;
}

.about-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.about-profile {
  width: 400px;
  max-width: 100%;
}

.about-text {
  max-width: 500px;
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
}

.about-text p:first-child {
  font-weight: bold;
  font-size: 1rem;
}

.about-image-row {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.about-bottom-image {
  width: 100%;
  max-width: 700px;
  height: auto;
}

.footer {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: bold;
  font-size: 1.2rem;
}

nav a {
  text-decoration: none;
  color: #f4b400; /* or your brand color */
  font-weight: bold;
  margin-right: 20px;
}

nav a:hover {
  text-decoration: underline;
}

.about-container {
  padding: 2rem;
  text-align: center;
}
/* — CONTACT PAGE — */

.contact-page {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
  padding: 0 20px;
}

.contact-heading {
  font-size: 5rem;
  margin-bottom: 40px;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 600px;
  background: #333;
  color: #eee;
  border: none;
  border-radius: 2rem;
  padding: 1rem 1.5rem;
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #eee;
}

.contact-form textarea {
  resize: vertical;
  border-radius: 2rem;
}

.contact-form button {
  background: #333;
  color: #fc0;
  border: none;
  border-radius: 2rem;
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #444;
}

.site-footer {
  background:#444;
  padding:1rem;
  text-align:right;
}
.site-footer .sleepy {
  max-width:100px;
  opacity:.8;
}

/* Hero video full-width */
.hero-video video {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

/* Two-column intro */
.project-intro {
  display: flex;
  flex-wrap: wrap;
  margin: 3rem 0;
}
.intro-left, .intro-right {
  flex: 1 1 300px;
  padding: 0 1rem;
}
.project-meta {
  font-style: italic;
  color: #555;
}

/* Banners & collage */
.project-banner img,
.cover-collage img {
  width: 100%;
  display: block;
  margin: 2rem 0;
}

/* Thumbnail grid */
.project-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.project-thumbnails img {
  width: 100%;
  border-radius: 6px;
}
.project-thumbnails figcaption {
  text-align: center;
  margin-top: 0.5rem;
  font-weight: bold;
}

/* Slideshow styles */
.slideshow-section {
  max-width: none;    /* remove the 900px cap */
  width: 100vw;       /* fill the viewport width */
  margin: 3rem auto;  /* keep your vertical spacing */
}
.slideshow-container {
  max-width: 100%;    /* ensure container fills its parent */
}
.slide {
  display: none;
}
.slide img {
  width: 100vw;       /* full-viewport width images */
  height: auto;
  border-radius: 0;   /* optional: drop the rounding if you want flush edges */
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  margin-top: -22px;
  color: #fff;
  font-size: 24px;
  transition: color 0.3s;
  user-select: none;
}
.prev:hover, .next:hover { color: #fc0; }
.prev { left: 0; }
.next { right: 0; }
.dots-container {
  margin-top: 1rem;
}
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s;
}
.active-dot {
  background: #717171;
}

.animated-video {
  max-width: none;    /* remove the 800px cap */
  width: 100vw;       /* fill the viewport width */
  margin: 4rem auto;
}
.animated-video video {
  width: 100vw;       /* full-viewport width video */
  height: auto;
  object-fit: cover;  /* like the hero, crops to fill if needed */
  border-radius: 0;   /* optional */
}
