@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@400;600;700&family=Oswald:wght@700&display=swap');

/* Global Styles */
:root {
    --primary-color: #ff7675; /* Soft Red/Pink */
    --secondary-color: #00b894; /* Mint Green */
    --accent-color: #74b9ff; /* Soft Blue */
    --yellow-color: #fdcb6e; /* Warm Yellow */
    --text-color: #2d3436;
    --bg-color: #fff9f3; /* Very soft warm off-white */
    --white: #ffffff;
    --heading-font: 'Fredoka One', cursive;
    --body-font: 'Quicksand', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 17px;
}

h1, h2, h3, h4, h5 {
    color: var(--primary-color);
    font-family: var(--heading-font);
    letter-spacing: 0.5px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.col-50 {
    flex: 1 1 45%;
    min-width: 300px;
}

img, video {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 40px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-container img {
    height: 50px;
    width: auto;
    box-shadow: none;
}

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.8em;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle {
    display: none;
}

nav a:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Call to Action Button in Nav */
nav a.nav-cta {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(255, 118, 117, 0.3);
    margin-left: 10px;
}
nav a.nav-cta:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 6px 15px rgba(0, 184, 148, 0.3);
    transform: translateY(-3px);
}

/* Buttons */
button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* Background Sections */
.bg-section {
    background-size: cover;
    background-position: center;
    color: var(--white);
    border-radius: 24px;
    margin: 30px 0;
    overflow: hidden;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
}

.overlay h2, .overlay h3, .overlay h4, .overlay p {
    color: var(--white);
}

/* Hero & Page Headers */
.hero-section, .page-header {
    background-size: cover;
    background-position: top center;
    width: 100%;
    margin: 0;
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    min-height: 85vh;
    padding: 60px 20px;
}

.page-header {
    min-height: 35vh;
    padding: 40px 20px;
}

.hero-section::before, .page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content, .page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
}

.page-header-content h1 {
    color: var(--white);
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header-content p, .page-header-content a {
    color: var(--white);
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Slider Cards */
.slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.slider-card {
    flex: 0 0 280px;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.slider-card:hover { transform: scale(1.03); }

.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    box-sizing: border-box;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    text-align: center;
}

/* Gallery */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.gallery-images img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}

/* Forms */
fieldset {
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    padding: 20px;
    background: var(--white);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="time"], textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Modern Grid & Cards */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.modern-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.btn-outline {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid;
    background: transparent;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.btn-outline:hover {
    background: currentColor;
    color: var(--white) !important;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0 0 0;
    margin-top: 50px;
    font-family: var(--body-font);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding: 0 20px 40px 20px;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-logo {
    box-shadow: none;
    margin-bottom: 15px;
}

.site-footer h4 {
    color: var(--yellow-color);
    font-size: 1.5em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
}

.site-footer p, .site-footer ul {
    font-size: 16px;
    line-height: 1.8;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--white);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--yellow-color);
    text-decoration: none;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 20px;
    text-align: center;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    margin: 0;
    font-size: 15px;
}

.developer-highlight {
    font-weight: bold;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px dashed var(--yellow-color);
    display: inline-block;
}

.developer-highlight span {
    color: var(--yellow-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    border-radius: 50px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}
.whatsapp-float:hover {
    background-color: #128c7e;
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: #FFF;
}

/* Admin Dashboard Styles */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: #f4f6f9;
}
.admin-sidebar {
    width: 250px;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0,0,0,0.05);
}
.admin-sidebar img {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    margin-bottom: 40px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.admin-sidebar a {
    color: #bdc3c7;
    padding: 12px 15px;
    display: block;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: bold;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}
.admin-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent-color);
    transition: transform 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #7f8c8d;
    font-family: var(--body-font);
}
.stat-card p {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.admin-table thead {
    background-color: var(--secondary-color);
}
.admin-table th, .admin-table td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
}
.admin-table tbody tr { transition: background-color 0.2s ease; }
.admin-table tbody tr:hover {
    background-color: #f8f9fa;
}
.admin-table th {
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}
.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    display: inline-block;
}
.badge-success { background: #2ecc71; }
.badge-warning { background: #f39c12; }
.badge-danger { background: #e74c3c; }

/* Admin Action Buttons */
.action-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-action {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    filter: brightness(1.1);
}
.btn-view { background-color: #3498db; }
.btn-html { background-color: #2ecc71; }
.btn-pdf { background-color: #9b59b6; }
.btn-delete { background-color: #e74c3c; }

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-content {
    background: #fff;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 16px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.modal-header {
    position: sticky;
    top: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
.modal-header h2 { margin: 0; color: #fff; }
.close-modal {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
}
.modal-body {
    padding: 30px;
}
.data-group {
    margin-bottom: 30px;
}
.data-group h4 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    color: var(--secondary-color);
}

/* Admin Responsive Adjustments */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    /* Main Website Header & Navigation Adjustments */
    header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px 20px;
    }
    .logo-container {
        margin-bottom: 0;
        justify-content: flex-start;
        width: auto;
    }
    .menu-toggle {
        display: block;
        font-size: 28px;
        color: var(--primary-color);
        cursor: pointer;
        user-select: none;
    }
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 5px;
        margin-top: 15px;
    }
    nav.active {
        display: flex;
    }
    nav a {
        font-size: 16px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    nav a.nav-cta {
        margin-left: 0;
        width: 100%;
        margin-top: 5px;
    }
    .page-header-content h1 {
        font-size: 2.2em;
    }

    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        box-sizing: border-box;
    }
    .admin-sidebar img {
        width: 120px;
        margin-bottom: 0;
    }
    .admin-sidebar a {
        margin-bottom: 0;
        padding: 8px 10px;
        font-size: 14px;
    }
    .admin-main {
        padding: 15px;
    }
}

/* Menu Table Styles */
.menu-section {
    background-color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.menu-header .logo-placeholder {
    width: 100px;
}

.menu-header .logo-placeholder img {
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
}

.menu-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3em;
    color: #000080; /* Dark Blue */
    margin: 0;
    flex-grow: 1;
}

.week-banner {
    background-color: #000080; /* Dark Blue */
    color: var(--white);
    font-weight: bold;
    padding: 10px;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.menu-table-wrapper {
    margin-bottom: 50px;
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
    border: 3px solid #000080; /* Dark Blue */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.menu-table th, .menu-table td {
    border: 3px solid #000080; /* Dark Blue */
    padding: 12px;
    text-align: center;
    color: #000080; /* Dark Blue */
    font-weight: bold;
}

/* Header Row Colors */
.menu-table thead th {
    color: var(--white);
}
.menu-table thead th:nth-child(1) { background-color: #ff7675; } /* Pink / Light Red */
.menu-table thead th:nth-child(2) { background-color: #ffa500; } /* Orange */
.menu-table thead th:nth-child(3) { background-color: #800080; } /* Purple */
.menu-table thead th:nth-child(4) { background-color: #ff00ff; } /* Bright Pink / Magenta */
.menu-table thead th:nth-child(5) { background-color: #ff0000; } /* Red */
.menu-table thead th:nth-child(6) { background-color: #ffff00; color: #000080 !important; } /* Yellow, Dark Blue text */

/* First Column Colors */
.menu-table tbody tr:nth-child(1) td:first-child { background-color: #000080; color: var(--white); } /* Solid Blue */
.menu-table tbody tr:nth-child(2) td:first-child { background-color: #add8e6; color: var(--white); } /* Light Blue */
.menu-table tbody tr:nth-child(3) td:first-child { background-color: #008080; color: var(--white); } /* Green / Teal */
.menu-table tbody tr:nth-child(4) td:first-child { background-color: #e6e6fa; color: var(--white); } /* Light Purple / Lavender */

/* Data Cell Colors */
.menu-table tbody td {
    background-color: #ffffe0; /* Pale, pastel yellow */
}

/* Keep first column colors */
.menu-table tbody tr td:first-child {
    color: var(--white);
}
.menu-table tbody tr:nth-child(1) td:first-child { background-color: #000080; }
.menu-table tbody tr:nth-child(2) td:first-child { background-color: #add8e6; }
.menu-table tbody tr:nth-child(3) td:first-child { background-color: #008080; }
.menu-table tbody tr:nth-child(4) td:first-child { background-color: #e6e6fa; }


/* Responsive stacking for menu tables */
@media (max-width: 992px) {
    .menu-table {
        border: 0;
    }
    .menu-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .menu-table tr {
        border: 3px solid #000080;
        display: block;
        margin-bottom: 1.5rem;
    }
    .menu-table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .9em;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }
    .menu-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
        color: #000080;
    }
    .menu-table td:first-child {
        padding-left: 12px;
        text-align: center;
        font-size: 1.2em;
    }
    .menu-table td:first-child::before {
        display: none;
    }
    .menu-table td:last-child {
        border-bottom: 0;
    }
}