/* Modern Site CSS - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --red: #e74c3c;
  --red-dark: #c0392b;
  --red-light: #fdf0ef;
  --dark: #1a1a2e;
  --text: #444;
  --muted: #888;
  --border: #eee;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  padding: 0; margin: 0;
}

/* ── TOP BAR ── */
.navbar-top-bar {
  background: var(--dark);
  padding: .35rem 0;
  font-size: .78rem;
}
.navbar-top-bar a { color: #ccc; text-decoration: none; margin-left: 1rem; transition: color .2s; }
.navbar-top-bar a:hover { color: #fff; }
.navbar-top-bar .whatsapp { color: #25d366 !important; }
.btn-topbar {
  background: var(--red); color: #fff !important; border-radius: 5px;
  padding: .2rem .75rem !important; font-size: .75rem; font-weight: 600; margin-left: .5rem;
}
.btn-topbar:hover { background: var(--red-dark) !important; }

/* ── NAVBAR ── */
.navbar-modern {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}
.navbar-modern .navbar-brand img { height: 52px; }
.navbar-modern .nav-link {
  font-weight: 600; font-size: .82rem; letter-spacing: .04em;
  color: var(--dark) !important; padding: 1.4rem .75rem !important;
  text-transform: uppercase; transition: color .2s;
}
.navbar-modern .nav-link:hover,
.navbar-modern .nav-link.active { color: var(--red) !important; }
.dropdown-menu { border: none; box-shadow: 0 8px 30px rgba(0,0,0,.12); border-radius: 10px; padding: .5rem; }
.dropdown-item { font-size: .85rem; font-weight: 500; border-radius: 6px; padding: .5rem .9rem; }
.dropdown-item:hover { background: var(--red-light); color: var(--red); }
.navbar-toggler { border: none; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }

.navbar-search-wrap { position: relative; }
.navbar-search-wrap input {
  border: 1.5px solid #e0e0e0; border-radius: 20px;
  padding: .35rem 2.2rem .35rem .9rem; font-size: .82rem;
  font-family: 'Poppins', sans-serif; width: 220px; transition: border .2s; outline: none;
}
.navbar-search-wrap input:focus { border-color: var(--red); }
.navbar-search-wrap button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); cursor: pointer; font-size: .85rem;
}

/* ── PAGE HERO BANNER ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 60%, var(--red) 100%);
  padding: 50px 0 45px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin: 0 0 .4rem; line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; }
.breadcrumb-modern { display: flex; gap: .4rem; align-items: center; margin-bottom: .75rem; }
.breadcrumb-modern a { color: rgba(255,255,255,.65); font-size: .78rem; text-decoration: none; }
.breadcrumb-modern a:hover { color: #fff; }
.breadcrumb-modern span { color: rgba(255,255,255,.4); font-size: .78rem; }

/* ── MAIN CONTENT ── */
.page-content { padding: 50px 0; }

/* ── UTILITIES ── */
.btn-primary-custom {
  background: var(--red); color: #fff; border: none; border-radius: 8px;
  padding: .6rem 1.5rem; font-weight: 600; font-size: .85rem;
  transition: all .2s; text-decoration: none; display: inline-block;
}
.btn-primary-custom:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }

.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.section-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin: 0; }
.section-header h2 span, .section-title-red { color: var(--red); }
.section-header a { font-size: .82rem; font-weight: 600; color: var(--red); text-decoration: none; }
.section-header a:hover { text-decoration: underline; }

/* ── BLOG CARDS ── */
.blog-card {
  background: #fff; border-radius: 14px; border: 1.5px solid var(--border);
  overflow: hidden; transition: all .25s; height: 100%; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-3px); border-color: transparent; }
.blog-card img { width: 100%; height: 160px; object-fit: cover; }
.blog-card-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-size: .72rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.blog-card-body h6 { font-weight: 700; font-size: .88rem; color: var(--dark); line-height: 1.5; margin-bottom: .5rem; flex: 1; }
.blog-card-body p { font-size: .78rem; color: var(--muted); line-height: 1.6; margin: 0; }
.blog-card-body a { text-decoration: none; color: inherit; }
.blog-card-body a:hover h6 { color: var(--red); }

/* ── CONTACT INFO BOX ── */
.info-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  padding: 1.75rem; height: 100%;
}
.info-card h5 { font-weight: 700; color: var(--dark); font-size: 1rem; margin-bottom: 1rem; border-bottom: 2px solid var(--red-light); padding-bottom: .6rem; }
.info-card p { font-size: .88rem; line-height: 1.8; color: var(--text); margin: 0; }
.info-card a { color: var(--red); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* ── PRODUCT CARDS ── */
.product-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: all .25s; height: 100%; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-4px); border-color: transparent; }
.product-card img { width: 100%; display: block; object-fit: contain; }
.product-card-body { padding: 1rem; display: flex; gap: .5rem; }
.btn-buy {
  background: var(--red); color: #fff; border: none; border-radius: 7px;
  padding: .5rem 1rem; font-size: .8rem; font-weight: 600; cursor: pointer;
  flex: 1; transition: background .2s;
}
.btn-buy:hover { background: var(--red-dark); }
.btn-detail { background: #f8f9fa; color: var(--dark); border: 1.5px solid var(--border); border-radius: 7px; padding: .5rem 1rem; font-size: .8rem; font-weight: 600; text-decoration: none; flex: 1; text-align: center; transition: all .2s; }
.btn-detail:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.product-section-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); padding: .75rem 0 .5rem; border-bottom: 2px solid var(--red-light); margin-bottom: 1.5rem; }
.product-section-title span { color: var(--red); }

/* ── ABOUT TEXT ── */
.about-content { font-size: .9rem; line-height: 1.9; color: var(--text); }
.about-content strong { color: var(--dark); }

/* ── VIDEO CARDS ── */
.video-card { margin-bottom: 2rem; }
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #111; }
.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 12px;
}
.video-card h5 { font-weight: 700; font-size: .95rem; color: var(--dark); margin: .75rem 0 .2rem; }
.video-card p { font-size: .82rem; color: var(--muted); margin: 0; }

/* ── FAQ ACCORDION ── */
.faq-accordion .accordion-item {
  border: 1.5px solid var(--border); border-radius: 12px !important;
  margin-bottom: .75rem; overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600; font-size: .9rem; color: var(--dark);
  background: #fff; padding: 1rem 1.25rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--red); background: var(--red-light); box-shadow: none;
}
.faq-accordion .accordion-button::after { filter: none; }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: none; }
.faq-accordion .accordion-body { font-size: .88rem; color: var(--text); line-height: 1.8; padding: 1rem 1.25rem; }

/* ── GALLERY ── */
.gallery-grid .gallery-item {
  position: relative; border-radius: 10px; overflow: hidden;
  margin-bottom: 1rem; cursor: pointer; transition: transform .25s;
}
.gallery-grid .gallery-item:hover { transform: scale(1.02); }
.gallery-grid .gallery-item img { width: 100%; display: block; border-radius: 10px; }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(231,76,60,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s; border-radius: 10px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.5rem; color: #fff; }

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9);
  z-index: 9999; align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: #fff; cursor: pointer; line-height: 1;
  background: rgba(255,255,255,.15); border: none; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 2rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ── DERS KART ── */
.ders-kart-modern {
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: all .25s; text-decoration: none; display: block; color: var(--text);
  height: 100%;
}
.ders-kart-modern:hover { box-shadow: 0 8px 30px rgba(231,76,60,.15); transform: translateY(-4px); border-color: var(--red); color: var(--red); }
.ders-kart-modern img { width: 100%; height: 140px; object-fit: cover; }
.ders-kart-modern .dk-placeholder { width: 100%; height: 140px; background: var(--red-light); display: flex; align-items: center; justify-content: center; }
.ders-kart-modern .dk-placeholder i { font-size: 2rem; color: var(--red); opacity: .5; }
.ders-kart-modern .dk-body { padding: .85rem; }
.ders-kart-modern h6 { font-weight: 700; font-size: .88rem; margin: 0 0 .2rem; color: inherit; }
.ders-kart-modern small { font-size: .72rem; color: var(--muted); }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 50px 0 0;
}
footer.site-footer h5 { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 1.2rem; }
footer.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .84rem; transition: color .2s; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
footer.site-footer ul li i { color: var(--red); font-size: .7rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; margin-top: 2.5rem; font-size: .78rem; text-align: center; color: rgba(255,255,255,.4); }
.social-icons-modern { display: flex; gap: .6rem; margin-top: .75rem; }
.social-icons-modern a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all .2s; color: rgba(255,255,255,.7) !important;
}
.social-icons-modern a:hover { background: var(--red); color: #fff !important; }
.payment-icons img { height: 26px; margin-right: .45rem; background: #fff; padding: 3px 6px; border-radius: 5px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }

@media (max-width: 767px) {
  .navbar-search-wrap { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
