/*
Theme Name: Green Packers Theme
Theme URI: https://example.com/green-packers
Author: Green Packers
Author URI: https://example.com
Description: A professional landing page theme for packaging solutions companies. Features include customizer options, custom post types for Products, Industries, Clients, and Hero Slides. Fully editable from WordPress admin.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: green-packers
Tags: custom-logo, custom-menu, featured-images, theme-options, one-column, two-columns

This theme is based on the design of ppilam.com
*/

/* Additional Theme-specific Styles */

/* WordPress Specific Overrides */
.wp-block-image img {
  height: auto;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Admin Bar Fix */
body.admin-bar .top-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .top-header {
    top: 46px;
  }
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  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;
  clip-path: none;
  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 {
  background-color: #f1f1f1;
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
  color: #21759b;
  display: block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  left: -9999em;
  outline: none;
  padding: 15px 23px 14px;
  text-decoration: none;
  text-transform: none;
  top: -9999em;
}

.skip-link:focus {
  clip: auto;
  height: auto;
  left: 6px;
  top: 7px;
  width: auto;
  z-index: 100000;
}

/* WP Caption */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-style: italic;
  font-size: 14px;
  color: #666;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.gallery-item {
  padding: 10px;
}

.gallery-columns-2 .gallery-item {
  width: 50%;
}
.gallery-columns-3 .gallery-item {
  width: 33.33%;
}
.gallery-columns-4 .gallery-item {
  width: 25%;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  background: #f5f5f5;
  color: #333;
  border-radius: 4px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: #2a6521;
  color: #fff;
}

/* Comments */
.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  padding: 20px;
  margin-bottom: 20px;
  background: #f9f9f9;
  border-radius: 5px;
}

.comment-author img {
  border-radius: 50%;
  margin-right: 15px;
}

.comment-meta {
  margin-bottom: 10px;
}

.comment-reply-link {
  font-size: 14px;
  color: #2a6521;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2a6521;
}

button,
input[type="button"],
input[type="submit"] {
  background: #2a6521;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #05012c;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background: #05012c;
  color: #fff;
}

tr:hover {
  background: #f5f5f5;
}

/* Blockquote */
blockquote {
  padding: 20px 30px;
  margin: 20px 0;
  border-left: 4px solid #2a6521;
  background: #f9f9f9;
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
}

/* Triangle Divider */
.section-title .triangle img,
.triangle img {
  max-width: 40px;
  height: auto;
}

/* Slick Slider Custom Styles */
.slick-dots {
  display: flex !important;
  justify-content: center;
  padding: 20px 0;
  list-style: none;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  font-size: 0;
}

.slick-dots li.slick-active button {
  background: #fff;
}

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  background: #2a6521;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 16px;
  margin: 0 5px;
  transition: background 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
  background: #05012c;
}

/* Portfolio Slider Arrows */
.portfolio-arrows-one {
  margin-top: 20px;
}

/* Print Styles */
@media print {
  .header-area,
  .back-to-top,
  .cta-area,
  #footer {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}
