/* ===== HEADER & NAVIGATION ===== */
header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background: rgba(15, 52, 96, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(233, 69, 96, 0.1);
}

.nav-icon img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-normal);
    filter: brightness(1.2);
}

.nav-icon img:hover {
    transform: scale(1.1) rotate(5deg);
}

.main-navlinks {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navlinks-container a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-normal);
    font-size: 0.95rem;
}

.navlinks-container a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--success));
    transition: width var(--transition-normal);
}

.navlinks-container a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HEADER TEXT ===== */
.header-text {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease forwards;
}

.header-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-light), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-text h1 span {
    color: var(--success);
}

.header-text h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.header-text h3 {
    font-size: 1.1rem;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: pulse 2s infinite;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTION TITLES ===== */
.sub-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTIONS ===== */
#presentation {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.5) 0%, rgba(22, 33, 62, 0.5) 100%);
}

#parcours {
    background: var(--bg-light);
    color: var(--text-dark);
}

#competences {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.5) 0%, rgba(22, 33, 62, 0.5) 100%);
}

#projets {
    background: var(--bg-light);
    color: var(--text-dark);
}

#stats {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
}

#hobbies {
    background: var(--bg-light);
    color: var(--text-dark);
}

#contact {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.5) 0%, rgba(22, 33, 62, 0.5) 100%);
}

#certifications {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* ===== PRESENTATION GRID ===== */
.presentation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.presentation-col-1 {
    text-align: center;
}

.presentation-col-1 img {
    max-width: 250px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.2);
    transition: transform var(--transition-normal);
}

.presentation-col-1 img:hover {
    transform: scale(1.05);
}

.presentation-col-2 h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.presentation-col-2 p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(234, 234, 234, 0.8);
    margin-bottom: 1.5rem;
}

.presentation-col-2 i {
    color: var(--success);
    font-size: 1.5rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--secondary);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid rgba(233, 69, 96, 0.3);
}

footer h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}
