/* ============================================
   Geo Altica - Landing Page Styles
   ============================================ */

/* --- Variables --- */
:root {
  --color-blue: #0A2463;
  --color-brown: #6E4522;
  --color-green: #3A5F0B;
  --color-beige: #B8A88E;
  --color-gold: #D4AF37;
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;
  --font-title: 'Open Sans', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-blue);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--color-gold);
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
}

/* --- Utility Classes --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section--gray {
  background-color: var(--color-light-gray);
}

.section--beige {
  background-color: var(--color-beige);
  color: var(--color-brown);
}

.section--beige p {
  color: var(--color-brown);
}

.section--blue {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.section--blue p {
  color: var(--color-white);
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #0d2d7a;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 36, 99, 0.3);
}

.btn--secondary {
  background-color: var(--color-beige);
  color: var(--color-brown);
}

.btn--secondary:hover {
  background-color: #c9b99f;
  color: var(--color-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 168, 142, 0.3);
}

.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-blue);
}

.btn--gold:hover {
  background-color: #e0c04a;
  color: var(--color-blue);
  transform: translateY(-2px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header__logo img {
  height: 50px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-list {
  display: flex;
  gap: 1.5rem;
}

.header__nav-list a {
  color: var(--color-blue);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.header__nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition);
}

.header__nav-list a:hover::after {
  width: 100%;
}

.header__lang {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--color-beige);
}

.header__lang a {
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.header__lang a.active {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* Mobile menu toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.header__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__badge {
  display: inline-block;
  background-color: var(--color-beige);
  color: var(--color-brown);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
}

.hero__title {
  color: var(--color-blue);
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 36, 99, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
  pointer-events: none;
}

/* --- Problem Section --- */
.problem {
  position: relative;
}

.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.problem__image img {
  width: 100%;
  height: auto;
  display: block;
}

.problem__content h2 {
  color: var(--color-blue);
}

.problem__text {
  font-size: 1.05rem;
  line-height: 1.8;
}

.problem__highlight {
  background-color: var(--color-beige);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
  margin-top: 1.5rem;
}

.problem__highlight p {
  font-weight: 600;
  color: var(--color-brown);
  margin: 0;
}

/* --- Solution Section --- */
.solution__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.solution__title {
  color: var(--color-blue);
}

.solution__text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.solution__feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.solution__feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.solution__feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background-color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
}

.solution__feature h3 {
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

/* --- Features Section --- */
.features__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background-color: var(--color-light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-card__title {
  color: var(--color-blue);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.feature-card__text {
  font-size: 0.95rem;
  color: #666;
}

/* --- Target Audience Section --- */
.audience__inner {
  text-align: center;
}

.audience__title {
  color: var(--color-blue);
  margin-bottom: 3rem;
}

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

.audience-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

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

.audience-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
}

.audience-card__title {
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

.audience-card__text {
  font-size: 0.9rem;
  color: #666;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-light-gray);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__brand img {
  height: 45px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: #666;
  max-width: 300px;
}

.footer__title {
  color: var(--color-blue);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: #555;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--color-gold);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background-color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition);
}

.footer__social a:hover {
  background-color: var(--color-gold);
  color: var(--color-blue);
}

.footer__bottom {
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: #888;
}

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .header__toggle {
    display: flex;
  }

  .hero__inner,
  .problem__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .solution__features {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    max-width: 100%;
  }

  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .features__inner,
  .audience__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 6rem;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
