/* ---------- RESET ---------- */
* {margin:0; padding:0; box-sizing:border-box; font-family:Arial,sans-serif;}
body {background:#f4f4f4; color:#333; line-height:1.6;}
a {text-decoration:none; color:inherit;}
button {cursor:pointer;}

/* ---------- HEADER ---------- */
.site-header {
  display:flex; justify-content:space-between; align-items:center;
  padding:16px 32px; background:#1e88e5; color:#fff; position:sticky; top:0; z-index:1000;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em;
  font-weight: bold;
}

.brand .logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}


.brand {font-size:1.8rem; font-weight:bold;}
.brand span {color:#ffc107;}
.main-nav a {margin:0 12px; color:#fff; font-weight:500;}
.header-actions button {margin-left:8px; padding:6px 12px; border:none; border-radius:6px; background:#ffc107; color:#333; font-weight:bold;}

/* ---------- HERO ---------- */
.hero {background:#1976d2; color:#fff; text-align:center; padding:100px 16px;}
.hero h1 {font-size:2.5rem; margin-bottom:16px;}
.hero p {font-size:1.2rem; margin-bottom:24px;}
.hero-cta .btn, .hero-cta .btn-outline {padding:12px 24px; border-radius:6px; margin:0 8px; font-weight:bold;}
.hero-cta .btn {background:#ffc107; color:#333; border:none;}
.hero-cta .btn-outline {background:none; border:2px solid #ffc107; color:#ffc107;}
.hero-cta .btn-call {
  background: #ffc107;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  margin: 0 8px;
  font-weight: bold;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.hero-cta .btn-call:hover {
  background: #43a047;
}



/* ---------- SECTIONS ---------- */
.section {padding:60px 16px; max-width:1200px; margin:0 auto;}
.section-header {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-bottom:32px;}
.section-header p {font-size:2rem; margin-bottom:8px;}
.subheading {margin:16px 0; font-size:1.4rem; color:#555;}

/* ---------- GRID CARDS ---------- */
.grid {display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:24px;}
.service-card, .product-card {background:#fff; border-radius:10px; padding:16px; box-shadow:0 4px 8px rgba(0,0,0,0.1); text-align:center; transition:transform 0.2s;}
.service-card:hover, .product-card:hover {transform:translateY(-6px);}
.service-card img, .product-card img {width:100%; height:150px; object-fit:cover; border-radius:8px; margin-bottom:12px;}
.service-card h4, .product-card h4 {margin-bottom:8px;}
.service-card p, .product-card .price {font-weight:bold; color:#1e88e5; margin-bottom:12px;}
.service-card button, .product-card button {padding:8px 16px; border:none; border-radius:6px; background:#ffc107; color:#333; font-weight:bold;}

/* ---------- SEARCH BAR SIZE INCREASE ---------- */
#serviceSearch,
#productSearch {
  width: 300px;        /* Increase width */
  height: 45px;        /* Increase height */
  font-size: 1.1rem;   /* Make text bigger */
  padding: 8px 14px;   /* Add spacing inside */
  border-radius: 8px;  /* Smooth corners */
  border: 1px solid #ccc;
  background-color: #b6becd;
  outline: none;
  transition: all 0.2s ease-in-out;
}

#serviceSearch:focus,
#productSearch:focus {
  border-color: #1e88e5;  /* Highlight on focus */
  box-shadow: 0 0 6px rgba(30, 136, 229, 0.4);
}


/* ---------- MODALS ---------- */
.modal {position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); display:none; justify-content:center; align-items:center; z-index:2000;}
.modal-card {background:#fff; padding:24px; border-radius:10px; width:90%; max-width:400px; text-align:center;}
.modal-card input, .modal-card textarea {width:100%; padding:10px; margin:8px 0; border-radius:6px; border:1px solid #ccc;}
.modal-actions {display:flex; justify-content:center; gap:12px; margin-top:16px;}
.modal-actions .btn {background:#1e88e5; color:#fff;}
.modal-actions .btn-outline {background:#fff; border:2px solid #1e88e5; color:#1e88e5;}

/* ---------- CART PANEL ---------- */
.cart-panel {position:fixed; top:0; right:0; width:300px; height:100%; background:#fff; box-shadow:-4px 0 12px rgba(0,0,0,0.2); padding:16px; display:none; z-index:1500; overflow-y:auto;}
.cart-panel h3 {margin-bottom:16px;}
.cart-panel ul {list-style:none; margin-bottom:16px;}
.cart-panel ul li {display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid #ddd;}
.cart-total {font-weight:bold; font-size:1.2rem; margin-bottom:16px;}
.cart-panel button {width:100%; padding:10px; border-radius:6px; border:none; margin-bottom:8px;}
.cart-panel button:first-of-type {background:#1e88e5; color:#fff;}
.cart-panel button:last-of-type {background:#fff; border:2px solid #1e88e5; color:#1e88e5;}

/* ---------- ADMIN PANEL ---------- */
.admin-panel {position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); display:none; justify-content:center; align-items:flex-start; padding-top:50px; z-index:3000;}
.admin-card {background:#fff; width:90%; max-width:800px; border-radius:10px; padding:24px;}
.admin-top {display:flex; justify-content:space-between; align-items:center; margin-bottom:16px;}
.admin-tabs {display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap;}
.tab-btn {padding:8px 16px; border:none; border-radius:6px; background:#eee;}
.tab-btn.active {background:#1e88e5; color:#fff;}
.admin-tab {display:none;}
.admin-tab.active {display:block;}
.admin-list {max-height:300px; overflow-y:auto;}
.admin-item {padding:8px; border-bottom:1px solid #ddd; display:flex; justify-content:space-between; align-items:center;}
.admin-item button {background:#e53935; color:#fff; border:none; padding:4px 8px; border-radius:6px;}

/* ---------- FOOTER ---------- */
.footer {background:#1e88e5; color:#fff; padding:24px 16px; margin-top:50px;}
.footer-inner {max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap;}
.footer h4 {margin-bottom:8px;}
.footer p {margin-bottom:0;}

/* ---------- RESPONSIVE ---------- */
@media(max-width:768px){
  .section-header {flex-direction:column; align-items:flex-start;}
  .hero h1 {font-size:2rem;}
  .hero p {font-size:1rem;}
}

/* ---------- FULL RESPONSIVENESS ---------- */

/* Large Tablets (<=1024px) */
@media (max-width: 1024px) {
  .site-header {
    flex-wrap: wrap;
    padding: 12px 24px;
  }
  .main-nav a {
    margin: 6px 8px;
  }
  .section {
    padding: 50px 20px;
  }
  .hero {
    padding: 80px 20px;
  }
  #serviceSearch,
  #productSearch {
    width: 80%;
    font-size: 1rem;
  }
}

/* Tablets (<=768px) */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .main-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
  }

  .header-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .hero {
    padding: 60px 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

#serviceSearch,
  #productSearch {
    width: 100%;
    font-size: 1rem;
    height: 42px;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .modal-card {
    max-width: 90%;
  }

  .cart-panel {
    width: 80%;
  }

  .admin-card {
    width: 95%;
  }
}

/* Phones (<=480px) */
@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .brand .logo {
    width: 40px;
    height: 40px;
  }

  .main-nav a {
    display: block;
    margin: 6px;
    text-align: center;
  }

  .header-actions button {
    width: 100%;
    margin: 6px 0;
  }

  .hero {
    padding: 40px 10px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-cta .btn,
  .hero-cta .btn-outline,
  .hero-cta .btn-call {
    display: block;
    width: 100%;
    margin: 8px 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card img,
  .product-card img {
    height: 140px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .cart-panel {
    width: 100%;
  }

  .admin-card {
    padding: 16px;
  }

  #serviceSearch,
  #productSearch {
    width: 100%;
    font-size: 0.95rem;
    height: 40px;
  }
}

/* Ultra Small Phones (<=360px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .section-header h2 {
    font-size: 1.4rem;
  }
  .service-card h4,
  .product-card h4 {
    font-size: 1rem;
  }
  .section-header p{
    font-size: 33px;
    font-weight: 650;
  }
  .shopping{
    font-size: 33px;
    font-weight: 650;
  }
}

