:root {
  --page-bg: #F7E5D7;
  --text: #1f2933;
}

/* global */
* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--page-bg);
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

/* ========================= */
/* Header and navigation     */
/* ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 24px;
    background-color: var(--page-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* desktop */
.navigation {
    flex: 0 0 auto;
    display: block;
}

.navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
    align-items: center;
}

.navigation ul li a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    color: #333;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navigation ul li a.active {
    background-color: #8416BD;
    color: white;
}

.navigation ul li a:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: #111;
}

/* Logo */
.logo {
    height: 56px;
    width: auto;
}

/* Hamburger hidden on desktop */
.menu-button {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ========================= */
/* Mobile menu               */
/* ========================= */
@media (max-width: 768px) {

    .site-header {
        justify-content: center;
        padding: 10px 16px;
    }

    .menu-button {
        display: block;
        position: absolute;
        left: 12px;
        top: 12px;
    }

    .logo {
        height: 48px;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--page-bg);
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
        padding: 8px 0;
        z-index: 9999;
    }

    .navigation.open {
        display: block;
    }

    .navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 4px 12px;
    }

    .navigation ul li a {
        padding: 10px 14px;
        border-radius: 8px;
        width: 100%;
        text-align: left;
    }
}

/* =========================================================
   Special Details Page Styling
========================================================= */

#special-details {
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.special-info {
    display: none;
    flex-direction: column;
    align-items: center;
}

.special-photo {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.special-name {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.special-description {
    font-size: 16px;
    color: #777;
    max-width: 600px;
    margin: 15px auto 25px;
    line-height: 1.5;
}

.special-time {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.watch-now-button {
    font-size: 18px;
    color: #B5A79E;
    text-decoration: none;
    font-weight: bold;
}

.watch-now-button:hover {
    color: #8c7c72;
}

/* =========================================================
   Back button (same across pages)
========================================================= */

.back-and-details {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-top: 60px;
    margin: 0 auto;
}

.details-back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
}

.details-back-button:hover {
    background-color: #f0f0f0;
}

/* =========================================================
   Loading Spinner
========================================================= */

.loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #5C4033;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1.5s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}