/* 1. Global Variables & Reset - Modern Light Theme */
:root{
  --bg: #f5f7fa;
  --bg-secondary: #ebedf0;
  --card: #ffffff;
  --card-hover: #f0f2f5;
  --muted: #64748b;
  --text-primary: #1e293b;
  --accent: #ff6b35;
  --accent-secondary: #ff8c42;
  --accent-glow: rgba(255, 107, 53, 0.3);
  --success: #4ade80;
  --info: #3b82f6;
  --max-width: 1280px;
  --radius: 16px;
  --radius-lg: 24px;
  --glass: rgba(0, 0, 0, 0.03);
  --border: rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --font-display: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Animated background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}

.site {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--card-hover);
  box-shadow: var(--shadow-lg);
}

.muted {
  color: var(--muted);
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.brand h1 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand p {
  font-size: 14px;
  color: var(--muted);
  margin-top: -4px;
}

#main-nav {
  display: flex;
  gap: 24px;
}

#main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.3s ease;
}

#main-nav a:hover {
  color: var(--text-primary);
}

#main-nav a.primary {
  color: var(--accent);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.hero-left h2 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 80%;
}

.hero-left strong {
  color: var(--accent);
}

.video-preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin: 24px 0;
}

.video-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.video-preview:hover img {
  transform: scale(1.05);
}

/* Remove any default browser tooltips and unwanted hover artefacts */
.video-preview::after {
  display: none !important;
}

.cta-row {
  display: flex;
  gap: 16px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.btn.secondary {
  background: var(--accent-secondary);
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.2);
}

.btn.secondary:hover {
  box-shadow: 0 6px 16px rgba(255, 140, 66, 0.3);
}

.hero-right .card:first-child {
  margin-bottom: 32px;
}

.socials-list {
  display: flex;
  gap: 12px;
  justify-content: space-around;
  padding: 16px 0;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-item:hover {
  background: var(--border);
}

.social-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

.map-container {
  background: #f9fafb;
  border-radius: 8px;
  padding: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Grid Section */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title h3 {
  font-size: 28px;
  font-weight: 800;
}

.section-title a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.section-title a:hover {
  color: var(--text-primary);
}

.incident-box {
  background: var(--glass);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
}

.breaking-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: inline-block;
  color: #000000;
}

.headline-text2 {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}

.headline-text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.button-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  padding-top: 60px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  margin: auto;
  display: block;
  width: 85%;
  max-width: 1400px;
  border-radius: var(--radius);
  box-shadow: 0 16px 64px rgba(0,0,0,0.8);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close {
  position: absolute;
  top: 20px;
  right: 32px;
  font-size: 40px;
  color: #000;
  cursor: pointer;
}

/* Footer */
footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text-primary);
}

.socials-list {
  display: flex;
  gap: 24px;
}

.socials-list a {
  color: var(--muted);
  text-decoration: none;
}

.socials-list a:hover {
  color: var(--text-primary);
}

/* Places Page */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.place-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.place-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.place-card img {
  width: 100%;
 
  object-fit: cover;
}

.place-card strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin: 16px 20px 8px;
}

.place-card p {
  font-size: 16px;
  margin: 0 20px 20px;
  color: var(--muted);
}

/* Contact Page */
.contact {
  display: grid;
  gap: 16px;
}

.contact input,
.contact textarea {
  padding: 16px;
  border-radius: 8px;
  background: var(--card-hover);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 16px;
}

.contact textarea {
  min-height: 150px;
  resize: vertical;
}

.contact button {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  padding: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: var(--accent-secondary);
}

#success, #error {
  display: none;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 12px;
}

#success {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

#error {
  background: rgba(192, 57, 43, 0.15);
  color: #ef4444;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left p {
    max-width: 100%;
  }

  .places-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site {
    padding: 24px;
  }

  .hero-left h2 {
    font-size: 36px;
  }

  .places-grid {
    grid-template-columns: 1fr;
  }

  .button-container {
    justify-content: stretch;
  }

  .button-container .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site {
    padding: 16px;
  }

  header {
    flex-wrap: wrap;
    position: relative;
    top: 0;
  }

  .hero-left h2 {
    font-size: 28px;
  }

  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  #main-nav {
    display: none;
  }

  .headline-text {
    font-size: 18px;
  }

  .breaking-tag {
    font-size: 10px;
    padding: 6px 12px;
  }
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1e293b;
  margin-left: auto;
}

@media (max-width: 640px) {
  .menu-toggle {
    display: block;
  }

  #main-nav.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }

  #main-nav.active a {
    padding: 12px;
    width: 100%;
    text-align: center;
  }
}

/* Add this new rule to your style.css (at the end is fine) */

.video-preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin: 24px 0;
}

.video-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.video-preview:hover img {
  transform: scale(1.05);
}

/* Remove any default browser tooltips and unwanted hover artefacts */
.video-preview::after {
  display: none !important;
}

/* Add this to the end of style.css */

footer .muted {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: normal;
}

 /* Add this CSS to the end of style.css (or anywhere after the existing light-mode styles) */

.place-card strong {
  color: #1e293b; /* Matches --text-primary */
}

.place-card p {
  color: #475569; /* Slightly lighter than primary text for better hierarchy, still very readable */
}

/* Fix button text color */
.btn,
.btn.secondary {
  color: #000000 !important;
}

.breaking-tag {
  color: #000000 !important;
}

/* Header right alignment for buttons */
header {
  display: flex;
  align-items: right;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.header-right {
  display: flex;
  align-items: right;
  gap: 20px;
}