/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    height: 85vh;
    width: 100%;
    overflow-x: clip;
}

.hero .welcome-banner {
    position: absolute;
    top: 7vh;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.2em;
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    z-index: 2;
}

.hero .names {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .names h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    white-space: nowrap;
    font-weight: 400;
    color: #555555;
}

.hero .date-location {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    white-space: nowrap;
    position: relative;
    z-index: 5;
}

.hero .hero__button {
    display: block;
    width: fit-content;
    margin: 15px auto 0 auto;
    padding: 10px 20px;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.hero .hero__button:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

.hero .date-location a {
    color: var(--text-color);
    text-decoration: none;
}

.hero .illustration {
    position: absolute;
}

.hero .dog-top-left {
    top: 1vh;
    left: 1vw;
    width: clamp(220px, 25vw, 350px);
    transform: rotate(-25deg);
}

.hero .flower-1 {
    top: 1vh;
    left: 1vw;
    width: clamp(180px, 20vw, 280px);
    transform: rotate(-25deg);
}

.hero .flower-2 {
    top: 15vh;
    left: 15vw;
    width: clamp(150px, 18vw, 250px);
    transform: rotate(25deg);
}

.hero .flower-3 {
    top: 1vh;
    right: 1vw;
    width: clamp(180px, 20vw, 280px);
    transform: rotate(25deg);
}



.hero .marinera-bottom-right {
    bottom: 5vh;
    right: 5vw;
    width: clamp(220px, 25vw, 330px);
    transform: rotate(-25deg);
}

.hero .photo {
    position: absolute;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hero .photo-collage-top-right {
    position: absolute;
    top: -15vh;
    right: 2vw;
    width: clamp(120px, 14vw, 220px);
    height: auto;
    display: flex;
    flex-direction: column;
    transform: rotate(-28deg);
}

.hero .photo-top-1 {
    position: relative;
    width: 100%;
    padding: 1.5vh 1.5vh 0 1.5vh;
    box-sizing: border-box;
}

.hero .photo-top-2 {
    position: relative;
    width: 100%;
    padding: 1.5vh;
    box-sizing: border-box;
}

.hero .photo-bottom-left {
    width: clamp(150px, 18vw, 280px);
    bottom: -10vh;
    left: -1vw;
    transform: rotate(-20deg);
    z-index: 10;
    padding: 1.5vh 1.5vh 4vh 1.5vh;
}

.hero .flower-bottom {
    bottom: -12vh;
    right: 12vw;
    transform: rotate(-30deg);
    z-index: -1;
}

.hero .flower-bottom-specific {
    width: clamp(120px, 15vw, 220px);
}

.hero .landscape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 150px;
}

.hero .landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .color-block {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 150px;
    background-color: var(--primary-color);
}

/* From custom.css */
.hero {
    background-color: rgb(244, 242, 234);
}

.hero .date-location {
    font-family: var(--font-sans-serif);
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    font-weight: 200;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .hero .names h1 {
    white-space: normal; /* allow wrapping */
    text-align: center;  /* keep centered */
  }

  .hero .names h1 .name-second {
    display: block; /* force second line */
  }

  .hero .date-location {
    top: 50%;
    bottom: unset !important;
  }
} 

@media (orientation: portrait) and (max-width: 600px) {
  .hero .flower-1 {
    top: -2vh;
    left: -5vw;
  }

  .hero .flower-2 {
    top: 20vh;
    left: -4vw;
  }

  .hero .flower-3 {
    top: 2vh;
    right: -10vw;
  }

  .hero .flower-bottom {
    bottom: -5vh;
  }
} 