/*
Theme Name: Clinton Dark
Theme URI: https://clinton-autobody.com
Author: lozeone
Author URI: https://ilgstudio.com
Description: Minimal dark theme for Clinton Auto Body. Slate-blue palette, Gutenberg block styling, single-page layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clinton-dark
*/

/* ==========================================================================
   Base — only what theme.json can't handle
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

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

.wp-site-blocks {
  padding: 0;
}

/* ==========================================================================
   Hero tweaks — text alignment and logo sizing in white group
   ========================================================================== */

.wp-block-group.has-white-background-color {

}

.wp-block-group.has-white-background-color .wp-block-image img {
  max-width: 420px;
  width: 90%;
  margin: 0 auto 16px;
}

.wp-block-group.has-white-background-color p {
  color: #666;
}

/* Section label styling for red accent paragraphs */
p.has-red-accent-color {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Hero tagline — larger letterspacing */
.wp-block-group.has-white-background-color p.has-red-accent-color {
  font-size: 13px;
  letter-spacing: 5px;
  font-weight: 500;
}

/* Button shadow */
.wp-block-button__link {
  box-shadow: 0 4px 24px rgba(186, 32, 38, 0.25);
  transition: background 0.2s;
}


/* ==========================================================================
   About Section — text centering and opacity
   ========================================================================== */

.wp-block-group.has-base-dark-background-color {

}

.wp-block-group.has-base-dark-background-color p {
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Card styling — border-radius and text opacity
   ========================================================================== */

.wp-block-column .wp-block-group.has-slate-light-background-color {
  border-radius: 12px;

  height: 100%;
}

.wp-block-column .wp-block-group.has-slate-light-background-color p {
  color: rgba(255, 255, 255, 0.5);
}

.wp-block-column .wp-block-group.has-slate-background-color {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  height: 100%;
}

.wp-block-column .wp-block-group.has-slate-background-color p {
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Contact Section — text centering and opacity
   ========================================================================== */

.wp-block-group.has-slate-light-background-color {

}

.wp-block-group.has-slate-light-background-color p {
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Contact Form 7 Styling (plugin, not a block — theme.json can't handle)
   ========================================================================== */

.wpcf7 {
  max-width: 560px;
  margin: 0 auto;
}

.wpcf7-form p {
  margin-bottom: 12px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  background: #ba2026;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
  box-shadow: 0 4px 24px rgba(186, 32, 38, 0.2);
}

.wpcf7-form input[type="submit"]:hover {
  background: #a01b20;
}

.wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
}

.wpcf7-response-output {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px;
  padding: 12px !important;
  margin: 16px 0 0 !important;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ==========================================================================
   Google Maps Embed (Custom HTML block)
   ========================================================================== */

.wp-block-html iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Map filter classes — add to Custom HTML block's "Additional CSS class" */
.map-dark iframe {
  filter: grayscale(100%) invert(1) brightness(0.55) contrast(1.2);
}

.map-grayscale iframe {
  filter: grayscale(100%);
}

.map-muted iframe {
  filter: grayscale(80%) sepia(20%);
}

.map-desaturated iframe {
  filter: saturate(0.3) brightness(1.05);
}

/* ==========================================================================
   Footer (hardcoded in template — needs dynamic year from PHP)
   ========================================================================== */

.site-footer {
  background: #ffffff;
  padding: 32px 24px 48px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.site-footer p {
  color: #666;
  font-size: 13px;
  margin: 0;
}

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

/* Columns stack at 782px in WordPress */
@media (max-width: 781px) {
  .wp-block-columns {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .wp-block-column {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 600px) {
  .wp-block-group.has-white-background-color .wp-block-image img {
    max-width: 280px;
  }
}
