/* ========================================== */
/* BASE RESET & GLOBAL TYPOGRAPHY             */
/* ========================================== */
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; padding: 0; }

body { 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    color: #222; 
    background-color: #fff; 
    
    /* Flexbox Magic to push footer down */
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; /* Makes the body exactly as tall as the browser window */
}

/* ========================================== */
/* PROMO ANNOUNCEMENT BAR                     */
/* ========================================== */
.promo-bar {
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    padding: 12px 0;
}

.promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Space between arrows and text */
}

.promo-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.arrow {
    font-size: 12px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.arrow:hover {
    color: #fff;
}

/* ========================================== */
/* MAIN HEADER & NAVIGATION                   */
/* ========================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
}

nav a {
    text-decoration: none;
    color: #555;
    margin-left: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: #000;
}

.btn-register {
    background: #111;
    color: #fff;
    padding: 8px 15px;
    border-radius: 3px;
}

.btn-register:hover {
    color: #fff;
    background: #333;
}

/* ========================================== */
/* MAIN CONTENT & FOOTER                      */
/* ========================================== */

/* Forces the middle of the page to stretch */
main, .container {
    flex: 1; 
    width: 100%;
}

/* Premium Footer Styling */
footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #eaeaea;
    background-color: #fff;
    letter-spacing: 1px;
    margin-top: auto;
}

/* ========================================== */
/* ANIMATED FULL-SCREEN HERO BANNER           */
/* ========================================== */

.animated-hero {
    background-color: #ff6a00; 
    height: 100vh; 
    min-height: 600px;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0px; 
}

/* Semi-transparent dark overlay to make white text readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%);
    z-index: 15;
}

/* Text Overlay Styling */
.hero-text {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    z-index: 20; 
    max-width: 500px;
}

.hero-text h1 {
    font-size: 4em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5); 
}

.hero-text p {
    font-size: 1.3em;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6;
    color: #eee;
}

/* Mannequin Container */
.mannequin-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    display: none; 
}

.mannequin-group.active {
    display: block;
}

/* Base Image & Outfits Layout */
.base-model, .outfit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center 20%; /* Keeps the head visible */
}

/* Ensure the base model stays behind */
.base-model {
    z-index: 5;
}

/* ========================================== */
/* IRON MAN SPREAD ANIMATION                  */
/* ========================================== */

/* Hide all outfits by default */
.outfit {
    opacity: 0;
    z-index: 10;
    
    /* Start small in the middle */
    transform: scale(0.6); 
    /* Focuses the growth outwards from the chest/torso area */
    transform-origin: center 40%; 
}

/* Show the active outfit */
.outfit.active-outfit {
    /* Triggers the dynamic spread animation */
    animation: ironManSuitUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

/* Keyframes for the 'middle-out' spread */
@keyframes ironManSuitUp {
    0% {
        opacity: 0;
        transform: scale(0.6); /* Starts at 60% size */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Snaps to 100% size, perfectly wrapping the mannequin */
    }
}