@charset "utf-8";
/* CSS Document */
   :root {
      --primary: #ff6f61;
      --secondary: #333;
      --beige: #F5F5DC;
      --olive: #8F9779;
    }

    body {
      font-family: Arial, sans-serif;
      background-image: url("Imagen12.png"); /* Reemplaza con tu imagen */
      background-color: var(--beige);
      background-repeat: no-repeat;
      background-size: cover;
      background-attachment: fixed;
      color: var(--secondary);
      margin: 0;
    }

    /* Resto del CSS igual que antes... */

    /* NAVBAR FLEXBOX */
    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: var(--olive);
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: background 0.4s, box-shadow 0.4s;
      padding: 0 30px;
      min-height: 70px;
    }

    nav:hover {
      background-color: #000 !important;
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    .nav-title {
      color: #fff;
      font-size: 2rem;
      font-weight: bold;
      margin: 0;
      letter-spacing: 1px;
      user-select: none;
    }

    .nav-links {
      display: flex;
      gap: 10px;
    }

    .nav-links a {
      text-decoration: none;
      color: #fff;
      padding: 15px 20px;
      font-weight: bold;
      transition: color 0.3s, background 0.3s, box-shadow 0.4s;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      border-radius: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-links a:hover {
      color: var(--olive);
      background: #fff;
      box-shadow: 0 4px 16px rgba(255,111,97,0.3);
    }

    main {
      max-width: 900px;
      margin: 0 auto;
      padding: 20px;
      background: rgba(255,255,255,0.6); 
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .section-title {
      background: #FFFF66;
      text-align: center;
      font-size: 2rem;
      font-weight: bold;
      margin: 30px 0 10px 0;
      padding: 10px 0;
      border-radius: 8px;
    }

    .subtitle {
      text-align: center;
      font-size: 1.2rem;
      margin-bottom: 20px;
    }

    .content {
      text-align: justify;
      margin-bottom: 30px;
    }

    .iglesia-img {
      float: right;
      width: 180px;
      max-width: 40%;
      height: auto;
      margin-left: 20px;
      margin-bottom: 10px;
      border: 4px solid black;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.07);
      transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s;
      cursor: pointer;
      background: #fff;
    }

    .iglesia-img:hover {
      transform: scale(1.08);
      box-shadow: 0 8px 32px rgba(255,111,97,0.18), 0 2px 24px rgba(0,0,0,0.15);
    }

    .copyright {
      text-align: center;
      color: #888;
      font-size: 0.95rem;
      margin-top: 40px;
    }

    footer {
      background: #111;
      color: #fff;
      text-align: center;
      padding: 24px 10px 20px 10px;
      margin-top: 50px;
      font-size: 1.08rem;
      box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
      border-radius: 0 0 16px 16px;
      letter-spacing: 1px;
      font-weight: bold;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.25);
      border-top: 3px solid var(--olive);
    }

    .cards-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 32px;
      max-width: 1200px;
      margin: 0 auto 40px auto;
    }

    .card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.08);
      width: 260px;
      padding: 18px 16px 14px 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .card:hover {
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 8px 28px rgba(255,111,97,0.13), 0 2px 24px rgba(0,0,0,0.13);
    }

    .card-img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 15px;
      border: 3px solid #eee;
    }

    .card-title {
      font-size: 1.13rem;
      font-weight: bold;
      color: #a33;
      margin-bottom: 8px;
      text-align: center;
    }

    .card-desc {
      font-size: 1rem;
      color: #333;
      text-align: center;
      margin-bottom: 8px;
      min-height: 60px;
    }

    @media (max-width: 900px) {
      .cards-container { gap: 18px; }
      .card { width: 95vw; max-width: 320px; }
    }

