.site-body.nav-open {
    overflow: hidden;
}

:root {
    --color-primary: #d94a7c;
    --color-primary-dark: #b03b62;
    --color-secondary: #f6d4df;
    --color-surface: #ffffff;
    --color-surface-light: #fff5f7;
    --color-text: #352b33;
    --color-text-muted: #6d5c64;
    --color-border: rgba(217, 74, 124, 0.18);
    --shadow-soft: 0 20px 40px rgba(217, 74, 124, 0.12);
    --shadow-card: 0 12px 30px rgba(176, 59, 98, 0.12);
    --radius-large: 32px;
    --radius-medium: 20px;
    --radius-small: 12px;
    scroll-behavior: smooth;
}

/* Enhanced grid container overflow protection */
.service-grid,
.menu-grid,
.gallery-grid,
.testimonial-grid,
.reviews-layout {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Enhanced mobile responsiveness for all grid containers */
@media (max-width: 768px) {
    .service-grid,
    .gallery-grid,
    .testimonial-grid {
        gap: 1.5rem;
    }

    .reviews-layout {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-grid,
    .gallery-grid,
    .testimonial-grid {
        gap: 1rem;
    }

    .reviews-layout {
        gap: 1rem;
    }
}

/* Ensure proper box-sizing for all containers */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-surface-light);
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

button {
    font-family: inherit;
}

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

.menu-item {
    transition: transform 0.3s ease;
}

.footer-socials {
    text-align: center;
}

.footer-socials h4 {
    margin-bottom: 1rem;
    color: var(--color-text);
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--color-primary-dark);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.75rem;
    box-sizing: border-box;
}

/* Enhanced mobile container responsiveness */
/* Enhanced mobile responsiveness for all containers */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .reviews-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
    }

    .footer-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        width: 100%;
    }

    .footer-links > div {
        flex: 1;
        min-width: 150px;
        text-align: center;
    }

    .footer-note {
        text-align: center;
        margin-top: 1rem;
        width: 100%;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .section {
        padding: 2rem 0;
    }

    .service-grid,
    .menu-grid,
    .gallery-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card,
    .menu-column,
    .review-card {
        padding: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-socials .social-icons {
        gap: 0.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .footer-links > div {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .top-bar__content {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .nav__links {
        flex-direction: column;
        gap: 1rem;
    }

    .nav__actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .menu-column {
        padding: 1rem 1.25rem;
        margin-bottom: 1rem;
    }

    .menu-item {
        font-size: 0.85rem;
        padding: 0.75rem 0;
        gap: 0.4rem;
    }

    .menu-name {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .menu-price {
        font-size: 0.8rem;
        font-weight: 600;
    }

@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    .section {
        padding: 1.5rem 0;
    }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card,
    .menu-column,
    .review-card {
        padding: 1rem;
    }

    .menu-column {
        padding: 0.75rem 1rem;
    }

    .menu-item {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .menu-name {
        font-size: 0.8rem;
    }

    .menu-price {
        font-size: 0.75rem;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }
}
}

/* Enhanced overflow protection for all elements */
h1, h2, h3, h4, h5, h6,
p, span, div,
.menu-name, .menu-price,
.service-card h3, .service-card p, .service-card li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure buttons don't overflow on mobile */
.btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .btn {
        white-space: normal;
        word-wrap: break-word;
        padding: 0.75rem 1.5rem;
    }
}

/* Fix any remaining overflow issues with long text */
.info-card ul li,
.hours ul li,
.footer-links a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.site-body {
    position: relative;
    background: radial-gradient(circle at top left, rgba(255, 231, 236, 0.7), transparent 45%),
                radial-gradient(circle at bottom right, rgba(217, 74, 124, 0.15), transparent 55%),
                linear-gradient(180deg, #fff8fa 0%, #fde6ee 35%, #ffffff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.site-body::before,
.site-body::after {
    content: '';
    position: fixed;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(217, 74, 124, 0.16) 0%, rgba(217, 74, 124, 0) 70%);
    filter: blur(0px);
    z-index: -1;
    pointer-events: none;
}

.site-body::before {
    top: -220px;
    right: -120px;
}

.site-body::after {
    bottom: -240px;
    left: -160px;
}

.top-bar {
    background: rgba(255, 231, 236, 0.85);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(217, 74, 124, 0.18);
}

.top-bar__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
    align-items: center;
    gap: 0.75rem 1.4rem;
    padding: 0.55rem 0;
    justify-content: center;
}

.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.top-bar__item i {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.top-bar__item a {
    font-weight: 600;
    color: var(--color-primary);
}

.top-bar__badge {
    background: var(--color-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(217, 74, 124, 0.2);
}

.nav {
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 180;
    background: linear-gradient(115deg, #b14a69 0%, #a23c60 45%, #802b56 100%);
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(128, 43, 86, 0.35);
}

.nav__bar {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 0.85rem 0;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    gap: 0.75rem;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .footer-logo {
        width: 58px;
        height: 58px;
    }
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex: 1;
    justify-content: center;
}

.nav__links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: rgba(255, 231, 240, 0.85);
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.nav__links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a:focus {
    color: rgba(255, 255, 255, 0.95);
}

.nav__links a:hover::after,
.nav__links a:focus::after {
    width: 36px;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav__cta {
    background: linear-gradient(135deg, #f6a383 0%, #ef6c80 100%);
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    box-shadow: 0 16px 30px rgba(247, 119, 124, 0.35);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(247, 119, 124, 0.45);
    background: linear-gradient(135deg, #f7777c 0%, #e85874 100%);
}

.nav__cta:hover::before {
    left: 100%;
}

.nav__cta:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(247, 119, 124, 0.3);
}

.nav__toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav__toggle-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
}

.nav__toggle-icon span {
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.nav__toggle.is-active .nav__toggle-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-active .nav__toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-active .nav__toggle-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav__overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(53, 30, 40, 0.94), rgba(40, 22, 30, 0.9));
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease;
    z-index: 160;
}

.nav__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav__overlay-panel {
    display: grid;
    gap: 1.6rem;
    text-align: center;
    padding: 2.5rem 2rem;
    width: min(420px, 92vw);
}

.nav__overlay-brand {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 1.05rem;
}

.nav__overlay-links {
    display: grid;
    gap: 1.1rem;
}

.nav__overlay-link {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(255, 230, 240, 0.92);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.35rem;
}

.nav__overlay-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav__overlay-link:hover,
.nav__overlay-link:focus {
    color: #ffffff;
}

.nav__overlay-link:hover::after,
.nav__overlay-link:focus::after,
.nav__overlay-link.is-active::after {
    width: 42px;
}

.nav__overlay-cta {
    background: linear-gradient(135deg, #f9ab85 0%, #f7777c 100%);
    color: #ffffff;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    box-shadow: 0 24px 45px rgba(247, 119, 124, 0.35);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav__overlay-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav__overlay-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(247, 119, 124, 0.45);
    background: linear-gradient(135deg, #f7777c 0%, #e85874 100%);
}

.nav__overlay-cta:hover::before {
    left: 100%;
}

.nav__overlay-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(247, 119, 124, 0.3);
}

.nav.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.location-update-banner {
    background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(217, 74, 124, 0.1) 100%);
    text-align: center;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.location-update-banner::before {
    content: '';
    position: relative;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}


@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.video-content {
    position: relative;
    max-width: 66%;
    max-height: 70%;
}

.video-content video {
    width: 100%;
    height: auto;
    max-width: 800px;
}

.close-ad {
    position: absolute;
    top: -5px;
    right: -5px;
    background:transparent ;
    color: rgb(13, 12, 12);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.close-ad:hover {
    color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 545px) {
    .video-content {
        max-width: 100%;
        max-height: 100%;
    }
    .video-content video {
        width: 100vw;
        height: 80vh;
        object-fit: contain;
    }

    .close-ad{
        transform: translateX(-185px);
    }

}



.hero {
    padding: clamp(4rem, 12vw, 8rem) 0 5rem;
    position: relative;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.85;
    z-index: -1;
}

.hero::before {
    width: 320px;
    height: 320px;
    top: 60px;
    left: -120px;
    background: rgba(217, 74, 124, 0.25);
}

.hero::after {
    width: 380px;
    height: 380px;
    bottom: -120px;
    right: -160px;
    background: rgba(236, 103, 152, 0.25);
}

.hero-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 7vw, 4.5rem);
    align-items: center;
}

.hero-copy h1 {
    font-family: 'Playfair Display', serif;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: bolder;
}

.hero-copy p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 32rem;
    margin-bottom: 2rem;
}

.pretitle {
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.hero-badges span {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.6rem 1.35rem;
    border: 1px solid rgba(217, 74, 124, 0.25);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 12px 26px rgba(217, 74, 124, 0.1);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
}

.metric {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-small);
    padding: 1.25rem 1.4rem;
    box-shadow: 0 18px 32px rgba(53, 43, 51, 0.08);
    border: 1px solid rgba(217, 74, 124, 0.16);
    text-align: center;
}

.metric__value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
}

.metric__label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-medium);
    padding: 1.75rem;
    box-shadow: 0 22px 40px rgba(53, 43, 51, 0.08);
    border: 1px solid rgba(217, 74, 124, 0.14);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.6rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-highlight {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
    max-width: 240px;
}

.hero-highlight .highlight-title {
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.4rem;
}

.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    position: relative;
}
.section-light {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/photo-1515377905703-c4788e51af15.jpg') center/cover no-repeat;
    backdrop-filter: blur(6px);
}
#menu {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/emg.png') center/cover no-repeat;
}
#gallery {
    background: linear-gradient(135deg, rgba(217, 74, 124, 0.2), rgba(217, 74, 124, 0.05));
}

.section-heading {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3.5rem;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-heading p {
color: var(--color-text-muted);
}
.service-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

    
.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 246, 0.9));
    border-radius: var(--radius-medium);
    padding: 2.2rem;
    box-shadow: 0 24px 45px rgba(217, 74, 124, 0.12);
    border: 1px solid rgba(217, 74, 124, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: var(--color-text);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 32px 60px rgba(217, 74, 124, 0.2);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 600;
}

.icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 74, 124, 0.1);
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.icon-circle i {
    width: 24px;
    height: 24px;
}

.menu-grid {
display: flex;
flex-direction: column;
gap: 2rem;
width: 100%;
box-sizing: border-box;
}

@media (max-width: 768px) {
    .menu-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        gap: 1rem;
        padding: 0;
        margin: 0 -0.5rem;
    }
}

.menu-column {
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-medium);
    padding: 2rem 2.4rem;
    box-shadow: 0 24px 45px rgba(217, 74, 124, 0.1);
    border: 1px solid rgba(217, 74, 124, 0.12);
    backdrop-filter: blur(14px);
}

.menu-column h3,
.menu-subsection h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.menu-subsection h4 {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text);
}

.menu-item:last-child {
    border-bottom: none;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.reviews-list {
    display: grid;
    gap: 1.4rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-medium);
    padding: 1.6rem 1.8rem;
    box-shadow: 0 24px 45px rgba(217, 74, 124, 0.12);
    border: 1px solid rgba(217, 74, 124, 0.12);
    display: grid;
    gap: 0.9rem;
}

.review-card header {
    display: grid;
    gap: 0.25rem;
}

.review-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0;
}

.review-location {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.review-stars {
    color: var(--color-primary);
    letter-spacing: 0.2em;
    font-weight: 700;
}

.review-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--color-text);
}

.show-more-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-small);
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.show-more-btn:hover {
    background: var(--color-primary-dark);
}

.review-empty {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-medium);
    text-align: center;
    color: var(--color-text-muted);
}

.review-form fieldset {
    border: none;
    padding: 2.4rem;
    border-radius: 28px;
    background: radial-gradient(140% 140% at 0% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(248, 213, 228, 0.85) 55%, rgba(241, 174, 206, 0.9) 100%);
    box-shadow: 0 40px 60px rgba(128, 43, 86, 0.12);
    backdrop-filter: blur(18px);
    display: grid;
    gap: 1.4rem;
}

.review-form legend {
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(53, 43, 51, 0.82);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.review-form label {
    display: grid;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(53, 43, 51, 0.7);
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.45), inset 0 -1px 4px rgba(217, 74, 124, 0.12);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
    color: rgba(53, 43, 51, 0.4);
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: rgba(217, 74, 124, 0.55);
    box-shadow: 0 0 0 6px rgba(217, 74, 124, 0.18);
    transform: translateY(-2px);
}

.review-form textarea {
    resize: vertical;
}

.review-form .btn {
    align-self: flex-start;
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(135deg, #f08ba3 0%, #d94a7c 100%);
    box-shadow: 0 30px 45px rgba(217, 74, 124, 0.4);
}
a{
    text-decoration: none;
}

.review-form.is-invalid select,
.review-form.is-invalid input:invalid,
.review-form.is-invalid textarea:invalid {
    border-color: rgba(232, 90, 90, 0.8);
    box-shadow: 0 0 0 4px rgba(232, 90, 90, 0.18);
}

.form-rating select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%237b3b58" d="M3.2 5.6L8 10.4l4.8-4.8L14 6.8l-6 6-6-6z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.8rem;
}

.menu-column--wide {
    grid-column: span 2;
}
.menu-item:hover {
    transition: transform 0.3s ease;
    transform: scale(1.02);
    background: rgba(228, 223, 223, 0.7);
    padding: 0.85rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 24px 45px rgba(217, 74, 124, 0.12);
    border-bottom: 4px solid rgba(217, 74, 124, 0.12);
    backdrop-filter: blur(14px);
}

.menu-name {
    font-weight: 600;
}

.menu-price {
    font-weight: 500;
    color: var(--color-primary);
    white-space: nowrap;
}

.menu-subsection h4{
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.menu-note {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    background: linear-gradient(135deg, rgba(217, 74, 124, 0.12), rgba(217, 74, 124, 0.22));
    border-radius: var(--radius-medium);
    padding: 1.35rem 1.6rem;
    box-shadow: 0 24px 45px rgba(217, 74, 124, 0.12);
}

.menu-note i {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.split-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.split-media img {
    border-radius: var(--radius-large);
    box-shadow: 0 26px 55px rgba(32, 22, 27, 0.18);
    object-fit: cover;
    height: 100%;
}

.split-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
}

.split-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.8rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    display: grid;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.check-list i {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.gallery-upload-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-medium);
    padding: 2rem;
    box-shadow: 0 24px 45px rgba(217, 74, 124, 0.12);
    border: 1px solid rgba(217, 74, 124, 0.12);
    margin-bottom: 3rem;
    text-align: center;
}

.bulk-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.selected-count {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
    min-width: 120px;
    text-align: center;
}

.gallery-select {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    cursor: pointer;
    z-index: 10;
    opacity: 1; /* Always visible for admins */
    transition: opacity 0.3s ease;
}

.gallery-item.selected {
    border: 3px solid #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.gallery-item.selected .gallery-select {
    background: #667eea;
    border: 2px solid white;
    opacity: 1;
}

.bulk-delete-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.bulk-delete-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.bulk-select-all {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.bulk-select-all:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
    }

    .bulk-actions {
        justify-content: center;
        gap: 0.75rem;
    }

    .selected-count {
        min-width: auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .gallery-upload-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .gallery-upload-section h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

.gallery-grid figure {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: 0 24px 45px rgba(32, 22, 27, 0.12);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(217, 74, 124, 0.1);
}

.gallery-grid img {
    height: 240px;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 227, 239, 0.9));
    border-radius: var(--radius-medium);
    padding: 2.2rem;
    box-shadow: 0 28px 55px rgba(217, 74, 124, 0.14);
    display: grid;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: rgba(217, 74, 124, 0.18);
    border-radius: 50%;
}

.testimonial-card p {
    color: var(--color-text-muted);
    margin: 0;
    position: relative;
    z-index: 1;
}

.stars {
    display: flex;
    gap: 0.4rem;
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.stars i {
    width: 20px;
    height: 20px;
}

.author {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.cta {
    background: linear-gradient(135deg, rgba(217, 74, 124, 0.12), rgba(217, 74, 124, 0.05));
    padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.cta-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-copy h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    margin: 0 0 1rem;
}

.cta-copy p {
    color: var(--color-text-muted);
    max-width: 26rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.contact-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-medium);
    padding: 2.6rem 2.2rem;
    box-shadow: 0 26px 55px rgba(217, 74, 124, 0.12);
    border: 1px solid rgba(217, 74, 124, 0.12);
}

.contact-card p {
    color: var(--color-text-muted);
}

.contact-card a {
    color: var(--color-primary);
    font-weight: 600;
}

.hours h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
    color: var(--color-text);
}

.socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(217, 74, 124, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: background 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    border-radius: var(--radius-medium);
    box-shadow: 0 24px 45px rgba(32, 22, 27, 0.12);
}

.site-footer {
    background: #20161b;
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

@media (max-width: 480px) {
    .footer-logo {
        width: 40px;
        height: 40px;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links div {
    display: grid;
    gap: 0.55rem;
}

.footer-links h4 {
    font-size: 1rem;
    color: white;
    margin: 0 0 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nav__links {
        display: none;
    }

    .nav__cta {
        display: none;
    }

    .nav__toggle {
        display: inline-flex;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .nav-overlay__inner {
        width: min(520px, 92vw);
    }

    .nav-overlay__body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-overlay__column {
        text-align: center;
    }

    .nav-overlay__column--cta {
        padding: 1.1rem 1.3rem;
    }

    .service-grid,
    .menu-grid,
    .testimonial-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .top-bar__content {
        justify-content: center;
        text-align: center;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .menu-grid,
    .service-grid,
    .testimonial-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-highlight {
        position: static;
        margin-top: 1.5rem;
    }

    .menu-column {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .cta-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
    }
}

/* Enhanced mobile responsiveness for menu containers */
@media (max-width: 768px) {
    .menu-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .menu-column {
        padding: 1.25rem 1.5rem;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .menu-name {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .menu-column {
        display: flex;
        flex-direction: column;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 246, 0.9));
        border-radius: var(--radius-medium);
        padding: 1.75rem;
        box-shadow: 0 24px 45px rgba(217, 74, 124, 0.12);
        border: 1px solid rgba(217, 74, 124, 0.12);
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        margin-bottom: 1.5rem;
    }

    .menu-column:hover {
        transform: translateY(-10px);
        box-shadow: 0 32px 60px rgba(217, 74, 124, 0.2);
    }

   
    .menu-name {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .menu-price {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .menu-note {
        margin-top: 2rem;
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .menu-note i {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        gap: 1rem;
        padding: 0;
        margin: 0 -0.5rem;
    }

    .menu-column {
        padding: 1.25rem 1rem;
        margin: 0 0.5rem;
        border-radius: var(--radius-small);
    }

    .menu-column h3,
    .menu-subsection h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .menu-item {
        padding: 0.6rem 0;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .menu-name {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .menu-price {
        font-size: 0.8rem;
        font-weight: 700;
    }

    .menu-note {
        margin-top: 1.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .menu-note i {
        width: 16px;
        height: 16px;
    }
}

/* Admin Styles - Redesigned */
.admin-login {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.admin-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 420px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.admin-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-form-card h3 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-form-card label {
    display: block;
    margin-bottom: 1.5rem;
    position: relative;
}

.admin-form-card label span {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-form-card input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(160, 174, 192, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.admin-form-card input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 10px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.admin-form-card input::placeholder {
    color: #a0aec0;
    opacity: 0.7;
}

.admin-form-card .btn {
    width: 100%;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.admin-form-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

/* Gallery Section - Enhanced */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 177, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
}


.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.remove-gallery-image {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
}


/* Admin Panel */
.admin-panel-trigger {
    text-align: right;
    margin: 2rem 0;
}

.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    padding: 1rem;
}

.admin-overlay.active {
    display: flex;
}

.admin-modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.admin-header h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.admin-modal-body {
    padding: 2rem;
    background: #f8f9fa;
}

.admin-controls {
    background: white;
    border-radius: 0 0 12px 12px;
    padding: 2rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

/* Upload Area - Enhanced */
.upload-area {
    border: 2px dashed linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.upload-area:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.upload-area:hover::before {
    opacity: 1;
}

.upload-area.drag-over {
    border-color: #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.upload-prompt {
    color: #667eea;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.upload-prompt i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.upload-area:hover .upload-prompt i {
    transform: scale(1.1);
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.preview-item:hover .remove-image {
    opacity: 1;
    transform: scale(1);
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 59, 48, 0.9);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.preview-item:hover .remove-image {
    opacity: 1;
    transform: scale(1);
}

/* Form Actions - Enhanced */
.form-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Error Message */
.error-message {
    color: #e74c3c;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    min-height: 1.5rem;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .admin-modal {
        width: 95%;
        margin: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
.admin-panel {
    background: rgba(254, 249, 195, 0.9);
    border: 1px solid rgba(250, 204, 21, 0.5);
    color: #92400e;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Form options styling */
.admin-form-card .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.admin-form-card .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    cursor: pointer;
    font-weight: 500;
}

.admin-form-card .checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #667eea;
}

.admin-form-card .forgot-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.admin-form-card .forgot-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.admin-controls {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.admin-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 700px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out 0.2s both;
}

.admin-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.admin-panel h3 {
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-actions input[type="file"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: 2px solid rgba(160, 174, 192, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
    color: #4a5568;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.admin-actions input[type="file"]:hover {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.admin-actions input[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.admin-actions input[type="file"]::-webkit-file-upload-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.admin-panel .btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.admin-panel .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.admin-panel .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.admin-panel .btn:hover::before {
    left: 100%;
}

.admin-panel .btn:active {
    transform: translateY(-1px);
}

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

.admin-panel .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.admin-status {
    color: #4a5568;
    font-size: 0.875rem;
    text-align: center;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    font-weight: 500;
}

/* Gallery Section - Reconstructed */
.gallery-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

.gallery-header-content {
    flex: 1;
    max-width: 600px;
}

.section-pretitle {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a202c 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 500px;
}

.gallery-admin-access {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-trigger-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.admin-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.admin-trigger-btn i {
    width: 16px;
    height: 16px;
}

/* Admin Modal */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.admin-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.3s ease-out;
}

.admin-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1001;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.admin-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.admin-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.admin-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.admin-login-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-full {
    width: 100%;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes backdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Admin Control Panel */
.admin-control-panel {
    margin-bottom: 3rem;
}

.admin-panel-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.admin-panel-header h3 {
    margin: 0;
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
}

.admin-panel-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.admin-upload-section {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.upload-zone {
    position: relative;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.upload-zone:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-content i {
    width: 48px;
    height: 48px;
    color: #667eea;
}

.upload-content p {
    margin: 0;
    color: #4a5568;
    font-weight: 500;
}

.upload-hint {
    font-size: 0.875rem;
    color: #718096;
}

.admin-preview-section,
.admin-bulk-section {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-preview-section h4,
.admin-bulk-section h4 {
    margin: 0 0 1.5rem 0;
    color: #1a202c;
    font-size: 1.125rem;
    font-weight: 600;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.preview-actions,
.bulk-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bulk-status {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f0f4ff;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    color: #2d3748;
    font-size: 0.875rem;
    text-align: center;
}

/* Gallery Container */
.gallery-container {
    position: relative;
    min-height: 400px;
}

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

.gallery-item {
    position: relative;
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


.gallery-item figcaption {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #2d3748;
    background: white;
}

.gallery-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #4a5568;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.empty-state {
    text-align: center;
    color: #4a5568;
}

.empty-state i {
    width: 64px;
    height: 64px;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.empty-state p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

.admin-category-section {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-category-section h4 {
    margin: 0 0 1.5rem 0;
    color: #1a202c;
    font-size: 1.125rem;
    font-weight: 600;
}

.category-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.category-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.category-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.category-option input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: #667eea;
}

.category-icon {
    font-size: 1.5rem;
    margin-top: 0.125rem;
}

.category-name {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.category-desc {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.4;
}

.category-option:has(input:checked) {
    border-color: #667eea;
    background: #f0f4ff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.image-metadata-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.image-metadata-form h5 {
    margin: 0 0 1rem 0;
    color: #1a202c;
    font-size: 1rem;
    font-weight: 600;
}

.image-metadata-form .form-group {
    margin-bottom: 1rem;
}

.image-metadata-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 600;
}

.image-metadata-form input,
.image-metadata-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.image-metadata-form input:focus,
.image-metadata-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.image-metadata-form textarea {
    resize: vertical;
    min-height: 80px;
}

.preview-item.has-metadata {
    border: 2px solid #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.metadata-indicator {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: inline-block;
}

/* Drag and Drop Styles */
.upload-zone.drag-over {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.02);
}

.upload-zone {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .category-selector {
        grid-template-columns: 1fr;
    }

    .category-option {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .category-icon {
        font-size: 2rem;
        margin: 0;
    }

    .preview-container {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

    .image-metadata-form {
        padding: 1rem;
    }

    .image-metadata-form textarea {
        min-height: 60px;
    }
}

/* Admin Login Overlay */
.admin-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.admin-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.3s ease-out;
}

.admin-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    max-width: 420px;
    width: 90%;
    position: relative;
    z-index: 1001;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.admin-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: #ef4444;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.gallery-item {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}


.remove-gallery-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
    opacity: 1; /* Always visible for admins */
}

.remove-gallery-image:hover {
    background: rgba(220, 38, 38, 1);
}

.delete-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.delete-image:hover {
    background: rgba(220, 38, 38, 1);
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 3rem;
}

.admin-preview {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-preview h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.preview-info {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    text-align: center;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.admin-bulk-ops {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-bulk-ops h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

.bulk-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.bulk-status {
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-align: center;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.gallery-item.selected {
    border: 3px solid #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.gallery-select {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    cursor: pointer;
    z-index: 10;
}

.gallery-item.selected .gallery-select {
    background: #667eea;
    border: 2px solid white;
}

/* Enhanced responsive design for new features */
@media (max-width: 768px) {
    .admin-controls {
        padding: 0 1rem;
    }

    .admin-panel {
        padding: 2rem 1.5rem;
        max-width: 100%;
        margin: 0;
    }

    .preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    .preview-item img {
        height: 100px;
    }

    .bulk-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bulk-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

/* Delete Confirmation Modal */
.delete-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.delete-confirmation-overlay.active {
    display: flex;
}

.delete-confirmation-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 90%;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.delete-confirmation-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.warning-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.delete-confirmation-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.delete-confirmation-body {
    padding: 2rem;
    text-align: center;
}

.delete-confirmation-body p {
    margin: 0;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

.delete-confirmation-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
    background: #f8fafc;
    justify-content: flex-end;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    z-index: 3000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    min-width: 300px;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toast-title {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.toast-text {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.toast-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.toast-close i {
    width: 16px;
    height: 16px;
}

/* Toast animations */
@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive toast */
@media (max-width: 768px) {
    .toast-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        min-width: auto;
    }
}