@charset "utf-8";

/* =========================
   Base
========================= */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: "strenuous", Arial, sans-serif;
}

h2 {
  color: #ED8CC4;
  font-family: "strenuous", Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

h3 {
  color: #5B3A8A;
  font-family: "strenuous", Arial, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
}

h4 {
  color: #4D375C;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

/* =========================
   Global Images
========================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Navigation
========================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: #000000;
  padding: 10px 0;
  z-index: 1000;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-list li {
  flex: 1;
  text-align: center;
}

.nav-list a {
  display: block;
  text-decoration: none;
  color: #ED8CC4;
  font-size: 22px;
  padding: 8px 10px;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s ease;
  font-family: "strenuous", Arial, sans-serif;
}

.nav-list a:hover,
.nav-list a.is-active {
  background: rgba(239, 218, 188, 0.18);
}

/* =========================
   Sections
========================= */
.section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 90px;
  padding-bottom: 50px;
}

.plain {
  background-color: transparent;
  flex-direction: column;
}

/* =========================
   Home / Hero
========================= */
#home {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-image: url(../images/hero_page.jpg);
  background-size: cover;
  background-position: center;
}

#home h3 { margin: 0; letter-spacing: 1px; }
#home h2 { margin: 0; line-height: 0.95; }
#home h4 { margin: 0; letter-spacing: 0.5px; }

/* =========================
   About Section
========================= */
#about {
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-left: 0;
  background-color: #A6EBEB;
  background-image: url("../images/about_me@2x.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.about-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
  padding: 0 5%;
}

.about-text {
  flex: 2;
}

#about h2 {
  margin-bottom: 20px;
  text-align: left;
}

#about p {
  color: #4D375C;
  max-width: 425px;
  hyphens: none;
  font-weight: 600;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.45;
  font-size: 1.2rem;
  text-align: left;
  margin-top: 0;
}

.about-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex: 1;
}

.about-photo {
  width: 320px;
  object-fit: contain;
}

/* =========================
   Buttons / UI
========================= */
.download-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #ED8CC4;
  color: #000000;
  text-decoration: none;
  font-family: "strenuous", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 999px;
  text-align: center;
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.download-btn:hover {
  transform: scale(1.08);
}

.about-contact-btn {
  position: static;
  display: inline-block;
  padding: 10px 14px;
  background: #F2B1D7;
  color: #000000;
  text-decoration: none;
  font-family: "strenuous", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 999px;
  text-align: center;
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.about-contact-btn:hover {
  transform: scale(1.08);
}

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: transparent;
  border: none;
  color: #FBE8C5;
  text-decoration: none;
  font-weight: 800;
  font-size: 4rem;
  transition: transform 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.15);
}

.download-button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 25px;
  background: transparent;
  color: #000000;
  text-decoration: none;
  font-weight: 800;
  font-size: 2.2rem;
  transition: transform 0.2s ease;
}

.download-button:hover {
  transform: scale(1.15);
}

.freebie-btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 14px 28px;
  background: #ED8CC4;
  color: #000000;
  text-decoration: none;
  font-family: "strenuous", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.freebie-btn:hover {
  transform: scale(1.08);
}

.back-home {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 500px;
  background: #ED8CC4;
  color: #000000;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.back-home:hover {
  transform: scale(1.08);
}

.contact-me-btn {
  position: absolute;
  right: 18px;
  bottom: 64px;
  padding: 10px 14px;
  border-radius: 500px;
  background: #5B3A8A;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.contact-me-btn:hover {
  transform: scale(1.08);
}

/* =========================
   Parallax Sections
========================= */
.parallax {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 0px;
  background-attachment: scroll;
}

/* =========================
   Section Backgrounds
========================= */
#portfolio {
  background-color: #F9F0E4;
}

#process {
  background-image: url(../images/process_page.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact,
#contact {
  background-color: #A6EBEB;
  background-image: url(../images/contact@2x.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* =========================
   Decorative Image
========================= */
.deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

/* =========================
   Portfolio Inner
========================= */
.portfolio-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* =========================
   Projects Grid
========================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: min(1000px, 92vw);
  margin: 0 auto;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tile-title {
  margin: 0;
  text-align: center;
  font-family: "strenuous", Arial, sans-serif;
  color: #F25963;
  font-size: 2rem;
  font-weight: 700;
}

.project-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  padding: 18px;
  border-radius: 20px;
  background: #ED8CC4;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-tile:hover {
  transform: scale(1.06);
}

.tile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#portfolio .project-tile {
  backdrop-filter: blur(6px);
}

/* =========================
   Contact Section
========================= */
.contact-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-weight: bold;
  font-size: 1.5em;
  color: #ED8CC4;
  font-family: "Montserrat", Arial, sans-serif;
}

.contact-form input,
.contact-form textarea {
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid #ED8CC4;
  background: #ED8CC4;
}

.contact-form textarea {
  resize: vertical;
}

.contact-submit {
  margin-top: 18px;
  padding: 14px 28px;
  background: #ED8CC4;
  border: 2px solid #ED8CC4;
  border-radius: 999px;
  font-size: 2rem;
  font-weight: bold;
  color: #000000;
  font-family: "strenuous", Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  transform: scale(1.15);
}

/* Honeypot field — hidden from real visitors, left for bots to fill in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact form success/error messages — hidden until contact.php redirects with a ?form= flag */
.form-status {
  display: none;
  max-width: 500px;
  margin: 0 auto 16px;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
}

.form-success {
  background: #d7f5d7;
  color: #1f5c1f;
}

.form-error {
  background: #f8d7da;
  color: #7a1f27;
}

/* =========================
   Lightbox Modal
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 22px;
}

.lightbox.is-open { display: flex; }

.lb-img {
  max-width: min(1100px, 92vw);
  max-height: 80vh;
  border-radius: 18px;
}

.lb-caption {
  margin: 12px 0 0;
  color: #fff;
  text-align: center;
  font-size: 1rem;
}

.lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.lb-close:hover { transform: scale(1.08); }

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
  z-index: 10000;
}

.lb-prev { left: 300px; }
.lb-next { right: 300px; }

.lb-prev:hover,
.lb-next:hover { transform: translateY(-50%) scale(1.08); }

/* =========================
   Carousel Gallery
========================= */
.gallery-wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 12px;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 18px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
  padding: 6px;
}

.gallery-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.08);
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-slide:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.gallery-btn {
  height: 52px;
  width: 52px;
  border-radius: 999px;
  border: none;
  background: #ED8CC4;
  color: #000;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.gallery-btn:hover { transform: scale(1.08); }

/* =========================
   Responsive
========================= */

/* Desktop fixed backgrounds */
@media (min-width: 769px) {
  .about,
  .contact {
    background-attachment: fixed;
  }
}

/* Hide deco at 1500px */
@media (max-width : 1848px ){
  .deco {
    display: none;
  }
}

/* Tablet (max 900px) */
@media (max-width: 900px) {
  #home {
    background-image: url(../images/tablet_hero.jpg);
  }

  #about {
    background-image:url("../images/Artboard 1@2x.png");
    background-attachment: scroll;
  }

  .contact, #contact {
    background-image: url("../images/tablet_contact.png");
    background-attachment: scroll;
  }

  .about-inner {
    flex-direction: column;
    gap: 30px;
  }

  .about-photo {
    width: 220px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-wrap { grid-template-columns: 48px 1fr 48px; }
  .gallery-slide { flex-basis: calc((100% - 16px) / 2); }
  .gallery-slide img { height: 230px; }

  .lb-prev { left: 30px; }
  .lb-next { right: 30px; }
}

/* Mid tablet (max 768px) */
@media (max-width: 768px) {
  .nav-list a { font-size: 16px; }
  .cta-button { font-size: 2.2rem; }
  .download-button { font-size: 1.2rem; }
  .section { padding-top: 110px; }
}

/* Mobile (max 520px) */
@media (max-width: 520px) {
  #home {
    background-image: url(../images/mobile_hero.jpg);
  }

  #about {
    background-image: url("../images/mobile_about.png");
    background-attachment: scroll;
  }

	
	/* Mobile */
#about {
  background-image:url("../images/mobile_about.png");
}
	
  #about p {
    font-size: 1rem;
  }

  .about-inner {
    flex-direction: column;
  }

  .about-links {
    align-items: center;
  }

  .contact, #contact {
    background-image:url("../images/mobile_contact@2x.png");
    background-attachment: scroll;
  }

  #portfolio {
    background-image: url(../images/portfolio_page.jpg);
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  .about-photo {
    width: 180px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .project-tile {
    width: 180px;
    height: 180px;
    padding: 16px;
  }

  .gallery-wrap { grid-template-columns: 44px 1fr 44px; }
  .gallery-slide { flex-basis: 100%; }
  .gallery-slide img { height: 210px; }

  .lb-prev,
  .lb-next {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}