/*
Theme Name: Xfalafel
Theme URI: https://xfalafel.nl
Author: Xfalafel Team
Author URI: https://xfalafel.nl
Description: Modern, conversiegericht WordPress thema voor Xfalafel - 100% plantaardige falafel restaurant met vestigingen in Leiden en Rotterdam. Features: krachtig zwart-rood-wit design, menu management, reserveringssysteem, catering aanvragen.
Version: 1.0.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xfalafel
Domain Path: /languages
Tags: restaurant, food, vegan, modern, black, red, responsive, custom-menu, custom-logo
*/


/* ============================================
   XFALAFEL WORDPRESS THEME
   Modern Restaurant Theme
   ============================================ */


/* Import Fonts */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */

:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-red: #D71921;
    --color-red-dark: #B3141B;
    --color-dark-card: #1A1A1A;
    --color-dark-hover: #2A2A2A;
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}


/* Reset & Base */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Utility Classes */

.text-red {
    color: var(--color-red);
}

.bg-red {
    background-color: var(--color-red);
}

.border-red {
    border-color: var(--color-red);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--color-red-dark);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


/* WordPress Specific */

.wp-block {
    max-width: 1400px;
}

.alignwide {
    max-width: 1400px;
}

.alignfull {
    max-width: 100%;
}


/* Screen Reader Text */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Selection */

::selection {
    background-color: var(--color-red);
    color: var(--color-white);
}


/* Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-red);
}


/* =========================
   Catering + Reserveren (hard-coded)
   ========================= */

.xf-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.xf-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.xf-tab:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.xf-form {
    margin-top: 16px;
}

.xf-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.xf-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.xf-form-grid label span {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.xf-form-grid label strong {
    color: #e31b23;
}

.xf-form-grid input,
.xf-form-grid select,
.xf-form-grid textarea {
    width: 100%;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    padding: 12px 12px;
    color: #fff;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.xf-form-grid textarea {
    resize: vertical;
    min-height: 130px;
}

.xf-form-grid input:focus,
.xf-form-grid select:focus,
.xf-form-grid textarea:focus {
    border-color: rgba(227, 27, 35, .7);
    box-shadow: 0 0 0 3px rgba(227, 27, 35, .18);
    background: rgba(0, 0, 0, .45);
}

.xf-form-full {
    grid-column: 1 / -1;
}

.xf-form-check {
    flex-direction: row !important;
    align-items: center;
}

.xf-form-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.xf-form-check span {
    font-weight: 500;
}

.xf-form-aside {
    grid-column: 1 / -1;
}

.xf-form-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 12px 12px;
}

.xf-form-note p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.4;
}

.xf-form-note svg {
    flex: 0 0 auto;
    opacity: .9;
}

.xf-form-cta {
    grid-column: 1 / -1;
}

.xf-form-cta .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.xf-form-alert {
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.xf-form-success {
    background: rgba(46, 204, 113, .12);
}

.xf-form-error {
    background: rgba(227, 27, 35, .12);
}

.reservation-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    margin-top: 30px;
}

.reservation-form-wrapper {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    padding: 18px;
}

.reservation-form-wrapper h2 {
    margin-top: 0;
}

.reservation-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    color: rgba(255, 255, 255, .78);
}

.reservation-info p {
    margin: 0;
    line-height: 1.45;
}

.reservation-info-sidebar .info-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    padding: 18px;
    position: sticky;
    top: 90px;
}

.reservation-info-sidebar h3 {
    margin-top: 0;
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, .78);
}

.info-list a {
    color: #fff;
    text-decoration: none;
}

.info-list a:hover {
    text-decoration: underline;
}

.info-list svg {
    margin-top: 2px;
    opacity: .95;
}

@media (max-width: 900px) {
    .xf-form-grid {
        grid-template-columns: 1fr;
    }
    .reservation-grid {
        grid-template-columns: 1fr;
    }
    .reservation-info-sidebar .info-card {
        position: static;
    }
}

.xf-review-author h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #ffffff;
}

.xf-review-card p {
    margin: 0;
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 15px;
}

.xf-reviews-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
    position: relative;
}

.xf-swiper-prev,
.xf-swiper-next {
    position: static !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    border-radius: 50%;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.xf-swiper-prev:hover,
.xf-swiper-next:hover {
    background: #ff3b30;
    border-color: #ff3b30;
}

.xf-swiper-prev::after,
.xf-swiper-next::after {
    font-size: 16px !important;
    font-weight: 800;
}

.xf-swiper-pagination {
    position: static !important;
    margin-top: 20px;
}

.xf-swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.xf-swiper-pagination .swiper-pagination-bullet-active {
    background: #ff3b30;
}

.xf-reviews-footer {
    text-align: center;
    margin-top: 20px;
}

.xf-review-btn {
    display: inline-block;
    background: #ff3b30;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
}

.xf-review-btn:hover {
    background: #e33228;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .xf-reviews-header h2 {
        font-size: 30px;
    }
    .xf-reviews-score {
        flex-direction: column;
        text-align: center;
    }
}