/*
Site Name: JeanetteLarsen.com
Author: Jeanette Larsen
Description: Portfolio website for Jeanette Larsen.
Version updated: 12/04/24
*/

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@import url("https://use.typekit.net/dqt2ski.css");

/*--------------------------------------------------------------
# Normalize / Reset
--------------------------------------------------------------*/

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: "europa", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  background-color: #fff;
  color: #000;
  line-height: 1.2;
  overflow-x: hidden;
}

article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section, summary {
  display: block;
}

a {
  color: #404040;
  background-color: transparent;
  text-decoration: none;
}

a:hover,
a:active {
  color: #a5a3a3;
}

/* Accessible focus */
a:focus,
button:focus,
.home-project a:focus {
  outline: 2px solid #f11f56;
  outline-offset: 2px;
}

/* Smarter focus in modern browsers */
a:focus-visible,
button:focus-visible,
.home-project a:focus-visible {
  outline: 2px solid #f11f56;
  outline-offset: 2px;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

pre {
  overflow: auto;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  clear: both;
  margin: 0;
}

h1 {
  color: #fff;
  font-size: 2.425em;
  font-weight: 600;
  margin: 1% 0 2%;
}

h2 {
  color: #ccc;
  font-size: 2.15em;
  font-weight: 200;
  margin: 6% 0 2%;
}

h3 {
  color: #fff;
  font-size: 1.5em;
  font-weight: 200;
  margin-top: 2%;
}

h4 {
  color: #ecb31a;
  font-size: 0.875em;
  font-weight: 600;
}

h5 {
  font-size: 0.875em;
  font-weight: 600;
}

p {
  color: #36424a;
  font-size: 0.925em;
  margin-bottom: 1em;
}

/* Global tagline style (overrides generic h2) */
#job-specialities {
  color: #f11f56;
  font-size: 1.34em;
  font-weight: 200;
  margin: 1% 0 3%;
}

/*--------------------------------------------------------------
# Layout Containers
--------------------------------------------------------------*/

header #home-header-container,
header #subpage-header-container,
#home-introduction,
.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 7%;
}

.work-outer-wrapper {
  width: 100%;
  margin: 0;
}

#home-projects-container {
  max-width: 1600px;
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.btn a {
  font-size: 0.925em;
  font-weight: 200;
  text-align: center;
  border: 1px solid;
  display: block;
  width: 18%;
  min-width: 150px;
  margin-top: 30px;
  padding: 1%;
  cursor: pointer;
}

.btn-primary a {
  color: #fff;
  border: 2px solid #fff;
}

.btn-primary a:hover {
  background-color: rgba(132, 160, 195, 0.2);
}

.btn-secondary a {
  color: #006699;
  font-weight: 400;
  border: 2px solid #006699;
}

.btn-secondary a:hover {
  border-color: #009ceb;
}

/*--------------------------------------------------------------
# Subpage Header
--------------------------------------------------------------*/

#subpage-header-container #site-title {
  font-size: 1.5em;
  display: inline-block;
  margin-right: 1%;
  padding: 4% 0 1%;
}

#subpage-header-container h2#job-specialities {
  color: #f11f56;
  font-size: 1.1em;
  font-weight: 200;
  display: inline-block;
  margin-bottom: 5%;
}

@media (min-width: 700px) {
  #subpage-header-container #site-title {
    padding-bottom: 3%;
  }
  #subpage-header-container h2#job-specialities {
    margin-bottom: 3%;
  }
}

/*--------------------------------------------------------------
# Portfolio Pages
--------------------------------------------------------------*/

.work-inner-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.work-column-images img {
  width: 100%;
}

.work-column-information {
  background-color: #353535;
  padding: 7%;
}

.work-column-information p,
.work-column-information ul {
  color: #fff;
  font-size: 1.05em;
  font-weight: 200;
  line-height: 1.4;
}

.work-column-information ul {
  font-size: 0.95em;
  font-weight: 400;
}

.work-column-information h1#work-title {
  font-weight: 400;
  margin-bottom: 2%;
}

.work-column-information h2.work-section {
  color: #bbb;
  font-size: 1.75em;
  font-weight: 200;
  margin: 6% 0 3%;
}

/* Desktop work layout – prevents white gap */
@media (min-width: 800px) {
  .work-outer-wrapper {
    height: 100vh;
    display: flex;
  }
  .work-inner-wrapper {
    flex-direction: row;
    flex: 1;
    padding: 0;
  }
  .work-column-images {
    overflow-y: scroll;
    width: 50%;
  }
  .work-column-information {
    width: 50%;
    padding: 4%;
  }
}

/* Work nav */

.work-navigation-container {
  display: flex;
}

.work-navigation {
  border: 2px solid #f11f56;
  background: #fff;
  width: 50%;
}

.work-navigation:hover {
  background: #f11f56;
}

.work-navigation a {
  font-size: 0.9em;
  font-weight: 400;
  padding: 4%;
  display: block;
}

.work-navigation a:hover {
  color: #fff;
}

#next.work-navigation {
  text-align: right;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer {
  background-color: #ececec;
  padding: 5% 0;
}

footer .footer-title {
  color: #404040;
  font-size: 1em;
  font-weight: 600;
}

footer p, address, #copyright, footer a {
  color: #404040;
  font-size: 0.925em;
}

footer a:hover {
  color: #f11f56;
}

#copyright {
  font-size: 0.8em;
  padding-top: 4em;
}

/*--------------------------------------------------------------
# Homepage — Header
--------------------------------------------------------------*/

#home-header,
#subpage-header {
  background-color: #fff;
  width: 100%;
}

header h1#site-title {
  font-size: 2.75em;
  font-weight: 600;
  margin: 0;
  padding: 3% 0 0;
}

header h1#site-title a {
  color: #404040;
}

header h1#site-title a:hover {
  color: #797878;
}

/*--------------------------------------------------------------
# Homepage — Intro
--------------------------------------------------------------*/

#home-introduction {
  margin-bottom: 6%;
}

#home-introduction #job-specialities {
  color: #f11f56;
  font-size: 1.34em;
  font-weight: 200;
  margin: 5% 0;
}

#home-introduction p {
  color: #404040;
  font-size: 0.95em;
  max-width: 900px;
}

@media (min-width: 600px) {
  header h1#site-title {
    font-size: 3.75em;
    padding-top: 5%;
  }
  #home-introduction #job-specialities {
    margin: 1% 0 3%;
  }
}

/*--------------------------------------------------------------
# Homepage — Projects Grid
--------------------------------------------------------------*/

#home-projects-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.home-project a {
  text-decoration: none;
}

.home-project-image {
  height: 330px;
  display: block;
  background-size: cover;
  background-position: center;
}

.home-project-image.active {
  display: none;
}

.home-project-description {
  display: none;
}

.home-project-description.open {
  display: block;
  height: 328px;
  background-color: #fff;
  border: 1px solid #a5a3a3;
}

.home-project-description h3 {
  color: #404040;
  font-size: 1.5em;
  font-weight: 600;
  text-align: center;
  padding: 23% 7% 0;
}

.home-project-description h4 {
  color: #f11f56;
  font-size: 0.95em;
  font-weight: 200;
  text-align: center;
  text-transform: uppercase;
  padding: 4% 10%;
}

/* RESPONSIVE GRID */

@media (max-width: 599px) {
  .home-project {
    width: 100%;
  }
}

@media (min-width: 600px) {
  .home-project {
    width: 50%;
  }
}

@media (min-width: 950px) {
  .home-project {
    width: 33%;
  }
}

/*--------------------------------------------------------------
# Background images
--------------------------------------------------------------*/

#work-web-design {
  background-image: url("../img/work/tn_web-design.png");
}

#work-community-campaigns {
  background-image: url("../img/work/tn_community-campaigns.png");
}

#work-magic-of-storytelling {
  background-image: url("../img/work/tn_magic-of-storytelling.png");
}

#work-integrated-marketing-campaigns {
  background-image: url("../img/work/tn_integrated-marketing-campaigns.png");
}

#work-logistic-project-management {
  background-image: url("../img/work/tn_logistic-project-management.png");
}

#work-photography-highlights {
  background-image: url("../img/work/tn_photography-highlights.png");
}

.home-project-image {
  background-size: cover;
}

/*--------------------------------------------------------------
# Scroll Indicator
--------------------------------------------------------------*/

.scroll-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "europa";
  font-size: 14px;
  color: #444;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.scroll-indicator .arrow {
  width: 6px;
  height: 6px;
  margin: 5px auto 0;
  border-left: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .scroll-indicator {
    font-size: 12px;
  }
  .scroll-indicator .arrow {
    width: 4px;
    height: 4px;
  }
}

/*--------------------------------------------------------------
# Reduced Motion (Accessibility)
--------------------------------------------------------------*/

@media (prefers-reduced-motion: reduce) {
  .animated {
    animation: none !important;
  }
}

/*--------------------------------------------------------------
# Mobile type scale adjustments
--------------------------------------------------------------*/
@media (max-width: 480px) {

  /* Site name in header */
  header h1#site-title {
    font-size: 2.1em;
    line-height: 1.2;
  }

  /* Tagline under your name */
  #job-specialities,
  header h2#job-specialities,
  #home-introduction #job-specialities {
    font-size: 1.05em;
    line-height: 1.3;
    margin-top: 0.6em;
    margin-bottom: 1.2em;
  }

  /* Work page main title (e.g., "Integrated Marketing Campaigns") */
  .work-column-information h1#work-title {
    font-size: 1.8em;
    line-height: 1.2;
    margin-bottom: 1.2em;
  }

  /* Work page section heading ("Skills and Tools", etc.) */
  .work-column-information h2.work-section {
    font-size: 1.35em;
    line-height: 1.3;
    margin: 1.5em 0 0.75em;
  }

  /* Body text on work pages */
  .work-column-information p,
  .work-column-information ul {
    font-size: 0.95em;
  }
}