@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");
/* Variables */
:root {
  --max-width: 1500px;
  --accent: #1e1e1e;
  --accent-dark: #878787;
  --muted: #878787;
  --bg: #161616;
  --card-bg: #1e1e1e;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  --gap: 1rem;
  --fw-regular: 400;
  --fw-semibold: 600;
}

/* Reset */
* {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Merriweather", sans-serif;
  color: #fff;
  background: #000;
  line-height: 1.45;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}
.brand .logo {
  width: 10%;
  height: 10%;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  padding: 0.45rem 0.6rem;
  text-decoration: none;
}
.main-nav a:hover {
  color: var(--muted);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* Buttons */
.btn {
  display: inline-block;
  border: 0;
  padding: 1rem 1rem;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
}
.btn.primary:hover {
  background: var(--accent-dark);
}

/* Contact Section */
.contact-section {
  background: #000;
  padding: 3rem 1rem;
  text-align: center;
}
.contact-section h1 {
  max-width: var(--max-width);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.contact-section hr {
  border: 1px solid #fff;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
}

/* Shopping Cart Styles */
.cart-section {
  background: var(--card-bg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}
.cart-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-items {
  min-height: 60px;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--muted);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}
.cart-item-details span {
  color: var(--muted);
  font-size: 0.9rem;
}
.cart-item-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.remove-item {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.remove-item:hover {
  color: #fff;
}
.empty-cart {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin: 1rem 0;
}

/* Service Categories */
.service-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.category-btn {
  background: var(--card-bg);
  border: 1px solid var(--muted);
  color: #fff;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.category-btn:hover,
.category-btn.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.service-card {
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-image {
  height: 200px;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-image img {
  transform: scale(1.05);
}
.service-content {
  padding: 1.5rem;
}
.service-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.service-content p {
  margin-bottom: 1rem;
  color: var(--muted);
}
.service-features {
  margin: 1rem 0;
  padding-left: 1.25rem;
}
.service-features li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.service-notes {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  margin: 1rem 0;
}
.service-notes p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.service-notes p:last-child {
  margin-bottom: 0;
}
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}
.service-price {
  display: flex;
  flex-direction: column;
}
.price {
  font-size: 1.5rem;
  font-weight: bold;
}
.old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 1rem;
  margin-left: 0.5rem;
}
.duration {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid #444;
  background: #000;
  color: #fff;
  font-family: inherit;
}
.contact-form button {
  padding: 1rem;
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
}
.contact-form button:hover {
  background: var(--accent-dark);
}

/* Footer */
.site-footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
hr {
  max-width: var(--max-width);
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--muted);
}
.footer-social {
  margin: 1rem 0;
}
.footer-social a {
  margin: 0 0.5rem;
  font-size: 1.3rem;
  display: inline-block;
}
.footer-bottom {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Mobile Navigation */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: #161616;
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid #333;
}
.mobile-menu-panel.active {
  right: 0;
}
.mobile-menu-header {
  padding: 2rem;
  border-bottom: 1px solid #333;
  text-align: center;
}
.mobile-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.mobile-menu-subtitle {
  font-size: 1rem;
  color: #878787;
  margin: 0.5rem 0 0 0;
}
.mobile-menu-content {
  padding: 2rem;
}
.mobile-menu-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #878787;
  margin-bottom: 2rem;
  text-align: center;
}
.mobile-menu-divider {
  border: none;
  height: 1px;
  background: #333;
  margin: 2rem 0;
}
.mobile-menu-nav {
  margin-bottom: 2rem;
}
.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-nav li {
  margin-bottom: 0.5rem;
}
.mobile-menu-nav a {
  display: block;
  padding: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  background: #1e1e1e;
  border-color: #333;
}
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.mobile-menu-btn-primary {
  background: #1e1e1e;
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
  text-decoration: none;
}
.mobile-menu-btn-primary:hover {
  background: #878787;
}
.mobile-menu-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #333;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}
.mobile-menu-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #1e1e1e;
}
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Cart Popup Styles */
.cart-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}
.cart-popup-overlay.active {
  display: flex;
}
.cart-popup {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.cart-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 1rem;
}
.cart-popup-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
}
.cart-popup-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-popup-close:hover {
  color: #fff;
}
.cart-popup-items {
  margin-bottom: 1.5rem;
}
.cart-popup-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}
.cart-popup-item:last-child {
  border-bottom: none;
}
.cart-popup-item-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #fff;
}
.cart-popup-item-details span {
  color: var(--muted);
  font-size: 0.9rem;
}
.cart-popup-item-price {
  color: #fff;
  font-weight: bold;
}
.cart-popup-summary {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.cart-popup-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}
.cart-popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.cart-popup-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-popup-btn.primary {
  background: #4caf50;
  color: white;
}
.cart-popup-btn.primary:hover {
  background: #45a049;
}
.cart-popup-btn.secondary {
  background: var(--accent);
  color: white;
}
.cart-popup-btn.secondary:hover {
  background: var(--accent-dark);
}

/* Make BOOK buttons more visible */
.add-to-cart {
  background: #4caf50 !important;
  color: white !important;
  border: 2px solid #45a049 !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
}
.add-to-cart:hover {
  background: #45a049 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

/* Make View Cart button more prominent */
#view-cart-btn {
  background: #2196f3 !important;
  border: 2px solid #1976d2 !important;
  font-weight: bold !important;
}
#view-cart-btn:hover {
  background: #1976d2 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Empty cart state for popup */
.cart-popup-empty {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}
.cart-popup-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .brand .logo {
    width: 25%;
    height: 25%;
  }
  .header-inner {
    gap: 0.5rem;
  }
  .cart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .cart-summary {
    width: 100%;
    justify-content: space-between;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .service-footer .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .brand .logo {
    width: 25%;
    height: 25%;
  }
  .main-nav ul {
    display: none !important;
  }
  .mobile-menu-btn {
    display: block;
  }
  .service-categories {
    flex-direction: column;
    align-items: center;
  }
  .category-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
