@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=El+Messiri:wght@500;600;700&display=swap');

:root {
    --brand-950: #30170b;
    --brand-900: #4a2613;
    --brand-800: #6b3219;
    --brand-700: #8b4421;
    --brand-600: #ad5f2c;
    --brand-500: #c97a38;
    --brand-400: #de9a57;
    --accent: #f7bf67;
    --sand-50: #fffcf8;
    --sand-100: #fff7ec;
    --sand-200: #f6e6d3;
    --sand-300: #edd4b8;
    --ink-900: #2d190f;
    --ink-700: #4e2e1e;
    --ink-500: #6d4a35;
    --white: #ffffff;
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-soft: 0 16px 38px rgba(107, 50, 25, 0.12);
    --shadow-lift: 0 22px 46px rgba(107, 50, 25, 0.2);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--ink-700);
    background:
        radial-gradient(circle at 90% 12%, rgba(237, 212, 184, 0.38), transparent 40%),
        radial-gradient(circle at 8% 75%, rgba(222, 154, 87, 0.15), transparent 44%),
        var(--sand-50);
    line-height: 1.8;
}

.badge-new {
    background: rgba(201, 122, 56, 0.18);
    color: var(--brand-800);
}

.badge-progress {
    background: rgba(222, 154, 87, 0.25);
    color: var(--brand-900);
}

.badge-done {
    background: rgba(116, 173, 105, 0.22);
    color: #2e6a33;
}

.container-wrap {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-main {
    min-height: 62vh;
    padding-top: 2.2rem;
}

.page-shell {
    padding-bottom: 2.6rem;
}

.page-title {
    font-family: 'El Messiri', 'Cairo', sans-serif;
    font-size: clamp(2rem, 2.4vw, 2.9rem);
    line-height: 1.3;
    color: var(--brand-800);
    text-align: center;
    margin: 0 0 1rem;
}

.page-lead {
    max-width: 740px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--ink-500);
    font-size: 1.08rem;
}

.main-btn,
.form-btn,
button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--brand-500), var(--brand-800));
    color: var(--white);
    text-decoration: none;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    padding: 0.7rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 10px 24px rgba(107, 50, 25, 0.24);
}

.main-btn:hover,
.form-btn:hover,
button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(107, 50, 25, 0.32);
}

.btn-outline {
    background: transparent;
    color: var(--brand-700);
    border: 2px solid rgba(107, 50, 25, 0.4);
    box-shadow: none;
}

.card {
    background: var(--white);
    border: 1px solid rgba(201, 122, 56, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.section-block {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(246, 230, 211, 0.6));
    border: 1px solid rgba(201, 122, 56, 0.18);
}

/* Landing Page */
.hero {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    min-height: 500px;
    margin-bottom: 2rem;
    display: grid;
    align-items: stretch;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(48, 23, 11, 0.58), rgba(107, 50, 25, 0.46)),
        url('../img/1.jfif');
    background-position: center;
    background-size: cover;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 500px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding: 3rem;
    .catalog-hero,
    .catalog-hero-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .pagination-shell {
        justify-content: center;
    }
    color: #fff6ec;
}

.hero-kicker {
    display: inline-block;
    width: fit-content;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
}

.hero h1 {
    margin: 0;
    font-family: 'El Messiri', 'Cairo', sans-serif;
    font-size: clamp(2.2rem, 3.2vw, 3.4rem);
    line-height: 1.22;
}

.hero p {
    margin: 0;
    max-width: 520px;
    font-size: 1.08rem;
    color: rgba(255, 246, 236, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-stats {
    align-self: center;
    margin-inline: 1.6rem;
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.8rem;
}

.hero-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border-bottom: 1px dashed rgba(107, 50, 25, 0.25);
    padding-bottom: 0.55rem;
}

.hero-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-stat strong {
    color: var(--brand-800);
    font-size: 1.5rem;
    font-family: 'El Messiri', 'Cairo', sans-serif;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(201, 122, 56, 0.2);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--sand-200), var(--sand-100));
    color: var(--brand-800);
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.feature-title {
    margin: 0;
    color: var(--brand-800);
    font-weight: 800;
}

.feature-desc {
    margin: 0.45rem 0 0;
    font-size: 0.97rem;
    color: var(--ink-500);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.process-step {
    background: var(--white);
    border: 1px solid rgba(201, 122, 56, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.2rem;
}

.process-step .num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-700);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 0.65rem;
}

.cta-band {
    margin-top: 1.8rem;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.2), transparent 38%),
        linear-gradient(120deg, var(--brand-600), var(--brand-900));
}

/* Products */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.5rem;
    margin-bottom: 1.7rem;
    padding: 1.2rem 1.2rem 0.7rem 1.2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(246, 230, 211, 0.7));
    border: 1px solid rgba(201, 122, 56, 0.2);
    justify-content: center;
    align-items: flex-end;
}

.filter-input,
.filter-select {
    min-width: 180px;
    max-width: 260px;
    flex: 1 1 180px;
}

.filter-input,
.filter-select,
.form-control,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(107, 50, 25, 0.25);
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink-700);
    font-family: inherit;
    font-size: 1rem;
    padding: 0.72rem 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus,
.filter-select:focus,
.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(201, 122, 56, 0.14);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(201, 122, 56, 0.2);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

.product-card-media {
    position: relative;
    padding: 0.9rem 0.9rem 0;
}

.product-card-badge {
    position: absolute;
    top: 1.3rem;
    left: 1.3rem;
    z-index: 2;
    background: rgba(48, 23, 11, 0.78);
    color: #fff;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
}

.product-card-body {
    display: grid;
    gap: 0.45rem;
    padding: 0.8rem 1rem;
    flex: 1;
}

.product-name {
    color: var(--brand-800);
    margin: 0;
    font-size: 1.18rem;
}

.product-desc {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.95rem;
}

.product-meta {
    margin-top: auto;
    display: grid;
    gap: 0.1rem;
    color: var(--ink-500);
    font-size: 0.9rem;
}

.product-meta-chips,
.info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    background: rgba(246, 230, 211, 0.72);
    color: var(--brand-800);
    border: 1px solid rgba(201, 122, 56, 0.18);
    font-size: 0.84rem;
    font-weight: 700;
}

.product-baker-line {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.2rem;
    color: var(--ink-500);
    font-size: 0.95rem;
}

.product-baker-line .material-icons {
    font-size: 1.1rem;
    color: var(--brand-700);
}

.price {
    margin-top: 0.35rem;
    margin-bottom: 0.2rem;
    color: var(--brand-700);
    font-size: 1.16rem;
    font-weight: 900;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0 1rem 1rem;
}

.product-actions .main-btn,
.product-actions .btn {
    width: 100%;
}

.baker-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.9rem;
    margin: 0.85rem 0 1rem;
    background: rgba(246, 230, 211, 0.55);
    border: 1px solid rgba(201, 122, 56, 0.26);
    border-radius: 12px;
}

.baker-link {
    color: var(--brand-800);
    font-weight: 800;
    text-decoration: none;
}

.baker-link:hover {
    text-decoration: underline;
}

.catalog-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.4rem;
    padding: 1.2rem 1.4rem;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.98), rgba(246, 230, 211, 0.88));
}

.catalog-hero-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.catalog-avatar-wrap {
    flex: 0 0 auto;
}

.catalog-avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(201, 122, 56, 0.2);
    box-shadow: var(--shadow-soft);
}

.catalog-hero-actions {
    display: grid;
    gap: 0.7rem;
}

.pagination-shell {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(201, 122, 56, 0.14);
    box-shadow: var(--shadow-soft);
}

.pagination-meta {
    color: var(--ink-500);
    font-weight: 700;
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.page-link {
    min-width: 44px;
    text-align: center;
    border-radius: 999px;
    border: 1px solid rgba(107, 50, 25, 0.24);
    padding: 0.42rem 0.86rem;
    color: var(--brand-800);
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    background: rgba(246, 230, 211, 0.78);
}

.page-link.active {
    background: linear-gradient(120deg, var(--brand-500), var(--brand-800));
    color: #fff;
    border-color: transparent;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-link .material-icons {
    font-size: 1.15rem;
}

.page-ellipsis {
    color: var(--ink-500);
    font-weight: 800;
    padding-inline: 0.15rem;
}

.empty-state {
    text-align: center;
    padding: 2.1rem 1rem;
    color: var(--ink-500);
}

/* Details + Success */
.detail-shell,
.success-shell,
.form-shell {
    max-width: 880px;
    margin: 0 auto;
    padding: 1.4rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(246, 230, 211, 0.68));
    border: 1px solid rgba(201, 122, 56, 0.2);
    box-shadow: var(--shadow-soft);
}

.detail-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1.3rem;
    align-items: center;
}

.detail-grid img {
    width: 100%;
    border-radius: var(--radius-lg);
    height: 260px;
    object-fit: cover;
}

.success-shell {
    max-width: 640px;
    text-align: center;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
    color: var(--white);
    font-size: 2rem;
}

/* Forms */
.form-shell {
    max-width: 640px;
}

.form-title {
    text-align: center;
    color: var(--brand-800);
    font-family: 'El Messiri', 'Cairo', sans-serif;
    font-size: 2rem;
    margin: 0 0 1rem;
}

.form-grid {
    display: grid;
    gap: 0.8rem;
}

.form-group {
    display: grid;
    gap: 0.35rem;
}

.form-group label {
    color: var(--ink-700);
    font-weight: 700;
}

.field-error {
    color: #b13d3d;
    font-size: 0.86rem;
    font-weight: 700;
}

/* Dashboard & tables */
.dashboard-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.kpi-card,
.nav-card {
    background: var(--white);
    border: 1px solid rgba(201, 122, 56, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.2rem;
}

.nav-card {
    text-decoration: none;
    color: var(--ink-700);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.nav-card .emoji,
.nav-card .material-icons {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.45rem;
    color: var(--brand-700);
}

.table-wrap {
    overflow: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 122, 56, 0.2);
    box-shadow: var(--shadow-soft);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.data-table th,
.data-table td {
    padding: 0.85rem 0.8rem;
    text-align: right;
    border-bottom: 1px solid rgba(107, 50, 25, 0.09);
}

.data-table th {
    background: rgba(201, 122, 56, 0.13);
    color: var(--brand-800);
    font-weight: 800;
}

.data-table td img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.badge-new {
    background: rgba(201, 122, 56, 0.18);
    color: var(--brand-800);
}

/* Misc */
.scroll-top-btn {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 110;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--brand-500), var(--brand-800));
    color: var(--white);
    box-shadow: 0 12px 24px rgba(107, 50, 25, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.24s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reveal {
    animation: revealUp 0.6s ease both;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        margin: 0 2rem 2rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid img {
        height: 230px;
    }
}

@media (max-width: 800px) {
    .grid-3,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        gap: 0.7rem;
    }

    .section-block {
        padding: 1.2rem;
    }
}

@media (max-width: 560px) {
    .container-wrap {
        width: min(1180px, calc(100% - 1.15rem));
    }

    .site-main {
        padding-top: 1.3rem;
    }

    .hero-content {
        padding: 1.2rem;
    }

    .hero-actions .main-btn,
    .hero-actions .btn-outline {
        width: 100%;
    }

    .form-shell,
    .detail-shell,
    .success-shell {
        padding: 1rem;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .baker-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-hero,
    .catalog-hero-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination-shell {
        justify-content: center;
    }
}

/* Landing: slider, featured, events, testimonials */
.landing-page {
    display: grid;
    gap: 2rem;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    min-height: 520px;
    box-shadow: var(--shadow-lift);
}

.hero-slides {
    position: relative;
    min-height: 520px;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide-item.active {
    opacity: 1;
}

.hero-slide-content {
    width: min(780px, calc(100% - 2rem));
    margin-inline: auto;
    color: #fff6ec;
    text-align: center;
}

.hero-slide-content h1,
.hero-slide-content h2 {
    margin: 0.5rem 0 1rem;
    font-family: 'El Messiri', 'Cairo', sans-serif;
    font-size: clamp(2.1rem, 3.4vw, 3.4rem);
    line-height: 1.24;
}

.hero-slide-content p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 246, 236, 0.93);
}

.hero-order-btn {
    background: linear-gradient(120deg, #f6cb78, #e8a948);
    color: #4a2613;
    border: 1px solid rgba(255, 246, 236, 0.35);
    box-shadow: 0 10px 22px rgba(74, 38, 19, 0.35);
}

.hero-order-btn:hover {
    background: linear-gradient(120deg, #ffd98f, #efb85c);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(45, 25, 15, 0.38);
    color: #fff;
    font-size: 1.2rem;
}

.hero-nav-prev {
    right: 1rem;
}

.hero-nav-next {
    left: 1rem;
}

.hero-dots {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.4rem;
}

.hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.56);
    box-shadow: none;
}

.hero-dots button.active {
    background: var(--accent);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.featured-slider-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
}

.featured-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 280px);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.2rem;
}

.featured-track::-webkit-scrollbar {
    height: 8px;
}

.featured-track::-webkit-scrollbar-thumb {
    background: rgba(107, 50, 25, 0.25);
    border-radius: 999px;
}

.featured-card {
    scroll-snap-align: start;
    padding: 1rem;
}

.featured-card img {
    width: 100%;
    height: 155px;
    border-radius: 12px;
    object-fit: cover;
}

.featured-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
}

.events-parallax {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
}

.events-parallax::before {
    content: '';
    position: absolute;
    inset: -20% -15%;
    z-index: -2;
    background:
        linear-gradient(120deg, rgba(48, 23, 11, 0.44), rgba(107, 50, 25, 0.26)),
        url('../img/154.jpg') center/cover no-repeat;
    animation: panBackground 18s ease-in-out infinite alternate;
    transform: scale(1.1);
}

.events-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(145deg, rgba(255, 252, 248, 0.82), rgba(246, 230, 211, 0.8));
}

.events-grid {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.event-pill {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(107, 50, 25, 0.2);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    color: var(--brand-800);
}

.testimonial-slider {
    max-width: 760px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(246, 230, 211, 0.7));
    border: 1px solid rgba(201, 122, 56, 0.24);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem;
    text-align: center;
}

.testimonial-item.active {
    display: block;
}

.testimonial-item p {
    margin: 0 0 0.6rem;
}

.testimonial-avatar {
    width: 62px;
    height: 62px;
    margin: 0 auto 0.7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-800);
    font-size: 1.45rem;
    font-weight: 900;
    background: linear-gradient(130deg, #fff7ec, #edd4b8);
    border: 1px solid rgba(201, 122, 56, 0.35);
    box-shadow: 0 2px 12px rgba(107, 50, 25, 0.13);
}

.testimonial-stars {
    color: #f7bf67;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
    font-family: 'El Messiri', 'Cairo', sans-serif;
}

.testimonial-meta {
    margin-top: 0.7rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    font-size: 1.02rem;
    color: var(--brand-800);
    font-weight: 700;
}

.testimonial-name {
    color: var(--brand-700);
    font-weight: 900;
}

.testimonial-city {
    color: var(--brand-400);
    font-weight: 700;
}

.testimonial-controls {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
}

.newsletter-form {
    max-width: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
}

.newsletter-form input[type='email'] {
    border: 1px solid rgba(107, 50, 25, 0.25);
    border-radius: 999px;
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input[type='email']:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(201, 122, 56, 0.16);
}

.join-us-block {
    text-align: center;
}

.panel-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
    background: var(--sand-50);
}

.panel-sidebar {
    border-left: 1px solid rgba(107, 50, 25, 0.12);
    background: linear-gradient(180deg, #fffaf4, #f9efe0);
    padding: 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.panel-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(107, 50, 25, 0.12);
}

.panel-brand img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.panel-user {
    color: var(--ink-500);
    font-size: 0.9rem;
}

.panel-nav {
    display: grid;
    gap: 0.5rem;
}

.panel-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--ink-700);
    font-weight: 700;
    padding: 0.72rem 0.82rem;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: 0.22s ease;
}

.panel-nav a.active,
.panel-nav a:hover {
    color: var(--brand-800);
    background: rgba(201, 122, 56, 0.1);
    border-color: rgba(201, 122, 56, 0.22);
    transform: translateX(-3px);
}

.panel-nav-icon {
    width: 22px;
    height: 22px;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-700);
}

.panel-sidecard {
    border-radius: 16px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(201, 122, 56, 0.16);
    box-shadow: var(--shadow-soft);
}

.panel-sidecard-title {
    font-weight: 800;
    color: var(--brand-800);
    margin-bottom: 0.6rem;
}

.sidebar-stats-list {
    display: grid;
    gap: 0.55rem;
}

.sidebar-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    background: rgba(246, 230, 211, 0.54);
}

.sidebar-stat-item strong {
    color: var(--brand-800);
}

.action-stack {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
}

.inline-action-form {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    margin: 0;
}

.compact-select {
    min-width: 108px;
    max-width: 126px;
    flex: 0 0 126px;
    padding: 0.5rem 0.65rem;
    font-size: 0.94rem;
}

.data-table .compact-select {
    height: 42px;
}

.icon-action {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(107, 50, 25, 0.22);
    background: #fff;
    color: var(--brand-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.icon-action:hover {
    transform: translateY(-2px);
    background: rgba(246, 230, 211, 0.78);
    box-shadow: var(--shadow-soft);
}

.icon-action.danger {
    color: #b13d3d;
    border-color: rgba(177, 61, 61, 0.22);
}

.icon-action .material-icons {
    font-size: 1.2rem;
}

.panel-logout {
    margin-top: auto;
}

.panel-main {
    padding: 1.1rem 1.4rem;
}

@keyframes panBackground {
    from {
        background-position: center;
    }
    to {
        background-position: center 14%;
    }
}

@media (max-width: 900px) {
    .hero-slider,
    .hero-slides {
        min-height: 460px;
    }

    .featured-slider-wrap {
        grid-template-columns: 1fr;
    }

    .featured-arrow {
        display: none;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .hero-nav {
        display: none;
    }

    .hero-slide-content h1,
    .hero-slide-content h2 {
        font-size: 1.85rem;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .panel-layout {
        grid-template-columns: 1fr;
    }

    .panel-sidebar {
        position: static;
        height: auto;
    }
}