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

:root {
    --black: #151515;
    --yellow: #d7a928;
    --yellow-dark: #b98c16;
    --white: #ffffff;
    --cream: #fbf6ea;
    --soft: #fffaf1;
    --gray: #5f5f5f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--black);
    font-family: "Century Gothic", Montserrat, Arial, sans-serif;
}

a {
    text-decoration: none;
}

.yard-header {
    position: sticky;
    top: 0;
    z-index: 999;
    height: 82px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
}

.yard-logo {
    color: var(--yellow);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
}

.yard-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.yard-nav a {
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
}

.yard-nav a:hover {
    color: var(--yellow-dark);
}

.menu-toggle {
    display: none;
    background: var(--yellow);
    border: none;
    color: #000;
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.section {
    padding: 72px 6%;
}

.menu-page {
    min-height: calc(100vh - 82px);
    background:
        radial-gradient(circle at top, rgba(215,169,40,0.18), transparent 38%),
        linear-gradient(180deg, var(--cream), var(--soft));
    text-align: center;
}

.hero-label {
    color: var(--yellow-dark);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.section-title {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.1;
    margin: 14px 0;
    font-weight: 800;
}

.section-subtitle {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 30px;
}

.flipbook-wrapper {
    display: grid;
    grid-template-columns: 60px minmax(280px, 900px) 60px;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.book-container {
    background: #ffffff;
    border-radius: 30px;
    padding: 18px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.14);
    border: 1px solid rgba(0,0,0,0.05);
}

#pdfCanvas {
    width: 100%;
    display: block;
    border-radius: 20px;
    background: #ffffff;
}

.flip-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--yellow);
    border: none;
    color: #000;
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(215,169,40,0.28);
}

.flip-btn:hover {
    background: var(--yellow-dark);
    color: #fff;
}

.menu-controls {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    color: var(--gray);
    font-weight: 700;
}

.btn-primary {
    display: inline-block;
    background: var(--yellow);
    color: #000;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 800;
}

.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-actions a {
    min-width: 126px;
    text-align: center;
    padding: 13px 18px;
    border-radius: 999px;
    font-weight: 800;
    color: #000;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.float-whatsapp {
    background: #25D366;
}

.float-call {
    background: var(--yellow);
}

.yard-footer {
    padding: 28px 6%;
    text-align: center;
    color: var(--gray);
    background: #fff;
}

@media(max-width: 768px) {
    .yard-header {
        height: 70px;
        padding: 0 18px;
    }

    .yard-logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    .yard-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    }

    .nav-open .yard-nav {
        display: flex;
    }

    .yard-nav a {
        padding: 14px;
        border-radius: 14px;
        background: var(--soft);
        width: 100%;
    }

    .section {
        padding: 46px 16px;
    }

    .flipbook-wrapper {
        grid-template-columns: 1fr;
    }

    .flip-btn {
        width: 100%;
        border-radius: 16px;
    }

    .book-container {
        padding: 8px;
        border-radius: 20px;
    }

    .menu-controls {
        flex-direction: column;
    }

    .floating-actions {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: row;
    }

    .floating-actions a {
        width: 50%;
        min-width: auto;
    }

    body {
        padding-bottom: 80px;
    }
}

.page-hero {
    min-height: calc(100vh - 82px);
    background:
        radial-gradient(circle at top, rgba(215,169,40,0.18), transparent 38%),
        linear-gradient(180deg, var(--cream), var(--soft));
    text-align: center;
}

.page-card {
    max-width: 1000px;
    margin: 30px auto 0;
    background: #fff;
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    margin-bottom: 14px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.12);
    font-family: inherit;
    font-size: 15px;
}

textarea.form-control {
    min-height: 120px;
}

@media(max-width: 768px) {
    .page-card {
        padding: 22px;
        border-radius: 22px;
    }

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

/* Premium Modern Navbar */
.yard-header {
    height: 86px;
    padding: 0 6%;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.yard-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 5px;
    color: #d7a928;
}

.yard-nav {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(215,169,40,0.22);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.yard-nav a {
    position: relative;
    padding: 11px 17px;
    border-radius: 999px;
    color: #111;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.25s ease;
}

.yard-nav a:hover {
    background: #d7a928;
    color: #000;
    transform: translateY(-2px);
}

.yard-nav a.active,
.yard-nav a[aria-current="page"] {
    background: #111;
    color: #fff;
}

.menu-toggle {
    background: #d7a928;
    color: #000;
    border: none;
    box-shadow: 0 12px 28px rgba(215,169,40,0.30);
}

@media(max-width: 768px) {
    .yard-header {
        height: 78px;
        padding: 0 18px;
    }

    .yard-logo {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .yard-nav {
        position: fixed;
        top: 78px;
        left: 14px;
        right: 14px;
        display: none;
        background: rgba(255,255,255,0.96);
        border-radius: 24px;
        padding: 14px;
        flex-direction: column;
        gap: 8px;
        border: 1px solid rgba(215,169,40,0.20);
        box-shadow: 0 25px 70px rgba(0,0,0,0.18);
    }

    .nav-open .yard-nav {
        display: flex;
    }

    .yard-nav a {
        width: 100%;
        padding: 15px 18px;
        background: #fff8e8;
        color: #111;
    }

    .yard-nav a:hover {
        background: #d7a928;
        color: #000;
    }
}

/* Premium Modern Navbar */
.yard-header {
    height: 86px;
    padding: 0 6%;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.yard-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 5px;
    color: #d7a928;
}

.yard-nav {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(215,169,40,0.22);
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.yard-nav a {
    position: relative;
    padding: 11px 17px;
    border-radius: 999px;
    color: #111;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.25s ease;
}

.yard-nav a:hover {
    background: #d7a928;
    color: #000;
    transform: translateY(-2px);
}

.yard-nav a.active,
.yard-nav a[aria-current="page"] {
    background: #111;
    color: #fff;
}

.menu-toggle {
    background: #d7a928;
    color: #000;
    border: none;
    box-shadow: 0 12px 28px rgba(215,169,40,0.30);
}

@media(max-width: 768px) {
    .yard-header {
        height: 78px;
        padding: 0 18px;
    }

    .yard-logo {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .yard-nav {
        position: fixed;
        top: 78px;
        left: 14px;
        right: 14px;
        display: none;
        background: rgba(255,255,255,0.96);
        border-radius: 24px;
        padding: 14px;
        flex-direction: column;
        gap: 8px;
        border: 1px solid rgba(215,169,40,0.20);
        box-shadow: 0 25px 70px rgba(0,0,0,0.18);
    }

    .nav-open .yard-nav {
        display: flex;
    }

    .yard-nav a {
        width: 100%;
        padding: 15px 18px;
        background: #fff8e8;
        color: #111;
    }

    .yard-nav a:hover {
        background: #d7a928;
        color: #000;
    }
}

/* Modern Floating Buttons */
.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: 0.25s;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.05);
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.call {
    background: #d7a928;
    color: #000;
}

@media(max-width:768px){
    .floating-actions {
        right: 12px;
        bottom: 12px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Premium Floating Button Animation */
.float-btn {
    position: relative;
}

.float-btn::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.22;
    animation: pulseFloat 1.8s infinite;
    z-index: -1;
}

.float-btn::after {
    position: absolute;
    right: 68px;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: 0.25s ease;
    pointer-events: none;
}

.float-btn.whatsapp::after {
    content: "Chat on WhatsApp";
}

.float-btn.call::after {
    content: "Call Yard Cafe";
}

.float-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulseFloat {
    0% {
        transform: scale(0.9);
        opacity: 0.28;
    }
    70% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

@media(max-width:768px){
    .float-btn::after {
        display: none;
    }
}

/* Shisha Premium Section Fix */
.shisha-image {
    max-width: 1180px;
    margin: 42px auto 0;
    padding: 14px;
    background: rgba(255,255,255,0.82);
    border-radius: 34px;
    box-shadow: 0 28px 90px rgba(0,0,0,0.14);
    border: 1px solid rgba(215,169,40,0.22);
    overflow: hidden;
}

.shisha-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 24px;
}

.page-grid {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    font-weight: 700;
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 65px rgba(0,0,0,0.14);
}

@media(max-width: 768px) {
    .shisha-image {
        margin-top: 28px;
        padding: 8px;
        border-radius: 22px;
    }

    .shisha-image img {
        height: 280px;
        border-radius: 16px;
    }

    .page-hero {
        min-height: auto;
    }

    .section-title {
        font-size: 34px;
        line-height: 1.15;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .page-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 18px;
        border-radius: 18px;
    }
}

@media(max-width: 420px) {
    .shisha-image img {
        height: 230px;
    }

    .section-title {
        font-size: 30px;
    }
}

/* Shisha A4 Image Fit */
.shisha-image {
    max-width: 760px;
    margin: 42px auto 0;
    padding: 12px;
    background: #111;
    border-radius: 30px;
    box-shadow: 0 28px 90px rgba(0,0,0,0.22);
    border: 2px solid #d7a928;
}

.shisha-image img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    border-radius: 20px;
    background: #111;
}

@media(max-width:768px){
    .shisha-image {
        max-width: 94%;
        padding: 8px;
        border-radius: 22px;
    }

    .shisha-image img {
        border-radius: 15px;
    }
}

/* FIX Mobile Floating Buttons */
@media(max-width:768px){

    .floating-actions {
        left: auto !important;
        right: 14px !important;
        bottom: 14px !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: auto !important;
    }

    .float-btn {
        width: 52px !important;
        height: 52px !important;
        font-size: 20px !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    .float-btn i {
        font-size: 20px;
    }

}

/* REMOVE old big buttons if exist */
.float-whatsapp,
.float-call {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* FIX Footer Mobile Single Line */
@media(max-width:768px){

    .yard-footer p {
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 10px;
    }

}


/* EXTRA compact mobile footer */
@media(max-width:768px){

    .yard-footer p {
        font-size: 10px !important;
        letter-spacing: 0.2px;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 6px;
        line-height: 1.2;
    }

    .yard-footer a {
        font-size: 10px !important;
    }

}


/* Premium Contact Page */
.contact-layout {
    max-width: 1180px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.contact-card,
.map-card {
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.12);
    border: 1px solid rgba(215,169,40,0.18);
    text-align: left;
}

.contact-card h2 {
    margin-top: 0;
    font-size: 26px;
}

.contact-card p {
    color: #555;
    line-height: 1.7;
}

.map-card {
    max-width: 1180px;
    margin: 28px auto 0;
    overflow: hidden;
    padding: 12px;
}

.map-card iframe {
    border-radius: 22px;
    display: block;
}

@media(max-width:768px){
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-card,
    .map-card {
        padding: 20px;
        border-radius: 22px;
    }

    .map-card iframe {
        height: 320px;
    }
}

/* Gallery Admin Grid Upgrade */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.admin-gallery-grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    transition: 0.25s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.admin-gallery-grid img:hover {
    transform: scale(1.05);
}

/* Gallery Frontend */
.gallery-grid {
    max-width: 1180px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.08);
}

/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
}

@media(max-width:768px){
    .gallery-grid {
        gap: 14px;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* Gallery Lightbox Upgrade */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 88%;
    max-height: 88%;
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #d7a928;
    color: #000;
    font-size: 34px;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: #d7a928;
    color: #000;
    font-size: 42px;
    cursor: pointer;
}

.lightbox-prev {
    left: 26px;
}

.lightbox-next {
    right: 26px;
}

@media(max-width:768px){
    #lightbox img {
        max-width: 94%;
        max-height: 80%;
        border-radius: 18px;
    }

    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 34px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }
}

/* Admin Tabs */
.admin-panel {
    max-width: 1180px;
    margin: 35px auto 0;
    background: #fff;
    border-radius: 32px;
    padding: 30px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.12);
    text-align: left;
}

.admin-alert {
    max-width: 1180px;
    margin: 20px auto;
    background: #e8fff0;
    color: #12873d;
    padding: 16px 22px;
    border-radius: 18px;
    font-weight: 800;
}

.admin-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 18px;
}

.admin-tab {
    border: none;
    background: #fff8e8;
    color: #111;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.admin-tab.active {
    background: #d7a928;
    color: #000;
    box-shadow: 0 12px 28px rgba(215,169,40,0.28);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-panel h2 {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 28px;
}

.admin-panel label {
    display: block;
    font-weight: 800;
    margin: 14px 0 8px;
}

.admin-image-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 18px 0;
}

.admin-preview {
    width: 180px;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.admin-gallery-item {
    background: #fff8e8;
    border-radius: 20px;
    padding: 10px;
    border: 1px solid rgba(215,169,40,0.22);
}

.admin-gallery-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.delete-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 10px !important;
    color: #b00020;
    font-size: 14px;
}

.delete-check input {
    width: 18px;
    height: 18px;
}

.admin-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.logout-btn {
    background: #111 !important;
    color: #fff !important;
}

@media(max-width:768px){
    .admin-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .admin-tabs {
        gap: 8px;
    }

    .admin-tab {
        padding: 11px 15px;
        font-size: 13px;
    }

    .admin-image-row {
        grid-template-columns: 1fr;
    }

    .admin-preview {
        width: 100%;
        height: 180px;
    }

    .admin-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .admin-gallery-item img {
        height: 120px;
    }
}

/* Admin Panel Style Fix */
.admin-page {
    text-align: center;
}

.admin-panel {
    text-align: left !important;
}

.admin-tabs {
    justify-content: center;
}

.admin-tab-content {
    text-align: left !important;
}

.admin-tab-content h2 {
    text-align: left !important;
    margin: 8px 0 26px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.admin-tab-content label {
    text-align: left !important;
    display: block;
    max-width: 900px;
    margin: 20px auto 8px;
}

.admin-tab-content .form-control {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.admin-actions {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-start;
}

.admin-gallery-grid {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.admin-image-row {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:768px){
    .admin-panel {
        margin-left: 12px;
        margin-right: 12px;
    }

    .admin-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-tab {
        width: 100%;
    }
}


/* FIX Home Page Hero */
.home-hero {
    min-height: calc(100vh - 86px);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    padding: 90px 7%;
    position: relative;
}

.home-content {
    max-width: 820px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.home-badge {
    display: inline-block;
    background: rgba(215,169,40,0.70);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 24px;
}

.home-content h1 {
    font-size: clamp(46px, 6vw, 86px);
    line-height: 1.05;
    margin: 0 0 24px;
    font-weight: 900;
}

.home-content p {
    font-size: 21px;
    line-height: 1.8;
    max-width: 720px;
    color: #fff;
}

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.home-buttons .btn-primary {
    background: #d7a928;
    color: #000;
}

@media(max-width:768px){
    .home-hero {
        min-height: calc(100vh - 78px);
        padding: 70px 22px;
        align-items: center;
    }

    .home-content h1 {
        font-size: 42px;
    }

    .home-content p {
        font-size: 16px;
    }

    .home-buttons {
        flex-direction: column;
    }

    .home-buttons .btn-primary {
        width: 100%;
        text-align: center;
    }
}


/* FIX Home Mobile Hero */
@media(max-width:768px){

    .home-hero {
        min-height: 78vh !important;
        padding: 45px 22px 60px !important;
        align-items: center !important;
        background-position: center top !important;
    }

    .home-content {
        max-width: 100%;
    }

    .home-badge {
        font-size: 15px !important;
        padding: 10px 18px !important;
        margin-bottom: 18px !important;
    }

    .home-content h1 {
        font-size: 44px !important;
        line-height: 1.05 !important;
        margin-bottom: 18px !important;
    }

    .home-content p {
        font-size: 17px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }

    .home-buttons {
        gap: 12px !important;
    }

    .home-buttons .btn-primary {
        padding: 16px 20px !important;
        font-size: 18px !important;
        border-radius: 999px !important;
    }

}

@media(max-width:420px){

    .home-hero {
        min-height: 72vh !important;
        padding-top: 38px !important;
        background-position: center top !important;
    }

    .home-content h1 {
        font-size: 40px !important;
    }

    .home-content p {
        font-size: 16px !important;
    }
}


/* STRONG FIX Home Mobile Hero */
@media(max-width:768px){

    .home-hero {
        min-height: auto !important;
        height: 620px !important;
        padding: 95px 22px 35px !important;
        align-items: flex-start !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .home-content {
        margin-top: 0 !important;
        width: 100% !important;
    }

    .home-badge {
        font-size: 14px !important;
        padding: 9px 16px !important;
        margin-bottom: 14px !important;
    }

    .home-content h1 {
        font-size: 38px !important;
        line-height: 1 !important;
        margin: 0 0 14px !important;
    }

    .home-content p {
        font-size: 15px !important;
        line-height: 1.45 !important;
        margin: 0 0 18px !important;
    }

    .home-buttons {
        gap: 10px !important;
        margin-top: 12px !important;
    }

    .home-buttons .btn-primary {
        padding: 14px 18px !important;
        font-size: 16px !important;
    }
}

@media(max-width:420px){

    .home-hero {
        height: 600px !important;
        padding-top: 88px !important;
        background-position: center center !important;
    }

    .home-content h1 {
        font-size: 36px !important;
    }
}


/* FINAL Mobile Home Hero Clean Layout */
@media(max-width:768px){

    .home-hero {
        height: auto !important;
        min-height: auto !important;
        padding: 0 18px 34px !important;
        display: block !important;
        background-image: none !important;
        background: #fbf6ea !important;
    }

    .home-hero::before {
        content: "";
        display: block;
        height: 290px;
        margin: 0 -18px 26px;
        background-image: inherit;
    }

    .home-content {
        background: #ffffff;
        color: #111 !important;
        padding: 26px 20px;
        border-radius: 28px;
        box-shadow: 0 20px 55px rgba(0,0,0,0.14);
        text-align: center;
    }

    .home-content h1,
    .home-content p {
        color: #111 !important;
    }

    .home-badge {
        color: #000 !important;
        background: #d7a928 !important;
    }

    .home-buttons .btn-primary {
        width: 100%;
    }
}


/* Home Banner (Mobile Image Fix) */
.home-banner {
    display: none;
}

.home-banner img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* MOBILE */
@media(max-width:768px){

    .home-banner {
        display: block;
    }

    .home-hero {
        padding: 0 18px 30px !important;
        background: transparent !important;
    }

    .home-content {
        margin-top: -60px;
        background: #fff;
        border-radius: 28px;
        padding: 26px 20px;
        box-shadow: 0 20px 55px rgba(0,0,0,0.14);
        text-align: center;
    }

}


/* FINAL HOME PAGE REPAIR */

/* Desktop */
.home-banner {
    display: none !important;
}

.home-hero {
    min-height: calc(100vh - 86px) !important;
    padding: 90px 7% !important;
    display: flex !important;
    align-items: center !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.home-content {
    max-width: 820px !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
    padding: 0 !important;
}

.home-content h1,
.home-content p {
    color: #fff !important;
}

.home-content h1 {
    font-size: clamp(52px, 6vw, 88px) !important;
    line-height: 1.05 !important;
    margin: 0 0 24px !important;
}

.home-content p {
    font-size: 21px !important;
    line-height: 1.7 !important;
    max-width: 720px !important;
}

.home-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    margin-top: 30px !important;
}

.home-buttons .btn-primary {
    width: auto !important;
    padding: 14px 26px !important;
}

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

    .home-banner {
        display: block !important;
        padding: 18px 18px 0 !important;
        background: #fbf6ea !important;
    }

    .home-banner img {
        width: 100% !important;
        height: 260px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 26px !important;
        display: block !important;
        box-shadow: 0 22px 60px rgba(0,0,0,0.16) !important;
        border: 5px solid #fff !important;
    }

    .home-hero {
        height: auto !important;
        min-height: auto !important;
        display: block !important;
        padding: 18px 18px 34px !important;
        background: #fbf6ea !important;
        background-image: none !important;
    }

    .home-content {
        max-width: 100% !important;
        background: #fff !important;
        color: #111 !important;
        padding: 26px 20px !important;
        border-radius: 28px !important;
        box-shadow: 0 20px 55px rgba(0,0,0,0.14) !important;
        text-align: center !important;
    }

    .home-content h1,
    .home-content p {
        color: #111 !important;
    }

    .home-content h1 {
        font-size: 40px !important;
        line-height: 1.08 !important;
        margin: 14px 0 !important;
    }

    .home-content p {
        font-size: 16px !important;
        line-height: 1.55 !important;
        margin-bottom: 22px !important;
    }

    .home-badge {
        display: inline-block !important;
        background: #d7a928 !important;
        color: #000 !important;
        font-size: 14px !important;
        padding: 10px 16px !important;
        border-radius: 999px !important;
        margin-bottom: 4px !important;
    }

    .home-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }

    .home-buttons .btn-primary {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 17px !important;
        border-radius: 999px !important;
        text-align: center !important;
    }
}


/* FIX Mobile Gap Between Image and Content */
@media(max-width:768px){

    .home-banner {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .home-banner img {
        margin-bottom: 0 !important;
    }

    .home-content {
        margin-top: -110px !important; /* pull card up */
    }

    .home-hero {
        padding-top: 0 !important;
    }

}

@media(max-width:420px){

    .home-content {
        margin-top: -90px !important;
    }

}


/* Premium Reservation Page */
.reservation-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.reservation-intro {
    text-align: center;
    margin-bottom: 34px;
}

.reservation-card {
    background: rgba(255,255,255,0.92);
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.12);
    border: 1px solid rgba(215,169,40,0.18);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.modern-submit {
    width: 100%;
    margin-top: 18px;
    border: none;
    border-radius: 999px;
    padding: 17px 24px;
    background: #25D366;
    color: #000;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(37,211,102,0.28);
}

.modern-submit i {
    margin-right: 8px;
}

@media(max-width:768px){
    .reservation-card {
        padding: 22px;
        border-radius: 26px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modern-submit {
        font-size: 15px;
        padding: 16px 18px;
    }
}

/* FIX Old WhatsApp Buttons */
button[type="submit"],
.btn,
button {
    border: none !important;
    border-radius: 999px !important;
    padding: 16px 22px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #25D366, #1fb954) !important;
    color: #000 !important;
    box-shadow: 0 18px 45px rgba(37,211,102,0.30) !important;
    cursor: pointer !important;
    transition: 0.25s ease !important;
}

button:hover {
    transform: translateY(-3px) scale(1.03) !important;
}

button i {
    margin-right: 8px;
}


/* Move Call Button to Left on Mobile */
@media(max-width:768px){

    .floating-actions {
        right: 14px !important;
        bottom: 14px !important;
    }

    .float-btn.call {
        position: fixed !important;
        left: 14px !important;
        right: auto !important;
        bottom: 14px !important;
        z-index: 9999 !important;
    }

    .float-btn.whatsapp {
        position: fixed !important;
        right: 14px !important;
        left: auto !important;
        bottom: 14px !important;
        z-index: 9999 !important;
    }

}


/* Order Delivery Location */
.delivery-box {
    background: #fff8e8;
    border-radius: 24px;
    padding: 18px;
    border: 1px solid rgba(215,169,40,0.24);
}

.location-btn {
    width: 100%;
    margin-bottom: 14px;
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 16px 35px rgba(0,0,0,0.18) !important;
}

.location-status {
    font-size: 14px;
    font-weight: 700;
    color: #12873d;
    margin: 8px 0 0;
}


/* Order Map Preview */
.map-preview {
    margin-top: 16px;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid #d7a928;
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
}

.map-preview iframe {
    display: block;
    border-radius: 18px;
}


.map-open-btn {
    display: block;
    text-align: center;
    margin-top: 12px;
}


/* Third Party Ordering Platforms */
.order-platforms {
    background: #fff;
    border-radius: 30px;
    padding: 28px;
    margin: 0 auto 28px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.10);
    border: 1px solid rgba(215,169,40,0.18);
    text-align: center;
}

.order-platforms h2 {
    margin: 0 0 22px;
    font-size: 28px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
}

.platform-card {
    background: #fff8e8;
    border-radius: 24px;
    padding: 20px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(215,169,40,0.22);
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(0,0,0,0.14);
}

.platform-card img {
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
}

.platform-card span {
    font-weight: 900;
    color: #111;
    font-size: 20px;
}

@media(max-width:768px){
    .order-platforms {
        padding: 20px;
        border-radius: 24px;
    }

    .order-platforms h2 {
        font-size: 22px;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .platform-card {
        min-height: 96px;
        padding: 14px;
        border-radius: 18px;
    }

    .platform-card img {
        max-width: 105px;
        max-height: 56px;
    }
}

/* Navbar Logo + Menu Icon Fix */
.yard-logo {
    display: flex;
    align-items: center;
}

.yard-logo img {
    height: 54px;
    max-width: 150px;
    object-fit: contain;
}

.menu-toggle {
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
    background: #d7a928 !important;
    color: #111 !important;
    font-size: 0 !important;
    position: relative !important;
    box-shadow: 0 14px 35px rgba(215,169,40,0.30) !important;
}

.menu-toggle::before {
    content: "\f0c9";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
}

@media(max-width:768px){
    .yard-logo img {
        height: 48px;
        max-width: 130px;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* Global Gold Button Override */
button,
.btn,
.btn-primary,
.modern-submit,
.location-btn,
.admin-tab,
.float-btn.whatsapp {
    background: #d7a928 !important;
    color: #000 !important;
    box-shadow: 0 16px 38px rgba(215,169,40,0.30) !important;
}

.admin-tab.active,
button:hover,
.btn:hover,
.btn-primary:hover,
.modern-submit:hover,
.location-btn:hover {
    background: #c79618 !important;
    color: #000 !important;
}

.float-btn.whatsapp {
    background: #d7a928 !important;
}

.float-btn.whatsapp i {
    color: #000 !important;
}


/* Center Home Background Image */
.home-hero {
    background-position: center center !important;
    background-size: cover !important;
}

/* Mobile adjustment */
@media(max-width:768px){
    .home-hero {
        background-position: center center !important;
    }
}


/* CLEAN HOME MOBILE BACKGROUND */
@media(max-width:768px){

    /* remove dark background image behind card */
    .home-hero {
        background: linear-gradient(180deg, #fbf6ea, #f3ecd9) !important;
    }

    /* add soft shadow separation */
    .home-content {
        margin-top: -90px !important;
        box-shadow: 0 30px 80px rgba(0,0,0,0.18) !important;
    }

    /* make card feel floating */
    .home-content::before {
        content: "";
        position: absolute;
        inset: -10px;
        border-radius: 34px;
        background: rgba(255,255,255,0.5);
        filter: blur(20px);
        z-index: -1;
    }

}


/* FORCE REMOVE BACKGROUND IMAGE (MOBILE ONLY) */
@media(max-width:768px){

    .home-hero {
        background-image: none !important;
        background: linear-gradient(180deg, #fbf6ea, #f3ecd9) !important;
    }

    .home-hero::before,
    .home-hero::after {
        display: none !important;
    }

}


/* FINAL MOBILE HOME REPAIR */
@media(max-width:768px){

    body {
        padding-bottom: 0 !important;
    }

    .home-banner {
        display: block !important;
        padding: 18px 18px 0 !important;
        margin: 0 !important;
        background: #fbf6ea !important;
    }

    .home-banner img {
        width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: contain !important;
        border-radius: 24px !important;
        border: 5px solid #fff !important;
        box-shadow: 0 20px 55px rgba(0,0,0,0.16) !important;
        display: block !important;
    }

    .home-hero {
        background: #fbf6ea !important;
        background-image: none !important;
        padding: 18px 18px 35px !important;
        margin: 0 !important;
        height: auto !important;
        min-height: auto !important;
        display: block !important;
    }

    .home-content {
        margin: 0 !important;
        background: #fff !important;
        color: #111 !important;
        padding: 26px 20px !important;
        border-radius: 28px !important;
        box-shadow: 0 20px 55px rgba(0,0,0,0.14) !important;
        text-align: center !important;
    }

    .home-content h1 {
        font-size: 38px !important;
        color: #111 !important;
        margin: 14px 0 !important;
    }

    .home-content p {
        color: #111 !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .home-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 20px !important;
    }

    .home-buttons .btn-primary {
        width: 100% !important;
        text-align: center !important;
        padding: 15px 20px !important;
    }

    .yard-footer {
        margin-top: 0 !important;
        padding: 22px 6px 80px !important;
        background: #fff !important;
    }
}


/* iPhone / Mobile Global Responsive Fix */
@media(max-width:768px){

    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    * {
        max-width: 100%;
    }

    .yard-header {
        height: 82px !important;
        padding: 0 18px !important;
    }

    .yard-logo img {
        height: 64px !important;
        max-width: 160px !important;
        object-fit: contain !important;
    }

    .menu-toggle {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        font-size: 0 !important;
    }

    .home-banner {
        padding: 16px 14px 0 !important;
    }

    .home-banner img {
        height: auto !important;
        max-height: 250px !important;
        object-fit: contain !important;
        border-radius: 22px !important;
    }

    .home-hero {
        padding: 14px 14px 28px !important;
        background: #fbf6ea !important;
        background-image: none !important;
    }

    .home-content {
        margin: 0 !important;
        padding: 24px 18px !important;
        border-radius: 26px !important;
        width: 100% !important;
    }

    .home-content h1 {
        font-size: 36px !important;
        line-height: 1.1 !important;
    }

    .home-content p {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .home-buttons .btn-primary {
        width: 100% !important;
        padding: 15px 16px !important;
        font-size: 16px !important;
    }

    .floating-actions {
        pointer-events: none;
    }

    .float-btn {
        pointer-events: auto;
        width: 48px !important;
        height: 48px !important;
    }

    .float-btn.call {
        left: 12px !important;
        bottom: 18px !important;
    }

    .float-btn.whatsapp {
        right: 12px !important;
        bottom: 18px !important;
    }

    .yard-footer {
        padding: 22px 70px 78px !important;
    }

    .yard-footer p {
        white-space: normal !important;
        font-size: 10px !important;
        line-height: 1.4 !important;
    }
}

@media(max-width:390px){
    .yard-logo img {
        height: 58px !important;
        max-width: 145px !important;
    }

    .home-content h1 {
        font-size: 32px !important;
    }

    .home-banner img {
        max-height: 220px !important;
    }
}


/* Home Extra Sections */
.home-extra {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 18px;
}

.home-section {
    margin-bottom: 40px;
    text-align: center;
}

.home-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.home-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
    gap: 14px;
}

.home-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    font-weight: 700;
    box-shadow: 0 14px 40px rgba(0,0,0,0.1);
    transition: 0.25s;
}

.home-card:hover {
    transform: translateY(-5px);
}


/* FIX content under navbar */
main {
    margin-top: 100px; /* adjust if needed */
}

/* mobile */
@media(max-width:768px){
    main {
        margin-top: 90px;
    }
}


/* FIX Header Position */
.yard-header {
    position: relative !important;
    top: auto !important;
}

main {
    margin-top: 0 !important;
}

@media(max-width:768px){
    main {
        margin-top: 0 !important;
    }
}


/* Attach sections directly under hero */
.home-extra {
    margin-top: -40px !important;
    padding-top: 60px !important;
}

@media(max-width:768px){
    .home-extra {
        margin-top: -20px !important;
        padding-top: 30px !important;
    }
}


/* FINAL Home Flow Fix */
.home-extra {
    margin: 0 auto !important;
    padding: 55px 18px !important;
    background: #fbf6ea !important;
}

.home-section:first-child {
    margin-top: 0 !important;
}

@media(max-width:768px){
    .home-extra {
        padding: 34px 16px 50px !important;
        margin-top: 0 !important;
    }
}

/* PREMIUM HOMEPAGE FLOW REFINEMENT */

/* Desktop hero */
@media(min-width:769px){
    .home-hero {
        min-height: 72vh !important;
        padding: 90px 7% 110px !important;
    }

    .home-extra {
        margin-top: 0 !important;
        padding: 70px 18px 90px !important;
        background:
            radial-gradient(circle at top, rgba(215,169,40,0.12), transparent 34%),
            #fbf6ea !important;
    }
}

/* Home section cards container */
.home-section {
    max-width: 1180px !important;
    margin: 0 auto 64px !important;
    text-align: center !important;
}

.home-section h2 {
    font-size: 36px !important;
    margin-bottom: 26px !important;
    font-weight: 900 !important;
}

.home-cards {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.home-card {
    min-height: 92px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 28px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #111 !important;
    background: rgba(255,255,255,0.92) !important;
    border: 1px solid rgba(215,169,40,0.16) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,0.09) !important;
}

/* Review section as premium card */
.home-section:last-child {
    background: #fff !important;
    border-radius: 34px !important;
    padding: 38px 22px !important;
    box-shadow: 0 26px 75px rgba(0,0,0,0.10) !important;
    border: 1px solid rgba(215,169,40,0.18) !important;
}

/* Mobile flow */
@media(max-width:768px){
    .home-banner {
        padding: 16px 14px 0 !important;
    }

    .home-banner img {
        max-height: 235px !important;
        border-radius: 22px !important;
    }

    .home-hero {
        padding: 14px 14px 28px !important;
        background: #fbf6ea !important;
        background-image: none !important;
    }

    .home-content {
        border-radius: 26px !important;
        padding: 24px 18px !important;
    }

    .home-extra {
        padding: 34px 14px 70px !important;
        background: #fbf6ea !important;
    }

    .home-section {
        margin-bottom: 44px !important;
    }

    .home-section h2 {
        font-size: 28px !important;
        margin-bottom: 18px !important;
    }

    .home-cards {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .home-card {
        min-height: 78px !important;
        border-radius: 20px !important;
        padding: 14px !important;
        font-size: 15px !important;
        text-align: center !important;
    }

    .home-section:last-child {
        border-radius: 26px !important;
        padding: 26px 16px !important;
    }
}

@media(max-width:420px){
    .home-cards {
        grid-template-columns: 1fr !important;
    }
}


/* REMOVE DARK BACKGROUND BEHIND HERO CARD */
@media(max-width:768px){

    .home-hero {
        background: transparent !important;
        background-image: none !important;
    }

    .home-content {
        position: relative;
        z-index: 2;
    }

    /* Optional: soft glow instead of dark image */
    .home-content::after {
        content: "";
        position: absolute;
        inset: -20px;
        background: radial-gradient(circle, rgba(215,169,40,0.18), transparent 60%);
        z-index: -1;
    }

}


/* Premium Mobile Home Hero Final Look */
@media(max-width:768px){

    .home-hero {
        background:
            radial-gradient(circle at top, rgba(215,169,40,0.18), transparent 45%),
            linear-gradient(180deg, #fbf6ea 0%, #f4ecd8 100%) !important;
        background-image:
            radial-gradient(circle at top, rgba(215,169,40,0.18), transparent 45%),
            linear-gradient(180deg, #fbf6ea 0%, #f4ecd8 100%) !important;
        padding: 18px 14px 36px !important;
    }

    .home-content {
        margin-top: 0 !important;
        border: 1px solid rgba(215,169,40,0.18) !important;
        box-shadow: 0 28px 75px rgba(0,0,0,0.14) !important;
    }

    .home-banner {
        background:
            linear-gradient(180deg, #fbf6ea 0%, #f4ecd8 100%) !important;
        padding-bottom: 10px !important;
    }

    .home-banner img {
        box-shadow: 0 22px 60px rgba(0,0,0,0.18) !important;
        border: 6px solid #fff !important;
    }

}


/* FIX Homepage Mobile Sections Layout */
@media(max-width:768px){

    .home-extra {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 34px 18px 90px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .home-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 42px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .home-section h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
    }

    .home-cards {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .home-card {
        width: 100% !important;
        min-height: 64px !important;
        padding: 16px !important;
        border-radius: 18px !important;
        font-size: 16px !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .home-section:last-child {
        width: 100% !important;
        padding: 28px 18px !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
    }

    .home-section:last-child p {
        text-align: center !important;
        font-size: 15px !important;
    }

    .home-section .btn-primary {
        display: inline-block !important;
        width: auto !important;
        min-width: 170px !important;
        text-align: center !important;
    }
}


/* FIX Mobile Form Fields */
@media(max-width:768px){

    .reservation-card,
    .contact-card,
    .admin-panel {
        width: 100% !important;
        padding: 22px 18px !important;
        border-radius: 26px !important;
        box-sizing: border-box !important;
    }

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

    .form-control,
    input,
    select,
    textarea {
        width: 100% !important;
        min-height: 58px !important;
        padding: 16px 18px !important;
        border-radius: 18px !important;
        font-size: 15px !important;
        background: #fff !important;
        color: #111 !important;
        border: 1px solid rgba(0,0,0,0.12) !important;
        box-sizing: border-box !important;
        appearance: auto !important;
        -webkit-appearance: auto !important;
    }

    input[type="date"],
    input[type="time"] {
        color: #111 !important;
        background: #fff !important;
    }

    textarea.form-control {
        min-height: 120px !important;
    }

    .reservation-intro {
        padding: 0 10px !important;
    }

    .reservation-intro .section-title {
        font-size: 34px !important;
        line-height: 1.1 !important;
    }

    .reservation-intro .section-subtitle {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .modern-submit {
        width: 100% !important;
        font-size: 15px !important;
        padding: 16px 18px !important;
        border-radius: 999px !important;
    }
}


/* Review Stars */
.review-stars {
    font-size: 28px;
    color: #d7a928;
    letter-spacing: 4px;
    margin-bottom: 14px;
}


/* Hero Stars Fix */
.review-stars {
    font-size: 22px;
    color: #d7a928;
    letter-spacing: 3px;
    margin: 10px 0 18px;
}


/* Language Switch */
.language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px solid rgba(0,0,0,0.08);
}

.language-switch a {
    padding: 8px 12px !important;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px !important;
}

.language-switch .active-lang {
    background: #d7a928 !important;
    color: #000 !important;
}

.rtl-mode {
    direction: rtl;
    text-align: right;
}

.rtl-mode .yard-nav {
    direction: rtl;
}

.rtl-mode .language-switch {
    margin-left: 0;
    margin-right: 8px;
    padding-left: 0;
    padding-right: 10px;
    border-left: none;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.rtl-mode .home-content {
    text-align: right !important;
}

.rtl-mode .home-buttons {
    justify-content: flex-start;
}

@media(max-width:768px){
    .language-switch {
        width: 100%;
        justify-content: center;
        border: none;
        padding: 0;
        margin: 8px 0 0;
    }

    .language-switch a {
        width: 48%;
        text-align: center;
        background: #fff8e8;
    }

    .rtl-mode .home-content {
        text-align: center !important;
    }

    .rtl-mode .home-buttons {
        justify-content: center;
    }
}


/* Arabic Font System */

/* Default font */
body {
    font-family: 'Cairo', sans-serif !important;
}

/* Headings */
h1, h2, h3, .section-title {
    font-family: 'Tajawal', sans-serif !important;
    font-weight: 800 !important;
}

/* Arabic mode tuning */
.rtl-mode body {
    font-family: 'Cairo', sans-serif !important;
}

/* Improve Arabic readability */
.rtl-mode {
    letter-spacing: 0 !important;
}

.rtl-mode p,
.rtl-mode input,
.rtl-mode textarea {
    font-size: 16px;
    line-height: 1.8;
}

/* Buttons Arabic alignment */
.rtl-mode .btn-primary {
    text-align: center;
}

/* Form placeholders Arabic */
.rtl-mode input::placeholder,
.rtl-mode textarea::placeholder {
    text-align: right;
}

/* Nav Arabic */
.rtl-mode .yard-nav a {
    font-family: 'Cairo', sans-serif !important;
}


/* FORCE Arabic Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@500;700;800;900&display=swap');

html[lang="ar"],
html[lang="ar"] body,
body.rtl-mode,
body.rtl-mode * {
    font-family: 'Cairo', sans-serif !important;
}

body.rtl-mode h1,
body.rtl-mode h2,
body.rtl-mode h3,
body.rtl-mode .section-title,
body.rtl-mode .hero-label,
body.rtl-mode .yard-nav a {
    font-family: 'Tajawal', sans-serif !important;
    font-weight: 800 !important;
}

body.rtl-mode input,
body.rtl-mode textarea,
body.rtl-mode select,
body.rtl-mode button,
body.rtl-mode a {
    font-family: 'Cairo', sans-serif !important;
}


/* FINAL Arabic Font Override */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Tajawal:wght@500;700;800;900&display=swap');

html[lang="ar"] *,
body.rtl-mode *,
.rtl-mode *,
.rtl-mode input,
.rtl-mode textarea,
.rtl-mode select,
.rtl-mode button,
.rtl-mode a,
.rtl-mode p,
.rtl-mode div,
.rtl-mode span,
.rtl-mode label {
    font-family: 'Cairo', Arial, sans-serif !important;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .section-title,
html[lang="ar"] .hero-label,
body.rtl-mode h1,
body.rtl-mode h2,
body.rtl-mode h3,
body.rtl-mode .section-title,
body.rtl-mode .hero-label {
    font-family: 'Tajawal', 'Cairo', Arial, sans-serif !important;
    font-weight: 800 !important;
}


/* FORCE Arabic Navbar Font */
html[lang="ar"] .yard-nav,
html[lang="ar"] .yard-nav *,
html[lang="ar"] .language-switch,
html[lang="ar"] .language-switch *,
body.rtl-mode .yard-nav,
body.rtl-mode .yard-nav *,
body.rtl-mode .language-switch,
body.rtl-mode .language-switch * {
    font-family: 'Cairo', Arial, sans-serif !important;
    font-weight: 800 !important;
}

html[lang="ar"] .yard-nav a,
body.rtl-mode .yard-nav a {
    font-size: 15px !important;
    letter-spacing: 0 !important;
}


/* FINAL FORCE CAIRO FONT FOR ARABIC NAVBAR */
html[lang="ar"] .yard-nav,
html[lang="ar"] .yard-nav a,
html[lang="ar"] .language-switch,
html[lang="ar"] .language-switch a,
body.rtl-mode .yard-nav,
body.rtl-mode .yard-nav a,
body.rtl-mode .language-switch,
body.rtl-mode .language-switch a {
    font-family: "Cairo", Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}


/* FINAL NAVBAR LAYOUT REPAIR */
.yard-header {
    position: relative !important;
    width: 100% !important;
    height: 92px !important;
    padding: 0 7% !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    z-index: 1000 !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06) !important;
}

.yard-logo {
    display: flex !important;
    align-items: center !important;
    line-height: 0 !important;
}

.yard-logo img {
    height: 58px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
}

.yard-nav {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #fff !important;
    border: 1px solid rgba(215,169,40,0.28) !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06) !important;
}

.yard-nav a {
    color: #111 !important;
    text-decoration: none !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
}

.language-switch {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 0 0 10px !important;
    border-left: 1px solid rgba(0,0,0,0.08) !important;
}

html[lang="ar"] .language-switch {
    padding: 0 10px 0 0 !important;
    border-left: none !important;
    border-right: 1px solid rgba(0,0,0,0.08) !important;
}

.language-switch a {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

.active-lang {
    background: #d7a928 !important;
    color: #000 !important;
}

.menu-toggle {
    display: none !important;
}

@media(max-width:768px){
    .yard-header {
        height: 96px !important;
        padding: 0 18px !important;
    }

    .yard-logo img {
        height: 60px !important;
        max-width: 145px !important;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 54px !important;
        height: 54px !important;
        border-radius: 16px !important;
        background: #d7a928 !important;
        color: #111 !important;
        font-size: 24px !important;
        border: none !important;
    }

    .yard-nav {
        display: none !important;
        position: absolute !important;
        top: 96px !important;
        left: 14px !important;
        right: 14px !important;
        flex-direction: column !important;
        border-radius: 28px !important;
        padding: 16px !important;
        z-index: 9999 !important;
    }

    body.nav-open .yard-nav {
        display: flex !important;
    }

    .yard-nav a {
        width: 100% !important;
        text-align: center !important;
        background: #fff8e8 !important;
        padding: 14px !important;
    }

    .language-switch {
        width: 100% !important;
        border: none !important;
        padding: 0 !important;
    }
}


/* FIX Arabic Buttons + Icons */
.rtl-mode .btn-primary,
html[lang="ar"] .btn-primary {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 800 !important;
}

/* Fix WhatsApp & Call buttons */
.float-btn i,
.modern-submit i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Prevent icon override by Cairo */
.rtl-mode i,
html[lang="ar"] i {
    font-family: "Font Awesome 6 Free" !important;
}

/* Ensure buttons show text correctly */
.rtl-mode button,
.rtl-mode a {
    font-family: 'Cairo', sans-serif !important;
}


/* SAFE FIX: Floating WhatsApp / Call Icons */
.float-btn {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
}

.float-btn i {
    display: none !important;
}

.float-btn.whatsapp::before {
    content: "\f232";
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-size: 24px !important;
    color: #000 !important;
}

.float-btn.call::before {
    content: "\f095";
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 22px !important;
    color: #000 !important;
}

/* Keep Arabic buttons readable */
html[lang="ar"] .btn-primary,
html[lang="ar"] button,
body.rtl-mode .btn-primary,
body.rtl-mode button {
    font-family: "Cairo", Arial, sans-serif !important;
    font-weight: 800 !important;
}

@media(max-width:768px){
    .float-btn {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }

    .float-btn.whatsapp::before {
        font-size: 23px !important;
    }

    .float-btn.call::before {
        font-size: 21px !important;
    }
}


/* Restore real icons */
.float-btn i {
    display: block !important;
    font-size: 22px !important;
    color: #000 !important;
}

.float-btn::before {
    content: none !important;
}


/* FINAL FIX: Font Awesome Icons */
.float-btn i {
    display: inline-block !important;
    color: #000 !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

.float-btn i.fab,
.float-btn i.fa-brands,
.float-btn .fab,
.float-btn .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.float-btn i.fas,
.float-btn i.fa-solid,
.float-btn .fas,
.float-btn .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.float-btn i::before {
    font-family: inherit !important;
}

.float-btn.whatsapp i::before {
    content: "\f232" !important;
}

.float-btn.call i::before {
    content: "\f095" !important;
}


/* FINAL FIX: Font Awesome Icons */
.float-btn i {
    display: inline-block !important;
    color: #000 !important;
    font-size: 24px !important;
    line-height: 1 !important;
}

.float-btn i.fab,
.float-btn i.fa-brands,
.float-btn .fab,
.float-btn .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.float-btn i.fas,
.float-btn i.fa-solid,
.float-btn .fas,
.float-btn .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.float-btn i::before {
    font-family: inherit !important;
}

.float-btn.whatsapp i::before {
    content: "\f232" !important;
}

.float-btn.call i::before {
    content: "\f095" !important;
}


/* Menu Page Arabic Fix */
html[lang="ar"] .menu-page,
html[lang="ar"] .menu-page * {
    font-family: "Cairo", Arial, sans-serif !important;
    text-align: center !important;
    direction: rtl !important;
}

html[lang="ar"] .menu-page .section-title,
html[lang="ar"] .menu-page .hero-label {
    font-family: "Noto Kufi Arabic", "Cairo", Arial, sans-serif !important;
}

.menu-book-wrap {
    max-width: 980px;
    margin: 32px auto 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

.menu-pdf-frame {
    width: 100%;
    height: 720px;
    border: 0;
    display: block;
}

@media(max-width:768px){
    .menu-book-wrap {
        border-radius: 22px;
        margin-top: 24px;
    }

    .menu-pdf-frame {
        height: 620px;
    }
}


/* FIX Menu PDF Layout */
.menu-page {
    min-height: auto !important;
    padding-bottom: 70px !important;
}

.menu-book-wrap {
    width: min(92vw, 920px) !important;
    max-width: 920px !important;
    margin: 35px auto 0 !important;
    border-radius: 28px !important;
}

.menu-pdf-frame {
    width: 100% !important;
    height: 82vh !important;
    min-height: 680px !important;
    display: block !important;
    border: none !important;
}

@media(max-width:768px){
    .menu-book-wrap {
        width: calc(100vw - 28px) !important;
        margin-top: 24px !important;
        border-radius: 24px !important;
    }

    .menu-pdf-frame {
        height: 75vh !important;
        min-height: 560px !important;
    }

    .menu-page .section-title {
        font-size: 36px !important;
        line-height: 1.25 !important;
    }
}


/* Modern Clean Menu Viewer */
.menu-modern-frame {
    width: min(94vw, 780px) !important;
    height: 86vh !important;
    margin: 34px auto 0 !important;
    background: #111 !important;
    border-radius: 34px !important;
    overflow: hidden !important;
    border: 8px solid #fff !important;
    box-shadow: 0 30px 90px rgba(0,0,0,0.22) !important;
}

.menu-modern-pdf {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    background: #111 !important;
}

@media(max-width:768px){
    .menu-modern-frame {
        width: calc(100vw - 28px) !important;
        height: 78vh !important;
        border-radius: 26px !important;
        border: 6px solid #fff !important;
        margin-top: 24px !important;
    }

    .menu-page .section-title {
        font-size: 36px !important;
    }
}


/* Modern Menu Book Paging */
.book-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px auto 18px;
}

.book-controls button {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #d7a928 !important;
    color: #000 !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(215,169,40,0.28) !important;
}

.book-controls span {
    font-weight: 900;
    color: #111;
}

.menu-book-modern {
    width: min(92vw, 760px);
    margin: 0 auto 70px;
    border-radius: 30px;
    overflow: hidden;
    border: 7px solid #fff;
    background: #111;
    box-shadow: 0 30px 90px rgba(0,0,0,0.22);
}

.menu-book-modern img {
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width:768px){
    .book-controls {
        margin-top: 22px;
        gap: 12px;
    }

    .book-controls button {
        width: 48px !important;
        height: 48px !important;
        font-size: 26px !important;
    }

    .menu-book-modern {
        width: calc(100vw - 28px);
        border-radius: 24px;
        border-width: 5px;
    }
}


/* Fix Menu Page Counter Layout */
.book-controls {
    direction: ltr !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
}

.book-controls span {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    min-width: 86px !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #111 !important;
}

html[lang="ar"] .book-controls {
    direction: ltr !important;
}

html[lang="ar"] .book-controls span {
    direction: ltr !important;
    unicode-bidi: isolate !important;
}


/* Fix arrows inside circle centered */
.book-controls button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 1 !important;
    position: relative !important;
}

.book-controls button::before {
    content: attr(data-arrow);
    position: absolute;
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #000 !important;
    line-height: 1 !important;
}

/* Set arrows */
.book-controls button:first-child::before {
    content: "‹";
}

.book-controls button:last-child::before {
    content: "›";
}


/* Menu Page Swipe Animation */
#menuPageImage {
    transition: transform 0.35s ease, opacity 0.35s ease !important;
    will-change: transform, opacity;
}

#menuPageImage.slide-out-left {
    transform: translateX(-45px) scale(0.98) !important;
    opacity: 0 !important;
}

#menuPageImage.slide-out-right {
    transform: translateX(45px) scale(0.98) !important;
    opacity: 0 !important;
}

#menuPageImage.slide-in {
    transform: translateX(0) scale(1) !important;
    opacity: 1 !important;
}


/* FIX Menu Toggle Icon (remove duplicate) */
.menu-toggle {
    font-size: 0 !important; /* hide text ☰ */
    position: relative !important;
}

.menu-toggle::before {
    content: "\2630"; /* hamburger icon */
    font-size: 26px !important;
    line-height: 1 !important;
    display: block !important;
    color: #111 !important;
}


/* FIX Arabic Contact Page Alignment */
html[lang="ar"] .contact-page,
html[lang="ar"] .contact-page * {
    direction: rtl !important;
    text-align: right !important;
}

html[lang="ar"] .contact-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    direction: rtl !important;
}

html[lang="ar"] .contact-card {
    text-align: right !important;
}

html[lang="ar"] .contact-card p {
    text-align: right !important;
}

html[lang="ar"] .contact-card a {
    direction: ltr !important; /* for phone/email readability */
    display: inline-block;
}

html[lang="ar"] .contact-card h2 {
    text-align: right !important;
}

/* Mobile fix */
@media(max-width:768px){
    html[lang="ar"] .contact-layout {
        grid-template-columns: 1fr !important;
    }
}

