/* Vebro page specific styles */
/* Override or add styles specific to vebro.html here */

/* Vebro Hero Section */
.vebro-hero {
    min-height:450px;
    max-height: 550px; 
    background: none; /* Remove background as we'll use carousel in.product-card {
    background: rgba(247, 245, 236, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    height: fit-content;
    align-self: start;
}adding: 30px 0; /* Adjust padding for shorter height */
    position: relative; /* Ensure positioning context */
    overflow: hidden; /* Contain the carousel slides */
    z-index: 1; /* Create stacking context */
}

.vebro-hero::before,
.vebro-hero::after {
    display: none !important; /* Prevent global hero overlays */
}

.vebro-hero .hero-content {
    align-items: left;
    text-align: left;
    justify-content: center;
    position: relative;
    z-index: 10; /* Ensure text is above carousel */
}

.vebro-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-weight: bold;
    letter-spacing: 7px;
    color: #f9ebd1;
}

.vebro-hero p.tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-family: 'Lucida Sans Unicode', sans-serif;
    margin: 10px 0 0 0;
    color: #f9ebd1;
    font-weight: lighter;
}

.menu-items {
    margin-top: 45px;
}

.floating-menu-overlay .menu-items {
    margin-top: 0px;
}

/* Carousel styling */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure carousel is behind text but above any other overlays */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

/* Add dark overlay to each slide instead of having a separate overlay */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2;
}

.carousel-slide:nth-child(1) {
    background-image: url('/assets/images/vebro-temp.jpg');
}

.carousel-slide:nth-child(2) {
    background-image: url('/assets/images/Hero-temp.jpg');
}

.carousel-slide:nth-child(3) {
    background-image: url('/assets/images/temp-logs.jpg');
}

.carousel-slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .vebro-hero {
        height: 50vh;
    }
    
    .vebro-hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.3rem);
    }
    
    .vebro-hero p.tagline {
        font-size: 1.1rem;
        margin-bottom: 200px;
    }
}

/* Content sections styling */
.vebro-points {
    padding: 4rem 2rem;
    position: relative;
}

#vebro-about {
    padding-top: 2rem;
    margin-top: 0;
}

.vebro-points h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2335;
    font-family: 'Lucida Sans Unicode', sans-serif;
}



.vebro-hero p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    color: #3E435A;
}

.vebro-points {
    margin-top: -120px;
}

.vebro-points h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
    letter-spacing: 2px;
    font-weight: lighter;
}

.vebro-points h2::after {
    content: "";
    flex-grow: 1;
    height: 1.3px;
    background-color: #4E3A02;
}

.vebro-points h3 {
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin: 0;
    letter-spacing: 1px;
    margin-bottom:5px;
    font-weight: semi-bold;
}

.vebro-points li {
    list-style:circle;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
}

.vebro-points p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
}


.navbar {
    background-color: #3E435A;
    width: 93%;
    /* padding: 1.5vh 1vh; */
    border-radius: 0 0 20px 20px;
}



.glass-card {
      min-width: 600px;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.glass-card.animate-in {
      opacity: 1;
      transform: translateY(0);
}

/* Responsive styles for PU vs Epoxy section */
@media (max-width: 768px) {
    .glass-card {
        min-width: unset !important;
        width: calc(100% - 40px) !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .glass-card[style*="display: flex"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .content-wrapper {
        display: flex !important;
        justify-content: center !important;
        padding: 0 20px !important;
    }
    
    .vebro-points {
        padding: 4rem 1rem !important;
    }
}

/* Products Grid Layout */
.products-grid {
    column-count: 3;
    column-gap: 25px;
    width: clamp(800px, 90%, 1200px);
    margin: 0 auto;
    border-radius: 60px;
}

.products-grid .product-card h3{
    text-align: center;
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.products-grid .product-card p {
    text-align: center;
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-top: 5px;
}

.product-card {
    background: rgba(247, 245, 236, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    height: fit-content;
    break-inside: avoid;
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}


.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    color: #333;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    text-align: left;
    font-weight: bold;
}

.product-description {
    flex: 1;
}

.product-card p {
    color: #333;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    text-align: left;
    line-height: 1.4;
}

.description-preview {
    display: block;
}

.description-full {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.description-full.show {
    display: block;
}

.expand-btn {
    background: none;
    border: none;
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin: 10px auto 0 auto;
    text-align: center;
    transition: color 0.3s ease;
    display: block;
    width: 100%;
}

.expand-btn:hover {
    color: #2D2201;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Desktop layout: 3 columns */
@media (min-width: 768px) {
    .products-grid {
        column-count: 3;
        column-gap: 25px;
    }
}

/* Mobile layout: 2 columns */
@media (max-width: 768px) {
    .products-grid {
        column-count: 2;
        column-gap: 15px;
        max-width: 500px;
    }
    
    .product-image {
        height: 100px;
    }
    
    .product-card h3 {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }
    
    .product-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        column-count: 1;
        max-width: 300px;
    }
}

/* Search Bar Styling */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px auto;
    width: 100%;
    margin-top: 80px;
}

.search-container input[type="text"] {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 16px;
    font-family: 'Lucida Sans Unicode', sans-serif;
    border: 2px solid rgba(78, 58, 2, 0.3);
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #4E3A02;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.search-container input[type="text"]:focus {
    outline: none;
    border-color: #4E3A02;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 10px rgba(78, 58, 2, 0.2);
}

.search-container input[type="text"]::placeholder {
    color: rgba(78, 58, 2, 0.6);
}

.search-icon {
    display: none;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 1.2rem;
}

/* File Upload Styling */
.file-upload-container {
    position: relative;
    width: 100%;
}

.file-upload-container input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border: 2px dashed rgba(78, 58, 2, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #4E3A02;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.file-upload-label:hover {
    border-color: #4E3A02;
    background-color: rgba(255, 255, 255, 0.7);
}

.file-upload-label svg {
    color: #4E3A02;
}

.file-upload-info {
    margin-top: 8px;
    text-align: center;
}

.file-upload-info small {
    color: #4E3A02;
    opacity: 0.7;
    font-family: 'Lucida Sans Unicode', sans-serif;
    font-size: 0.8rem;
}



/* DIFFERENT SCREEN SIZES */
@media (min-width: 1200px) {

    #about-vebro-desc {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        max-width: clamp(600px, 50%, 700px);
        margin: 0 auto 20px auto;
        text-align: center;
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        top:45px;
    }
    
    #about-vebro-image-1 {
      z-index: 0;
      height: 300px;
      top: 355px;
      right: 5%;
    }

    .square-image-container{
        top: 0px;
        left:5%;
    }

    #pu-concrete-desc {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        max-width: clamp(600px, 50%, 700px);
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        left: 5%;
    }

    #PU-concrete-image {
        width: 100%;
        max-width: clamp(800px, 50%, 1000px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: 4%;
        right: 5%;
    }

    #what-is-pu-concrete .content-wrapper {
        position: relative;
        min-height: 300px; 
        max-height: 400px;
        /* height: 250px; */
    }

    #PU-Comparison {
        width: 100%;
        max-width: clamp(100px, 50%, 400px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: -8%;
        left: 5%;
    }
    #Epoxy-Comparison {
        width: 100%;
        max-width: clamp(100px, 50%, 400px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: 13%;
        right: 5%;
    }

    #pu-vs-epoxy-desc {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        max-width: clamp(600px, 50%, 700px);
        margin: 0 auto 20px auto;
        text-align: left;
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        top: 90px;
    }

    #phthalate-free {
        position: relative;
        min-height: 300px; 
        max-height: 580px;
    }

    #phthalates-desc {
        max-width: clamp(600px, 50%, 700px);
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        left:5%;
    }

    #phthalates-effects-image {
        z-index: 0;
        height: 300px;
        bottom: 40px;
        right: 5%;
        top: 420px;
    }

    #health-concerns .glass-card {
        min-width: 50px;
        margin: 0 auto;
        width: 20%;
        top: -320px;
        left: -20%;
    }

    #vebro-vs-others .glass-card {
        position: absolute;
        /* inset: auto 24px -24px auto; */
    }

    #vebro-vs-others-image {
        z-index: 0;
        left: 5%;
    }


}

@media (max-width: 1199px) {
    #about-vebro-desc {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        max-width: clamp(600px, 50%, 700px);
        margin: 0 auto 20px auto;
        text-align: center;
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        top:45px;
    }
    
    #about-vebro-image-1 {
        position: relative;
      z-index: 0;
      height: 280px;
      top: 0px;
      right: -50%;
      width: clamp(400px, 80%, 500px);
    }

    .square-image-container{
        top: 0px;
        left:5%;
    }

    #pu-concrete-desc {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        max-width: clamp(600px, 50%, 700px);
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        left: 5%;
    }

    #PU-concrete-image {
        width: 100%;
        max-width: clamp(800px, 50%, 1000px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: -3%;
        right:-22%;
    }

    #what-is-pu-concrete .content-wrapper {
        position: relative;
        min-height: 300px; 
        max-height: 380px;
        /* height: 250px; */
    }

    #PU-Comparison {
        position: absolute;
        width: 100%;
        max-width: clamp(100px, 50%, 400px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: 80px;
        left: 5%;
    }
    #Epoxy-Comparison {
        width: clamp(100px, 50%, 400px);
        max-width: clamp(100px, 50%, 400px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: -50%;
        right: -60%;
        /* transition: transform .6s  ease-in-out, opacity .6s ease-in-out; */
    }

    #pu-vs-epoxy-desc {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        max-width: clamp(600px, 50%, 700px);
        margin: 0 auto 20px auto;
        text-align: left;
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        top: 90px;
    }

    #phthalate-free {
        position: relative;
        min-height: 300px; 
        max-height: 580px;
    }

    #phthalates-desc {
        max-width: clamp(600px, 50%, 700px);
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        left:5%;
    }

    #phthalates-effects-image {
        z-index: 0;
        position: absolute;
        height: 280px;
        /* bottom: 40px; */
        right: 5%;
        top: 250px;
    }

    #health-concerns .glass-card {
        min-width: 210px;
        margin: 0 auto;
        width: 20%;
        top: -320px;
        left: -20%;
    }

    #vebro-vs-others .glass-card {
        position: absolute;
        /* inset: auto 24px -24px auto; */
    }

    #vebro-vs-others-image {
        z-index: 0;
        left: 5%;
    }
}

@media (max-width:768px) {
    #vebro-about {
        height: 470px;
    }

    #about-vebro-desc {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        max-width: clamp(300px, 70%, 400px);
        max-height: clamp(100px, 80%, 220px);
        margin-top: 0px;
        text-align: center;
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        top:-10px;
        left:-4%;
    } 

    #about-vebro-image-1 {
        position: absolute;
        z-index: 0;
        height: 200px;
        left: -58%;
        width: auto;
        top:35%;
    }

    .square-image-container{
        display: none;
    }
   
    #pu-concrete-desc {
        position: absolute;
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        max-width: clamp(600px, 50%, 700px);
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        left: 1%;
    }

    #PU-concrete-image {
        position: absolute;
        width: 50%;
        max-width: clamp(800px, 50%, 1000px);
        height: 150px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: -3%;
        right: 35px;
        top: 150px;
    }

    #what-is-pu-concrete .content-wrapper {
        position: relative;
        height: 200px;
        /* height: 250px; */
    }

    #PU-Comparison {
        position: absolute;
        width: 100%;
        max-width: clamp(100px, 50%, 400px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: 80px;
        left: 5%;
    }
    #Epoxy-Comparison {
        width: clamp(100px, 50%, 400px);
        max-width: clamp(100px, 50%, 400px);
        height: 250px;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-top: -50%;
        right: -60%;
        /* transition: transform .6s  ease-in-out, opacity .6s ease-in-out; */
    }

    .content-wrapper #pu-vs-epoxy-desc {
        /* font-size: clamp(1.1rem, 2.5vw, 1.3rem); */
        position: absolute;
        width: 100px;
        text-align: left;
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        top: 90px;
    }

    #phthalate-free {
        position: relative;
        min-height: 100px; 
        max-height: 540px;
    }

    #phthalates-desc {
        height: 150px;
        color: #4E3A02;
        font-family: 'Lucida Sans Unicode', sans-serif;
        left: -20px;
    }

    #phthalates-effects-image {
        display: none;
    }

    #health-concerns .glass-card {
        width: 100px;
        height: 250px;
        margin: 0 auto;
        top: -350px;
        left: -20px;
    }

    #vebro-vs-others .glass-card {
        position: absolute;
        /* inset: auto 24px -24px auto; */
    }

    #vebro-vs-others-image {
        z-index: 0;
        left: 5%;
    }



}

/* Square image container */
.square-image-container {
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: 40px;
    left: 5%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: -1;
}

.square-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.square-image:hover {
    transform: scale(1.05);
}

/* Make sure the content wrapper has proper positioning for absolute elements */
#vebro-about .content-wrapper {
    position: relative;
    min-height: 350px; /* Give enough space for the square image */
}

/* Calculator styling */
#calc-root {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
}

#calc-root select,
#calc-root input {
    padding: 12px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
}

#calc-root #totals > div {
    padding: 20px !important;
}

#calc-root #t-kg,
#calc-root #t-sets {
    font-size: 24px !important;
    font-weight: 600;
}

#calc-root table {
    margin-top: 20px;
    width: 100%;
    font-size: 16px !important;
}

#calc-root table th,
#calc-root table td {
    padding: 12px !important;
}


@media (max-width: 1200px) {
    

    
    
}

/* Calculator responsive design */
@media (max-width: 768px) {
    #calc-root {
        padding: 20px;
    }
    
    #calc-root #totals {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    #calc-root table {
        font-size: 14px !important;
    }

    
}

@media (max-width: 480px) {
    #calc-root {
        padding: 15px;
    }
    
    #calc-root table {
        font-size: 12px !important;
    }
}


/* mobile */
@media (max-width:  575px){

    

}