/* style.css - Save The Waterfront Master Stylesheet */

/* 1. VARIABLES & RESET */
:root {
  --primary: #003366;    /* Authoritative Blue */
  --accent: #b30000;     /* Urgent Red */
  --highlight: #00bcd4;  /* Clean Teal */
  --bg-light: #f4f7f6;   /* Light Gray Background */
  --text-dark: #222222;
  --text-light: #ffffff;
  --header-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  font-family: var(--body-font); 
  background: var(--bg-light); 
  color: var(--text-dark); 
  line-height: 1.6; 
  overflow-x: hidden;
}

h1, h2, h3 { 
  font-family: var(--header-font); 
  font-weight: 700; 
}

/* 2. NAVIGATION & LOGO */
/* Styling for the new Badge look */
nav .logo-circle-bg {
  fill: rgba(0, 188, 212, 0.1); /* Very light Teal background */
  stroke: var(--highlight);     /* Teal border */
  stroke-width: 3px;
}

nav .logo-shield-boundary {
  stroke: var(--accent);
  stroke-width: 6px;
  fill: var(--accent); /* Solid red shield for a bolder look */
  stroke-linejoin: round;
}

/* Optional: Add a slight rotation or hover effect to the badge */
nav .logo-wrapper:hover .main-logo {
  transform: scale(1.1);
  transition: 0.3s ease;
}

nav {
  background: var(--primary);
  color: var(--text-light);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

nav .main-logo {
  height: 40px;
  width: 40px;
}

nav .logo-shield-boundary {
  stroke: var(--accent);
  stroke-width: 8px;
  fill: rgba(179, 0, 0, 0.1);
}

nav .logo-water {
  stroke: var(--highlight);
  stroke-width: 8px;
  fill: none;
}

nav .logo-text {
  font-family: var(--header-font);
  font-size: 20px;
  color: var(--highlight);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul { 
  list-style: none; 
  display: flex; 
  gap: 20px; 
}

nav a { 
  color: var(--text-light); 
  text-decoration: none; 
  font-weight: 600; 
  transition: 0.3s;
}

nav a:hover, nav a.active { 
  color: var(--highlight); 
}

/* 3. HERO SECTION */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 5%;
  color: white;
  background: linear-gradient(rgba(0, 51, 102, 0.3), rgba(0, 51, 102, 0.8)), 
              url('Shredder-SmokeStack-ResidentialHomes.jpg') no-repeat center center / cover;
}

.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.hero h2 { font-size: 1.5rem; margin-bottom: 20px; font-weight: 400; opacity: 0.9; }
.hero p { max-width: 800px; margin-bottom: 30px; font-size: 1.2rem; }


.fullwidth-separator {
    width: 100%;
    height: 200px; /* Reduced height slightly for a tighter look */
    background: url('BoulevardWaterRocks.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* REMOVED margins to make it touch the containers */
    margin: 0; 
}

/* This ensures the 'Now What' card touches the top of its container */
.full-width-card {
    margin-top: 0 !important; 
    width: 100%;
    border-top: 5px solid var(--highlight) !important;
}

/* 4. CONTAINERS & CARDS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    /* Reduced the bottom and top padding to pull cards closer to the edges */
    padding: 20px 5%; 
}

.section-title { 
  text-align: center; 
  margin-bottom: 40px; 
  color: var(--primary); 
  font-size: 2.5rem; 
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.issue-card {
  background: white;
  padding: 0; 
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--accent);
  transition: transform 0.3s ease;
  overflow: hidden; 
  display: flex;
  flex-direction: column;
}

.issue-card:hover { 
  transform: translateY(-5px); 
}

.card-img {
  width: 100%;
  height: 220px; 
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 25px 30px 30px 30px;
}

.issue-card h3 { 
  color: var(--primary); 
  margin-bottom: 15px; 
}

.issue-card p {
  margin-bottom: 15px;
  color: #444;
}

/* List Styling inside Cards - FORCED FIX */
.issue-card ul {
  list-style-type: disc !important;
  margin-left: 45px !important;  /* Increased margin to ensure bullets are visible */
  margin-bottom: 25px !important;
  padding-left: 0 !important;
  display: block !important;    /* Ensures it doesn't stay hidden */
}

.issue-card li {
  display: list-item !important; /* Forces the browser to treat it as a bulleted item */
  margin-bottom: 12px !important;
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

/* Full Width Card Styling */
.full-width-card {
    margin-top: 40px;
    width: 100%;
    border-top: 5px solid var(--highlight) !important; /* Teal border to signal 'The Now' */
}

.full-width-card .card-content {
    text-align: center; /* Centers the 'Now What' text for better impact */
}

.full-width-card ul {
    display: inline-block;
    text-align: left; /* Keeps bullets aligned even if centered */
}

/* This adds breathing room to cards that don't use the card-content wrapper */
.issue-card h2, 
.issue-card h3, 
.issue-card p, 
.issue-card ul {
    padding-left: 30px;
    padding-right: 30px;
}

/* Adds a little extra space for the very first and last items */
.issue-card h2:first-child, 
.issue-card h3:first-child {
    padding-top: 25px;
}

.issue-card p:last-child {
    padding-bottom: 25px;
}

/* 5. BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
  font-family: var(--header-font);
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--highlight); color: var(--primary); }
.btn-primary:hover { background: #00acc1; }

.btn-cta { 
  background: var(--accent); 
  color: white; 
  padding: 15px 30px; 
  font-size: 1.1rem; 
  text-transform: uppercase;
}
.btn-cta:hover { background: #00158e; }

/* 6. MOBILE MENU & RESPONSIVE */
.menu-icon { 
  display: none; 
  font-size: 30px; 
  cursor: pointer; 
  color: var(--text-light); 
}

@media (max-width: 768px) {
  /* 1. Show the hamburger icon */
  .menu-icon { 
    display: block; 
  }

  /* 2. Shrink the logo text so it doesn't wrap/cut off */
  nav .logo-text {
    font-size: 14px; /* Dropped to 14px to be safe */
    letter-spacing: 0.5px;
  }

  /* 3. Shrink the shield icon */
  nav .main-logo {
    height: 32px;
    width: 32px;
  }

  /* 4. Mobile layout for the nav bar */
  nav { 
    flex-wrap: wrap; 
  }

  nav ul { 
    display: none; 
    flex-direction: column; 
    width: 100%; 
    margin-top: 15px; 
    gap: 5px;
  }

  nav ul.show { 
    display: flex !important; 
  }

  nav li { 
    width: 100%; 
  }

  nav a { 
    display: block; 
    padding: 15px; 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 4px;
    text-align: center;
  }

  /* 5. Shrink hero text for mobile */
  .hero h1 { font-size: 2.2rem; }
  .hero h2 { font-size: 1.2rem; }
  .section-title { font-size: 1.8rem; }
}
/* 7. FOOTER */
footer { 
  background: #1a1a1a; 
  color: #888; 
  padding: 50px 5%; 
  text-align: center; 
}