/* ===== Global ===== */
body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  background: #FFF9FC; /* warm, elegant white-pink */
  color: #2B1A2E; /* deep plum */
  line-height: 1.7;
}

/* Load an elegant serif for headings */
h1, h2, h3 {
  font-weight: 700;
  color: #E8479D; /* confident pink */
  margin-top: 50px;
  margin-bottom: 18px;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

/* ===== Layout ===== */
#app {
  max-width: 780px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ===== Navigation ===== */
nav {
  max-width: 780px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  gap: 16px;
}

nav a {
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: 600;
  background: transparent;
  color: #E8479D;
  transition: all .25s ease;
  border: 2px solid #E8479D;
}

nav a:hover {
  background: #E8479D;
  color: white;
  transform: translateY(-2px);
}

/* Optional “active” class */
nav a.active {
  background: #E8479D;
  color: white;
}

/* ===== Text ===== */
p {
  margin: 18px 0;
  font-size: 17px;
}

ul {
  padding-left: 22px;
  margin: 20px 0;
  color: #2B1A2E;
}

/* ===== Links ===== */
a {
  color: #E8479D;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* ===== Portfolio Grid ===== */
.iframe-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.iframe-item {
  flex: 0 0 19%; /* 5 per row */
  background: white;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(232, 71, 157, 0.15);
  transition: all .25s ease;
  border: 1px solid #F3D1E4;
}

.iframe-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(232, 71, 157, 0.22);
}

.iframe-item iframe {
  width: 100%;
  border-radius: 10px;
  height: 166px;
}

.caption {
  font-size: 12px;
  color: #6D4A5D;
  margin-top: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ===== Forms ===== */
form {
  background: white;
  padding: 26px;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(232, 71, 157, 0.15);
  border: 1px solid #F3D1E4;
  margin-top: 30px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #E8C3D7;
  background: #FFF9FC;
  margin: 8px 0 16px 0;
  font-size: 16px;
  color: #2B1A2E;
  transition: border .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #E8479D;
  box-shadow: 0 0 8px rgba(232, 71, 157, 0.3);
}

button {
  padding: 12px 26px;
  border: none;
  background: #E8479D;
  color: white;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

button:hover {
  background: #c83885;
  transform: translateY(-2px);
}

/* ===== Home Hero ===== */

.home-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap; /* para mobile */
}

.home-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
}

.home-photo {
  height: 300px;
  border-radius: 14px; /* suave, elegante */
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(232, 71, 157, 0.2);
  border: 2px solid #F3D1E4;
}

