/* =========================
   Root Variables
========================= */
:root {
    --bg-color-light: #f4f6f9;
    --bg-color-dark: #121212;
    --text-color-light: #222;
    --text-color-dark: #f5f5f5;
    --card-bg-light: #ffffff;
    --card-bg-dark: #1e1e1e;
}

/* =========================
   Global Reset & Base
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    padding: 40px 20px;

}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../images/backgroundimage.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.65;              /* 👈 Adjust opacity here */
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}


/* =========================
   Header
========================= 
header {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
    */

header {
    color: white;
    display: flex;
    flex-direction: row;          /* Logo left, nav right */
    align-items: center;
    justify-content: center;      /* Keeps content centered overall */
    gap: 100px;                    /* Space between logo and nav */
}

header h1 {
    font-size: 28px;
    letter-spacing: 1px;
}

/* =========================
   Logo
========================= 
.logo-container {
    display: flex;
    justify-content: center;
}*/

.logo-container {
    display: flex;
    justify-content: flex-start;
}

.logo-img {
    max-width: 275px;
    width: 100%;
    height: auto;
}

/* =========================
   Navigation
========================= 
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
}

nav a:hover {
    color: cadetblue;
}
*/

/* =========================
   Navigation
========================= */
nav {
    display: flex;
    flex-direction: column;   /* STACK VERTICALLY */
    align-items: flex-start;  /* Align text nicely */
    gap: 20px;
}

nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
}

nav a:hover {
    color: cadetblue;
}


/* =========================
   Layout
========================= */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

/* =========================
   Notification Badge
========================= */
.notif-badge {
    position: relative;
    display: inline-block;
}

.notif-badge span {
    position: absolute;
    top: -6px;
    right: -10px;
    background: red;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
}

/* =========================
   Typography
========================= */
h2, h3 {
    margin-bottom: 12px;
    color: #1f2937;
}

h2 {
    font-size: 30px;
    text-align: center;
 
}

h3 {
    font-size: 1.3rem;
    margin-top: 10px;
    color: cadetblue
}

p {
    margin-bottom: 16px;
    color: White;
}

.welcome {
    text-align: center;
    font-size: 18px;
    color: #444;
}

.center-title {
    text-align: center;
    margin: 20px 0 30px;
    font-weight: 600;
    color: #d1d5db;
}

hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 32px 0;
}

/* =========================
   Links
========================= */
a {
    color: white;
    font-weight: 500;
    text-decoration: none;
    align-items: center;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   Forms & Tables
========================= */
form,
table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px;
    margin: 16px auto;      /* 👈 centers horizontally */
    width: fit-content;
}


/* =========================
   Forms
========================= */
label {
    font-weight: 600;
    margin: 14px 0 6px;
    display: block;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

input[type="submit"] {
    margin-top: 18px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background: #1e40af;
}

/* =========================
   Tables
========================= */
table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px 14px;
}

table th {
    background: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
}

/* =========================
   Status Utilities
========================= */
.status-open { color: #059669; font-weight: 600; }
.status-closed { color: #dc2626; font-weight: 600; }
.priority-high { color: #dc2626; font-weight: 700; }
.priority-medium { color: #d97706; font-weight: 600; }
.priority-low { color: #059669; }

/* =========================
   Services Grid
========================= */

.admindashboard {
    display: flex;
    flex-direction: row;   
    align-items: flex-start;  /* Align text nicely */
    gap: 20px;
    width: 100%
}


.services-grid {
    display: none;
    gap: 25px;
    margin-top: 30px;
}

.services-grid.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    
}


.service-box {
    background-image: url('../images/akennedyconsulting8.png');
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 
    
    
}
/*.service-box {
    background-image: url('../images/akennedyconsulting8.png');
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    width:30%;
    
}*/

/* =========================
   Tabs
========================= */
.tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background: #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.tab.active {
    background: cadetblue;
    color: white;
}

.registerbutton {
    background: cadetblue;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}
/* =========================
   Images & Cards
========================= */
.owner3-img {
    width: 400px;
    max-width: 100%;
    border-radius: 10px;
    display: block;
    margin: 0 auto 15px;
}

.menu-card {
    text-align: center;
    margin: 30px auto;
    max-width: 400px;
}

.owner-name {
    font-size: 1.4rem;
    font-weight: bold;
}

.content-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    body { padding: 20px 10px; }
    nav { flex-direction: column; }
    nav a { font-size: 22px; }
    h2 { font-size: 1.5rem; }
}
