/* Import fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400;700&family=Inter:wght@400;600&display=swap');

@font-face {
    font-family: 'Helvetica Neue';
    src: url('/Users/Franny/Desktop/Portfolio/Fonts/HelveticaNeue/HelveticaNeueRoman.otf') format('truetype'),
        url('/Users/Franny/Desktop/Portfolio/Fonts/HelveticaNeue/HelveticaNeueBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Root and body adjustments */
html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

/* Container to center content and limit width */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

/* Headings and titles */
h1, h2, h3, h4, h5, h6, .title, .heading {
    font-family: 'Helvetica Neue', serif;
}

/* Body text */
body, p, .sub-heading, .text {
    font-family: 'Inter', sans-serif;
}

/* HEADER BASE STYLES */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background-color: #fff;
  border-bottom: 1px solid #000;
  position: relative;
  z-index: 10;
}

.logo {
  font-family: "Source Serif Pro", serif;
  font-weight: 500;
  text-decoration: none;
  color: black;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.logo:hover {
  color: #ff9ece;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff9ece;
}

/* HAMBURGER BUTTON (HIDDEN ON DESKTOP) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #000;
  z-index: 20; /* ensure it appears above nav links */
}

/* ======== MOBILE STYLING ======== */
@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
    padding: 15px 25px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #000;
    margin-top: 10px;
    position: absolute; /* drop down below header */
    top: 100%;
    left: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    text-align: center;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
  }
}

/* Landing Page */
.landing-page {
    position: relative;
    background: url('Assets/LandingPageBackground.jpg') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px 10px;
    overflow: hidden;
}

/* Remove semi-transparent overlay */
.landing-page::before {
    content: none;
}

/* Content container above background */
.header-container {
    position: relative;
    z-index: 2;
}

/* Arrow animation */
.header-arrow {
    position: relative;
    z-index: 2;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: white;
    margin: 0 0 20px 0;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Fluid headings */
.main-heading {
    font-size: clamp(2rem, 6vw, 3rem);
    margin: 0;
    line-height: 1.3;
}

.introduction {
    font-size: clamp(1rem, 3vw, 1.375rem);
    line-height: 1.8;
    margin-top: 20px;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    position: relative;
}

.introduction a {
    color: white;
    text-decoration: underline;
    position: relative;
    z-index: 3;
}

/* Client Carousel */
.client-carousel {
    overflow: hidden;
    background-color: #fff;
    padding: 30px 0;
    text-align: center;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.carousel-track img {
    height: auto;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s, opacity 0.3s;
}

.carousel-track img:hover {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Project Spotlight */
.project-spotlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 50px;
    background-color: #000;
    color: white;
    border-bottom: 1px solid #000;
    position: relative;
}

.project-spotlight h3 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #ff9ece;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.project-spotlight h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.05;
    color: white;
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.project-divider {
    width: 100%;
    max-width: 1200px;
    height: 4px;
    background-color: #ff9ece;
    margin: 10px auto 0;
    border-radius: 2px;
}

.project-spotlight p {
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
    margin-top: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    text-align: left;
    line-height: 1.6;
}

#project-spotlight-paragraph-read-more {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 400;
    color: #ff9ece;
    margin-top: 1rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
    font-style: italic;
}

#project-spotlight-paragraph-read-more:hover {
    color: #ff77b0;
}

/* On-Site Client Work Gallery */
.on-site-gallery {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.on-site-gallery h2 {
    font-family: 'Helvetica Neue', serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 30px;
    color: #111;
}

.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.3s;
}

.gallery-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.gallery-btn.prev {
    left: 10px;
}

.gallery-btn.next {
    right: 10px;
}

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 80px 10%;
  background-color: #fff;
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-content h2 {
  font-family: "Source Serif Pro", serif;
  font-size: 2.8rem;
  color: #ff9ece;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.2rem;
}

.about-content a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 550px;
  object-fit: cover;
  border-radius: 20px;
}

/* Responsive for smaller screens */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }

  .about-image img {
    max-width: 400px;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }
}

/* Footer */
.footer {
    padding-top: 10px;
    border-top: 2px solid #000;
    margin-top: 40px;
    padding-left: 15px;
    text-align: left;
}

.footer p a {
    margin-top: 10px;
    color: #000;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.footer a::after {
  content: "\2197"; /* Unicode top-right arrow */
  font-family: "Inter", sans-serif; /* forces font, prevents emoji */
  font-weight: normal;
  font-style: normal;
  font-size: 0.9em;
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
}


.footer p {
    margin: 5px 0;
    line-height: 1.4;
}

#copyright {
    text-align: right;
    color: black;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    padding-right: 10px;
}

/* MOBILE FIXES */
@media (max-width: 768px) {
    .site-header {
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    #home-link {
        font-size: 1rem;
        left: 0;
    }

    .right-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .landing-page {
        min-height: 60vh;
        padding: 60px 5%;
        background-position: center;
        background-size: cover;
    }

    .header-arrow {
        font-size: clamp(1.5rem, 8vw, 3rem);
    }

    .main-heading {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        line-height: 1.3;
    }

    .project-spotlight {
        padding: 30px 20px;
    }

    .project-spotlight h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
    }

    .project-spotlight h3 {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    .project-spotlight p {
        font-size: clamp(0.875rem, 3vw, 1rem);
        line-height: 1.5;
    }

    .carousel-track img {
        max-height: 40px;
    }

    .gallery-item.featured img {
        max-width: 300px;
        max-height: 220px;
    }
}
