/* 
* HERO SECTION REDESIGN CSS
* Portfolio Cécilia Remark - SEO Manager
*/

/* Imports */
@import url('variables.css');

/* Hero Section Redesign */
.hero-redesign {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
    background-color: rgba(215, 233, 230, 0.1);
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-12);
    align-items: center;
    min-height: 80vh;
}

/* Left column: Text content */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-intro {
    color: var(--rose-doux);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    margin-bottom: var(--spacing-2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-name {
    font-size: var(--text-6xl);
    font-weight: var(--font-bold);
    color: var(--vert-profond);
    margin-bottom: var(--spacing-4);
    line-height: 1.1;
}

.hero-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-6);
    position: relative;
}

.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--rose-doux);
    margin-top: var(--spacing-4);
}

/* Skills tags */
.hero-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-6);
}

.skill-tag {
    background-color: var(--vert-eau);
    color: var(--vert-profond);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    transition: var(--transition-normal);
}

.skill-tag:hover {
    background-color: var(--vert-profond);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero description */
.hero-description {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: var(--spacing-8);
    max-width: 90%;
}

.hero-description .highlight {
    color: var(--vert-profond);
    font-weight: var(--font-bold);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    margin-top: var(--spacing-2);
}

.cta-button {
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
    text-align: center;
    transition: var(--transition-normal);
}

.cta-button.primary {
    background-color: var(--vert-profond);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-button.primary:hover {
    background-color: var(--vert-profond-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-15deg);
    transition: all 0.7s ease;
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--vert-profond);
    border: 2px solid var(--vert-profond);
}

.cta-button.secondary:hover {
    background-color: var(--vert-profond);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Right column: Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 90%;
    max-width: 450px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-container::before {
    content: '';
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    width: 100%;
    height: 100%;
    background-color: var(--rose-doux);
    background-color: rgba(213, 177, 200, 0.2);
    z-index: -1;
    border-radius: 0;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-normal);
}

/* Scroll indicator at the bottom */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.arrow-down {
    width: 32px;
    height: 32px;
    color: var(--vert-profond);
    animation: bounce 2s infinite;
}

/* Responsive styles */
@media (max-width: 991px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
        padding-top: var(--spacing-8);
        padding-bottom: var(--spacing-16);
        min-height: auto;
    }
    
    .hero-text {
        order: 2;
        text-align: center;
        align-items: center;
    }
    
    .hero-name {
        font-size: var(--text-5xl);
    }
    
    .hero-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-image {
        order: 1;
    }
    
    .image-container {
        width: 70%;
        max-width: 320px;
    }
    
    .scroll-indicator {
        bottom: var(--spacing-4);
    }
}

@media (max-width: 767px) {
    .hero-name {
        font-size: var(--text-4xl);
    }
    
    .hero-title {
        font-size: var(--text-xl);
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .image-container {
        width: 80%;
    }
}

@media (min-width: 1400px) {
    .hero-content-wrapper {
        gap: var(--spacing-16);
    }
    
    .hero-name {
        font-size: calc(var(--text-6xl) * 1.2);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-description {
        font-size: var(--text-xl);
    }
    
    .image-container {
        max-width: 500px;
    }
}