/* ===== GLOBAL TYPOGRAPHY SYSTEM ===== */

/* Paragraphs, links, buttons, UI text */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: inherit;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

/* Buttons & CTAs */
button,
input[type="button"],
input[type="submit"],
a.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}



/* General Reset */
* {
    margin: 0;
    padding: 0;
  
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-wrapper {
    position: relative;
    background-color: #000;
    width: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Background Video Styling */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%); /* Darkens video for text readability */
}

/* Navbar Styling */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.95);
    margin: 20px 5%;
    border-radius: 12px;
    z-index: 10;
}
.logo-img{
  width:150px;
}


.logo { font-size: 24px; font-weight: 800; color: #333; }
.logo span { color: #b08d57; }

.menu { list-style: none; display: flex; gap: 25px; }
.menu li a { 
    text-decoration: none; 
    color: #333; 
    font-family: 'Poppins', sans-serif;
  font-weight: 600;
    font-size: 13px;
letter-spacing: 0.5px;
}

.nav-right { display: flex; align-items: center; gap: 20px; }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 18px; }

.signup-btn {
    background: #b08d57;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
/* ============proper final header============ */

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

/* Dropdown parent */
.menu li {
  position: relative;
}

/* Dropdown box */
.dropdown {
  position: absolute;
  top: 130%;
   list-style: none;
  left: 0;
  background: #12110F;
  min-width: 180px;
  border-radius: 8px;
  opacity: 0;
  visibility: visible;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 999;
}

/* Dropdown links */
.dropdown li a {
  display: block;
  padding: 12px 18px;
  color: #EDE3D9;
  font-size: 14px;
  text-decoration: none;
}

.dropdown li a:hover {
  background: #C89B63;
  color: #1C1A17;
}

/* Show dropdown on hover */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* ===============underline menu============== */

.menu > li > a {
  position: relative;
}

.menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #C89B63;
  transition: width 0.3s ease;
}

.menu > li > a:hover::after {
  width: 100%;
}

/* =============dashboard=============== */

.dashboard-btn {
  background-color: #C89B63;
  color: #FFF;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
    font-size: 13px;


  transition: all 0.3s ease;
}

.dashboard-btn:hover {
  background-color: #B8894F;
  transform: translateY(-2px);
  color: #000;
}



/* ========dropdownb dashboard============ */

.dashboard-menu {
  position: relative;
  display: inline-block;
}

.dashboard-btn {
  background: #d4a373;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  min-width: 160px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  overflow: hidden;
}

.dashboard-dropdown a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.dashboard-dropdown a:hover {
  background: #d4a373;
}

/* SHOW DROPDOWN */
.dashboard-menu:hover .dashboard-dropdown {
  display: block;
}


/* =====================graph=================== */

.dashboard {
  display: flex;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  background: #faf7f2;

}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #d4a373;
  color: #fff;
  padding: 30px 20px;
    margin-top: -9em;
}

.sidebar h2 {
  margin-bottom: 30px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 12px;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 8px;
}

.sidebar li:hover,
.sidebar .active {
  background: #81664c;
}

/* Main Content */
.content {
  flex: 1;
  padding: 30px;
}

.sub {
  color: #777;
  margin-bottom: 25px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card span {
  color: #777;
}

.card h3 {
  color: #5a3e2b;
  font-size: 28px;
  margin-top: 10px;
}

/* Box Sections */
.box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px;
  text-align: left;
}

thead {
  background: #f3ede7;
}

tbody tr {
  border-bottom: 1px solid #eee;
}

.done { color: green; }
.pending { color: orange; }
.cancel { color: red; }

/* Staff */
.staff {
  display: flex;
  gap: 20px;
}

.staff-card {
  flex: 1;
  background: #f9f5f0;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.available {
  color: green;
}

.leave {
  color: orange;
}

/* Chart */
canvas {
  width: 100%;
  height: 300px;
  background: #fff;
  border-radius: 12px;
}

/* back to home====================== */

/* Header layout */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

/* Back button */
.back-home {
  color: #d4a373;
  text-decoration: none;
  font-size: 14px;
 display: inline-block;
margin-left: 20em;
  margin-top: 3em;
  font-weight: 500;
}

.back-home:hover {
  text-decoration: underline;
}

/* Profile */
.profile-wrapper {
  position: relative;
}

.profile-icon {
  width: 32px;
  height: 32px;
  background: #d4a373;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  margin-right: 10px;
  
}

/* Dropdown */
.profile-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: none;
  min-width: 120px;
  overflow: hidden;
}

.profile-menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.profile-menu a:hover {
  background: #f2f2f2;
}

