/*
Theme Name: Helena Web Consulting
Theme URI: https://yourcompany.com
Author: Your Name or Company
Author URI: https://yourcompany.com
Description: A custom WordPress theme for a web consulting agency in Helena, Montana.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: helena-webconsulting
*/

/* === Base Styles === */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  margin: 0;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Navigation Menu === */
.primary-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-menu li {
  margin-right: 20px;
}

.primary-menu a {
  background-color: #ffd600;          /* Yellow CTA background */
  color: #005bb5 !important;          /* Bold blue text */
  padding: 0.75rem 2rem;              /* Consistent with CTA */
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;                /* Pill-shaped */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0.5rem;
}

/* Hover + Active Effects */
.primary-menu a:hover {
  background-color: #ffec5c;
  transform: scale(1.05);
}

.primary-menu a:active {
  background-color: #e6c500;
  transform: scale(0.95);
}
/* Mobile-first: hide menu by default */
.primary-menu {
  display: none;
  flex-direction: column;
}

.menu-toggle {
  display: block;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show menu when toggled */
.menu-open .primary-menu {
  display: flex;
}

/* Desktop: show menu */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .primary-menu {
    display: flex !important;
    flex-direction: row;
  }


/* === Navigation Layout === */
.main-navigation {
  padding-bottom: 25px; /* 👈 Add space below the menu */
}

.main-navigation .primary-menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}


.main-navigation .primary-menu li {
  display: inline-block !important;
  margin-right: 20px;
}

.main-navigation .primary-menu li:last-child {
  margin-right: 0;
}


/* === Hero Banner === */
.hero-banner {
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.3)),
              url('images/hero-bg2.jpg') center center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #fff;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: inherit;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: inherit;
  margin-bottom: 30px;
}

.hero-button {
  background-color: #0077cc;
  color: #fff;
  padding: 16px 32px;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #005fa3;
}

/* === Responsive Hero Text === */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-banner__title {
    font-size: 2rem;
  }
  .hero-banner__subtitle {
    font-size: 1rem;
  }
  .hero-banner__cta {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* === Buttons (Global) === */
.button--primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.button--secondary {
  background: #fff;
  color: #004aad;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* === Latest Posts Section === */
.latest-posts {
  padding: 60px 0;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.post-list__item {
  border: 1px solid #eee;
  padding: 20px;
  background: #fafafa;
}
/* === Services Section (Improved Grid Layout) === */
.services {
  padding: 60px 20px;
  background: #f8f9fb;
  text-align: center;
  font-family: 'Cinzel', serif; /* Add this */
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-family: 'Cinzel', serif; /* Add this */
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch; /* ensures uniform height */
}

.service {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* fills grid row height */
}

.service:hover {
  transform: translateY(-5px);
}

.service img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.service h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

/* === Call to Action Section === */
.cta {
  background: #004aad;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta__content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta__content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&display=swap');

/* === Fancy Western Theme Enhancements === */
.fancy-western {
  background: url('/images/woodgrain-texture.jpg') center/cover no-repeat;
  padding: 4rem 2rem;
  font-family: 'Cinzel', serif;
  color: #2b1a0f;
}

.fancy-western h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 2px;
  text-shadow: 1px 1px #d2b48c;
}

/* === Western CTA Buttons for Each Service === */
.ctawestern-service-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;           /* match header padding */
  background-color: #ffd600;      /* yellow */
  color: #005bb5 !important;      /* blue text with !important to override */
  border: none;                   /* no border for header style */
  border-radius: 50px;            /* pill shape */
  font-weight: 700;               /* bold */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;                /* match header font size */
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  font-family: 'Cinzel', serif; /* Add this */
}

.ctawestern-service-button:hover {
  background-color: #ffec5c;      /* lighter yellow on hover */
  transform: scale(1.05);
  box-shadow: none;               /* header buttons have no shadow */
}

/* === Section-level CTA === */
.ctawestern-wrapper {
  text-align: center;
  margin-top: 4rem;
}

.ctawestern-subheading {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ctawestern-button {
  background-color: #a0522d;
  color: #fff;
  font-size: 1.25rem;
  padding: 0.85rem 2.5rem;
  border: 2px solid #fff;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}

.ctawestern-button:hover {
  background-color: #8b4513;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
	
	
}
