/* ============================================================================
   TECE DEKOR BULGARIA — STYLES
   Design/behaviour only. For text content, edit js/content.js instead.
   ============================================================================ */

:root{
  --c-red: #c8102e;
  --c-red-dark: #9c0c23;
  --c-navy: #10151f;
  --c-navy-2: #1a2233;
  --c-ink: #1c2230;
  --c-ink-soft: #4a5468;
  --c-bg: #ffffff;
  --c-bg-alt: #f4f5f8;
  --c-border: #e4e6ec;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16,21,31,0.08);
  --max-w: 1180px;
  --font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font);
  color:var(--c-ink);
  background:var(--c-bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.25;font-weight:700;}
p{margin:0 0 1em;}
.container{max-width:var(--max-w);margin:0 auto;padding:0 24px;}

/* ---------------- HEADER ---------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--c-border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo{display:flex;align-items:center;gap:10px;}
.logo-img{height:42px;width:auto;display:block;}
.logo-mark{
  width:38px;height:38px;border-radius:8px;
  background:var(--c-red); color:#fff; font-weight:800; font-size:20px;
  display:flex;align-items:center;justify-content:center;
  flex:none;
}
.logo-text{display:flex;flex-direction:column;line-height:1;}
.logo-line1{font-weight:800;font-size:17px;letter-spacing:1px;color:var(--c-navy);}
.logo-line2{font-weight:600;font-size:11px;letter-spacing:3px;color:var(--c-red);}
.footer-logo .logo-line1{color:#fff;}

.main-nav{display:flex;align-items:center;gap:6px;}
.main-nav a{
  padding:10px 14px;border-radius:6px;font-weight:600;font-size:14.5px;
  color:var(--c-ink-soft); transition:.15s;
}
.main-nav a:hover{color:var(--c-navy); background:var(--c-bg-alt);}
.main-nav a.active{color:var(--c-red);}
.main-nav a.nav-cta{
  background:var(--c-red); color:#fff; margin-left:6px;
}
.main-nav a.nav-cta:hover{background:var(--c-red-dark); color:#fff;}

.header-actions{display:flex;align-items:center;gap:14px;}
.lang-switch{display:flex; border:1px solid var(--c-border); border-radius:20px; overflow:hidden;}
.lang-switch button{
  border:none; background:transparent; padding:6px 13px; font-size:12.5px;
  font-weight:700; cursor:pointer; color:var(--c-ink-soft); letter-spacing:.5px;
}
.lang-switch button.active{background:var(--c-navy); color:#fff;}

.menu-toggle{
  display:none; flex-direction:column; justify-content:center; gap:4px;
  width:36px;height:36px; background:none; border:none; cursor:pointer;
}
.menu-toggle span{display:block;height:2px;background:var(--c-navy);border-radius:2px;}

/* ---------------- HERO / SLIDER ---------------- */
.hero-slider{position:relative; overflow:hidden; background:var(--c-navy); color:#fff;}
.hero-slide{
  display:none; align-items:center; min-height:480px;
  position:relative;
}
.hero-slide.active{display:flex;}
.hero-slide-bg{position:absolute; inset:0; z-index:0;}
.hero-slide-bg img{width:100%;height:100%;object-fit:cover;opacity:.5;}
.hero-slide::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(16,21,31,.92) 10%, rgba(16,21,31,.6) 60%, rgba(16,21,31,.3) 100%);
  z-index:0;
}
.hero-slide-inner{max-width:var(--max-w); margin:0 auto; padding:70px 24px; position:relative; z-index:1; width:100%;}
.hero-slide-text{max-width:600px;}
.hero-slide-text h1{font-size:clamp(28px,4vw,44px); margin-bottom:.35em;}
.hero-slide-text p{font-size:17px; color:#dde1ea; margin-bottom:1.4em;}

.hero-dots{display:flex; gap:8px; position:absolute; bottom:22px; left:50%; transform:translateX(-50%); z-index:2;}
.hero-dots button{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.4);cursor:pointer;padding:0;}
.hero-dots button.active{background:#fff;}

.btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--c-red); color:#fff; font-weight:700; font-size:14.5px;
  padding:12px 22px; border-radius:6px; border:none; cursor:pointer;
  transition:.15s;
}
.btn:hover{background:var(--c-red-dark);}
.btn-outline{background:transparent; border:1.5px solid rgba(255,255,255,.6); color:#fff;}
.btn-outline:hover{background:rgba(255,255,255,.12);}
.btn-dark{background:var(--c-navy);}
.btn-dark:hover{background:#000;}

/* ---------------- GENERIC PAGE SECTIONS ---------------- */
.page-hero{
  background:linear-gradient(120deg, var(--c-navy), var(--c-navy-2));
  color:#fff; padding:64px 0 56px;
}
.page-hero h1{font-size:clamp(28px,4vw,40px);}
.page-hero p{font-size:17px; color:#c9cedb; max-width:680px;}
.crumb{font-size:13px; color:#8f97ab; margin-bottom:14px; letter-spacing:.5px; text-transform:uppercase;}

section{padding:64px 0;}
.section-alt{background:var(--c-bg-alt);}
.section-title{font-size:clamp(22px,3vw,30px); text-align:center; margin-bottom:.4em;}
.section-subtitle{text-align:center; color:var(--c-ink-soft); max-width:640px; margin:0 auto 2.4em;}

/* ---------------- HOME: INTRO ---------------- */
.intro-block{max-width:820px; margin:0 auto; text-align:center;}
.intro-block h2{font-size:clamp(22px,3vw,30px);}
.intro-block p{font-size:16.5px; color:var(--c-ink-soft);}

/* ---------------- STATS ---------------- */
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:36px;
}
.stat-card{
  text-align:center; background:#fff; border:1px solid var(--c-border); border-radius:var(--radius);
  padding:26px 12px; box-shadow:var(--shadow);
}
.stat-value{font-size:clamp(22px,3vw,30px); font-weight:800; color:var(--c-red);}
.stat-label{font-size:13.5px; color:var(--c-ink-soft); margin-top:4px;}

/* ---------------- TEASER CARDS (home) ---------------- */
.teaser-grid{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
.teaser-card{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:12px;
}
.teaser-card h3{font-size:20px;}
.teaser-card p{color:var(--c-ink-soft); flex:1;}
.teaser-icon{
  width:52px;height:52px;border-radius:12px;background:var(--c-bg-alt);
  display:flex;align-items:center;justify-content:center; margin-bottom:6px;
}
.teaser-icon img{width:28px;height:28px;}

/* ---------------- TECHNOLOGY PILLARS ---------------- */
.pillars-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.tech-banner{margin:32px 0;}
.tech-banner img{width:100%; height:280px; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow);}
.pillar-card{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius);
  padding:30px; box-shadow:var(--shadow);
}
.pillar-icon{
  width:60px;height:60px;border-radius:14px;
  background:linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  display:flex;align-items:center;justify-content:center; margin-bottom:16px;
}
.pillar-icon img{width:32px;height:32px;filter:brightness(0) invert(1);}
.pillar-card h3{font-size:19px;}
.pillar-card p{color:var(--c-ink-soft); font-size:15px;}

.why-block{
  background:var(--c-navy); color:#fff; border-radius:var(--radius);
  padding:40px; margin-top:48px;
}
.why-block h3{font-size:22px;}
.why-list{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:20px;}
.why-list li{display:flex; gap:10px; align-items:flex-start; color:#dfe3ec; font-size:15px;}
.why-list li::before{content:"✓"; color:var(--c-red); font-weight:800; flex:none;}
.replica-note{
  margin-top:24px; padding-top:24px; border-top:1px solid rgba(255,255,255,.15);
  font-style:italic; color:#c9cedb;
}

.gallery-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px;}
.gallery-grid img{border-radius:var(--radius); border:1px solid var(--c-border); aspect-ratio:4/3; object-fit:cover; width:100%;}
.gallery-note{text-align:center; color:var(--c-ink-soft); font-size:13.5px; margin-top:14px;}

/* ---------------- ABOUT ---------------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;}
.about-grid img{border-radius:var(--radius); box-shadow:var(--shadow);}
.about-quote{
  border-left:4px solid var(--c-red); padding:14px 22px; margin:26px 0;
  background:var(--c-bg-alt); border-radius:0 8px 8px 0; font-style:italic; font-size:16px;
}
.about-sections{display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:20px;}
.about-section h4{font-size:17px; color:var(--c-navy);}
.about-section p{color:var(--c-ink-soft); font-size:15px;}
.parent-note{
  margin-top:36px; padding:20px 24px; background:var(--c-bg-alt); border-radius:var(--radius);
  font-size:14.5px; color:var(--c-ink-soft);
}
.parent-note a{color:var(--c-red); font-weight:700;}

/* ---------------- PRODUCTS ---------------- */
.products-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:26px;}
.product-card{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column;
}
.product-card .product-image{aspect-ratio:16/9; background:var(--c-bg-alt); overflow:hidden;}
.product-card .product-image img{width:100%;height:100%;object-fit:cover;}
.product-card-body{padding:22px 24px 26px;}
.product-card h3{font-size:19px;}
.product-tagline{color:var(--c-red); font-weight:700; font-size:13.5px; margin-bottom:8px;}
.product-card p.product-body{color:var(--c-ink-soft); font-size:15px;}

.catalogue-cta-row{
  margin-top:36px; text-align:center; display:flex; flex-direction:column; gap:10px; align-items:center;
}

/* ---------------- CONTACT ---------------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:44px;}
.contact-form{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow);
}
.form-group{margin-bottom:18px;}
.form-group label{display:block; font-weight:600; font-size:13.5px; margin-bottom:6px; color:var(--c-ink);}
.form-group input, .form-group textarea{
  width:100%; padding:11px 13px; border:1px solid var(--c-border); border-radius:6px;
  font-family:inherit; font-size:14.5px; background:var(--c-bg-alt);
}
.form-group textarea{min-height:120px; resize:vertical;}
.form-note{font-size:12.5px; color:var(--c-ink-soft); margin-top:10px;}

.details-card{
  background:var(--c-navy); color:#fff; border-radius:var(--radius); padding:32px;
}
.details-card h3{font-size:19px;}
.detail-row{display:flex; gap:12px; margin-bottom:18px; align-items:flex-start;}
.detail-row .k{font-weight:700; font-size:13px; color:#9aa2b6; text-transform:uppercase; letter-spacing:.5px; min-width:80px;}
.detail-row .v{font-size:15px; color:#f1f2f6;}
.detail-row .v a{color:#fff; text-decoration:underline;}
.map-cta{margin-top:8px;}
.map-embed{margin-top:20px; border-radius:var(--radius); overflow:hidden;}
.map-embed iframe{width:100%; height:280px; display:block;}

/* ---------------- CTA BAND ---------------- */
.cta-band{
  background:linear-gradient(120deg, var(--c-red), var(--c-red-dark)); color:#fff;
  text-align:center; padding:56px 24px; border-radius:var(--radius);
}
.cta-band h2{font-size:clamp(22px,3vw,28px);}

/* ---------------- FOOTER ---------------- */
.site-footer{background:var(--c-navy); color:#c9cedb; padding-top:56px;}
.footer-inner{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; padding-bottom:36px;}
.footer-col h4{color:#fff; font-size:15px; margin-bottom:16px;}
.footer-about p{font-size:14px; color:#a9b0c2; max-width:340px;}
.footer-links li, .footer-contact li{margin-bottom:10px; font-size:14px;}
.footer-links a:hover{color:#fff;}
.footer-contact li a{color:#c9cedb;}
.footer-contact li a:hover{color:#fff;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08); padding:18px 0; text-align:center; font-size:13px; color:#8a91a6;}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px){
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .teaser-grid, .about-grid, .about-sections, .contact-grid{grid-template-columns:1fr;}
  .pillars-grid{grid-template-columns:1fr;}
  .products-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr;}
  .why-list{grid-template-columns:1fr;}
  .footer-inner{grid-template-columns:1fr; gap:28px;}
}

@media (max-width: 760px){
  .main-nav{
    position:absolute; top:76px; left:0; right:0; background:#fff;
    flex-direction:column; align-items:stretch; padding:10px;
    border-bottom:1px solid var(--c-border); box-shadow:var(--shadow);
    display:none;
  }
  .main-nav.open{display:flex;}
  .main-nav a{padding:12px 14px;}
  .main-nav a.nav-cta{margin-left:0; text-align:center;}
  .menu-toggle{display:flex;}
}
