/* === Reset básico y estructura === */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 80px;
    background-color: #fff;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.logo img {
    height: 70px;
}
.social-icons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-right: 70px;
}
.social-icons img {
    height: 35px;
    width: 35px;
}
.main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2vw;
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav li {
    text-align: center;
}
.nav-link {
    font-weight: bold;
    color: #111;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 1.1rem;
}
.nav-link-blog {
    font-weight: bold;
    color: #CB9305;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 1.1rem;
}
.nav-link:hover {
    background: #cccaca;
}
/* Oculta el botón nav-toggle por defecto */
.nav-toggle {
  display: none;
}
footer {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 30px 0 15px 0;
    text-align: center;
    font-size: 1rem;
}
footer a {
    color: #ffd700;
    text-decoration: none;
}
footer a:hover {
    color: #dddd;
    text-decoration: underline;
}
footer p {
    margin: 8px 0;
}
footer .designer-credit {
    margin-top: 16px;
    color: #b8a05c;
    font-size: 0.96em;
    font-style: italic;
    opacity: 0.82;
}

/* === Hero Section === */
.main-content.home-hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 100px 5px 70px;
}
.hero-text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-text h1 {
    font-size: 4rem;
    color: #CB9305;
    font-weight: 800;
    margin-bottom: 5px;
}
.hero-text h2 {
    font-size: 3rem;
    color: #CB9305;
    font-weight: 800;
    margin-bottom: 5px;
    margin-top: 0px;
}
.hero-text p {
    font-size: 2rem;
    color: #333;
}
.hero-img {
    flex: 1 1 30%;
    text-align: center;
    padding: 5px 5px 5px 5px;
}
.hero-img img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* === About Section === */
.about-text {
    max-width: 700px;
    margin: 30px auto;
    padding: 24px 20px;
   
}
.about-text h1{
   font-size: 2rem;
    color: #CB9305;
    margin-top: 42px;
    font-weight: bold;
     text-align:center;
   
}
.about-text h2 {
    font-size: 1.5rem;
    color: #CB9305;
    margin-top: 42px;
    font-weight: bold;
     text-align:center;
}
.about-text p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 18px auto;
     text-align:justify;
}
.column {
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-weight: bold;
}

.column h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #333;
}

.column p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: #555;
}

.column ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.column ul li {
  margin-bottom: 0.8rem;
}

.column ul li a {
  text-decoration: none;
  color: #CB9305;
  font-weight: bold;
  transition: color 0.3s ease;
}

.column ul li a:hover {
  color: #CB9305;
  text-decoration: underline;
}

/*===secciones blog articulos===*/
.blog-list {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.blog-entry {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.blog-entry h3 {
    font-size: 1.6rem;
    color: CB9305;
    margin-bottom: 10px;
}

.blog-entry h3 a {
    text-decoration: none;
    color: #CB9305;
}

.blog-entry p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #cae0b5;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}


/* === Responsive === */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }
    .logo img {
        height: 50px;
    }
    .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .main-nav ul.open {
    display: flex;
  }
    .main-content.home-hero {
        flex-direction: column-reverse;
        padding: 20px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-img img {
        max-width: 100%;
        max-height: 300px;
    }
    .about-text {
        padding: 16px;
    }
}