@font-face {
    font-family: Spartan;
    src: url('./Spartan.ttf') format("truetype");
}

@font-face {
    font-family: Domine;
    src: url('./Domine.ttf') format("truetype");
}

:root {
    --title-font: 'Spartan', sans-serif;
    --text-font: 'Domine', sans-serif;
    --background-color: #000b15;
    --text-color: #FFFFFF;
    --accent-color: #D32F2F;
    --accent-hover: #8C0000;
    --glass-bg: rgba(10, 21, 32, 0.85);
    --glass-border: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(20, 35, 50, 0.6);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-family: var(--title-font);
}

span#word {
    color: var(--accent-color);
}

p, a {
    color: var(--text-color);
    font-family: var(--text-font);
}

a {
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

a.social-icon:hover {
    color: var(--text-color);
}

a[href="#aboutus"], a[href="#events"], a[href="#food"], a[href="#clock"], a[href="#contact"] {
    font-family: var(--title-font);
}

:visited {
    color: var(--text-color);
}

:link {
    text-decoration: none;
}

/* HEADER GLASSMORPHISM */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo {
    width: 4vw;
}

.nav-desktop ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-desktop a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    translate: -50%;
    transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
    width: 100%;
}

/* BURGER MENU */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 11, 21, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu nav ul {
    list-style: none;
    text-align: center;
}

.mobile-menu nav li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu.active nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active nav li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active nav li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active nav li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active nav li:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu nav a {
    font-size: 2rem;
    font-weight: 600;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 4rem;
    background: linear-gradient(135deg, #0d1b2a 0%, var(--background-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.cta-button:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(140, 0, 0, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s backwards;
}

/* SECTIONS */
section {
    padding: 5rem 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

/* IMAGE PLACEHOLDER */
.image-placeholder {
    width: 90%;
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-placeholder p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* EVENTS SECTION */
#events {
    background: linear-gradient(180deg, var(--background-color) 0%, #0a1520 100%);
}

.calendar-container {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h2 {
    font-size: 1.8rem;
}

.calendar-nav {
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(140, 0, 0, 0.4);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day-header {
    text-align: center;
    padding: 0.5rem;
    font-family: var(--title-font);
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--text-color);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--title-font);
    font-size: 1rem;
    position: relative;
    color: var(--text-color);
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.calendar-day.event {
    background: var(--accent-color);
    font-weight: 700;
    color: #FFFFFF;
}

.calendar-day.event:hover {
    background: var(--accent-hover);
}

.calendar-day.empty {
    opacity: 0.3;
    cursor: default;
    background: transparent;
}

.calendar-day.empty:hover {
    transform: none;
    background: transparent;
}

.calendar-day.today {
    border: 2px solid var(--text-color);
}

.calendar-day.today.event {
    border-color: var(--text-color);
}

.upcoming-events h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

.event-date {
    background: var(--accent-color);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    min-width: 70px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--title-font);
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.event-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.event-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(211, 47, 47, 0.25);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* MENU SECTION */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-category {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.menu-category:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.menu-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.item-name {
    font-size: 1rem;
    color: var(--text-color);
    font-family: var(--title-font);
}

.item-price {
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--title-font);
}

/* HOURS SECTION */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.hours-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    height: 16vh;
}

.hours-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.hours-card.highlight {
    border-color: var(--accent-color);
    background: rgba(211, 47, 47, 0.15);
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.2);
}

.hours-card .day {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--title-font);
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.hours-card .time {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--title-font);
}

.event-badge {
    font-family: var(--title-font);
}

.hours-card .time.closed {
    color: var(--accent-color);
    font-weight: 600;
}

.event-badge {
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    align-items: start;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.info-card:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.85);
}

.social-links {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.social-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-icon.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.contact-map {
    display: flex;
    justify-content: center;
}

.contact-map .image-placeholder {
    height: 100%;
    min-height: 400px;
}

.image-placeholder iframe {
    border-radius: 20px;
    width: inherit;
    height: 100%;
    min-height: 400px;
}

/* FOOTER */
footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

/* MODAL */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.event-modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

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

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

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-button {
        display: flex;
        justify-content: center;
        width: 90%;
        margin: auto;
    }

    .nav-logo {
        width: 10vw;
    }

    .nav-desktop {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        flex-direction: column;
        padding: 6rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-top: 5%;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-description {
        text-align: justify;
    }

    .hero-image {
        margin-top: 2rem;
        width: 100%;
    }

    section {
        padding: 5rem 1.5rem;
    }

    section h1 {
        font-size: 2.2rem;
    }

    .header-content {
        padding: 1rem 1.5rem;
    }

    /* Calendrier responsive */
    .calendar-container {
        padding: 1.5rem;
    }

    .calendar-header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .calendar-header h2 {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
        order: -1;
    }

    .calendar-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .calendar-grid {
        gap: 5px;
    }

    .calendar-day-header {
        font-size: 0.75rem;
        padding: 0.3rem;
    }

    .calendar-day {
        font-size: 0.85rem;
        min-height: 35px;
    }

    .events-grid,
    .menu-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu nav a {
        font-size: 1.5rem;
    }

    .image-placeholder {
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {   
    section {
        padding: 4rem 1rem;
    }

    section h1 {
        font-size: 1.8rem;
    }

    .logo h2 {
        font-size: 1.5rem;
    }

    /* Calendrier très petit écran */
    .calendar-container {
        padding: 1rem;
    }

    .calendar-header h2 {
        font-size: 1.3rem;
    }

    .calendar-nav {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .calendar-grid {
        gap: 3px;
    }

    .calendar-day-header {
        font-size: 0.65rem;
        padding: 0.2rem;
    }

    .calendar-day {
        font-size: 0.75rem;
        min-height: 30px;
    }

    .upcoming-events h3 {
        font-size: 1.5rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        align-self: center;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

