/* ==========================
   JENEFAS CATALOG WEBSITE
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#222;
    overflow-x:hidden;

}

/* Loader */

#loader{

    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    transition:.5s;

}

.spinner{

    width:60px;
    height:60px;

    border:6px solid #ddd;
    border-top:6px solid #1e88e5;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/* Progress Bar */

#progressBar{

    position:fixed;
    top:0;
    left:0;

    height:5px;

    width:0;

    background:#1e88e5;

    z-index:9999;

}

/* Hero */

.hero{

    position:relative;
    width:100%;

}

.hero img{

    display:block;
    width:100%;
    height:auto;

}

/* Overlay */

.hero-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    background:rgba(0,0,0,.25);

}

.hero-overlay h1{

    color:#fff;

    font-size:60px;

    font-weight:700;

    text-shadow:2px 2px 10px rgba(0,0,0,.5);

}

.hero-overlay p{

    color:#fff;

    margin-top:20px;

    font-size:22px;

    margin-bottom:40px;

}

/* Contact Button */

.contact-btn{

    display:inline-block;

    padding:18px 45px;

    background:#1e88e5;

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    font-size:20px;

    font-weight:600;

    transition:.3s;

    box-shadow:0 15px 35px rgba(0,0,0,.3);

}

.contact-btn:hover{

    background:#1565c0;

    transform:translateY(-4px);

}

/* Catalogue */

.catalogue{

    width:100%;

}

.catalogue img{

    display:block;

    width:100%;

    height:auto;

    transition:.4s;

}

.catalogue img:hover{

    transform:scale(1.01);

}

/* Floating Contact */

.floating-contact{

    position:fixed;

    right:30px;

    bottom:100px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#1e88e5;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    text-decoration:none;

    box-shadow:0 10px 30px rgba(0,0,0,.3);

    transition:.3s;

    z-index:999;

}

.floating-contact:hover{

    transform:scale(1.1);

}

/* Back to Top */

#backToTop{

    position:fixed;

    right:30px;

    bottom:25px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#111;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:22px;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:999;

}

#backToTop.show{

    opacity:1;

    visibility:visible;

}

#backToTop:hover{

    background:#1e88e5;

}

/* Responsive */

@media(max-width:1200px){

.hero-overlay h1{

font-size:42px;

}

}

@media(max-width:768px){

.hero-overlay h1{

font-size:28px;

}

.hero-overlay p{

font-size:16px;

}

.contact-btn{

padding:14px 30px;

font-size:16px;

}

.floating-contact,
#backToTop{

width:50px;
height:50px;
font-size:18px;

right:15px;

}

}

@media(max-width:480px){

.hero-overlay h1{

font-size:22px;

}

.hero-overlay p{

display:none;

}

.contact-btn{

font-size:15px;

padding:12px 22px;

}

}


/* ==========================
IMAGE LIGHTBOX
==========================*/

.image-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.9);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    cursor:pointer;

}

.image-overlay img{

    max-width:90%;

    max-height:90%;

    border-radius:12px;

    box-shadow:0 20px 60px rgba(0,0,0,.5);

    animation:zoomIn .4s ease;

}

@keyframes zoomIn{

    from{

        transform:scale(.8);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

/* ==========================
CONTACT PAGE
==========================*/

.contact-page{
    background:#f7f8fa;
}

.contact-hero{

    height:300px;

    background:linear-gradient(135deg,#1976d2,#0d47a1);

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

}

.hero-content h1{

    font-size:52px;

    margin-bottom:15px;

}

.hero-content p{

    font-size:20px;

    margin-bottom:35px;

}

.contact-container{

    width:min(1200px,92%);

    margin:60px auto;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

}

.contact-details{

    background:#fff;

    border-radius:15px;

    padding:40px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.contact-details h2{

    margin-bottom:30px;

}

.info-card{

    display:flex;

    gap:20px;

    margin-bottom:25px;

    align-items:flex-start;

}

.info-card i{

    width:60px;

    height:60px;

    background:#1e88e5;

    color:#fff;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

}

.info-card h3{

    margin-bottom:5px;

}

.contact-form-area{

    background:#fff;

    padding:40px;

    border-radius:15px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.contact-form-area h2{

    margin-bottom:30px;

}

.contact-form-area input,
.contact-form-area textarea{

    width:100%;

    padding:16px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:15px;

    font-family:Poppins;

}

.contact-form-area input:focus,
.contact-form-area textarea:focus{

    outline:none;

    border-color:#1976d2;

}

.social-icons{

    display:flex;

    gap:15px;

    margin-top:30px;

}

.social-icons a{

    width:50px;

    height:50px;

    border-radius:50%;

    background:#1976d2;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    transition:.3s;

}

.social-icons a:hover{

    transform:translateY(-5px);

}

.map-section{

    width:100%;

    margin-top:50px;

}

.map-section iframe{

    width:100%;

    height:500px;

    border:0;

}

footer{

    background:#111;

    color:white;

    text-align:center;

    padding:30px;

}

@media(max-width:900px){

.contact-grid{

grid-template-columns:1fr;

}

.hero-content h1{

font-size:36px;

}

.hero-content p{

font-size:18px;

}

}

.success-box{
    background:#e8f5e9;
    color:#2e7d32;
    padding:15px;
    border-radius:8px;
    margin-bottom:20px;
    border-left:5px solid #4caf50;
}

.error-box{
    background:#ffebee;
    color:#c62828;
    padding:15px;
    border-radius:8px;
    margin-bottom:20px;
    border-left:5px solid #e53935;
}