/* home.css — Home page specific styles: hero, beneficios, welcome, and contact sections */

/* Hero + Welcome shared parallax wrapper */
.hero-welcome-wrapper {
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--color-white);
    overflow: hidden;
}

/* Títulos del hero (h1 + subtítulo) */
.hero-heading {
    text-align: center;
    padding: 60px 0 20px;
    width: 100%;
}

/* Descripción del hero — en desktop va entre subtítulo e imagen */
.hero-content {
    text-align: center;
    padding: 0 0 40px;
    width: 100%;
    order: 2;
}

/* Imagen del samurái va después del texto en desktop */
.hero-section .hero-image-area {
    order: 3;
}

/* Título siempre primero */
.hero-heading {
    order: 1;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    margin-bottom: 30px;
    line-height: 1.15;
    color: var(--color-white);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-white);
    max-width: 850px;
    margin: 0 auto;
}

/* Área del samurái — extiende .hero-image-area (shared.css) */
.hero-section .hero-image-area {
    flex-grow: 1;
    min-height: 40vh;
}

/* Foto samurái — ajuste por altura para mantener proporción con el sol */
.hero-samurai {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
}

/* Beneficios Section */
.beneficios-section {
    padding: 0 6%;
    background-color: #f8f8f8;
    background-image: url('../images/Background-image.png');
    background-repeat: repeat;
    position: relative;
}

.beneficios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background-image: url('../images/Jackie-H1-testimonial-bg-img-01.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.beneficios-section .container {
    max-width: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 2.67%;
    width: 100%;
}

.beneficio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.beneficio-card:hover {
    transform: translateY(-5px);
}


.beneficio-image {
    width: 100%;
    min-width: 300px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}

.beneficio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.beneficio-card:hover .beneficio-image img {
    transform: scale(1.05);
}

.beneficio-content {
    padding: 25px 35px;
}

.beneficio-content h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    margin-bottom: 0;
    color: var(--color-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Shuriken toggle indicator */
.beneficio-toggle {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 0.35;
}

.beneficio-card.open .beneficio-toggle {
    transform: rotate(180deg);
    opacity: 0.7;
}

/* Text hidden by default, revealed on click */
.beneficio-content p {
    line-height: 1.8;
    color: var(--color-text-light);
    font-size: 0.95rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.beneficio-card.open .beneficio-content h3 {
    margin-bottom: 15px;
}

.beneficio-card.open .beneficio-content p {
    max-height: 500px;
    opacity: 1;
}

/* Welcome Section (3 columnas) — shares parallax bg with hero via wrapper */
.welcome-section {
    color: var(--color-white);
    padding: 0;
    position: relative;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 0;
}

.welcome-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 100%;
}

.welcome-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0 60px 0;
}

.welcome-image {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Primera columna: el kanji no debe distorsionarse */
.welcome-col:first-child .welcome-image {
    background-color: transparent;
}

.welcome-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--color-white);
    letter-spacing: 1px;
    padding: 0 25px;
}

.welcome-link-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-bottom: 25px;
}


.welcome-link {
    font-family: var(--font-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.welcome-link:hover {
    color: #ff2d55;
}

.welcome-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cccccc;
    padding: 0 25px;
    font-style: italic;
}

/* Contact Info Section */
.contact-info-section {
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 60px 0 0;
}

.contact-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-block {
    text-align: center;
    padding: 30px 20px;
    flex: 1;
}

.contact-heading {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    color: #dd3333;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.contact-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-white);
}

.contact-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
    background-color: rgba(255, 255, 255, 0.25);
}

.contact-divider-horizontal {
    width: 90%;
    max-width: 1200px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    margin: 0 auto;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.contact-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #e00f1c;
    color: var(--color-white);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-icon-circle:hover {
    background-color: #ff2d55;
    transform: scale(1.1);
}

.contact-map {
    width: 100%;
    line-height: 0;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    display: block;
}
