/* Brysko Energies - main stylesheet */
:root {
  --primary: #0b3d2e;
  --primary-light: #145c45;
  --accent: #f2a900;
  --accent-dark: #cf9000;
  --text: #22302b;
  --text-light: #5a6b64;
  --bg: #ffffff;
  --bg-alt: #f4f7f5;
  --border: #e2e8e4;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(11,61,46,0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; color: var(--primary); }
p { margin: 0 0 1em; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: #ffffff; color: #ffffff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Header */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}
.logo span { color: var(--accent); }
.main-nav > ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 500;
  border-radius: 6px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  background: rgba(255,255,255,0.12);
  color: var(--accent);
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { color: var(--text); padding: 10px 16px; }
.dropdown li a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 70px 20px;
}
.hero-text { flex: 1; }
.hero-image { flex: 1; }
.hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 0.5em; }
.hero p { color: #e6efe9; font-size: 1.05rem; max-width: 520px; }
.hero-buttons { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }

/* Trust strip */
.trust-strip { background: var(--accent); color: var(--primary); }
.trust-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Sections */
.section { padding: 70px 0; }
.alt-bg { background: var(--bg-alt); }
.section-title { text-align: center; font-size: 2rem; }
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin-top: 14px; }
.card-link { color: var(--primary); font-weight: 600; }
.card-link:hover { color: var(--accent-dark); }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}
.feature {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

/* CTA banner */
.cta-banner { background: var(--primary); color: #fff; text-align: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #e6efe9; max-width: 560px; margin: 0 auto 24px; }

/* Footer */
.site-footer { background: #06251b; color: #cfe0d8; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 60px 20px 30px;
}
.footer-col h4 { color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-col .logo { display: inline-block; margin-bottom: 14px; }
.contact-list li { color: #cfe0d8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Page header banner (for inner pages) */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: #e6efe9; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: #cfe0d8; }
.breadcrumb a { color: var(--accent); }

/* Product detail blocks */
.product-block {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.product-block:nth-child(even) { flex-direction: row-reverse; }
.product-block .product-img,
.product-block .product-text { flex: 1; min-width: 280px; }
.product-text ul { margin: 14px 0; }
.product-text ul li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.product-text ul li::before {
  content: "\2713";
  color: var(--accent-dark);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-card img { border-radius: 0; }
.project-card-body { padding: 18px; }
.project-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-card img { border-radius: 0; }
.news-card-body { padding: 18px; }
.news-date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 6px; display: block; }

/* About */
.about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.about-grid > div { flex: 1; min-width: 280px; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.value-item {
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label { font-weight: 600; margin-bottom: 6px; display: block; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-info-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-info-card h3 { margin-top: 0; }
.contact-info-card ul li { margin-bottom: 14px; }
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }

/* Responsive */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .product-block, .product-block:nth-child(even) { flex-direction: column; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 0; }
  .dropdown { position: static; box-shadow: none; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .hero-inner { flex-direction: column; padding: 40px 20px; text-align: center; }
  .hero p { margin: 0 auto; }
  .hero-buttons { justify-content: center; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #ffffff; }
@media (max-width: 480px) {
  .whatsapp-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
