@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --font-base: 'Jost', sans-serif;
    --font-title: 'Jost', serif;

    --color-text: #222;
    --color-soft: #777;
    --primary: #115b66;
}

/* HEADER */
.header-vidros {
    background-image: url('../assets/vidros/backg.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 700px;
    padding: 70px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-vidros .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.545);
}

.header-vidros .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.header-vidros h1 {
    padding: 80px;
    font-size: 60px;
    font-weight: 400;
    font-family: var(--font-title);
}

.header-vidros h2 {
    width: 700px;
    text-align: center;
    font-size: 36px;
    margin: auto;
    margin-top: -40px;
    font-weight: 200;
}
/* SECTIONS */

.section {
    padding: 100px 100px;
}

.section h1{
    font-family: var(--font-title);
    font-size: 42px;
    margin-bottom: 40px;
    color: var(--primary);
    font-weight: 500;
}

.section p {
    font-family: 'Jost', sans-serif;
    font-size: 22px;
    line-height: 1.5;
    color: #4a4a4a;
}

/* CONTAINERS */
.container, .container2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* IMAGENS */
.section img {
    border-radius: 10px;
}

/* GRADIENTES */
.liso { 
    background: linear-gradient(180deg, #eef2f7, #ffffff);
}
.impressos { 
    background: linear-gradient(180deg, #ffffff, #e8f5fc);
}
.clear { 
    background: linear-gradient(180deg, #e8f5fc, #ffffff); 
}
.refletivo { 
    background: linear-gradient(180deg, #ffffff, #eef2f7);
}
.temperados { 
    background: linear-gradient(180deg, #e8f5fc, #ffffff);
}

/* CATALOGO */

.catalogo { 
  padding: 28px 0; 
  text-align:center; 
}
.catalogo p { 
  font-size:18px; 
  color:var(--color-soft); 
}

.link-pdf {
    background: none;
    border: none;
    color: #115b66;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.link-pdf:hover {
    opacity: 0.8;
}

.pdf-container {
    display: none;
    margin-top: 20px;
    width: 100%;
    height: 80vh;
    border-radius: 12px;
    overflow: hidden;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.catalogo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.catalogo-modal.active {
    display: flex;
}

.catalogo-box {
    position: relative;
    width: 90%;
    height: 90%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

.catalogo-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-catalogo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*Whatsapp link*/
.whatsapp{
    margin: 20px auto;
    text-align: center;
}
.whatsapp-fixed {
    padding: 10px;
    background-color: #25D366;
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    animation: blink 3.3s infinite ease-in-out;
    border-radius: 5px;
}

/* Keyframe for whats link */
@keyframes blink {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* hover effect */
.whatsapp-float:hover {
    transform: scale(1.2);
    transition: 0.3s;
}

/* FADE-IN */
.fade-in { 
    opacity:0; 
    transform:translateY(25px); 
    transition:0.7s ease; 
}
.fade-in.show { 
    opacity:1; 
    transform:translateY(0); 
}

/* RESPONSIVIDADE */

/*1024px*/
@media (max-width: 1024px) {

    .header-vidros {
        height: auto;
        padding: 60px 40px;
    }

    .header-vidros h1 {
        font-size: 44px;
        padding: 40px 0;
    }

    .header-vidros h2 {
        width: 90%;
        font-size: 28px;
        margin: 0 auto;
        margin-top: -10px;
    }

    .section {
        padding: 80px 50px;
    }

    .section h1 {
        font-size: 34px;
        text-align: center;
    }

    .section p {
        font-size: 20px;
        line-height: 1.6;
        text-align: center;
    }

    .container, .container2 {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 50px;
        text-align: center;
    }

    #info p, .texto p, .tabela p, .txt p, .table-temperado p {
        width: 100% !important;
        margin: 0 auto;
        text-align: center;
    }

    .section img {
        max-width: 70%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .image div {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .image img {
        max-width: 40%;
    }

    .table img, .refle-img img {
        max-width: 70%;
        margin: 0 auto;
    }

    .temp-img img {
        max-width: 70%;
        margin: 0 auto;
    }
}

/* 768px */
@media (max-width: 768px) {

    .header-vidros {
        height: auto;
        padding: 40px 20px;
    }

    .header-vidros h1 {
        font-size: 38px;
        padding: 20px;
    }

    .header-vidros h2 {
        font-size: 24px;
        width: 95%;
        margin-top: -10px;
    }

    .section {
        padding: 60px 30px;
    }

    .container, .container2 {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .section img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    #info p, .texto p, .tabela p, .txt p, .table-temperado p {
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }

    .clear-img, .modelo, .refle-img, .temp-img {
        text-align: center;
    }

    .catalogo {
        font-size: 22px;
    }
}

/* 480px */
@media (max-width: 480px) {

    .header-vidros h1 {
        font-size: 30px;
    }

    .header-vidros h2 {
        font-size: 18px;
    }
    #liso1,#liso2,#liso3,#liso4{
        width: 150px;
    }

    .section {
        padding: 50px 20px;
    }

    .section h1 {
        font-size: 32px;
    }

    .section p {
        font-size: 18px;
    }

    .catalogo {
        font-size: 18px;
    }

    #info p i {
        margin-right: 4px;
    }
}

/* 360px */
@media (max-width: 360px) {

    .header-vidros h1 {
        font-size: 26px;
    }

    .header-vidros h2 {
        font-size: 16px;
        width: 100%;
    }

    .section h1 {
        font-size: 28px;
    }

    .section p {
        font-size: 16px;
    }

    .catalogo {
        font-size: 16px;
    }
}