@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');

/* 🌞 Light Theme */
:root {
 --primary: #2563eb;
 --primary-dark: #1e40af;
 --accent: #f59e0b;
 --dark: #1f2937;
 --light: #f8fafc;
 --gray: #e5e7eb;
 --shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
 --card-bg: white;
 --tip-bg: linear-gradient(45deg, #fff7ed, #fffbeb);
 --protection-bg: #f1f5f9;
 --footer-bg: var(--dark);
 --footer-text: rgba(255, 255, 255, 0.8);
 --link: #17314D;
 --link-hover: var(--accent);
 --text: var(--dark);
 --btn-bg: #17314D;
 --btn-text: white;
 --logo-bg: none;
 --logo-radius: none;
 --logo-padding: none;
 --theme-btn-color: black;
 --vajno-color: red;
 --vajno-bg: linear-gradient(45deg, #ffe5e5, #ffcccc);

}

/* 🌙 Dark Theme Overrides */
:root.dark-theme {
 --primary: #3ea6ff;
 --primary-dark: #00e1ff;
 --accent: #ff9800;
 --dark: #e1e3e6;
 --light: #121212;
 --gray: #1e1e1e;
 --shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
 --card-bg: #1e1e1e;
 --tip-bg: linear-gradient(45deg, #2c2c2c, #1e1e1e);
 --protection-bg: #1a1a1a;
 --footer-bg: #000;
 --footer-text: #aaa;
 --link: #3ea6ff;
 --link-hover: #00e1ff;
 --text: #e1e3e6;
 --btn-bg: #3ea6ff;
 --btn-text: #000;
 --logo-bg: whitesmoke;
 --logo-radius: 8px;
 --logo-padding: 2px 6px;
 --theme-btn-color: white;
 --vajno-color: red;
 --vajno-bg: linear-gradient(45deg, #2f3a49, #1e293b);

}

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

body {
 font-family: "Golos Text", sans-serif;
 background: var(--light);
 color: var(--text);
 line-height: 1.6;
}

header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-wrap: wrap;
 background: var(--gray);
 padding: 1rem 2rem;
 box-shadow: var(--shadow);
 position: sticky;
 top: 0;
 z-index: 100;
}

.logo {
 height: 50px;
 max-height: 60px;
 background-color: var(--logo-bg);
 padding: var(--logo-padding);
 border-radius: var(--logo-radius);
}

.links {
 display: flex;
 align-items: center;
 gap: 1rem;
}

.links a {
 text-decoration: none;
 color: white;
 background-color: #17314D;
 padding: 0.5rem 1rem;
 border-radius: 8px;
 transition: background-color 0.3s ease;
 font-size: 0.95rem;
}

.links a:hover {
 background-color: var(--accent);
 color: black;
}

.theme-btn {
 cursor: pointer;
 background: none;
 border: none;
 color: var(--theme-btn-color);

 display: flex;
 align-items: center;
 justify-content: center;
}


.menu-toggle {
 display: none;
 font-size: 2rem;
 background: none;
 border: none;
 color: var(--primary);
 cursor: pointer;
}

/* Responsive layout */
@media (max-width: 768px) {
 .menu-toggle {
  display: block;
 }

 .links {
  display: none;
  flex-direction: column;
  position: absolute;
  /* top: 80px;
  right: 2rem; */
  width: 100%;
  left: 0;
  top: 80px;
  background: var(--gray);
  padding: 1rem;
  border-radius: 0 0 8px  8px;
  box-shadow: var(--shadow);
  gap: 1rem;
  z-index: 999;
 }

 .links.active {
  display: flex;
 }
}


.hero {
 background: url('https://wallpapers.com/images/hd/cybersecurity-background-xl9hrrbsbwdm7eo1.jpg') no-repeat center center/cover;
 color: white;
 padding: 12rem 1rem;
 text-align: center;
}

.hero h1 {
 color: white;
 font-size: 2.75rem;
 margin-bottom: 1rem;
}

main {
 padding: 2rem 1rem;
 max-width: 1200px;
 margin: 0 auto;
}

.grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
 padding: 2rem 0;
}

.card {
 background: var(--card-bg);
 border-radius: 16px;
 padding: 2rem;
 box-shadow: var(--shadow);
 transition: transform 0.3s ease;
 border: 1px solid rgba(0, 0, 0, 0.05);
 color: var(--text);
}

.card:hover {
 transform: translateY(-5px);
}

h1,
h2 {
 color: var(--text);
 margin-bottom: 1.5rem;
}

h2 {
 font-size: 1.5rem;
 font-weight: 600;
 display: flex;
 align-items: center;
 gap: 0.75rem;
}

ul {
 list-style: none;
 padding-left: 0;
}

li {
 padding: 0.75rem 0;
 border-bottom: 1px solid rgba(0, 0, 0, 0.05);
 display: flex;
 align-items: start;
 gap: 0.5rem;
}

li::before {
 content: '✓';
 color: var(--primary);
 font-weight: 700;
}

.tip {
 background: var(--tip-bg);
 border-left: 4px solid var(--accent);
 padding: 1.5rem;
 margin: 2rem 0;
 border-radius: 12px;
 position: relative;
 color: var(--text);
}

.tip::before {
 content: '💡';
 position: absolute;
 left: -15px;
 top: -15px;
 background: var(--card-bg);
 border-radius: 50%;
 padding: 5px;
 box-shadow: var(--shadow);
}

video {
 width: 100%;
 max-width: 1200px;
 border-radius: 10px;
 box-shadow: var(--shadow);
 background-color: #000;
}


/* 🛡️ Protection Section */
.protection {
 background: var(--protection-bg);
 padding: 2rem;
 border-radius: 16px;
 margin: 3rem 0;
 color: var(--text);
}

.protection h2 {
 font-size: 1.75rem;
 margin-bottom: 2rem;
}

.tips-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 1.5rem;
}

.tip-box {
 background: var(--card-bg);
 padding: 1.5rem;
 border-radius: 12px;
 box-shadow: var(--shadow);
 transition: transform 0.3s;
 color: var(--text);
}

.tip-box:hover {
 transform: scale(1.02);
}

.tip-box h4 {
 font-size: 1.1rem;
 margin-bottom: 0.5rem;
 color: var(--primary-dark);
}

/* 📘 New Sections */
.new-section {
 background: var(--card-bg);
 border-radius: 16px;
 padding: 2rem;
 margin-top: 2rem;
 box-shadow: var(--shadow);
 color: var(--text);
}

.new-section h3 {
 font-size: 1.5rem;
 margin-bottom: 1rem;
 color: var(--primary-dark);
}

a {
 color: var(--link);
 text-decoration: underline;
}

a:hover {
 color: var(--link-hover);
}

/* ✅ Fix SVG bug in .card */
.card svg,
.card img {
 width: 28px;
 height: 28px;
 flex-shrink: 0;
 color: var(--accent);
 display: block;
}

/* Responsive */
@media (max-width: 768px) {
 header {
  flex-direction: row;
 }

 h1 {
  font-size: 2rem;
 }

 .card {
  padding: 1.5rem;
 }
}





.vajno {
 background: var(--vajno-bg);
 border-left: 4px solid var(--vajno-color);
 padding: 1.5rem;
 margin: 2rem 0;
 border-radius: 12px;
 position: relative;
 color: var(--text);
}
.vajno h3 {
 color: var(--btn-bg);
}









.footer {
 background: #1f2a37;
 /* мек тъмен фон */
 color: #f3f4f6;
 /* светъл и приятен текст */
 padding: 3rem 2rem;
 margin-top: 4rem;
}

.footer-content {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 2rem;
 max-width: 1200px;
 margin: 0 auto;
}

.footer-column h4 {
 margin-bottom: 1rem;
 color: var(--accent);
 font-size: 1.1rem;
}

#footer-logo {
 width: auto;
 height: 87.5px;
 margin-bottom: 1rem;
 filter: invert(1);
}

.footer-column p,
.footer-column li,
.footer-bottom p {
 font-size: 0.95rem;
 opacity: 0.9;
}

.footer-column ul {
 list-style: none;
 padding: 0;
}

.footer-column ul li {
 margin-bottom: 0.5rem;
}

.footer-column a {
 text-decoration: none;
 color: #e0e7ff;
 transition: color 0.3s;
}

.footer-column a:hover {
 color: var(--accent);
}

.socials a {
 font-size: 1.2rem;
 margin-right: 1rem;
 text-decoration: none;
}

.footer-bottom {
 border-top: 1px solid #374151;
 margin-top: 2rem;
 padding-top: 1.5rem;
 text-align: center;
 font-size: 0.875rem;
 color: #d1d5db;
 /* светлосив текст */
 line-height: 1.8;
}

.footer-bottom p {
 margin: 0.3rem 0;
}

.footer-bottom strong {
 color: #f9fafb;
 font-weight: 600;
}

.footer-bottom em {
 color: chartreuse;
 font-style: normal;
 font-weight: 500;
}