html, body {
    height: 100%;
    margin: 0;
    padding: 0;

}

/* body {
    background-color: #e1cfc6;
} */

main, body, #nav-links {
    font-family: "Zen Antique", serif;
    font-weight: 400;
    font-style: normal;      
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Zen Antique", serif;
    font-weight: 500;
}

.zen-antique {
    font-family: "Zen Antique", serif;
    font-weight: 400;
}

.zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Preloader */
/* Preloader full screen */
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease-out;
    z-index: 10000;
}

/* Logo Animation */
.spinning-logo {
    width: 100px; /* Logo dimensions */
    animation: spin 4s linear infinite;
}

.navbar-spinning-logo:hover {
    animation: spin 4s linear infinite;
}

/* Company Name Animation */
.company-name {
    text-align: center;
    color: white;
    font-family: "Zen Antique", serif;
    font-size: 1.5rem;
    /* font-weight: bold; */
    margin-top: 20px;
}

.line1, .line2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.line2 {
    animation-delay: 0.5s;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 3.5s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
    transform: scale(1.15);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.2rem;
    color: rgb(201, 220, 228);
    /* background: rgba(70, 70, 70, 0.3); */
    padding: 0.5rem 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 100;
}

.carousel-arrow.left-arrow {
    left: 20px;
}

.carousel-arrow.right-arrow {
    right: 20px;
}

/* Hover olunca fade-in yap */
.carousel:hover .carousel-arrow {
    opacity: 1;
}

/* .carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 3.5s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
    transform: scale(1.15);
}

.carousel-item img {
    opacity: 0.9;
    background-color: #c1b7b0;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: rgb(40, 35, 35);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
    user-select: none;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.4);
}

.carousel-nav.left {
    left: 20px;
}

.carousel-nav.right {
    right: 20px;
}

.carousel-nav.hidden {
    display: none;
} */

.offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Social links and policies */
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 40px 20px;
    position: relative;
}

.catalogue-button {
    display: inline-block;
    padding: 4px 8px;
    background-color: #484848;
    color: #fff;
    font-size: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.catalogue-button:hover {
    background-color: #bbbbbb;
    color: #484848;
    transform: scale(1.05);
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-links li {
    margin: 20px 0;
}

.menu-links a {
    display: block;
    text-decoration: none;
    color: black;
    font-size: 1.4rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.menu-links a:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.menu-logo {
    background-image: url("../img/gaea_logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    height: 200px;
    margin: auto;
    opacity: 0.15;
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 20px;
    margin-bottom: 5px;
}

nav .breadcrumb a {
    text-decoration: none;
    color: gray;
}

.social-links a {
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contactTable a {
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.year {
    font-size: 14px;
    margin-bottom: 5px;
}

.policies {
    text-align: center;
    font-size: 12px;
    position: absolute;
    bottom: 20px;
    width: 100%;
    opacity: 0.6;
}

.policies a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.policies a:hover {
    color: rgba(0, 0, 0, 1);
}

.channels {
    color: #e1cfc6;
}

.channels i:hover {
    transform: scale(1.05);
    color: rgb(136, 117, 117);

}

.navtoggler {
    z-index: 15;
}

.menubar {
    position: absolute;
    order: 1;
}

footer {
    padding-top: 1rem;
    font-family: "Zen Antique", serif;
    font-weight: 400;
    font-style: normal;
    color: #f1f1f1;      
}

footer a {
    text-decoration: none;
    color: #767473;
}

footer a:hover {
    color: #2a2222;
}

.contact-icons a:hover {
    color: #2a2222;
    border-color: #343a40;
}

ul {
    list-style: none;
}

.cookie p, table {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.cookie ul {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.privacy p, table {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.privacy li {
    list-style-type: square;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.privacy li ul li{
    list-style-type: circle;
}

.cookie li {
    list-style-type: square;
}

.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .collapsible:hover {
    background-color: #ccc;
}
  
  /* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.about {
    width: 100%;
    padding-top: 50px;
}

.about-body {
    width: 50%;
    background: white;
    margin: 0 auto 50px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.about a {
    text-decoration: none;
    color: #2a2222;
}

.about a:hover {
    color: #767473;
    transform: scale(1.2);
    cursor: pointer;
}

.about-text {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    color: #000;
}

.about img {
    width: 85%;
}

#alertcookies {
    text-align: center;
    font-size: 1rem;
    position: fixed;
    bottom: 50px;
    z-index: 20000;
}

#nav-links .nav-link:focus {
    color: aliceblue;
}

.clearfix {
    overflow: auto;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#nav-icon {
    display: block;
    position: absolute;
    top: 1.8rem;
    right: 2rem;
    font-size: 2.5rem;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;  /* Menu button to left, logo center */
    position: absolute;
    width: 100%;
    top: 10px;
    left: 0;
    background: transparent; /* Navbar bg */
    padding: 15px 20px;
    z-index: 1000;
}

/* Menu Button */
.menu-btn {
    font-size: 24px;
    cursor: pointer;
    position: fixed;
}

.blog-banner {
    position: relative;
    overflow: hidden;
    text-align: left;
}

.bg-img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.bg-img:hover {
    transform: scale(1.05);
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-transform: uppercase;
    color: #000;
}

.overlay-text h1 {
    font-size: 3rem;
}
.thumbnail-blog {
    width: 50px;
    height: 50px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.container-blog-thumbnail img:hover {
    opacity: 0.6;
}

.container-blog-thumbnail a {
    text-decoration: none;
    color: #858181;
}

.container-blog-thumbnail a:hover {
    cursor: pointer;
    text-decoration: none;
    opacity: 0.6;
}

/* Logo + Company Name */
.brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);  /* to align */
    display: flex;
    align-items: center;
}

.brand img {
    height: 40px;
    margin-right: 10px;
}

.brand span {
    font-size: 1.9rem;
    text-transform: uppercase;
    color: white; 
    letter-spacing: 7px;
}

.product-group { 
    margin: 20px auto; 
    max-width: 1200px; 
}

.product-group h2 { 
    /* border-bottom: 2px solid #333;  */
    padding-bottom: 10px;
    text-transform: uppercase; 
}

.products { 
    display: flex; 
    justify-content: start; 
    gap: 20px; 
    row-gap: 40px;
    flex-wrap: wrap; 
}

.product img { 
    width: 100%; 
    height: 210px; 
    transition: opacity 0.3s ease-in-out; 
    cursor: pointer; 
}

.product img:hover { 
    opacity: 0.6; 
}

.product-name { 
    text-transform: uppercase; 
    text-align: center; 
    font-size: 1.1rem; 
    margin-top: 5px; 
}

.offcanvas-collapse {
    position: fixed;
    top: 85px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
}

.offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
}

/* Product-Details Page*/
.container-product-detail {
    /* display: grid;
    grid-template-columns: 1fr 3fr 2fr; */
    gap: 20px;
    padding: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

#productModal, #inquiryModal {
    font-family: "Zen Kaku Gothic New", sans-serif;
}    

.sidebar {
    position: fixed;
    padding-left: 20px;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-info {
    display: block;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* border: 1px solid gray; */
    cursor: pointer;
    transition: 0.3s;
}

.thumbnail:hover {
    opacity: 0.6;
    /* border-color: black; */
}

/* Blog Banner */
.blog-banner {
    position: relative;
    overflow: hidden;
    text-align: left;
    height: 500px;
    font-family: 'Poppins:', sans-serif;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.bg-img:hover {
    transform: scale(1.05);
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-transform: uppercase;
}

.overlay-text h1 {
    font-size: 3rem;
}

.thumbnail-blog {
    width: 80px;
    height: 80px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-blog:hover {
    opacity: 0.6;
}

/* Blog-Detail*/

.blog-detail-header {
    width: 100%;
    height: 400px;
    background: url('../img/hope-chandelier-sm.png') center/cover no-repeat;
    position: relative;
}

.blog-detail-content {
    width: 50%;
    background: white;
    margin: -80px auto 50px; /* Over picture */
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.blog-detail-title {
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: bold;
}

.blog-detail-content h2 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.3rem;
    text-decoration: underline;
    font-weight: 700;
    margin-top: 10px;
}

.blog-detail-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-detail-content img {
    display: block;
    margin: 0 auto;
    max-width: 70%;
}

.blog-detail-content .img-description {
    display: block;
    margin: 0 auto;
    max-width: 70%;
    font-size: 0.9rem;
    font-style: italic;
}

.blog-detail-footer {
    font-size: 0.85rem;
    color: #999;
    margin-top: 30px;
    text-transform: uppercase;
}

.read-more-section {
    background: #f8f9fa;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.read-more-container {
    width: 50%;
    margin: 0 auto;
}

.read-more-title {
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    font-weight: bold;
}

.read-more-item p {
    font-size: 0.9rem;
}

.read-more-item a {
    color: black;
    text-decoration: underline;
    transition: text-decoration 0.3s ease-in-out;
    cursor: pointer;
}
.read-more-item a:hover {
    text-decoration: none;
}

.read-more-section img {
    transition: transform 0.8s ease-in-out; /* Slower growth effect */
    width: 100%;
    max-width: 400px;
}
.read-more-section img:hover {
    transform: scale(1.06);
}

/* Others */
.product-gallery {
    padding-left: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.zoomable {
    width: 100%;
    transition: transform 0.3s ease;
}

.fullscreen-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

.accordion {
    margin-top: 20px;
}

.accordion-item {
    border: none;
    margin-bottom: 5px;
}

.accordion-header {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    border: none;
}

.accordion-content {
    display: none;
    padding: 10px;
    background: #f9f9f9;
}

.icon {
    font-weight: bold;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
}

.prev-btn, .next-btn {
    position: absolute;
    background: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    align-items: center;
    z-index: 1001;
}

.close-btn { 
    top: 20px; 
    right: 20px; 
    position: absolute;
    background: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 15px;
    align-items: center;
    z-index: 1001;
}

.prev-btn { left: 10px; }

.next-btn { right: 10px; }

/* WishList */
.wishlist-btn {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.wishlist-btn:hover::after {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    color: black;
}

.wishlist-icon {
    color: black;
}

.wishlist-icon.active-wl {
    color: black;
}

.wishlist-count {
    font-size: 12px;
    background: gray;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: 5px;
    right: -10px;
    display: none;
}

.toast-container {
    width: 90%;
    z-index: 1002; 
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 14px;
        overflow-x: hidden;
    }
    
}

@media (max-width: 787px) {
    html {
        font-size: 13px;
    }

    .about-body {
        width: 70%;
        background: white;
        margin: 0 auto 40px;
        padding: 20px;
        position: relative;
        z-index: 2;
    }    
    
}

@media (max-width: 769px) {
    .product-info {
        display: block;
        margin-left: 3rem;
        padding-left: 4rem;
    }
}


@media (max-width: 567px) {
    html {
        font-size: 13px;
    }

    .newsletter-div p {
        display: none;
        font-family: "Zen Kaku Gothic New", sans-serif;
    }

    .newsletter-div h4 {
        font-family: "Zen Kaku Gothic New", sans-serif;
    }

    .sidebar {
        position: fixed;
        padding-left: 1px;
        top: 100px;
        display: flex;
        flex-direction: column;
        gap: 7px;
    }
    
    .products { 
        display: flex; 
        justify-content: center; 
        gap: 10px; 
        flex-wrap: wrap; 
    }
    
    .product-gallery {
        padding-left: 60px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .product img { 
        width: auto; 
        height: 220px; 
        transition: opacity 0.3s ease-in-out; 
        cursor: pointer; 
    }    
    
    .image-container {
        overflow: hidden;
        position: relative;
        width: 90%;
    }

    .thumbnail {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        /* border: 1px solid gray; */
        cursor: pointer;
        transition: 0.3s;
    }    

    .modal {
        width: 90%;
    }

    .blog-detail-header {
        height: 300px;
    }

    .blog-detail-content {
        width: 80%;
        background: white;
        margin: -50px auto 50px; /* Over picture */
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 2;
    }
    
    .blog-detail-content img {
        display: block;
        margin: 0 auto;
        max-width: 85%;
    }
}

@media (max-width: 379px) {

    html {
        font-size: 12px;
    }

    #navbarLogo span {
        font-size: 14px;
    }

    .spinning-logo {
        width: 70px; /* Logo dimensions */
    }

    .brand span {
        font-size: 1.5rem;
        text-transform: uppercase;
        color: white; 
        letter-spacing: 4px;
    }
    
    .about-body {
        width: 80%;
        background: white;
        margin: 0 auto 40px;
        padding: 20px;
        position: relative;
        z-index: 2;
    }    

    .product-group { 
        margin: 10px auto; 
        max-width: 330px; 
    }
    
    .product-group h2 { 
        /* border-bottom: 2px solid #333;  */
        padding-bottom: 5px; 
    }
    
    .products { 
        display: flex; 
        gap: 10px; 
        flex-wrap: wrap; 
    }

    .product img { 
        width: auto; 
        height: 200px; 
        transition: opacity 0.3s ease-in-out; 
        cursor: pointer; 
    }

    .lightbox img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .prev-btn, .next-btn {
        position: absolute;
        background: white;
        border: none;
        padding: 5px;
        cursor: pointer;
        font-size: 20px;
        align-items: center;
        z-index: 1001;
    }     
}

@media (max-width: 267px) {

    html {
        font-size: 10px;
    }

    .company-name {
        text-align: center;
        color: white;
        font-family: "Zen Antique", serif;
        font-size: 0.8rem;
        /* font-weight: bold; */
        margin-top: 10px;
    }

    .navbar-spinning-logo {
        display: none;
    }

    .product img { 
        width: auto; 
        height: 170px; 
        transition: opacity 0.3s ease-in-out; 
        cursor: pointer; 
    }
}

@media (max-width: 221px) {
    html {
        font-size: 8px;
    }
}