/**
 * Theme Name: Nia Springer Child Theme 
 * Template:   twentytwentyfive
 * ...other header fields
 */

 /* Import parent theme styles */
@import url("../twentytwentyfive/style.css");

/* === Custom styling for Greenacre Cleaners === */



body {
    font-family: 'DM Serif Display', sans-serif;
    color: #000000;
    background-color: #ffffff;
    line-height: 1.7;
    font-size: 18px;
    width: 100%; 
}

h1, h2 {
    font-family: 'DM Serif Display', serif; }
    
h1 {
    text-transform: uppercase;
    color: #338a57;
    text-shadow:     
    0 1px 0 #adadad, 
    0 2px 0 #adadad, 
    0 4px 0 #adadad;
}

h2, h3, h4, h5, h6 {
	color: #202020;
	}

h3, h4, h5, h6 {	
    font-family: 'Arial', Arial, Helvetica, sans-serif
}




/* Nav Padding */

.site-header, .navbar, .main-navigation {
    padding-top: 5px;
    padding-bottom: 5px;
}

.wp-block-group, .has-global-padding {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  main.wp-block-group.has-global-padding.is-layout-constrained { 
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
  

  .wp-block-group .has-global-padding .is-layout-constrained {
    padding-top: 0;
    padding-bottom: 0;
  }

  .is-layout-constrained {
    padding: 10px !important;
    margin: 10px !important;
  }

/* Header */
.site-header {
    padding: 1rem 2rem;
}

.site-title a {
    font-family: 'Libre Baskerville', serif; 
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase; 
}

.site-title a:hover {
    color: #338A57;
}

/* Navigation */


.wp-block-navigation-item {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; 
    font-size: 15px;  
    letter-spacing: 0.05em; 
}

.main-navigation a {
    color: #ffffff;
    padding: 0.5rem 1rem;
}

.main-navigation a:hover {
    background-color: #202E2E;
    color: #ffdd38;
    border-radius: 5px;
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(10,10,35,0.7), rgba(10,10,35,0.7)), url('/wp-content/uploads/your-hero-image.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 6rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Grid */
.portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

.portfolio-item {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.portfolio-item img {
    width: 100%;
    height: auto;
}

.portfolio-item h2 {
    font-size: 1.5rem;
    margin: 1rem;
}

/* Articles / Blog */
.entry-title {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #202E2E;
    color: #ccc;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: #ddd;
}

/* Buttons */
button,
.button,
.wp-block-button__link, button.overlay {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #a6bda5;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
    width: 200px; 
    font-weight: bold; 
}

button.overlay {
    text-align: center; 
    display: block;
    width: 200px; 
    margin: 0 auto; 
}

button:hover,
.button:hover,
.wp-block-button__link:hover {
    background-color: #577fa8; 
    color: #ffffff;
}

/* Contact form */

form { 
    background-color: #ffffff;
    color: black; 
    padding: 20; 
}


.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
{
    background-color: #fefefe;
    color: #000;
    width: 50%;
}

/* Blockquote */
blockquote {
    border-left: 5px solid #0a0a23;
    margin: 1.5rem 0;
    padding-left: 1rem;
    font-style: italic;
    color: #555;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .portfolio {
        grid-template-columns: 1fr;
    }
}

/* callout area */ 

.callout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem; /* Controls spacing between items */
    background-color: #a5bda433; /* Light green background */
    padding: 2rem;
    border-radius: 8px;
  }
  
  /* Style for individual items inside callout */
  .callout > * {
    flex: 1 1 150px; /* Grow, shrink, min width */
    text-align: center;
  }
  
  /* Optional: Style icons inside callout */
  .callout img {
    max-width: 100px;
    height: auto;
  }
  
  /* Optional: Style text under icons */

  .callout-icon {
    background-color: white; 
    border: 2px solid #338a57;
    border-radius: 90px; 
  }

  .callout-icon:hover {
    background-color: #d7ecd7;
  }
  
  /* serrvice-cards */ 
 /* Make all columns same height and aligned */
.wp-block-columns.alignwide {
    align-items: stretch; /* Equal height columns */
    gap: 1.5rem; /* spacing between columns */
  }
  
  /* Style each service card column */
  .wp-block-column.service-card {
    background-color: #aec5d6;
    border: 2px solid #577fa8;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 3rem; 
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  /* Hover effect */
  .wp-block-column.service-card:hover {
    background-color: #a6bda5;
    border-color: #338a57;
  }
  
  /* Headings inside cards */
  .service-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
  }
  
  /* Paragraphs inside cards */
  .service-card p {
    margin: 0.25rem 0;
  }
  
  /* Remove list styling if any */
  .service-card ul,
  .service-card li {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* Responsive: stack cards on small screens */
  @media (max-width: 749px) {
    .wp-block-columns.alignwide {
      flex-wrap: wrap;
    }
    .wp-block-column.service-card {
      width: 100% !important;
      margin-bottom: 1.5rem;
    }
  }
  

  /* image interactivity */

  .brighten-image img {
    filter: brightness(70%);
    transition: filter 0.3s ease;
  }
  .brighten-image:hover img {
    filter: brightness(100%);
  }

  .transform-blue {
    padding: 20px; 
  }
  
  .transform-blue:hover {
    padding: 20px; 
    background-color: #eef2f5;
    border: 2px solid #577fa8;
    border-radius: 8px;
  }