/* ============================================
   WaterSolutions Kosovo — v2 Modern Stylesheet
   Navy: #0d2b5e  Blue: #1a5ea8  Gold: #d4941a
   ============================================ */

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

:root {
  --navy: #0d2b5e;
  --blue: #1a5ea8;
  --light-blue: #4a9fd4;
  --sky: #eaf4fc;
  --gold: #d4941a;
  --dark: #0b1628;
  --text: #1e293b;
  --text-mid: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(13,43,94,0.07);
  --shadow-lg: 0 20px 60px rgba(13,43,94,0.1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { color: var(--text-mid); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); background: rgba(212,148,26,0.1);
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: #bf8512; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,148,26,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #091d40; color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--blue); padding: 0; font-weight: 600; }
.btn-ghost:hover { color: var(--gold); }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 48px; width: auto; }
.logo img:not([style*="display: none"]) ~ .logo-text { display: none; }
.logo-text { font-size: 1.15rem; font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
.logo-text span { display: block; font-size: 0.65rem; font-weight: 700; color: var(--gold); letter-spacing: 2.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-mid); padding: 6px 0; position: relative; }
.nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width var(--transition); border-radius: 1px; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover, .nav a.active { color: var(--navy); }

.lang-switcher { display: flex; gap: 2px; background: var(--surface); padding: 3px; border-radius: 8px; border: 1px solid var(--border); }
.lang-switcher button { padding: 5px 10px; border: none; background: transparent; color: var(--text-light); font-size: 0.75rem; font-weight: 700; border-radius: 6px; cursor: pointer; transition: all var(--transition); }
.lang-switcher button.active, .lang-switcher button:hover { background: var(--navy); color: var(--white); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); position: absolute; left: 0; transition: all var(--transition); border-radius: 1px; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- Hero --- */
.hero {
  padding: 140px 0 100px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(26,94,168,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(74,159,212,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(212,148,26,0.15) 0%, transparent 60%);
}
.hero .container { position: relative; z-index: 1; display: flex; align-items: center; gap: 4rem; }
.hero-content { max-width: 580px; flex: 1; }
.hero h1 { margin-bottom: 1.5rem; color: var(--white); line-height: 1.15; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-badge {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  max-width: 320px;
}
.hero-badge .badge-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.9; }
.hero-badge h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.hero-badge p { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* --- Sections --- */
section { padding: 100px 0; }
.bg-surface { background: var(--surface); }

/* --- Icon Box --- */
.icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; }
.icon-box.blue { background: var(--sky); color: var(--blue); }
.icon-box.gold { background: rgba(212,148,26,0.1); color: var(--gold); }
.icon-box.navy { background: rgba(13,43,94,0.08); color: var(--navy); }

/* --- Feature Cards --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.7; }

/* --- Product Cards --- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card .card-visual {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card .card-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1), transparent 60%);
}
.product-card .card-visual svg { width: 48px; height: 48px; color: rgba(255,255,255,0.4); position: relative; z-index: 1; }
.product-card .card-body { padding: 1.75rem; }
.product-card h3 { margin-bottom: 0.5rem; }
.product-card p { font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.7; }

/* --- Product Tables --- */
.product-section { padding: 80px 0; }
.product-section:nth-child(even) { background: var(--surface); }
.product-section-header { margin-bottom: 2rem; }
.product-section-header h2 { font-size: 1.6rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 12px; }
.product-section-header p { font-size: 0.95rem; max-width: 700px; }

.product-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
}
.product-table thead { background: var(--navy); }
.product-table th { padding: 14px 20px; text-align: left; font-weight: 600; font-size: 0.85rem; color: var(--white); letter-spacing: 0.02em; }
.product-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text); }
.product-table tbody tr:last-child td { border-bottom: none; }
.product-table tbody tr:hover { background: var(--sky); }
.pdf-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 600; font-size: 0.85rem;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(26,94,168,0.06);
  transition: all var(--transition);
}
.pdf-link:hover { background: rgba(26,94,168,0.12); color: var(--navy); }

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem; gap: 1rem; padding: 2rem; text-align: center;
}
.about-photo-placeholder svg { width: 64px; height: 64px; opacity: 0.4; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1rem; line-height: 1.8; font-size: 0.95rem; }

.stats-row { display: flex; gap: 2.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat .number { font-size: 1.8rem; font-weight: 800; color: var(--gold); display: block; letter-spacing: -0.02em; }
.stat .label { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

/* --- Values --- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(26,94,168,0.4), transparent);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: var(--font); transition: all var(--transition);
  background: var(--white); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,94,168,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ci-icon { width: 44px; height: 44px; background: var(--sky); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ci-icon svg { width: 20px; height: 20px; color: var(--blue); }
.contact-item h4 { margin-bottom: 2px; font-size: 0.9rem; }
.contact-item p { font-size: 0.9rem; }

.map-embed { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; height: 200px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.9rem; }

/* --- Breadcrumb --- */
.page-header {
  padding: 120px 0 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-header-nav { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.75rem; }
.page-header-nav a { color: var(--blue); font-weight: 500; }
.page-header-nav .sep { color: var(--border); }
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page-header p { color: var(--text-mid); margin-top: 0.5rem; max-width: 600px; }

/* --- Footer --- */
.footer { background: var(--dark); color: rgba(255,255,255,0.55); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo-text { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero .container { flex-direction: column; }
  .hero-visual { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid, .products-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); gap: 0;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav.open .lang-switcher { margin-top: 1rem; }
  .menu-toggle { display: block; }
  .features-grid, .products-grid, .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 80px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
  .stats-row { flex-wrap: wrap; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  section { padding: 70px 0; }
  .product-table { font-size: 0.8rem; }
  .product-table th, .product-table td { padding: 10px 8px; }
  .product-table th:nth-child(3), .product-table td:nth-child(3) { display: none; }
}
