/*
Theme Name: Grace Guard
Theme URI: https://graceguard.co
Author: Grace Guard
Author URI: https://graceguard.co
Description: A warm, approachable WordPress theme for Grace Guard web agency. Features a modern design with terracotta, sage green, and cream color palette.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grace-guard
*/

/* ========================================
   CSS Reset & Base Styles
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #faf8f5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: #c85a3f;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a04530;
}

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

/* ========================================
   Layout & Container
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #fff;
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c85a3f;
  font-family: 'Poppins', sans-serif;
}

.site-logo:hover {
  color: #a04530;
}

.main-navigation {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  color: #2c2c2c;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: #c85a3f;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #c85a3f;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #a04530;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 90, 63, 0.3);
  color: #fff;
}

.btn-secondary {
  background-color: #7a9b7f;
}

.btn-secondary:hover {
  background-color: #5f7d63;
}

.btn-outline {
  background-color: transparent;
  color: #c85a3f;
  border: 2px solid #c85a3f;
}

.btn-outline:hover {
  background-color: #c85a3f;
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #2c2c2c;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, rgba(200, 90, 63, 0.05) 0%, rgba(122, 155, 127, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: #4a4a4a;
  margin-bottom: 2rem;
}

/* ========================================
   Cards
   ======================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(200, 90, 63, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(200, 90, 63, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #c85a3f;
}

.card h3 {
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.card p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
  text-align: center;
}

.pricing-card.featured {
  border-color: #c85a3f;
  box-shadow: 0 8px 24px rgba(200, 90, 63, 0.15);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: #c85a3f;
  margin: 1rem 0;
}

.price-period {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #4a4a4a;
}

.features-list li:before {
  content: "✓ ";
  color: #7a9b7f;
  font-weight: 700;
  margin-right: 0.5rem;
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
  background-color: #2c2c2c;
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #ccc;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: #c85a3f;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #999;
}

/* ========================================
   Contact Form
   ======================================== */

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c2c2c;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c85a3f;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.text-muted {
  color: #666;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #faf8f5;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .main-navigation.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}
