e/*
 * Stylesheet for Eagle Eye Security & Network Solutions
 *
 * This file defines the colour palette, typography, layout, and reusable
 * components used across all pages of the website. The goal is to
 * present a modern, professional aesthetic with clear calls‑to‑action
 * and a focus on readability. Colours and sizes have been chosen
 * with accessibility and contrast in mind.
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Colour variables for easy maintenance */
:root {
  --primary-color: #0a192f; /* deep navy background */
  --secondary-color: #132b50; /* slightly lighter for cards */
  --accent-color: #d4af37; /* gold accent for buttons and highlights */
  --light-bg: #f9fafb; /* off‑white background for alternating sections */
 --text-light: #ffffff; /* light text on dark backgrounds */
  --text-dark: #152238; /* dark text on light backgrounds */
}
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body var(--text-light)
  font-family: 'Montserrat', sans-serif;
  background-color: var(--primary-color);
  color: var(--text-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container to limit content width */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 25, 47, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

nav .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* Hero section */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #var(--text-light);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 0.5rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #e7c865;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Section styling */
.section {
  padding: 4rem 0;
}

.section.light {
  background-color: var(--light-bg);
  color: var(--text-dark);
}

/* Services grid */
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card {
  background-color: var(--secondary-color);
  padding: 2rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #b0c4de;
}

/* Features list with icons */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  flex: 1 1 250px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature i {
  font-size: 2rem;
  color: var(--accent-color);
}

.feature h4 {
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Two column layout for detail pages */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.two-column img {
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* About section */
.about {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact form */
.contact-form {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-form form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: fit-content;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e7c865;
}

/* Footer */
footer {
  background-color: #051527;
  padding: 2rem 1rem;
  text-align: center;
  color: #a3b3c5;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-color);
}
footer a:hover {
 
  /* --- Mobile baseline --- */
html, body { width: 100%; overflow-x: hidden; }
img, video, canvas, iframe, table { max-width: 100%; height: auto; }
.container, .wrap, .site-content, main, section {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

/* Simple responsive grids */
.row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .row--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .row--3 { grid-template-columns: 1fr 1fr 1fr; } }

/* Scalable type */
:root{
  --fs-h1: clamp(28px, 4vw, 44px);
  --fs-h2: clamp(22px, 3.2vw, 32px);
  --fs-body: clamp(16px, 2.5vw, 18px);
}
h1{ font-size: var(--fs-h1) }
h2{ font-size: var(--fs-h2) }
body{ font-size: var(--fs-body); line-height: 1.6 }

/* Nav wrap on small screens */
nav ul{ display:flex; flex-wrap:wrap; gap:12px; }

/* Tables scroll on mobile */
table{ display:block; width:100%; overflow-x:auto; }

/* Bigger tap targets */
@media (max-width: 768px) {
  a.button, button, [role="button"] { min-height: 44px; min-width: 44px; }
}
text-decoration: underline;
}
/* Improve hero text contrast */
.hero h1,
.hero p,
.hero a {
  color: var(--text-light);
}

