@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette — derived from Nepzio logo */
  --primary:          #0c78a8;   /* Blue-teal  — the N shape */
  --primary-dark:     #004a68;   /* Deep teal  — dark surfaces, footer, top bar */
  --primary-light:    #e0f2fa;   /* Light teal — hover backgrounds, tints */
  --secondary:        #f08c18;   /* Orange     — flame accent, CTAs, prices */
  --secondary-dark:   #c96e0a;   /* Dark orange — hover/active secondary */
  --tertiary:         #00afa8;   /* Bright aqua — highlight accents */
  --tertiary-light:   #e0f5f4;   /* Light aqua  — subtle backgrounds */
  --accent:           #ff4757;   /* Red         — error states, badges */

  --text-main: #1e293b;
  --text-muted: #595f68;
  --bg-main: #f8fafc;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header Glassmorphism */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: var(--primary) !important;
}

.top-address {
    padding: 8px 0;
    font-size: 0.85rem;
    background: var(--primary);
    color: var(--white);
}

.top-address a {
    color: var(--white);
}

.top-address a:hover {
    color: var(--secondary);
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted) !important;
    transition: var(--transition);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Custom Search */
.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-container input {
    width: 100%;
    padding: 10px 45px 10px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    background: var(--white);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 120, 168, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card .img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f8fafc;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-card .content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
}

.product-card .old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Buttons */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--primary-light);
    padding: 60px 0 20px;
}

footer h4,
footer h5 {
    color: var(--white);
    margin-bottom: 20px;
}

footer a {
    color: var(--primary-light);
    margin-bottom: 10px;
    display: block;
}

footer a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

footer .navbar-brand {
    color: var(--white) !important;
}

footer .text-muted {
    color: var(--primary-light) !important;
}

/* Utilities */
.section-padding {
    padding: 60px 0;
}

.modern-shadow {
    box-shadow: var(--shadow-md);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
        margin: 15px 0;
    }
}
