/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: #ff4081;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e6005c;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.announcement {
    background-color: #ff4081;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 140px; /* Augmenté de 120px à 140px */
    filter: drop-shadow(0 0 12px rgba(255, 64, 129, 0.8)); /* Ombre plus prononcée */
    margin: 10px 0;
    transition: transform 0.3s ease;
    border: 2px solid #ff4081; /* Ajout d'une bordure */
    border-radius: 10px; /* Coins arrondis */
    padding: 5px; /* Espace autour du logo */
    background-color: rgba(0, 0, 0, 0.2); /* Fond légèrement visible */
}

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

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 60%;
}

.nav-links li {
    padding: 0 10px;
}

.nav-links a {
    color: #ffffff;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: #ff4081;
}

.nav-links a.active {
    color: #ff4081;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff4081;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    min-height: 100vh;
}

section {
    padding: 50px 20px;
}

.page-header {
    text-align: center;
    padding: 100px 20px 50px;
    background-color: #1a1a1a;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ff4081;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h3 {
    color: #ff4081;
    margin-bottom: 10px;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4 {
    color: #ff4081;
    margin-bottom: 15px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact h4 {
    color: #ff4081;
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #ff4081;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

/* Boutons et cartes avec contours */
.feature-card, .event-card, .pricing-card, .testimonial-card {
    border: 3px solid #ff4081; /* Bordure plus épaisse */
    box-shadow: 0 5px 15px rgba(255, 64, 129, 0.3); /* Ombre plus visible */
    position: relative;
    overflow: hidden;
}

/* Amélioration des boutons dans "Pourquoi choisir SelfieSmiles" */
.feature-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    margin: 10px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 64, 129, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff4081, #ff8db3);
}

/* Amélioration des formules */
.pricing-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    margin: 10px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 64, 129, 0.5);
}

.pricing-card.popular {
    border: 4px solid #ff4081;
    box-shadow: 0 10px 20px rgba(255, 64, 129, 0.5);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff4081, #ff8db3);
}

/* Amélioration des boutons CTA */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff4081;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #ff4081;
    box-shadow: 0 4px 8px rgba(255, 64, 129, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    background-color: #e6005c;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 64, 129, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(255, 64, 129, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
}

/* Amélioration des cartes d'événements */
.event-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 64, 129, 0.5);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff4081, #ff8db3);
}

/* Centrage des images de photobooth */
.event-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px; /* Hauteur fixe pour uniformité */
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: rgba(18, 18, 18, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000;
    }
    
    .nav-links li {
        opacity: 0;
        padding: 20px 0;
    }
    
    .burger {
        display: block;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
