/* === styles.css (Full Updated Version — White Title, No Gradient) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Merriweather:wght@400;700&display=swap');

:root {
  /* Harmonized Color Palette — Navy, Royal Blue, Silver */
  --primary: #1e3a8a;
  --primary-dark: #0f172a;
  --secondary: #3b82f6;
  --accent: #60a5fa;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --max-width: 1200px;

  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Merriweather', serif;
}

/* === Base Reset === */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s ease;
}
a:hover {
  color: var(--secondary);
}

/* === Header with Horizontal Layout & Shrink on Scroll === */
.site-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Shrink effect when scrolled */
.site-header.scrolled {
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Title on the left - SOLID WHITE */
.site-title {
  font-family: var(--font-headings);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: default;
  transition: font-size 0.3s ease, text-shadow 0.3s ease;
}

.site-header.scrolled .site-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.site-title:hover {
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

/* Navigation on the right */
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e0e7ff;
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Mobile menu toggle button (hamburger) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* === Responsive Mobile Menu === */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .site-header.scrolled {
    padding: 0.6rem 1.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.active {
    max-height: 400px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .main-nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a {
    display: block;
    padding: 1rem;
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  padding: 3rem 1.5rem;
  box-shadow: inset 0 4px 40px rgba(0, 0, 0, 0.15);
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-family: var(--font-headings);
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #dbeafe;
  margin-bottom: 2rem;
}

.hero .btn {
  background: linear-gradient(135deg, var(--accent), #ffffff);
  color: var(--primary-dark);
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* === Layout === */
.container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1rem;
}

/* Sidebar */
.sidebar {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.sidebar h2,
.sidebar h3 {
  font-family: var(--font-headings);
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 0;
}

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

.sidebar li {
  margin: 0.6rem 0;
}

.sidebar a {
  color: var(--text);
  font-weight: 500;
}

.sidebar a:hover {
  color: var(--secondary);
}

/* News */
.news {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e5e7eb;
}

.news li {
  margin-bottom: 0.8rem;
  color: var(--muted);
}

/* Content */
.content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content h1,
.content h2 {
  font-family: var(--font-headings);
  color: var(--primary);
  margin-top: 0;
}

.content p {
  margin-bottom: 1.4rem;
  color: var(--text);
}

.content a.btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.content a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* === Contact Form Styling === */
.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 600px;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background-color: #ffffff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.contact-form button.btn {
  margin-top: 1rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* === Footer === */
.site-footer {
  background: var(--primary-dark);
  color: #e0e7ff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-top: 4rem;
}

.site-footer p {
  margin: 0.5rem;
}

.site-footer a {
  color: #93a3c0;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* === Responsiveness === */
@media (max-width: 960px) {
  .container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    order: 2;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}