
/* frontend/css/styles.css */
*{box-sizing:border-box;font-family:Inter, Arial, sans-serif;margin: 0; padding: 0;}
body{margin:0;color:black;background:linear-gradient(135deg, #0f2027, #203a43, #2c5364)}
a{color:inherit}
.site-header{display:flex;justify-content:space-between; color: #fff;   align-items:center;padding:16px 32px;background:linear-gradient(135deg, #0f2027, #203a43, #2c5364);box-shadow:0 1px 6px rgba(0,0,0,.06)}
.site-header .logo{font-weight:700}
.site-header nav a{margin-left:12px;text-decoration:none}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;padding:32px}
.card{position:relative;border-radius:8px;overflow:hidden;background:#fff;border:1px solid #eee;padding-bottom:12px; max-width: 100%;}
.card img{max-width: 100%;height:auto;object-fit:cover}
.big-btn{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);padding:12px 20px;border:none;border-radius:28px;background:rgba(0,0,0,.6);color:#fff;cursor:pointer}
.site-footer{padding:20px;text-align:center;background:#fafafa}
.hero{padding:48px 32px;text-align:center;background:linear-gradient(90deg,#f4f8ff,#fff)}
.auth-container{max-width:420px;margin:60px auto;padding:24px;border:1px solid #eee;border-radius:8px;background:#fff}
.tabs button{padding:8px 12px;margin-right:8px;cursor:pointer}
.form{margin-top:12px}
input, textarea, select{display:block;width:100%;padding:10px;margin:8px 0;border:1px solid #ddd;border-radius:6px}
button{cursor:pointer;padding:10px 14px;border-radius:6px;border:none;background:#0b72ff;color:#fff}
.hidden{display:none}
.msg{color:#c00}
.dashboard{display:flex;min-height:100vh}
.sidebar{width:240px;background:#f6f6f8;padding:20px}
.sidebar .user-box{font-weight:700;margin-bottom:12px}
.sidebar ul{list-style:none;padding:0}
.sidebar li{margin:8px 0}
.sidebar a{color:#111;text-decoration:none}
.main-area{flex:1;padding:40px;background:#fff}
@media (max-width:800px){
  .sidebar{display:none}
  .grid{grid-template-columns:1fr;
         padding: 20px;
         position: relative;
         left: 150px;
         
  
  }

}


/* ---------- ABOUT PAGE ---------- */
.about-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #e8f1ff, #fff);
}
.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}
.about-content .about-text {
  flex: 1 1 400px;
  max-width: 600px;
}
.about-content .about-image {
  flex: 1 1 400px;
  text-align: center;
}
.about-content .about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.about-values {
  background: #f9fbff;
  padding: 50px 20px;
  text-align: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
  margin-top: 20px;
}
.values-grid article {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ---------- SERVICES PAGE ---------- */
.services-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg,#fdf6ff,#fff);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 20px;
  padding: 40px 20px;
}
.service-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-card img {
  width: 400px;
  height: 220px;
  object-fit: cover;
}
.service-info {
  padding: 16px;
}
.service-info h2 {
  margin-top: 0;
  color: #0b72ff;
}
.service-info p {
  color: #444;
  line-height: 1.6;
}


/* ---------- CONTACT PAGE ---------- */
.contact-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #e8f8ff, #fff);
}
.contact-hero h1 {
  font-size: 2.5rem;
  color: #0b72ff;
  margin-bottom: 10px;
}
.contact-hero p {
  color: #555;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background: #f9fbff;
}
.contact-info {
  flex: 1 1 350px;
  max-width: 500px;
}
.contact-info h2 {
  color: #0b72ff;
}
.contact-info ul {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin: 10px 0;
  color: #444;
}
.contact-info .social-links a {
  display: inline-block;
  margin: 5px 10px 0 0;
  color: #0b72ff;
  text-decoration: none;
  font-weight: 500;
}
.contact-info .social-links a:hover {
  text-decoration: underline;
}

.contact-form {
  flex: 1 1 350px;
  max-width: 500px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-form h2 {
  margin-bottom: 15px;
  color: #0b72ff;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}
.contact-form button {
  background: #0b72ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #094fc0;
}
#contact-msg {
  text-align: center;
  margin-top: 10px;
  color: #0b72ff;
  font-weight: 500;
}


/* ---------- ADMIN MESSAGES ---------- */
.msg-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin-bottom: 15px;
}
.msg-card h3 {
  margin-top: 0;
  color: #0b72ff;
}
.msg-card button {
  margin-right: 8px;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: #0b72ff;
  color: #fff;
  cursor: pointer;
}
.msg-card button:hover {
  background: #094fc0;
}


/* ---------- CONTACT MODAL ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
  animation: pop 0.3s ease;
}
.modal-content h2 {
  color: #0b72ff;
  margin-bottom: 10px;
}
.modal-content .close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  cursor: pointer;
}
@keyframes pop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* ---------- Advanced Dark Footer ---------- */
.site-footer-advanced {
  color: #e6eefc;
  background: linear-gradient(180deg, #0b1220 0%, #0d1a2b 45%, #07101b 100%);
  padding: 40px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 15px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  padding-bottom: 22px;
}

.footer-brand .footer-logo .logo-mark {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}
.footer-brand .footer-tag {
  color: rgba(230,238,252,0.8);
  margin-top: 8px;
  line-height: 1.35;
}

/* Footer nav */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav ul li { margin: 8px 0; }
.footer-nav a {
  color: rgba(230,238,252,0.9);
  text-decoration: none;
  transition: color .15s ease, transform .12s ease;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #a8d1ff;
  transform: translateX(4px);
}

/* Newsletter */
.footer-news h4, .footer-social h4 { color: #a8d1ff; margin: 0 0 8px 0; }
.footer-news p { margin: 0 0 12px 0; color: rgba(230,238,252,0.8); }

.news-form {
  display:flex;
  gap:8px;
  align-items:center;
}
.news-form input[type="email"]{
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: #fff;
  outline: none;
  flex:1;
}
.news-form input::placeholder{ color: rgba(255,255,255,0.5); }
.news-form button {
  background: linear-gradient(180deg,#1e90ff,#0b72ff);
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight:600;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(11,114,255,0.18);
}
.news-msg { margin-top:8px; color: #cfe9ff; font-size: 0.93rem; }

/* Social */
.footer-social .social-grid { display:flex; gap:10px; margin-top:8px; }
.social-link {
  display:inline-flex;
  width:44px; height:44px;
  align-items:center; justify-content:center;
  border-radius:10px;
  background: rgba(255,255,255,0.03);
  color: #fff;
  text-decoration:none;
  transition: transform .14s ease, background .14s ease;
}
.social-link svg { width:20px;height:20px; }
.social-link:hover, .social-link:focus {
  transform: translateY(-4px);
  background: linear-gradient(180deg,#183b6c,#0b2a56);
  box-shadow: 0 6px 20px rgba(11,114,255,0.14);
}

/* bottom row */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.03);
  max-width: 1200px;
  margin: 18px auto 0;
  padding-top: 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  color: rgba(230,238,252,0.75);
  font-size: 0.95rem;
}
.footer-legal a { color: rgba(230,238,252,0.6); margin-left:12px; text-decoration:none; }
.footer-legal a:hover { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-news, .footer-social { order: 3; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; text-align:center; gap:18px; }
  .footer-news .news-form { flex-direction: column; }
  .news-form input, .news-form button { width:100%; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
}

/* small utilities */
.visually-hidden { position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }




.analytics {
  background: linear-gradient(145deg, #12122a, #1b1b35);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  color: #fff;
  text-align: center;
  margin: 20px;
}

.analytics h2 {
  color: #00c3ff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

canvas#statsChart {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 0 auto 40px auto;
}

.stats-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.card {
  background: #1c1c2e;
  padding: 20px 30px;
  border-radius: 15px;
  text-align: center;
  width: 180px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,195,255,0.4);
}

.card h3 {
  font-size: 2rem;
  color: #00c3ff;
  margin: 0;
}

.card p {
  color: #aaa;
  font-size: 1rem;
  margin-top: 5px;
}




/*stlinng the inventory page to respond dynamicly>

/* === Inventory Page Grid Styling === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
}

.card {
  background: #1c1c2e;
  color: #fff;
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0,195,255,0.3);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: #00c3ff;
}

.card p {
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.card button {
  background: #00c3ff;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.card button:hover {
  background: #0099cc;
}


/*styling the payment page */

.payment-page {
  max-width: 500px;
  margin: 50px auto;
  background: #1f1f2f;
  color: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.payment-page h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #00bcd4;
}

.payment-form label {
  display: block;
  margin-bottom: 15px;
}

.payment-form input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: none;
  margin-top: 5px;
}

.payment-form button {
  width: 100%;
  padding: 10px;
  background: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.payment-form button:hover {
  background: #0097a7;
}

.summary-card {
  background: #292943;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}



/*styling the finance message display */

.finance-summary {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  gap: 20px;
}

.finance-card {
  flex: 1;
  background: linear-gradient(135deg, #1f1f2f, #292943);
  color: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.finance-card:hover {
  transform: translateY(-5px);
}

.finance-card h3 {
  font-size: 1.2rem;
  color: #00bcd4;
  margin-bottom: 10px;
}

.finance-card p {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

canvas#financeChart {
  max-height: 350px;
  margin: 20px auto;
  display: block;
}



/* styling the profile page in admin dashboard" */


.user-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: yellow;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-table th, .user-table td {
  padding: 10px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.user-table th {
  background: #222;
  color: #fff;
  font-weight: 600;
}

.user-table tr:hover {
  background: #f5f5f5;
}

.admin-role {
  color: #2196f3;
  font-weight: bold;
}

.client-role {
  color: #4caf50;
  font-weight: bold;
}




/*styling the user profile page */


.profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 500px;
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: scale(1.02);
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #2196f3;
}

.profile-info h3 {
  margin: 0;
  font-size: 1.5em;
  color: #222;
}

.profile-info p {
  margin: 5px 0;
  font-size: 1em;
  color: #555;
}



/*client landing page*/



/* ===== CLIENT WELCOME SECTION ===== */
.client-welcome {
  background: linear-gradient(135deg, #0077b6, #0096c7, #00b4d8);
  color: #fff;
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
}

.welcome-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.welcome-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

@media (max-width: 768px){
  .welcome-cards{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
  }
  .card{
    width: 300px;
  }
}

.welcome-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
}


.card {
  width: 300px;
  position: relative;
  background: #023e8a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.card-content button {
  background: #00b4d8;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
}

.card-content button:hover {
  background: #0077b6;
}

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



/*styling the admin booking and reports page buttons */

.filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.filter-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background-color: #1a73e8;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background-color: #0f5dc0;
}
