/**
Theme Name: Thermal-Child
Author: WELDER
Author URI: https://welderdigital.com/
Description: Contact WELDER Digital for any support you may need.
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: thermal-child
Template: astra
*/

/* Lexend Mega */
@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-Thin.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-ExtraLight.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-Light.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-Regular.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-Medium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-SemiBold.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-Bold.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-ExtraBold.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Mega';
    src: url('/wp-content/uploads/fonts/LexendMega-Black.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/LexendMega-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Cy Grotesk Wide */
@font-face {
    font-family: 'Cy Grotesk Wide';
    src: url('/wp-content/uploads/fonts/CyGroteskWideThin.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/CyGroteskWideThin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cy Grotesk Wide';
    src: url('/wp-content/uploads/fonts/CyGroteskWideLight.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/CyGroteskWideLight.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cy Grotesk Wide';
    src: url('/wp-content/uploads/fonts/CyGroteskWideMedium.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/CyGroteskWideMedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cy Grotesk Wide';
    src: url('/wp-content/uploads/fonts/CyGroteskWideDemi.woff2') format('woff2'),
         url('/wp-content/uploads/fonts/CyGroteskWideDemi.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.contact-content {
  display: none;
  margin-top: 20px;
}

.contact-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-btn {
  padding: 10px 20px;
  border: none;
  background-color: #eee;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-btn.active {
  background-color: #333;
  color: white;
}

/* Lightbox backdrop */
#word-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

/* Show when visible */
#word-lightbox.visible {
  display: flex;
}

/* Lightbox container */
.word-modal {
  background-color: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Animate in */
.word-modal.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Close button */
.word-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
}

/* Content layout */
.word-modal-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 2rem;
}

.word-text {
  flex: 1 1 300px;
}

.word-text h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
}

.word-text h4 {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 500;
  color: #7F4922;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.word-text p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.word-image {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.word-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .word-modal {
    padding: 20px;
  }

  .word-modal-content {
    flex-direction: column;
    align-items: center;
  }

  .word-text,
  .word-image {
    flex: 1 1 100%;
    text-align: center;
  }

  .word-text h2 {
    font-size: 22px;
  }
}
