/*=== CabinetShop Hero Section Styles ===*/

/* Hero Section Padding */
.hero-section {
  position: relative;
  z-index: 2;
  padding-top: 60px;    /* less top padding */
  padding-bottom: 40px; /* less bottom padding */
}

/* Hero Headline */
.hero-section h1 {
  margin-bottom: 15px;
}

/* Hero Paragraphs */
.hero-section p {
  margin-bottom: 15px;  /* tighten spacing between paragraphs */
}

/* Last paragraph at bottom of hero */
.hero-section p:last-of-type {
  margin-bottom: 15px;  /* reduce space under last paragraph */
}

/* Hero Buttons - Red Style */
.btn-hero-red {
  background-color: #c00;      /* Bold red */
  color: #fff;                 /* White text */
  border: 2px solid #c00;
  padding: 8px 16px;           /* button padding */
  font-weight: 600;
  font-size: 13px;             /* font size */
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-hero-red:hover,
.btn-hero-red:focus {
  background-color: #fff;      /* White on hover */
  color: #c00;                 /* Red text on hover */
  border-color: #c00;
  text-decoration: none;
}

/* Smaller variant for compact buttons */
.btn-hero-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* Hero buttons container spacing */
.hero-buttons {
  margin-bottom: 0;  /* remove extra bottom margin */
}

.hero-buttons a + a {
  margin-left: 10px;  /* spacing between buttons on desktop */
}

/* Stacked buttons on mobile */
@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a + a {
    margin-left: 0;
    margin-top: 10px;  /* space between stacked buttons */
  }
}

/* Fullheight video container adjustment */
.fullheight.video-business-img2 {
  margin-bottom: 0;  /* reduce space under video */
}

/* Optional: tighten space above next section */
.bg-color-light {
  padding-top: 30px;
}
.hero-section-container {
    background-color: #222; /* Fallback color */
}

.hero-section {
    position: relative;
    /* Replace 'your-image-url.jpg' with the path to your image */
    background: url('https://via.placeholder.com/1920x800.png?text=High-Quality+Image+of+Model+43') no-repeat center center;
    background-size: cover;
    padding: 100px 0; /* Adjust padding to control height */
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    border-bottom: 2px solid #fff;
    border-top: 2px solid #fff;
    display: inline-block;
    padding: 10px 0;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px auto; /* Center the paragraph */
    line-height: 1.6;
}

.hero-buttons .btn-hero {
    background-color: #c0392b; /* Example red color */
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    margin: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-buttons .btn-hero:hover {
    background-color: #a93226; /* Darker red on hover */
}

/* For responsiveness on smaller screens */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-buttons .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
    }
}.hero-section-container {
    background-color: #222; /* Fallback color */
}

.hero-section {
    position: relative;
    /* Replace 'your-image-url.jpg' with the path to your image */
    background: url('https://www.thermwood.com/images/2017_site/machines/3_axis/model-43/model-43-background-made-in-america.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0; /* Adjust padding to control height */
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* 1. MAKE IT BRIGHTER: Change the last number (0.6) to 0.2 or 0.3 */
    background: rgba(0, 0, 0, 0.4); 
    
 
    
    z-index: 1;
}

.hero-content {
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    z-index: 2;
    /* The Frosted Glass Effect: */
    background: rgba(15, 15, 15, 0.45); /* Dark transparent background */
    backdrop-filter: blur(5px);        /* Blurs the image directly behind the box */
    -webkit-backdrop-filter: blur(5px);/* For Safari support */
    padding: 50px 40px;                 /* Adds breathing room around the text */
    border-radius: 15px;                /* Smooth rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Very subtle white border to define the edge */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5); /* Soft drop shadow behind the box */
    max-width: 900px;                   /* Keeps it from stretching too wide */
    margin: 0 auto;                     /* Centers the box */
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    border-bottom: 2px solid #fff;
    border-top: 2px solid #fff;
    display: inline-block;
    padding: 10px 0;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px auto; /* Center the paragraph */
    line-height: 1.6;
}

.hero-buttons .btn-hero {
    background-color: #c0392b; /* Example red color */
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    margin: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.hero-buttons .btn-hero:hover {
    background-color: #a93226; /* Darker red on hover */
}

/* For responsiveness on smaller screens */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-description {
        font-size: 16px;
    }
    .hero-buttons .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
    }
}
.hero-subtitle, 
.hero-title, 
.hero-description {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9); /* Creates a dark shadow behind the text */
}
/* Apply the Open Sans font specifically to the hero content */
.hero-content {
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    z-index: 2;
}

/* Subtitle: Made yellow/gold with wider letter spacing for a premium feel */
.hero-subtitle {
    color: #F8CA00; /* Professional Gold/Yellow accent */
    font-size: 15px;
    font-weight: 600; /* Semi-bold */
    letter-spacing: 2px; /* Spaces out the letters to make it look clean and modern */
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9); /* Keeps it crisp against the background */
}

/* Title: Pure white, bolder, with matching gold borders */
.hero-title {
    color: #FFFFFF;
    font-size: 52px; /* Slightly larger */
    font-weight: 700; /* Very bold to establish it as the main heading */
    line-height: 1.1;
    margin-bottom: 20px;
    border-bottom: 3px solid #F8CA00; /* Gold border to match subtitle */
    border-top: 3px solid #F8CA00;
    display: inline-block;
    padding: 12px 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

/* Description: Slightly off-white with a lighter font weight for elegant contrast */
.hero-description {
    color: #F8F9FA; /* A very soft off-white (reduces eye strain compared to pure white) */
    font-size: 20px; /* Increased size slightly for easier reading */
    font-weight: 300; /* A lighter font weight contrasts beautifully with the bold title */
    max-width: 750px;
    margin: 0 auto 35px auto;
    line-height: 1.7; /* Generous spacing between lines makes paragraphs much easier to read */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
}
