/* css/style.css */


/* ===== RESET & BASE ===== */
.message {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: #FFF;
    text-align: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.bg-icon-4{
	background-image: url(../images/eve-4.png) !important;
	background-size: cover !important;
	border-radius: 25px !important;
}
.bg-icon-3{
	background-image: url(../images/eve-3.png);
	background-size: cover !important;
	border-radius: 25px !important;
}
.bg-icon-2{
	background-image: url(../images/eve-2.png);
	background-size: cover !important;
	border-radius: 25px !important;
}
.bg-icon-1{
	background-image: url(../images/eve-1.png);
	background-size: cover !important;
	border-radius: 25px !important;
}
:root {
    --nike-black: #111111;
    --nike-white: #FFFFFF;
    --nike-red: #FA5400;
    --nike-gray: #757575;
    --nike-light-gray: #F5F5F5;
    --nike-dark-gray: #2D2D2D;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--nike-black);
    line-height: 1.6;
    background: var(--nike-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container img{
width: 200px;
}


/* ===== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nike-black);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--nike-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--nike-red);
}

.admin-link {
    background: var(--nike-red);
    padding: 8px 16px;
    border-radius: 4px;
}

.admin-link:hover {
    background: #e54d00;
    color: var(--nike-white) !important;
}


.hero {
    position: relative;
    height: 100vh;
    background: url('https://nike-event.devhost.ma/images/slide.jpg?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* texte principal à droite */
    color: var(--nike-white);
    overflow: hidden;
    padding: 0 8%;
	margin-top:30px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
   
    z-index: 1;
}

/* Contenu principal droit */
.hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
gap: 56px;
  align-items: center;
	margin-right: 60px;

}

.hero-right .hero-text {
    width: clamp(280px, 40vw, 1000px);
    max-width: 100%;
}

/* Bouton CTA */
.cta-button {
    display: inline-block;
    background: #FFF;
    color: #000;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: fit-content;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(250, 84, 0, 0.5);
}

/* Bas de l'image : 2 colonnes */
.hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* gauche / droite */
    align-items: center;
    padding: 0 8%;
    z-index: 2;
	text-align: center;
}

.hero-bottom-left {
    flex: 1; /* prend toute la gauche */
}

.hero-bottom-left .hero-logos {
    width: 100%; /* occupe toute la colonne gauche */
    max-width: 80%;
}

.hero-bottom-right {
    flex: 1; /* prend toute la droite */
    text-align: right;
}

.hero-description {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nike-white);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right {
        align-items: center;
    }

    .hero-bottom {
        flex-direction: column;
		flex-direction: column-reverse;
        padding: 0;
        gap: 30px;
    }

    .hero-bottom-left, .hero-bottom-right {
        flex: unset;
        text-align: center;
    }

    .hero-bottom-left .hero-logos {
        width: 100%;
    }
	.container img {
  width: 145px;
}
	.hero-right {
  margin-right: 0px;
}
	.hero-right .hero-text {
  width: 100%;

}
	.hero-description {
  font-size: 1.0rem;
  
}
	}



/* ===== ANIMATIONS ===== */

.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.fade-in-delay-3 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.fade-in-delay-4 {
    animation: fadeInUp 1s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== EVENT DETAILS ===== */

.event-details {
    padding: 100px 20px;
    background: var(--nike-light-gray);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-card {
    
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.details-grid .detail-card .icon-img {
 width: 60px !important;
  padding-bottom: 15px;

}


.detail-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
	color: white;
}

.detail-card p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
}

.event-info {
    justify-content: center;
  display: flex;
  font-size: 20px;
	font-size: 14px;
}

.event-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info ul {
    list-style: none;
}

.event-info li {
    padding: 15px 0;
    border-bottom: 1px solid var(--nike-light-gray);
    font-size: 1.05rem;
    color: var(--nike-dark-gray);
}

.event-info li:last-child {
    border-bottom: none;
}

.event-info strong {
    color: var(--nike-black);
    font-weight: 600;
}


/* ===== INSCRIPTION FORM ===== */

.inscription-section {
    padding: 100px 20px;
    background: var(--nike-white);
	position: relative;
}

.success-message {
    background: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}

.inscription-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--nike-light-gray);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--nike-black);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--nike-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--nike-black);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.link {
    color: var(--nike-red);
    text-decoration: underline;
}

.link:hover {
    color: var(--nike-black);
}

.submit-button {
    width: 100%;
    background: var(--nike-black);
    color: var(--nike-white);
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-button:hover {
    background: var(--nike-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


/* ===== FOOTER ===== */

.footer {
    background: var(--nike-black);
    color: var(--nike-white);
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-links a {
    color: var(--nike-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--nike-red);
}

.footer img {
  width: 200px;     /* exemple : largeur */
  
}

/* ===== ADMIN STYLES ===== */

.admin-body {
    background: var(--nike-light-gray);
    min-height: 100vh;
    padding-top: 0;
}

.admin-login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.admin-login-box {
    background: var(--nike-white);
    padding: 60px 50px;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.logo-admin {
    width: 80px;
    margin-bottom: 30px;
}

.admin-login-box h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.login-info {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--nike-gray);
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--nike-black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--nike-red);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

.admin-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-export,
.btn-logout {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-export {
    background: var(--nike-red);
    color: var(--nike-white);
}

.btn-export:hover {
    background: #e54d00;
    transform: translateY(-2px);
}

.btn-logout {
    background: var(--nike-black);
    color: var(--nike-white);
}

.btn-logout:hover {
    background: var(--nike-dark-gray);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--nike-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--nike-red);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: var(--nike-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-filters {
    background: var(--nike-white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-search,
.btn-reset {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

.btn-search {
    background: var(--nike-black);
    color: var(--nike-white);
}

.btn-reset {
    background: var(--nike-gray);
    color: var(--nike-white);
}

.table-container {
    background: var(--nike-white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    margin-bottom: 30px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--nike-black);
    color: var(--nike-white);
}

.admin-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.admin-table th a {
    color: var(--nike-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-table th a:hover {
    color: var(--nike-red);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #E5E5E5;
    font-size: 0.95rem;
}

.admin-table tbody tr:hover {
    background: var(--nike-light-gray);
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--nike-red);
    color: var(--nike-white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}


/* ===== BARRE DE PROGRESSION ===== */
.progress-container {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 2px solid rgba(255,255,255,0.1);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: var(--nike-white);
    font-size: 1.1rem;
}

.progress-percentage {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--nike-red);
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--nike-red), #ff4444);
    border-radius: 15px;
    transition: width 1s ease-out;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6);
    position: relative;
    animation: progressPulse 2s infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Alerte urgence */
.urgency-alert {
    background: #ff9800;
    color: white;
    padding: 15px 20px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

.urgency-badge {
    background: #ff9800;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 15px;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

/* Alerte complet */
.sold-out-alert {
    background: #f44336;
    color: white;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.sold-out {
    color: #f44336 !important;
    text-decoration: line-through;
}

/* Formulaire désactivé */
.form-disabled {
    background: rgba(255,255,255,0.05);
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid rgba(244, 67, 54, 0.3);
}

.disabled-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.form-disabled h3 {
    font-size: 2rem;
    color: var(--nike-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.form-disabled p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .inscription-form {
        padding: 30px 20px;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    .nav {
        gap: 15px;
    }
    .nav a {
        font-size: 12px;
    }
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .table-container {
        font-size: 0.85rem;
    }
    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
		.event-date {
  position: absolute;
  bottom: 7px;
  left: 36%;
  transform: translateX(-32%);}
		.event-date h3 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--nike-white);}
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 14px;
    }
    .section-title {
        font-size: 2rem;
    }
	.event-date {
  position: absolute;
  bottom: 7px;
  left: 36%;
  transform: translateX(-32%);}
		.event-date h3 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--nike-white);}
}

/* Messages de succès et d'erreur */
.success-message {
    background: #4CAF50;
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: slideInDown 0.5s ease-out;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
    animation: slideInDown 0.5s ease-out;
}

.error-message strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: white;
}

.error-message ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.error-message li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.error-message li:last-child {
    border-bottom: none;
}

.error-message li::before {
    content: '✗ ';
    margin-right: 8px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
