/* ============================
   Sofia Fedele — styles.css
   (clean rewrite + fixes)
   ============================ */

/* ---- global reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---- base styles ---- */
body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #000;
  color: #fff;
}

/* ---- header / nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
  z-index: 100;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
}

.logo a {
  color: #fff;
  text-decoration: none;
}

.logo a:hover {
  opacity: 0.8;
}

/* nav links */
.main-nav a {
  margin-left: 32px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffffcc;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.2s ease-out;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 100%;
}

/* active nav underline */
.main-nav a.is-active {
  color: #fff;
}

.main-nav a.is-active::after {
  width: 100%;
}

/* ---- hero / homepage ---- */
#homepage-content {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
}

.hero {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* add perspective to the container so the logo tilts in 3D */
.hero-inner {
  text-align: center;
  max-width: 900px;
  perspective: 1200px;
}

/* ---- SF LOGO (3D wobble) ---- */
.hero-art {
  width: 380px;
  height: 380px;
  margin: 0 auto 5px;

  background-image: url("../img/sf-logoo.PNG");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  animation: wobbleY 5s ease-in-out infinite alternate;
  transform-style: preserve-3d;

  filter:
    drop-shadow(0px 6px 10px rgba(255, 255, 255, 0.55))
    drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.4));

  background-color: transparent;
  border-radius: 16px;
}

@keyframes wobbleY {
  0% { transform: rotateY(-22deg) rotateX(6deg) scale(1); }
  50% { transform: rotateY(0deg) rotateX(0deg) scale(1.02); }
  100% { transform: rotateY(22deg) rotateX(6deg) scale(1); }
}

/* ---- hero text ---- */
.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: #ffffff88;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffffb3;
}

/* ---- CTA button ---- */
.hero-button {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.15s ease-out,
    color 0.15s ease-out,
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.hero-button:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

/* ⭐⭐⭐ PARALLAX BANNER ⭐⭐⭐ */
.scroll-banner {
  height: 500px;
  width: 100%;
  background-image: url("../img/banner-image.JPEG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow:
    0 -40px 60px rgba(0, 0, 0, 0.9),
    0 40px 60px rgba(0, 0, 0, 0.9);
}

/* ---- placeholder sections ---- */
.placeholder-section {
  padding: 120px 20px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #222;
}

.placeholder-section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.placeholder-section p {
  font-size: 0.95rem;
  color: #ffffffb3;
}

/* ---- footer ---- */
.site-footer {
  padding: 40px 20px 30px;
  text-align: center;
  font-size: 0.8rem;
  color: #ffffff66;
}

/* ---- global mobile ---- */
@media (max-width: 700px) {
  .hero-art {
    width: 70vmin;
    height: 70vmin;
  }

  .scroll-banner {
    background-attachment: scroll;
    height: 300px;
  }
}

/* ---------------- BLOGS PAGE ---------------- */
.blogs-page {
  padding-top: 110px;
}

.blogs-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px 28px;
  border-bottom: 1px solid #222;
}

.blogs-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 10px 0 10px;
}

.blogs-subtitle {
  max-width: 720px;
  color: #ffffffb3;
  line-height: 1.6;
}

.blogs-controls {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.blogs-search {
  width: 100%;
  max-width: 520px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #0b0b0b;
  color: #fff;
  outline: none;
}

.blogs-search::placeholder {
  color: #ffffff66;
}

.blogs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #ffffffcc;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.tag:hover {
  color: #fff;
  border-color: #3a3a3a;
}

.tag.is-active {
  border-color: #fff;
  color: #fff;
}

.blogs-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: #fff;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid #1f1f1f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease-out, border-color 0.18s ease-out;
}

.blog-card:hover .blog-thumb {
  transform: translateY(-4px);
  border-color: #2f2f2f;
}

.blog-card-body {
  padding-top: 14px;
}

.blog-card-title {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  color: #ffffffb3;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: 44ch;
}

@media (max-width: 980px) {
  .blogs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .blogs-grid { grid-template-columns: 1fr; }
  .blogs-hero { padding-top: 40px; }
}

/* =========================
   ABOUT PAGE (FULL BLEED)
   matches the video + removes rounding
   ========================= */

.about-page {
  padding-top: 0;
}

/* Full-width hero video like Trace Amounts */
.about-hero-video {
  width: 100%;
  height: min(72vh, 820px);
  overflow: hidden;
}

/* hero video */
.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* control knob:
     - lower % shows more skyline (moves view UP)
     - higher % shows more crowd (moves view DOWN)
  */
  object-position: center 58%;
  display: block;
}

/* =========================
   ABOUT TEXT (NEW TYPE)
   ========================= */

.about-page {
  padding-top: 0; /* lets the video reach the top */
}

.about-text {
  border-top: 1px solid #222;
  padding: 64px 40px; /* closer to edges */
}

.about-text-inner {
  max-width: 1200px; /* wider text block */
  margin: 0 auto;
}

/* small ALL CAPS label like the examples */
.about-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: #ffffffb3;
  margin-bottom: 14px;
}

/* bigger bold headline */
.about-heading {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin-bottom: 18px;
}

.about-text p {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;

  font-size: clamp(1.05rem, 1.3vw, 1.28rem);
  line-height: 1.65;
  letter-spacing: 0.01em;

  color: #e6e6e6;
  max-width: 74ch;
}


/* mobile */
@media (max-width: 700px) {
  .about-text {
    padding: 46px 18px;
  }

  .about-text p {
    max-width: 64ch;
  }
}

/* ABOUT images: full-bleed edge-to-edge, NO rounding */
/* =========================
   ABOUT images – full bleed, no rounding
   ========================= */

.about-media {
  width: 100%;
  padding: 0;
  border-top: 1px solid #222;
}

.about-image {
  width: 100%;
  height: min(72vh, 820px);
  display: block;

  object-fit: cover;
  object-position: center 50%;

  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* last image: crop higher to remove black sky */
.about-image--low {
  object-position: center 78%;
}

/* mobile */
@media (max-width: 700px) {
  .about-image {
    height: 55vh;
  }
}

/* mobile tweaks */
@media (max-width: 700px) {
  .about-hero-video {
    height: 58vh;
  }

  .about-text {
    padding: 52px 18px;
  }

  .about-image img {
    height: 55vh;
  }
}
/* Crop last about image higher (remove black sky) */
.about-image--low {
  object-position: center 72%;
}
/* ---------- SECTION CTA BUTTONS ---------- */
.section-button {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 34px;

  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;

  color: #fff;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: transparent;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.section-button:hover {
  background: #ffffff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}
/* =========================
   WORK PAGE — COMING SOON
   ========================= */

/* header is fixed, so push main content below it */
.work-page {
  padding-top: 110px; /* matches other pages like blogs */
  min-height: 100vh;
}

.work-coming-soon {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  text-align: center;
}

.work-inner {
  max-width: 760px;
  padding: 0 24px 40px;
}

/* SF logo */
.work-logo {
  width: 260px;
  height: 260px;
  margin: 0 auto 28px;

  background-image: url("../img/sf-logoo.PNG");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  animation: wobbleY 6s ease-in-out infinite alternate;
  transform-style: preserve-3d;

  filter:
    drop-shadow(0px 6px 14px rgba(255, 255, 255, 0.55))
    drop-shadow(0px 0px 16px rgba(255, 255, 255, 0.35));
}

.work-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffffff66;
  margin-bottom: 12px;
}

.work-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.work-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: #ffffffb3;
}
/* Header logo + socials */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-name {
  display: inline-block;
}

/* Social icons next to name */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-links img {
  height: 1.05em;      /* matches the name size */
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-links a:hover img {
  opacity: 1;
  transform: translateY(-1px);
}
