/* ===================================
   EL AMIGO BARBERSHOP - Styles
   Palette: Jaune/Or #F5B800, Noir #1A1A1A
   =================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F5B800;
    --primary-dark: #D4A000;
    --primary-light: #FFD54F;
    --black: #1A1A1A;
    --black-light: #2D2D2D;
    --white: #FFFFFF;
    --gray: #888888;
    --gray-light: #F5F5F5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(245, 184, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    border-radius: 50%;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('image arriere plan.png') center center / cover no-repeat;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.6) 0%, rgba(26, 26, 26, 0.8) 50%, rgba(26, 26, 26, 0.95) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(4rem, 15vw, 10rem);
    color: var(--primary);
    line-height: 0.9;
    text-shadow: 4px 4px 0 var(--black);
}

.hero h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: var(--white);
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.tagline {
    font-style: italic;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Section Common Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.left {
    text-align: left;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 20px;
}

.section-header.left .divider {
    margin-left: 0;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    background: var(--black-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--black);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===================================
   Tarifs Section
   =================================== */
.tarifs {
    padding: 100px 0;
    background: var(--black);
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tarif-card {
    background: var(--black-light);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.tarif-card:hover {
    border-color: var(--primary);
}

.tarif-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--black);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tarif-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.price {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.tarif-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.tarifs-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 40px;
    font-style: italic;
}

/* ===================================
   À Propos Section
   =================================== */
.apropos {
    padding: 100px 0;
    background: var(--black-light);
}

.apropos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.apropos-text .highlight {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.apropos-text p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(245, 184, 0, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.image-frame {
    position: relative;
}

.apropos-logo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.placeholder-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    letter-spacing: 3px;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.placeholder-image .est {
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0;
    background: var(--black);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--black-light);
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(245, 184, 0, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-card a {
    color: var(--white);
}

.contact-card a:hover {
    color: var(--primary);
}

.btn-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}

.phone-number {
    font-size: 1.5rem !important;
    font-weight: 700;
    margin-bottom: 10px;
}

.phone-number a {
    color: var(--primary) !important;
}

.phone-cta {
    font-size: 0.9rem !important;
    color: var(--gray);
}

/* Horaires Card */
.horaires-card {
    grid-column: span 2;
}

.horaires-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.horaires-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--black);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.horaires-list .jour {
    color: var(--white);
    font-weight: 500;
}

.horaires-list .heures {
    color: var(--primary);
    font-weight: 600;
}

/* Social Card */
.social-card {
    grid-column: span 2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--black);
    border-radius: 12px;
    color: var(--primary);
    transition: var(--transition);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    background: var(--primary);
    color: var(--black);
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--black-light);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(245, 184, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    border-radius: 50%;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem !important;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-address a:hover {
    color: var(--primary);
}

.footer-legal-links {
    margin-top: 15px !important;
    font-size: 0.8rem !important;
}

.footer-legal-links a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 1;
}

.modal-content {
    background: var(--black-light);
    border-radius: 15px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(245, 184, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.modal-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

.modal-content p strong {
    color: var(--white);
}

.modal-content a {
    color: var(--primary);
}

.modal-content ul {
    color: var(--gray);
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .apropos-content {
        grid-template-columns: 1fr;
    }
    
    .apropos-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .horaires-card,
    .social-card {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px;
        gap: 25px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 2px solid var(--primary);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 100vh;
        padding: 100px 15px 60px;
    }
    
    .hero::before {
        background-position: center top;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
        letter-spacing: 5px;
    }
    
    .hero-badge {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Sections Mobile */
    .services,
    .tarifs,
    .apropos,
    .contact {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Tarifs Mobile */
    .tarifs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tarif-card {
        padding: 25px 20px;
    }
    
    .tarif-card.featured {
        transform: none;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    /* À Propos Mobile */
    .apropos-content {
        gap: 30px;
    }
    
    .apropos-image {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .apropos-logo {
        max-width: 180px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .apropos-text .highlight {
        font-size: 1.1rem;
    }
    
    /* Contact Mobile */
    .contact-content {
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .info-icon {
        font-size: 2rem;
    }
    
    .phone-number {
        font-size: 1.3rem !important;
    }
    
    .horaires-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .horaires-list li {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .social-link {
        flex-direction: row;
        justify-content: center;
        padding: 12px 20px;
        gap: 12px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-logo {
        height: 60px;
        border-radius: 50%;
    }
    
    .footer-legal-links {
        font-size: 0.75rem !important;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    /* Modal Mobile */
    .modal-content {
        padding: 25px 20px;
        margin: 20px 0;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .service-card,
    .tarif-card,
    .contact-card {
        border-radius: 8px;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .btn-link {
        font-size: 0.85rem;
    }
}
