/* GLOBAL VARIABLES */
:root {
  --black: #000000;
  --gold: #C8A35F;
  --white: #FFFFFF;
  --dark-grey: #1A1A1A;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--white);
  line-height: 1.75;
  background-color: var(--black);
}

a {
  transition: color 0.3s ease;
}

/* TYPOGRAPHY UTILITIES */
.heading-gold {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  background: url('1hero-vanguard.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.hero-content img.main-logo {
  width: 200px;
  max-width: 100%;
  margin-bottom: 2rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-content p,
.hero-content .tagline {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.cta-button {
  background-image: linear-gradient(135deg, #C8A35F 0%, #e6cf9b 100%);
  color: var(--black);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  background-color: var(--white);
  color: var(--black);
  transform: scale(1.02);
}

/* ABOUT */
.about {
  background-color: #f9f9f9;
  color: var(--dark-grey);
  padding: 6rem 2rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.about h2 {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 2rem;
  color: var(--dark-grey);
}

/* EBOOK */
.ebook-access {
  background-color: #f4f4f4;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  flex-wrap: wrap;
}

.ebook-container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  max-width: 1200px;
  align-items: center;
  flex-wrap: wrap;
}

.ebook-cover {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.ebook-text {
  max-width: 600px;
}

.ebook-text h2 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.ebook-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--dark-grey);
}

/* CONTACTO */
.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea {
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  color: #000;
}

button {
  background-color: var(--gold);
  color: var(--black);
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: var(--white);
}

/* FOOTER */
footer {
  background-color: var(--dark-grey);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

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

.footer-text p {
  margin: 0;
}

.privacy-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: bold;
  margin-top: 0.5rem;
  display: inline-block;
}

.privacy-link:hover {
  text-decoration: underline;
}

.footer-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.footer-badges img {
  height: 40px;
}

.footer-badges img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p,
  .hero-content .tagline {
    font-size: 1rem;
  }

  .ebook-container {
    flex-direction: column;
    text-align: center;
  }

  .ebook-cover {
    margin-bottom: 2rem;
  }
}
