/* Colors & theme */
:root {
    --primary-color: #4a90e2; /* accent color */
    --secondary-color: #6c757d; /* buttons */
    --bg-color: #f8f9fa; /* page background */
}

/* Card hover */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.quantity-group { display: flex; align-items: center; gap: 0.5rem; }
.quantity-group input { width: 70px; text-align: center; }

body { background-color: var(--bg-color); }

:root {
  --primary-color: #4a90e2;    /* Original accent blue */
  --secondary-color: #6c757d;  /* Original button gray */
  --bg-color: #f8f9fa;         /* Original page background */
  --navbar-bg: #212529;        /* Original dark navbar */
  --text-color: #212529;       /* Original dark text */
}
html, body {
  height: 100%;
}
/* Background & text */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  padding-top: 100px
}

/* Navbar and footer background */
.navbar-dark, footer.bg-dark {
  background-color: var(--navbar-bg) !important;
}

/* Navbar brand text */
.navbar-brand {
  color: var(--secondary-color) !important;
  font-weight: 700;
}
footer {
    margin-top: auto;
    width: 100%;
}
.navbar {
  background: linear-gradient(180deg, #5a7b9a 0%, #4a6b8a 100%) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}
.navbar {
    background: linear-gradient(
        to right,
        #1a1a1a 0%,       /* dark edges */
        #212529 15%,      /* main navbar dark */
        #212529 85%,
        #1a1a1a 100%
    );
    box-shadow: inset 0 0 0 1px rgba(255, 165, 130, 0.1), /* faint peachish inner edge */
                0 2px 8px rgba(0,0,0,0.3);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,.02) 2px, rgba(255,255,255,.02) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0,0,0,.02) 2px, rgba(0,0,0,.02) 4px);
  pointer-events: none;
  z-index: 0;
}
.navbar-brand::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    background: rgba(255, 165, 130, 0.05); /* very soft peach glow */
    z-index: -1;
}

/* Make container content appear above texture */
.navbar .container {
  position: relative;
  z-index: 1;
}
.navbar img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.navbar img:hover {
  transform: translateY(-2px);
}

.navbar-brand {
  font-family: 'Georgia', serif;
  color: #f5f5dc !important;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.navbar .ms-auto {
  background: rgba(212, 165, 116, 0.15) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 165, 116, 0.4) !important;
  border-radius: 25px !important;
  padding: 4px 12px !important;
  transition: all 0.3s ease;
}

.navbar .ms-auto:hover {
  background: rgba(212, 165, 116, 0.25) !important;
  border-color: rgba(212, 165, 116, 0.6) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.2);
}

/* Navbar buttons (like Cart) */
.navbar .btn-outline-light {
  border: none !important;
  color: #f5f5dc !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: transparent !important;
}

.navbar .badge.bg-danger {
  background: linear-gradient(135deg, #7a9b6f 0%, #6a8b5f 100%) !important;
  color: white;
  min-width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 2px solid #f5f5dc;
}


.navbar .btn-outline-light:hover {
  background: transparent !important;
  color: #ffffff !important;
}

/* Primary large button (Buy Now) */
.btn-lg {
  background-color: var(--primary-color);
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-lg:hover {
  background-color: #3a78c2; /* Slightly darker blue */
  color: white;
}

/* Secondary buttons (quantity +/-) */
.btn-secondary {
  background-color: var(--secondary-color);
  border: none;
  color: white;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-secondary:hover {
  background-color: #5a6268; /* Darker gray */
  color: white;
}

/* Card hover effect */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(74, 144, 226, 0.25);
  transition: all 0.3s ease;
}

/* Text centering for cards */
.card-title, .card-text {
  color: var(--text-color);
}

.navbar-brand {
  color: #A7F3D0 !important;
  font-weight: 700;
}

.navbar .btn-outline-light {
  border-color: #ffffff;   /* classic white border */
  color: #ffffff;          /* white text */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .btn-outline-light:hover {
  background-color: #ffffff;
  color: #212529; /* dark text on hover for contrast */
}

.btn-lg {
  background-color: #4a90e2;
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-lg:hover {
  background-color: #3a78c2; /* slightly darker blue for hover */
  color: white;
}

.info-row {
  margin-top: 3rem;  /* more space above */
  margin-bottom: 0rem; /* keep some space below */
}

.feature-row p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.feature-row .col-md-4 {
    padding: 0.5rem;
}


.navbar-brand {
  font-family: 'Georgia', serif;
  color: #f5f5dc !important;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  position: relative;
}