/* styles.css - Styles for the Morequ website */

/* CSS Variables for color palette */
:root {
  /* Colors from the provided palette */
  --dark-jungle-green: #071e22;
  --myrtle-green: #1d7874;
  --wintergreen-dream: #679289;
  --peach-crayola: #f4c095;
  --red-pigment: #ee2e31;

  /* Additional neutral colors */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #dddddd;
  --dark-gray: #333333;

  /* Font sizes */
  --font-xl: 40px;
  --font-lg: 28px;
  --font-md: 20px;
  --font-base: 16px;
  --font-sm: 14px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 80px;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-jungle-green);
  line-height: 1.6;
}

.home-container {
  width: 100%;
  overflow-x: hidden;
  margin-top: 10vh;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Text utility classes */
.text-teal {
  color: var(--myrtle-green);
}

.text-myrtle {
  color: var(--myrtle-green);
}

.text-dark {
  color: var(--dark-jungle-green);
}

.text-italic {
  font-style: italic;
}

/* Attribution link for SVGs */
.svg-attribution {
  font-size: var(--font-sm);
  color: var(--light-gray);
  text-decoration: none;
  z-index: 10;
}

.svg-container {
  position: relative;
}

/* Button styles */
.primary-button {
  background-color: var(--dark-jungle-green);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  font-size: var(--font-base);
  transition: background-color 0.3s ease;
}

.primary-button:hover {
  background-color: var(--myrtle-green);
}

/* First Section - Hero Section */
.first-section {
  padding-top: var(--space-md);
}

.morequ-logo {
  display: flex;
  justify-content: center;
}

.morequ-logo img {
  width: 200px;
  height: auto;
  margin-bottom: 40px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.text-content {
  flex: 1;
}

.text-content h1 {
  font-size: 56px;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.text-content p {
  font-size: var(--font-base);
  color: var(--dark-gray);
  margin-bottom: var(--space-md);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* SVG animation styles */
#animated-svg {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#animated-svg svg {
  width: 100%;
  height: 500px;
}

/* CSS for smooth transitions */
#freepik--character-1--inject-2,
#freepik--character-2--inject-2,
#freepik--character-3--inject-2,
#freepik--character-4--inject-2 {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* Talent Profile Section */
.talent-list {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
}

.talent-list li {
  margin-bottom: 5px;
  color: #000 !important;
  margin-top: 0 !important;
}

/* Second Section - How It Works */
.second-section {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.second-section h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: var(--space-lg);
}

.how-it-works-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
}

.how-it-works-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-it-works-image > div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-it-works-steps {
  flex: 1;
}

.step {
  margin-bottom: var(--space-md);
}

.step h3 {
  color: var(--myrtle-green);
  font-size: var(--font-md);
  margin-bottom: var(--space-xs);
}

.step p {
  color: var(--dark-gray);
}

/* Slogan bar */
.slogan-bar {
  background-color: var(--wintergreen-dream);
  color: var(--white);
  padding: var(--space-lg) 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slogan-bar h2 {
  font-size: var(--font-lg);
  margin-bottom: var(--space-sm);
}

.slogan-bar p {
  font-size: var(--font-base);
  max-width: 800px;
}

/* Third Section - What is morequ and OPZ */
.third-section {
  padding: var(--space-xl) 0;
  background-color: var(--wintergreen-dream);
  color: var(--white);
}

.opz-content {
  max-width: 800px;
  margin: 0 auto;
}

.third-section-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.third-section h2 {
  color: var(--white);
  font-size: var(--font-lg);
  margin-bottom: var(--space-md);
}

.third-section p {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.quote {
  display: block;
  font-size: var(--font-base);
  font-style: italic;
  color: var(--white);
  text-align: center;
  margin-top: var(--space-md);
}

/* Contact Section */
.contact-section {
  background-color: var(--wintergreen-dream);
  color: var(--white);
  padding: var(--space-lg) 0;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: var(--space-sm);
}

.contact-section p {
  margin: 0 auto;
}

/* Fourth Section - 3 Whys */
.fourth-section {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.fourth-section h2 {
  color: var(--myrtle-green);
  font-size: 40px;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.whys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  padding: var(--space-md);
  background: transparent;
  border-radius: 10px;
}

.why-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  margin-bottom: var(--space-md);
}

.why-card h3 {
  color: var(--myrtle-green);
  font-size: var(--font-md);
  margin-bottom: var(--space-sm);
  position: relative;
  top: 10px;
}

.why-card p {
  color: var(--dark-gray);
  font-size: var(--font-base);
}

/* Footer */
footer {
  background-color: var(--wintergreen-dream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-footer {
  padding: var(--space-md) 0;
  width: 100%;
}

.main-footer p {
  text-align: center;
  color: var(--white);
  margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }

  .how-it-works-content {
    flex-direction: column;
    gap: 0;
  }

  .whys-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --font-xl: 32px;
    --font-lg: 24px;
    --font-md: 17.6px;
  }

  .text-content h1 {
    font-size: 40px;
  }

  .hero-content {
    gap: var(--space-md);
  }

  .morequ-logo img {
    width: 200px;
    height: auto;
  }
}

.hero-svg-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slogan-bar h2,
.contact-section h2 {
  color: #fff !important;
}

.third-section p {
  text-align: center;
}

.copyright-style-1 p a {
  color: var(--color-body);
  font-size: 16px;
  line-height: 25px;
}

@media screen and (max-width: 1199px) {
  .home-container {
    margin-top: 14vh;
  }
}

@media screen and (max-width: 600px) and (max-height: 880px) {
  .home-container {
    margin-top: 16vh;
  }
}

#talent-svg > svg {
  width: 100%;
  height: 500px;
}

#cv-svg > svg {
  width: 100%;
  height: 500px;
}

@media screen and (max-width: 768px) {
  #animated-svg svg {
    height: 300px;
  }

  #talent-svg > svg {
    height: 250px;
  }

  .second-section h2 {
    margin-bottom: 0;
  }

  #cv-svg > svg {
    height: 400px;
  }
}
