/* =========================
   RESET & BASE
========================= */
* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  background-color: #fafafa;
  margin: 0;
  color: #222;
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================
   TIPOGRAFÍA
========================= */
h1, h2 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}

p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* =========================
   HEADER
========================= */
#cabecera {
  display: flex;
  align-items: center;
  height: 100px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

#logo {
  margin: 0;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: black;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  line-height: 1;
}

.logo-text:hover {
  opacity: 0.7;
  color: black;
}

.navbar-brand.logo-text {
  font-size: 20px;
}

#menu {
  margin-left: auto;
}

.navbar {
  padding-right: 0;
}

.navbar-nav {
  margin-left: auto;
}

/* =========================
   HERO
========================= */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('../images/home.jpg') center no-repeat;
  background-size: cover;
}
.hero p {
  color: white;
}
.btn-hero {
  background-color: rgba(255, 255, 255, 0.6); /* antes 0.15 */
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0;
  padding: 10px 25px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.9);
}

/* =========================
   CONTENEDOR
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 100px;
  padding: 0 20px;
}

/* =========================
   SECCIÓN SOBRE MÍ
========================= */
#sobre-mi {
   max-width: 900px;
}
#sobre-mi p {
  margin-top: 15px;
  margin-bottom: 30px;
  text-align: justify;
  line-height: 1.8;
  hyphens: auto;
}

/* =========================
   FOOTER
========================= */
footer {
  margin-top: 50px;
  padding: 50px 0;
  border-top: 1px solid #ddd;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left a {
  color: #666;
  text-decoration: none;
  font-size: 1rem;
}

.footer-left a:hover {
  color: #000;
}

.footer-right p {
  margin: 0;
  font-size: 1rem;
  color: #666;
}

/* =========================
   UTILIDADES
========================= */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { 
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); 
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .logo-text {
    font-size: 20px;
  }

  .hero {
    background-position: 30% 60%;
  }

  #sobre-mi {
    padding: 0 20px;  
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}