/* -------------------------------------------------
   Cleanfinity – Brand colors & type
   ------------------------------------------------- */
:root {
  --color-amber:      #1E88E5; /* primary blue */
  --color-forest:     #1565C0; /* secondary blue */
  --color-white:      #FFFFFF;
  --color-bg:         #FFFFFF; /* white background */
  --color-dark:       #0D47A1; /* dark blue for text */
  --color-muted:      #6B7280;
  --color-border:     #E5E7EB;

  --font-body:        'Inter', sans-serif;
  --font-headings:    'Poppins', sans-serif;
}

/* -------------------------------------------------
   Global reset & basic typography
   ------------------------------------------------- */
*,
*::before,
*::after { box-sizing:border-box; }

html { font-size: 100%; }

body {
  margin:0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height:1.6;
}

/* -------------------------------------------------
   Google Fonts
   ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

/* -------------------------------------------------
   Typography helpers
   ------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--color-forest);
  margin-top:0;
}

h1 { font-size:2.5rem; }
h2 { font-size:2rem; }
h3 { font-size:1.75rem; }
h4 { font-size:1.5rem; }

/* -------------------------------------------------
   Layout helpers
   ------------------------------------------------- */
.container { max-width:1200px; margin:auto; padding:0 1rem; }
.mt-0 {margin-top:0;}
.mt-1 {margin-top:.5rem;}
.mt-2 {margin-top:1rem;}
.mt-3 {margin-top:1.5rem;}
.mt-4 {margin-top:2rem;}
.mb-0 {margin-bottom:0;}
.mb-1 {margin-bottom:.5rem;}
.mb-2 {margin-bottom:1rem;}
.mb-3 {margin-bottom:1.5rem;}
.mb-4 {margin-bottom:2rem;}
.p-2 {padding:.75rem;}
.p-3 {padding:1.25rem;}
.rounded {border-radius:.5rem;}
.shadow-sm {box-shadow:0 .125rem .25rem rgba(0,0,0,.075);}
.text-center {text-align:center;}
.text-muted {color:var(--color-muted);}

/* -------------------------------------------------
   Navbar
   ------------------------------------------------- */
.cf-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .85rem 1rem;
  box-shadow: 0 2px 20px rgba(21,101,192,.10);
  border-bottom: 1px solid rgba(21,101,192,.08);
  transition: background .3s;
}
.cf-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}
.cf-brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  box-shadow: 0 4px 12px rgba(30,136,229,.35);
}
.cf-brand-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #1E88E5, #0D47A1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cf-nav-link {
  color: #1a1a2e !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .45rem .75rem !important;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.cf-nav-link:hover {
  color: #1E88E5 !important;
  background: rgba(30,136,229,.07);
}
.cf-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(30,136,229,.35);
  transition: transform .2s, box-shadow .2s;
}
.cf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,136,229,.45);
  color: #fff !important;
}
.cf-btn-outline {
  display: inline-block;
  border: 2px solid #1E88E5;
  color: #1E88E5 !important;
  font-weight: 600;
  font-size: .9rem;
  padding: .4rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.cf-btn-outline:hover {
  background: #1E88E5;
  color: #fff !important;
}
/* legacy aliases */
.navbar { background: var(--color-white); padding:.75rem 1rem; border-bottom:1px solid var(--color-border); }
.navbar .navbar-brand {font-weight:600; color:var(--color-forest);}
.navbar .nav-link {color:var(--color-dark); margin-right:1rem;}
.navbar .nav-link:hover {color:var(--color-amber);}
.navbar .btn-primary-clean {margin-left:.5rem;}


/* -------------------------------------------------
   Buttons – brand variations
   ------------------------------------------------- */
.btn-primary-clean,
.btn-primary-clean:focus {
  background:var(--color-amber);
  border-color:var(--color-amber);
  color:#fff;
}
.btn-primary-clean:hover {background:#d97706; border-color:#d97706;}

.btn-secondary-clean,
.btn-secondary-clean:focus {
  background:var(--color-forest);
  border-color:var(--color-forest);
  color:#fff;
}
.btn-secondary-clean:hover {background:#0f4220; border-color:#0f4220;}

.btn-outline-clean {
  background:transparent;
  border:1px solid var(--color-amber);
  color:var(--color-amber);
}
.btn-outline-clean:hover {
  background:var(--color-amber);
  color:#fff;
}

/* -------------------------------------------------
   Forms
   ------------------------------------------------- */
.form-control {
  border:1px solid var(--color-border);
  border-radius:.5rem;
}
.form-control:focus {
  border-color:var(--color-amber);
  box-shadow:0 0 .25rem rgba(245,158,11,.5);
}

/* -------------------------------------------------
   Cards
   ------------------------------------------------- */
.card {
  background:var(--color-white);
  border:1px solid var(--color-border);
  border-radius:.5rem;
  padding:1.25rem;
  transition:transform .2s, box-shadow .2s;
}
.card:hover {
  transform:translateY(-2px);
  box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}

/* -------------------------------------------------
   Service cards (homepage)
   ------------------------------------------------- */
.service-card {min-height:260px;}
.service-card .price {font-weight:600; color:var(--color-amber);}

/* -------------------------------------------------
   Badges / status
   ------------------------------------------------- */
.badge-status {
  font-size:.75rem;
  font-weight:600;
  padding:.35em .55em;
  border-radius:.25rem;
}
.badge-pending  {background:#FDE68A; color:#92400E;}
.badge-confirmed{background:#86EFAC; color:#166534;}
.badge-completed{background:#6EE7B7; color:#115E59;}
.badge-cancelled{background:#D1D5DB; color:#374151;}

/* -------------------------------------------------
   Tables
   ------------------------------------------------- */
.table-wrapper {
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:.5rem;
  overflow:hidden;
}
.table thead {
  background:var(--color-forest);
  color:#fff;
}
.table th, .table td {
  vertical-align:middle;
  padding:.75rem;
}
.table tbody tr:nth-child(even) {background:#F9FAFB;}

/* -------------------------------------------------
   Footer – premium blue
   ------------------------------------------------- */
.cf-footer {
  background: linear-gradient(160deg, #0D47A1 0%, #1565C0 50%, #1E88E5 100%);
  color: #fff;
  padding-top: 0;
  position: relative;
  font-family: var(--font-body);
}

/* SVG wave at the top of the footer */
.cf-footer-wave {
  line-height: 0;
  margin-bottom: -2px;
}
.cf-footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Brand logo inside footer */
.cf-footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.cf-footer-brand-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
  backdrop-filter: blur(6px);
}
.cf-footer-brand-name {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -.01em;
}
.cf-footer-desc {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 320px;
}

/* Social buttons */
.cf-footer-socials { display: flex; gap: .6rem; }
.cf-social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.cf-social-btn:hover {
  background: rgba(255,255,255,.28);
  color: #fff;
  transform: translateY(-3px);
}

/* Column headings */
.cf-footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .5rem;
}
.cf-footer-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
}

/* Link lists */
.cf-footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.cf-footer-links li { margin-bottom: .55rem; }
.cf-footer-links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s, padding-left .2s;
  display: flex; align-items: center; gap: .4rem;
}
.cf-footer-links a i {
  font-size: .6rem;
  opacity: .6;
  transition: opacity .2s;
}
.cf-footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}
.cf-footer-links a:hover i { opacity: 1; }

/* Contact list */
.cf-footer-contact {
  list-style: none;
  padding: 0; margin: 0;
}
.cf-footer-contact li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .85rem;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  line-height: 1.5;
}
.cf-contact-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #fff;
}

/* Bottom bar */
.cf-footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 1rem 0;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: 1rem;
}
.cf-footer-bottom p { color: rgba(255,255,255,.7); }
.cf-footer-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 500;
}


/* -------------------------------------------------
   Sidebar (admin)
   ------------------------------------------------- */
.sidebar {
  background:var(--color-forest);
  min-height:100vh;
  color:#fff;
  padding:1.5rem 1rem;
}
.sidebar a {
  display:block;
  color:#fff;
  padding:.5rem 0;
  text-decoration:none;
}
.sidebar a:hover {color:var(--color-amber);}

/* -------------------------------------------------
   Responsive utilities
   ------------------------------------------------- */
/* Hero Section */
.btn-book-now {
        background: linear-gradient(45deg, var(--color-amber), var(--color-forest));
        border: none;
        border-radius: 25px;
        padding: 8px 20px;
        color: var(--color-white);
        font-weight: 600;
        transition: all 0.3s ease;
    }
.hero-section {
    background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-forest) 100%);
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 120px 0;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 136, 229, 0.8);
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Responsive utilities */
@media (max-width:768px) {
  .navbar .nav-link {margin-right:0; display:block;}
  .hero-section .row {flex-direction:column-reverse;}
  .brand-panel {text-align:center;}
}
