/* Main CSS for Humbl Collective Static Site */

:root {
  /* Color palette based on your brand guide */
  --cream: #f9f5e3;
  --yellow: #fad132;
  --red: #f27121;
  --navy: #24315e;
  --blue: #384787;
  --black: #222222;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--black);
  background: var(--cream);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--yellow);
}

.section {
  padding: 6rem 0;
}

/* Color blocks */
.bg-yellow { background-color: var(--yellow); }
.bg-red { background-color: var(--red); }
.bg-navy { background-color: var(--navy); color: var(--white); }
.bg-blue { background-color: var(--blue); color: var(--white); }
.bg-cream { background-color: var(--cream); }

/* Utility classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 4rem; }
.mb-2 { margin-bottom: 2rem; }

/* Button styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--black);
  border: 1px solid var(--black);
  color: var(--cream);
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}

.btn-light:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.header.header-scrolled {
  background-color: var(--cream);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header.header-scrolled .logo img {
  width: 55px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  z-index: 101;
}

.logo img {
  width: 120px;
  height: auto;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 2rem;
}

.menu a {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 101;
  transition: all 0.3s ease;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--black);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text {
  flex: 1;
  max-width: 600px;
  z-index: 10;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.word {
  display: inline-block;
  margin-right: 0.5rem;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--black);
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  position: relative;
  z-index: 5;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  height: 500px;
  position: relative;
}

.shape {
  position: absolute;
  border-radius: 50%;
}

.hero .shape-1 {
  width: 200px;
  height: 200px;
  background-color: var(--yellow);
  right: 40px;
  top: 50px;
}

.hero .shape-2 {
  width: 150px;
  height: 150px;
  background-color: var(--red);
  left: 30px;
  bottom: 100px;
}

.hero .shape-3 {
  width: 100px;
  height: 100px;
  background-color: var(--navy);
  right: 150px;
  bottom: 40px;
  z-index: 2;
}

.retro-tv {
  position: absolute;
  width: 360px;
  height: 300px;
  background-image: url('../images/retro-tv.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  right: 100px;
  top: 150px;
}

/* --- About Section --- */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image {
  flex: 1;
}

.image-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.retro-megaphone {
  position: absolute;
  width: 70%;
  height: 70%;
  background-image: url('../images/megaphone.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

.about-shape {
  position: absolute;
  width: 70%;
  height: 70%;
  background-color: var(--red);
  border-radius: 50%;
  top: 15%;
  left: 15%;
  z-index: 1;
}

.about-shape--secondary {
  position: absolute;
  width: 50%;
  height: 50%;
  background-color: var(--blue);
  border-radius: 50%;
  bottom: 10px;
  left: 0;
  transform: translateX(-45%) translateY(25%);
  z-index: 3;
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.lead {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--black);
}

.about-features {
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
  font-weight: 700;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature-text p {
  color: var(--black);
  line-height: 1.5;
}

/* --- Services Section --- */
.services-section {
  background-color: var(--cream);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  padding: 3rem 2rem;
  border-radius: 8px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- Contact Section --- */
.contact {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
}

.contact-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4rem;
}

.contact-info, .contact-form-container {
  flex: 1;
}

.contact-intro {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 500px;
}

.info-items {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.contact-accent {
  position: absolute;
  z-index: -1;
}

.accent-shape {
  position: absolute;
  border-radius: 50%;
}

.accent-3 {
  width: 250px;
  height: 250px;
  background-color: var(--yellow);
  opacity: 0.1;
  bottom: -100px;
  right: -100px;
}

.accent-4 {
  width: 150px;
  height: 150px;
  background-color: var(--navy);
  opacity: 0.1;
  top: -50px;
  left: -50px;
}

/* --- Footer --- */
.footer {
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  width: 100%;
  max-width: 300px;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 50%;
  height: auto;
}

.footer-logo p {
  margin-top: 1rem;
  color: var(--cream);
  font-size: 0.9rem;
}

.footer-links {
  justify-content: space-between;
  max-width: 700px;
}

.footer-section {
  margin-bottom: 2rem;
  min-width: 180px;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--yellow);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--cream);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--navy) !important;
  margin-right: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--yellow);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--cream);
  font-size: 0.8rem;
}

/* --- Jobba Hos Oss --- */
.job-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
}

.job-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-hero-text {
  flex: 1;
  max-width: 620px;
  z-index: 2;
}

.headline {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--navy);
}

.job-hero-text .lead {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.email {
  text-decoration: underline;
}

.cta {
  margin-top: 1.5rem;
}

.job-hero-image {
  flex: 1;
  max-width: 480px;
  height: 420px;
  position: relative;
}

.job-hero .shape-1 {
  width: 180px;
  height: 180px;
  background-color: var(--yellow);
  right: 40px;
  top: 20px;
  animation: float 6s ease-in-out infinite;
}

.job-hero .shape-2 {
  width: 140px;
  height: 140px;
  background-color: var(--red);
  left: 10px;
  bottom: 80px;
  animation: float 6s ease-in-out infinite 0.8s;
}

.job-hero .shape-3 {
  width: 105px;
  height: 105px;
  background-color: var(--navy);
  right: 105px;
  bottom: 0;
  z-index: 2;
  animation: float 6s ease-in-out infinite 1.3s;
}

.retro-element {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.retro-megaphone.job-megaphone {
  width: 320px;
  height: 260px;
  right: 80px;
  top: 100px;
  background-image: url('../images/megaphone.png');
  transform: scaleX(-1);
  animation: wiggle 2.8s ease-in-out infinite;
}

/* --- Om Oss --- */
.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: end;
  position: relative;
  background: var(--cream);
  overflow: hidden;
  padding-top: 100px;
  margin-bottom: 0;
}

.about-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 60vh;
}

.about-hero-text {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-headline {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  overflow: hidden;
  color: var(--navy);
}

.about-hero-lead {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: var(--black);
  max-width: 500px;
}

.about-hero-image {
  flex: 1;
  max-width: 400px;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-hero .shape-1 {
  width: 140px;
  height: 140px;
  background-color: var(--red);
  right: 30px;
  bottom: 120px;
}
.about-hero .shape-2 {
  width: 180px;
  height: 180px;
  background-color: var(--blue);
  left: 20px;
  bottom: 80px;
}
.about-hero .shape-3 {
  width: 70px;
  height: 70px;
  background-color: var(--navy);
  right: 100px;
  bottom: 30px;
}
.retro-boy {
  position: absolute;
  width: 250px;
  height: 250px;
  background-image: url("../images/retro-man.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  right: 100px;
  bottom: -20px;
}

.cta-section {
  padding: 2rem 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-text h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin: 0;
}

.band-block {
  position: relative;
  padding: 2rem 4rem;
  margin: 2rem 0;
}
.band-block::before {
  position: absolute;
  background: var(--cream) !important;
  color: #000 !important;
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  left: 0;
  top: 0;
  border-radius: 8px;
  border: 1px solid var(--black);
  z-index: 0;
}
.band-block > * {
  z-index: 1;
  position: relative;
}

.aboutus-content {
  max-width: 980px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes wiggle {
  0%, 100% { transform: scaleX(-1) rotate(0deg); }
  25% { transform: scaleX(-1) rotate(2deg); }
  75% { transform: scaleX(-1) rotate(-2deg); }
}

/* Base styles for GSAP animations */
.is-animated-initial {
  opacity: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-content, .about-content, .contact-content, .job-hero-content, .about-hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text, .job-hero-text, .about-hero-text {
    margin-bottom: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .about-image, .about-text, .contact-info, .contact-form-container {
    width: 100%;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto 2rem;
  }
  
  .job-hero-image {
    max-width: 100%;
    height: 320px;
  }
  
  .retro-megaphone.job-megaphone {
    right: 0;
    top: 0;
    z-index: -1;
  }
  
  .job-hero .shape-1 {
    z-index: -1;
  }
  
  .about-hero-content {
    align-items: center;
    min-height: auto;
  }
  
  .about-hero-text {
    justify-content: flex-start;
  }
  
  .about-hero-image {
    max-width: 100%;
    margin: 0 auto;
    min-height: 300px;
    align-items: center;
  }
  
  .retro-boy {
    bottom: -20px;
    right: 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .menu.menu-open {
    right: 0;
  }

  .header.header-scrolled .menu a {
    font-size: 1.5rem;
  }

  .menu li {
    margin-left: 0;
    margin: 1.5rem 0;
  }

  .menu a {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .cta-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-text h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
