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

:root {
  --red: #C8102E;
  --red-dark: #9B0A20;
  --red-light: #FFF0F0;
  --red-glow: rgba(200,16,46,0.15);
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration:none; color:inherit; transition: var(--transition); }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }
h1,h2,h3,h4,h5,h6 { line-height:1.3; font-weight:700; color:var(--gray-900); }

.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ========== TOP BAR ========== */
.top-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--gray-400);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar .container { display:flex; justify-content:space-between; align-items:center; }
.top-bar a { color:var(--gray-300); }
.top-bar a:hover { color:var(--white); }
.top-bar-left { display:flex; gap:20px; align-items:center; }
.top-bar-left span { display:flex; align-items:center; gap:6px; }
.top-bar-right { display:flex; gap:16px; }

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--red);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo img { width: 230px!important; width: auto; }
.main-nav { display:flex; gap:4px; }
.main-nav a {
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  position: relative;
  letter-spacing: -0.01em;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
}
.main-nav a::after {
  content:'';
  position:absolute;
  bottom:0; left:50%;
  width:0; height:2px;
  background:var(--red);
  transition: var(--transition);
  transform: translateX(-50%);
}
.main-nav a:hover::after,
.main-nav a.active::after { width:60%; }

.header-cta {
  display:inline-flex; align-items:center; gap:8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color:var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight:600;
  font-size:0.9rem;
  box-shadow: 0 4px 15px var(--red-glow);
  transition: var(--transition);
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200,16,46,0.3);
  color: var(--white);
}

/* Mobile toggle */
.mobile-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  background:none; border:none; padding:8px;
}
.mobile-toggle span {
  width:26px; height:2.5px;
  background:var(--gray-700);
  border-radius:2px;
  transition:var(--transition);
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0f3460 100%);
  color:var(--white);
  padding: 100px 0 80px;
  position:relative;
  overflow:hidden;
}
.hero::before {
  content:''; position:absolute; top:0; right:0;
  width:500px; height:500px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  transform: translate(20%, -30%);
}
.hero::after {
  content:''; position:absolute; bottom:0; left:0;
  width:400px; height:400px;
  background: radial-gradient(circle, rgba(15,52,96,0.3) 0%, transparent 70%);
  transform: translate(-30%, 30%);
}
.hero .container { position:relative; z-index:2; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(200,16,46,0.15);
  border:1px solid rgba(200,16,46,0.3);
  color:var(--red); padding:6px 16px;
  border-radius:50px; font-size:0.82rem;
  font-weight:600; margin-bottom:24px;
  backdrop-filter:blur(10px);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color:var(--white);
  margin-bottom: 20px;
  letter-spacing:-0.03em;
}
.hero h1 span { color:var(--red); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; }
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color:var(--white); padding:14px 32px;
  border-radius:50px; font-weight:700;
  font-size:0.95rem; border:none; cursor:pointer;
  box-shadow: 0 4px 20px var(--red-glow);
  transition: var(--transition);
}
.btn-primary:hover {
  transform:translateY(-3px);
  box-shadow: 0 8px 30px rgba(200,16,46,0.35);
  color:var(--white);
}
.btn-outline {
  display:inline-flex; align-items:center; gap:8px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  color:var(--white); padding:12px 30px;
  border-radius:50px; font-weight:600;
  font-size:0.95rem; cursor:pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.5);
  color:var(--white);
}

/* ========== SECTIONS ========== */
.section { padding: 80px 0; }
.section-header { text-align:center; margin-bottom:48px; }
.section-header .badge {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--red-light); color:var(--red);
  padding:6px 16px; border-radius:50px;
  font-size:0.82rem; font-weight:600; margin-bottom:12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing:-0.02em;
  margin-bottom:12px;
}
.section-header p {
  color:var(--gray-600);
  max-width:600px;
  margin:0 auto;
  font-size:1rem;
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:24px;
}
.product-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
  border:1px solid var(--gray-200);
}
.product-card:hover {
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:var(--red-light);
}
.product-card-img {
  aspect-ratio:1;
  overflow:hidden;
  background:var(--gray-100);
  position:relative;
}
.product-card-img img {
  width:100%; height:100%;
  object-fit:cover;
  transition: var(--transition);
}
.product-card:hover .product-card-img img { transform:scale(1.08); }
.product-card-cat {
  position:absolute; top:12px; left:12px;
  background:var(--red); color:var(--white);
  padding:4px 12px; border-radius:50px;
  font-size:0.72rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.03em;
}
.product-card-body { padding:20px; }
.product-card-body h3 {
  font-size:1.05rem;
  margin-bottom:8px;
  letter-spacing:-0.01em;
}
.product-card-body p {
  color:var(--gray-600);
  font-size:0.88rem;
  margin-bottom:16px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-card-link {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--red); font-weight:600;
  font-size:0.88rem;
}
.product-card-link:hover { gap:10px; }

/* ========== CATEGORY CARDS ========== */
.categories-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(320px,1fr)); gap:24px; }
.cat-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:40px 32px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
  transition:var(--transition);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cat-card::before {
  content:''; position:absolute;
  top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg, var(--red), var(--red-dark));
  opacity:0; transition:var(--transition);
}
.cat-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.cat-card:hover::before { opacity:1; }
.cat-icon {
  width:64px; height:64px;
  background:var(--red-light);
  border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 20px;
  font-size:1.8rem;
}
.cat-card h3 { font-size:1.2rem; margin-bottom:10px; }
.cat-card p { color:var(--gray-600); font-size:0.9rem; margin-bottom:20px; }

/* ========== FEATURES ========== */
.features { background:var(--white); }
.features-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:24px; }
.feature-card {
  padding:32px 24px;
  border-radius:var(--radius-lg);
  border:1px solid var(--gray-200);
  transition:var(--transition);
  text-align:center;
}
.feature-card:hover { border-color:var(--red); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.feature-icon {
  width:56px; height:56px;
  background:var(--red-light);
  border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  font-size:1.5rem;
}
.feature-card h3 { font-size:1rem; margin-bottom:8px; }
.feature-card p { color:var(--gray-600); font-size:0.88rem; }

/* ========== BLOG CARDS ========== */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(340px,1fr)); gap:24px; }
.blog-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
  transition:var(--transition);
}
.blog-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.blog-card-body { padding:24px; }
.blog-card-body h3 { font-size:1.1rem; margin-bottom:10px; }
.blog-card-body p { color:var(--gray-600); font-size:0.88rem; margin-bottom:16px; }
.blog-card-link { color:var(--red); font-weight:600; font-size:0.88rem; display:inline-flex; align-items:center; gap:6px; }
.blog-card-link:hover { gap:10px; }

/* ========== DETAIL PAGE ========== */
.page-hero {
  background:linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding:60px 0 40px;
  color:var(--white);
}
.page-hero h1 { color:var(--white); font-size:clamp(1.6rem,3vw,2.4rem); margin-bottom:10px; }
.breadcrumb { display:flex; gap:8px; font-size:0.88rem; color:rgba(255,255,255,0.6); flex-wrap:wrap; }
.breadcrumb a { color:rgba(255,255,255,0.8); }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb span { color:rgba(255,255,255,0.4); }

.content-area { padding:60px 0; }
.content-layout { display:grid; grid-template-columns:1fr 320px; gap:40px; }
.content-main {}
.content-main h2 { font-size:1.4rem; margin:28px 0 12px; color:var(--red-dark); }
.content-main h3 { font-size:1.15rem; margin:20px 0 10px; }
.content-main p { margin-bottom:16px; color:var(--gray-700); }
.content-main ul { margin:12px 0 20px 20px; }
.content-main ul li { margin-bottom:8px; color:var(--gray-700); position:relative; padding-left:20px; list-style:none; }
.content-main ul li::before { content:'✓'; position:absolute; left:0; color:var(--red); font-weight:700; }

.product-detail-img {
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
  margin-bottom:32px;
}
.product-detail-img img { width:100%; }

/* ========== SIDEBAR ========== */
.sidebar {}
.sidebar-widget {
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
  margin-bottom:24px;
}
.sidebar-widget h3 {
  font-size:1rem; margin-bottom:16px;
  padding-bottom:12px;
  border-bottom:2px solid var(--red-light);
  color:var(--gray-900);
}
.sidebar-widget ul li { margin-bottom:0; }
.sidebar-widget ul li a {
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:var(--radius-sm);
  font-size:0.9rem;
  color:var(--gray-700);
  transition:var(--transition);
}
.sidebar-widget ul li a:hover {
  background:var(--red-light);
  color:var(--red);
}
.sidebar-cta {
  background:linear-gradient(135deg, var(--red), var(--red-dark));
  color:var(--white);
  border:none;
}
.sidebar-cta h3 { color:var(--white); border-bottom-color:rgba(255,255,255,0.2); }
.sidebar-cta p { color:rgba(255,255,255,0.85); font-size:0.9rem; margin-bottom:16px; }
.sidebar-cta a {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--white); color:var(--red);
  padding:10px 24px; border-radius:50px;
  font-weight:600; font-size:0.88rem;
}
.sidebar-cta a:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }

/* ========== CONTACT ========== */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-info-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:32px;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
}
.contact-item { display:flex; gap:16px; margin-bottom:24px; align-items:flex-start; }
.contact-item-icon {
  width:48px; height:48px;
  background:var(--red-light);
  border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; flex-shrink:0;
}
.contact-item h4 { font-size:0.92rem; margin-bottom:4px; }
.contact-item p, .contact-item a { color:var(--gray-600); font-size:0.9rem; }
.contact-item a:hover { color:var(--red); }
.contact-map {
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
}
.contact-map iframe { width:100%; height:100%; min-height:400px; border:0; }

/* ========== CTA SECTION ========== */
.cta-section {
  background:linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0f3460 100%);
  color:var(--white);
  padding:80px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-section::before {
  content:''; position:absolute;
  width:300px; height:300px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  top:-100px; right:-50px;
}
.cta-section h2 { color:var(--white); font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:16px; }
.cta-section p { color:rgba(255,255,255,0.7); max-width:500px; margin:0 auto 32px; }

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(180deg, var(--dark) 0%, #0d1117 100%);
  color:var(--gray-400);
  padding:60px 0 0;
}
.footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-about img { height:44px; margin-bottom:16px; filter: brightness(0) invert(1); }
.footer-about p { font-size:0.88rem; line-height:1.8; margin-bottom:16px; }
.footer-col h4 {
  color:var(--white); font-size:0.95rem;
  margin-bottom:20px;
  position:relative; padding-bottom:10px;
}
.footer-col h4::after {
  content:''; position:absolute;
  bottom:0; left:0;
  width:32px; height:2px;
  background:var(--red);
}
.footer-col ul li a {
  display:block; padding:6px 0;
  font-size:0.88rem;
  color:var(--gray-500);
  transition:var(--transition);
}
.footer-col ul li a:hover { color:var(--white); padding-left:4px; }
.footer-contact-item { display:flex; gap:10px; margin-bottom:12px; font-size:0.88rem; align-items:center; }
.footer-contact-item span:first-child { color:var(--red); }
.footer-bottom {
  padding:20px 0;
  text-align:center;
  font-size:0.82rem;
  color:var(--gray-600);
}

/* ========== RESPONSIVE ========== */
@media (max-width:992px) {
  .content-layout { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .contact-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .top-bar { display:none; }
  .main-nav { display:none; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:var(--white); box-shadow:var(--shadow-lg); padding:16px; z-index:999; border-top:1px solid var(--gray-200); }
  .main-nav.active { display:flex; }
  .main-nav a { padding:12px 16px; border-radius:var(--radius-sm); }
  .main-nav a::after { left:16px; transform:none; }
  .mobile-toggle { display:flex; }
  .header-cta { display:none; }
  .hero { padding:60px 0 50px; }
  .hero h1 { font-size:1.8rem; }
  .hero-actions { flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr; }
  .products-grid { grid-template-columns:repeat(auto-fill, minmax(200px,1fr)); }
  .section { padding:50px 0; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease-out forwards; }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position:fixed; bottom:24px; right:24px;
  width:56px; height:56px;
  background:#25D366;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,0.4);
  z-index:9999;
  transition:var(--transition);
  font-size:1.6rem; color:var(--white);
}
.whatsapp-float:hover {
  transform:scale(1.1);
  box-shadow:0 6px 30px rgba(37,211,102,0.5);
  color:var(--white);
}
