/* Import the Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
}

/*--------- HEADER SETTINGS ---------*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    padding: 10px 5%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.2s ease;
}

.logo {
    padding-left: 20px;
}

.logo img {
    height: 70px;
    width: auto;
}

/*--------- PRODUCT MAIN CONTENT ---------*/
.product-page {
    background-image: linear-gradient(180deg, #222, #333);
    color: #fff;
}

.product-bar {
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 10% 10px 10%;
    flex-wrap: wrap;
}

.product-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.download-button {
    padding: 14px;
    background: #AFD5AA;
    font-size: 18px;
    color: #111;
    text-decoration: none;
    border: 1px solid #666;
    border-radius: 8px;
    transition: 0.2s;
    text-align: center;
}

.download-button:hover {
    background-color: #84AE7F;
    color: #111;
}

.productpage-divider {
    border: 0;
    border-top: 2px solid #fff;
    margin: 0 auto;
    height: 2px;
    width: 90%;
}

/* Two-column layout */
.product-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    width: 90%;
    margin: 0 auto;
}

.product-image {
    flex: 0 0 30%;
    max-width: 30%;
}

.product-description {
    flex: 0 0 70%;
    max-width: 70%;
    font-size: 16px;
    line-height: 1.6;
}
.product-description h3 {
    font-size: 24px;
    font-weight: 600;
}
.product-description h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}
.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: solid 1px #222;
}

.product-description ul {
    padding-left: 10px;
    margin-top: 0;
}
.product-description li {
    padding-left: 25px;
    line-height: 1.5em;
}
.product-description ul li {
    list-style-type: none;
    position: relative;
}
.product-description ul li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #fff;
}
.product-description table {
    width: 50%;
    border-collapse: collapse;
    padding-left: 10px;
}
.product-description table td {
    padding: 8px;
    border-bottom: 1px solid #ccc;
}

/* Mobile layout under 950px */
@media (max-width: 950px) {
    .product-layout {
      flex-direction: column;
    }

    .product-image,
    .product-description {
      flex: 0 0 100%;
      max-width: 100%;
    }
    .product-description table {
      width: 100%;
    }
}

/*--------- Certificate ---------*/
.certificate {
    width: 100%;
    padding: 40px 0;
    background: #E4F7F3;
    text-align: center;
}
.certificate h4 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    padding: 0 20px;
}
.search-elements {
    max-width: 900px;
    gap: 10px;
    padding: 20px 20px 0 20px ;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.certificate-search {
    width: 100%;
    gap: 20px;
    padding: 20px 0 0 0;
    display: flex;
    justify-content: center;
}
.certificate-input,
.certificate-button {
    width: 50%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #666;
    font-size: 18px;
    outline: none;
    box-sizing: border-box;
    margin: auto;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
.certificate-button {
    background: #AFD5AA;
    color: #111;
    cursor: pointer;
    transition: background-color 0.1s;
}
.certificate-button:hover {
    background-color: #84AE7F;
    color: #111;
}
.certificate-input:focus {
    border: 0;
    outline: 2px solid #444;
}
.certificate-input input {
    padding-left: 12px;
}
#message {
    color: red;
    font-weight: 500;
}

/*--------- Product specs table ---------*/
.product-specs {
    width: 100%;
    background-image: linear-gradient(180deg, #222, #333);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0px;
    position: relative;
}

.product-specs table {
    border-collapse: collapse; 
    background: white;
    border-radius: 8px;
    overflow: hidden;
    max-width: 800px; 
    width: 100%;
    margin: 0 auto;
    margin-left: 20px;
    margin-right: 20px;
    padding: 0 20px;
}

.product-specs td,
.product-specs th { 
    text-align: left;
    padding-left: 15px;
}

.product-specs td {
    width: 50%;
}

.product-specs th{
    font-weight: 500;
}

.product-specs thead tr { 
    height: 50px;
    background: #AFD5AA;
    font-size: 16px;
}

.product-specs tbody tr { 
    height: 40px;
    font-size: 16px;
}

.product-specs tr:nth-child(even) {
    background-color: #E4F7F3;
}

/*--------- Quote request modal ---------*/
.quote-request {
    width: 100%;
    padding: 50px 0;
    background: #E4F7F3;
    justify-content: center;
    text-align: center;
}
.quote-btn {
    width: 80%;
    max-width: 400px;
    background-color: #AFD5AA;
    color: #111;
    padding: 14px;
    margin: auto;
    border: 1px solid #666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
    transition: background 0.1s;
    text-align: center;
}
.quote-btn:hover {
    background-color: #84AE7F;
    color: #111;
}
.quote-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
}
.modal-content h4 {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    cursor: pointer;
}
.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #999;
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    color: #666;
    font-size: 16px;
    font-weight: 300;
    font-family: Outfit, sans-serif;
}
.quote-form button {
    background-color: #222;
    color: white;
    font-family: Outfit, sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.quote-form .g-recaptcha {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

/*--------- BACK-TO-TOP Button ---------*/
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    display: none;
    transition: opacity 0.1s, transform 0.1s;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
#backToTop:hover {
    background-color: #3f3f3f;
    transform: scale(1.1);
    font-weight: 600;
}

/*--------- FOOTER ---------*/
footer {
    background-image: linear-gradient(180deg, #222, #333);
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 16px;
    font-weight: 300;
}
