/*
Theme Name: SALT Wall Covering
Theme URI: https://saltwallcovering.com
Author: SALT Team
Author URI: https://saltwallcovering.com
Description: Premium wall covering installations theme for residential and commercial clients across South Florida. Elegant, minimalist design with full Elementor support.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salt-wallcovering
Tags: business, portfolio, one-column, two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, flexible-header, full-width-template, rtl-language-support, threaded-comments, translation-ready
*/

/*
 * Main stylesheet - Most styles are handled by Elementor and custom CSS
 * This file contains only essential base styles and WordPress defaults
 */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* SALT Brand Colors */
  --color-primary: #162A33;
  --color-secondary: #687E88;
  --color-accent: #F1EFEC;
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --container-max-width: 1280px;
  --container-padding: 2rem;
  
  /* Transitions */
  --transition-base: 0.3s ease;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* WordPress Core Styles */
.alignnone {
  margin: 1.5em 0;
}

.aligncenter {
  display: block;
  margin: 1.5em auto;
}

.alignleft {
  float: left;
  margin: 0.5em 1.5em 1.5em 0;
}

.alignright {
  float: right;
  margin: 0.5em 0 1.5em 1.5em;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875em;
  color: var(--color-secondary);
  margin-top: 0.5em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100000;
}

.skip-link:focus {
  top: 0;
}

/* Print Styles */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
