/*
Theme Name: Blocksy Child
Template: blocksy
Author: Your Name
Version: 1.0
*/

@import url("../blocksy/style.css"); /* Optional - for fallback */

/* ====== RESET & BASIC ====== */

* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;

  color: #000;    
}
/* GENERAL TEXT ELEMENTS */
h1, h2, h3, h4, h5, h6,
p, a, li, span, strong, em,
button, input, textarea, label {
  color: #fff;}

/* Initial hidden state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When in view */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


.top-banner-canada {
    background-image: url('https://your-site.com/wp-content/uploads/2025/06/canadian-flag.jpg'); /* Update this URL */
    background-size: cover;
    background-position: center;
    padding: 10px 0;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-bottom: 2px solid #d80507; /* Optional underline */
    z-index: 1000;
    position: relative;
}

.top-banner-canada span {
    background-color: rgba(208, 5, 7, 0.85); /* Transparent red for contrast */
    padding: 6px 20px;
    border-radius: 5px;
    display: inline-block;
}



/* ====== FULL SCREEN HERO SLIDER ====== */

/* Outer slider wrapper */
.slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Each individual slide */
.slide {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;   /* Vertical center */
  justify-content: center; /* Horizontal center */
  position: relative;
}

/* Content container on top of the slide */
.slide-content {
  padding: 30px 40px;
  text-align: center;
  color: white;
  border-radius: 8px;
  max-width: 90%;
}

/* Headline style */
.slide-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
}

/* Paragraph text */
.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Button style */
.btn-slide {
  display: inline-block;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-slide:hover {
  background-color: #1ebe57;
}

/* ====== Featured Product ====== */
.featured-products{
        margin: auto;
    width: 80%;
    padding: 20px;
}



/* ====== BLOG SINGLE POST ====== */



.single-post img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 6px;
}

.single-container{
    width: 80%;
    padding: 20px;
    margin: auto;
}

.single-post h1 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #111;
}

.post-content {
  margin-bottom: 40px;
}

.extra-info {
  background: #f9f9f9;
  border-left: 5px solid #333;
  padding: 20px;
  font-style: normal;
  color: #444;
}

/* ====== PRODUCT SINGLE LIKE AMAZON ====== */

/* Container with 2 columns: image left, details right */
.product-container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 40px;
  align-items: flex-start;
}

/* Left column - product image */
.product-image {
  flex: 1 1 50%;
  max-width: 600px;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* Placeholder if no image */
.no-image {
  width: 100%;
  height: 400px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 1.2rem;
}

/* Right column - product details */
.product-details {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
   color: #fefefe;
}

.product-details h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
 
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

/* WhatsApp button */
.whatsapp-btn {
  background-color: #25D366;
  color: white !important;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
  .product-container {
    flex-direction: column;
    padding: 20px;
  }
  
  .product-image,
  .product-details {
    max-width: 100%;
    flex: 1 1 100%;
  }
  
  .product-details h1 {
    font-size: 1.8rem;
  }
  
  .product-description {
    font-size: 1rem;
  }
  
  .whatsapp-btn {
    width: 100%;
    text-align: center;
  }
}


/* Grid container for archive pages */
/* Archive page container */
.archive-container {
  width: 80%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0;
}

/* Grid layout */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

/* Product card */
.archive-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.archive-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Thumbnail */
/* Thumbnail wrapper */
.archive-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3; /* Or 1 / 1 for square, 16 / 9 for widescreen */
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #f7f7f7; /* fallback bg */
}

/* Image inside wrapper */
.archive-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop to fit container */
  object-position: center;
  display: block;
}


/* Title */
.archive-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.archive-title a {
  text-decoration: none;
  color: inherit;
}

/* Excerpt */
.archive-excerpt {
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
  margin-bottom: 15px;
}

/* WhatsApp button */
.whatsapp-btn {
  background-color: #25D366;
  color: #fff !important;
  padding: 10px 15px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}

/* Responsive grid tweak */
@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .archive-container {
    width: 95%;
  }
}


/* Container around the contact form */

.contact-wrapper {
  background: url('https://smokelessjoes.com/wp-content/uploads/2025/05/contact.webp') center center/cover no-repeat; /* or just a color */
  padding: 60px 20px;
}
.contact-container {
  max-width: 800px;

  padding: 40px;
  background-color: rgba(17, 17, 17, 0.8);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Section heading */
.contact-container h1,
.contact-container h2,
.contact-container h3 {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

/* Form elements wrapper */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Input fields and textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  background-color: #fff;     /* White field background */
  color: #000;                /* Black text */
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Placeholder styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

/* Submit button */
.contact-form button,
.contact-form input[type="submit"] {
  background-color: #25D366; /* Weed green */
  color: #fff;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover,
.contact-form input[type="submit"]:hover {
  background-color: #1ebe57;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .contact-container {
    padding: 25px;
  }
}



.page h1, .page h2,
section h1, section h2,
.contact-container h1,
.archive-container h1 {
  text-align: center;
}




/* CTA */
.cta-section {
       background: linear-gradient(90deg, #16df71, #52874c, #4fa337, #0e8d56);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 16px;
    margin: 4rem auto;
    max-width: 900px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #fff;
    color: #457d17;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: #457d17;
    color: #fff;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Optional responsive padding */
@media (max-width: 600px) {
    .cta-section {
        padding: 2rem 1rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}


.ct-footer{
    background-color: #1c1c1c!important;
}


/* Age age-verification-page */




.age-verification-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-image: url('smokelessjoes.com/wp-content/uploads/2025/05/Age_Verification_Page.jpg');
    
}

.age-verification-content {

    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.age-logo {
    max-width: 120px;
    margin-bottom: 1.5rem;
}

.age-verification-content h1 {
    font-size: 1.8rem;
    color: #fefefe;
    margin-bottom: 0.5rem;
}

.age-verification-content p {
    color: #fefefe;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.age-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#enter-site {
    background-color: #4c8a17;
    color: white;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#enter-site:hover {
    background-color: #fccc10;
    color: #042cc0;
}

#leave-site {
    color: #d80507;
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.95rem;
}

