/* =========================================
   SHEED'S CAFE - MASTER CSS
   ========================================= */

/* Variables for Branding */
:root {
    --cafe-brown: #4b3832;
    --cafe-tan: #be9b7b;
    --cafe-cream: #fbf8cc; 
    --cafe-black: #1a1a1a;
    --white: #ffffff;
    --footer-bg: #2f1f14;
}

/* Base Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--cafe-cream); 
}

/* Typography Headings */
h1, h2, h3, .navbar-brand, .section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800; /* Thick and modern! */
    color: var(--cafe-brown);
}

/* =========================================
   NAVIGATION BAR
   ========================================= */
.navbar {
    background-color: var(--white) !important;
    padding: 0.8rem 0;
    box-shadow: 0 4px 10px rgba(75, 56, 50, 0.08); 
}

.navbar-brand {
    font-size: 1.6rem; 
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--cafe-brown) !important;
    margin: 0 10px;
    transition: 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--cafe-tan) !important;
}

/* Highlights the current page with a thick underline */
.navbar-nav .nav-link.active-link {
    font-weight: 700 !important;
    color: var(--cafe-brown) !important;
    border-bottom: 3px solid var(--cafe-brown);
}

/* =========================================
   HERO SECTION (index.html)
   ========================================= */
.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   BUTTONS
   ========================================= */
/* Custom Cafe Buttons (Used on the Homepage) */
.btn-cafe-primary {
    background-color: var(--cafe-brown);
    color: var(--white) !important;
    border: 2px solid var(--cafe-brown);
    transition: 0.3s ease;
}

.btn-cafe-primary:hover {
    background-color: var(--cafe-tan);
    border-color: var(--cafe-tan);
}

.btn-cafe-outline {
    background-color: transparent;
    color: var(--cafe-brown) !important;
    border: 2px solid var(--cafe-brown);
    transition: 0.3s ease;
}

.btn-cafe-outline:hover {
    background-color: var(--cafe-brown);
    color: var(--white) !important;
}

/* Standard Buttons (Used elsewhere) */
.btn-primary {
    background-color: var(--cafe-brown);
    border-color: var(--cafe-brown);
    color: var(--white);
    padding: 10px 25px;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--cafe-tan);
    border-color: var(--cafe-tan);
}

.btn-outline-light {
    padding: 10px 25px;
    font-weight: 500;
}

/* =========================================
   CARDS (Menu items, Blog posts)
   ========================================= */
.card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--cafe-tan);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--footer-bg);
    color: #f5f5f5;
}

.footer-title {
    font-size: 22px;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    color: var(--cafe-tan);
}

.footer-tagline {
    font-style: italic;
    color: #d6c7b2;
}

.footer a {
    color: #f5f5f5;
    text-decoration: none;
    transition: 0.2s;
}

.footer a:hover {
    color: var(--cafe-tan);
    text-decoration: none;
}

/* =========================================
   ADMIN DASHBOARD STYLES
   ========================================= */

/* The Dark Brown Sidebar */
.admin-sidebar {
    width: 260px;
    background-color: var(--cafe-brown); 
    color: white;
    height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.admin-sidebar .brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 40px;
    padding-left: 10px;
}

/* Sidebar Links: Forced Light Beige so they don't blend in! */
.admin-sidebar .nav-link {
    color: #eaddd7 !important; 
    font-size: 1.1rem;
    padding: 12px 15px;
    border-radius: 10px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.admin-sidebar .nav-link i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.admin-sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white !important; 
}

.admin-sidebar .active-link {
    background-color: #5c4738; 
    color: white !important;
    font-weight: 500;
}

/* The Main Content Area next to Sidebar */
.main-content { 
    flex: 1; 
    padding: 30px; 
    overflow-y: auto; 
}

/* The White Box holding the tables (Menu, Orders, Reviews) */
.content-card { 
    background-color: white; 
    border-radius: 15px; 
    padding: 30px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

/* The White Box holding the messages (Inbox) */
.message-card { 
    background-color: white; 
    border-radius: 12px; 
    padding: 25px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

/* Status Badges */
.badge-active, .badge-ready { 
    background-color: #d9ead3; 
    color: #38761d; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
}

.badge-prep { 
    background-color: #fcebd5; 
    color: #d35400; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
}

/* =========================================
   FORMS & ORDER BOXES (Order, Login, Register)
   ========================================= */

/* The White Box for Order, Login, and Register forms */
.order-card, .auth-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* The solid brown button used inside the forms */
.btn-cafe {
    background-color: var(--cafe-brown);
    color: var(--white) !important;
    border: none;
    transition: 0.3s ease;
}

.btn-cafe:hover {
    background-color: var(--cafe-tan);
    color: var(--white) !important;
}