Uname: Linux server.saraya-global.com 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Tue Sep 30 05:56:43 EDT 2025 x86_64
User: 1003 (sarayaglobal)
Group: 1004 (sarayaglobal)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/sarayaglobal/lakanto.com.my/dev      ( Reset | Go to )
File Name: style1.css
/* Natural Sweetener Section */
.natural-sweetener-section {
    background: url('img/banner2_zero-calorie.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    height: 70vh;
}

/* Navbar */
.navbar-nav {
    --bs-navbar-nav-link-padding-x: 1.5rem;
}
.navbar .nav-link {
    color: #5B321D;
    font-weight: 700;
    text-transform: uppercase;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #EF3340;
}


/* === Default Text & Heading Colors === */
body {
    color: #5B321D;
    font-family: 'Lato', sans-serif;
    padding-top: 0px;
    background-color: #ffffff; /* Default light background */
}
h1, h2, h3, h4, h5, h6 {
    color: #5B321D;
}
.product-scroll-wrapper .card-title a {
    color: #5B321D;
    text-decoration: none;
    transition: color 0.2s;
}
.product-scroll-wrapper .card-title a:hover {
    color: #EF3340;
}
#category .card-title {
    color: #5B321D;
}
.recipe-card-link .card-title,
.recipe-card .card-title {
     color: #5B321D;
}
/* Keep product detail title red */
h1.product-detail-title {
    color: #EF3340 !important;
}
.shop-card .card-footer a {
    color: #5B321D;
}
.shop-card .card-footer a:hover {
    color: #EF3340;
}


/* === General Layout === */
.container {
    max-width: 1200px;
}
.section-placeholder {
    padding: 60px 0;
}
.section-placeholder-dark {
    background-color: #FDFAF4;
}
.text-danger {
    color: #EF3340 !important;
}
.bg-danger {
    background-color: #EF3340 !important;
    color: #ffffff;
}
.btn-danger {
    background-color: #EF3340;
    border-color: #EF3340;
}
.btn-danger:hover {
    background-color: #d82c37;
    border-color: #d82c37;
}

/* === Title Styles (Base) === */
h2 {
    font-size: 65px;
    text-transform: uppercase;
    font-weight: 700;
}
h3 {
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Lato", sans-serif;
}
.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
}


/* === Product Scroller Styles === */
.product-scroll-container {
    position: relative;
}
.product-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.product-scroll-wrapper::-webkit-scrollbar {
    display: none;
}
.product-scroll-wrapper .card {
    flex: 0 0 auto;
    width: 280px;
    margin-right: 1rem;
    background: #ffffff;
    /* UPDATED STYLES FOR BORDER AND SHADOW */
    border: 1px solid #e9e9e9; 
    border-radius: 8px; /* Added slight rounding for card edges */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Very light shadow */
    transition: all 0.3s ease; /* Added transition for hover effect */
}
/* ADDED HOVER EFFECT for a better user experience */
.product-scroll-wrapper .card:hover {
    transform: translateY(-3px); /* Lifts the card slightly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Slightly more prominent shadow on hover */
    border-color: #ddd; /* Subtle border change on hover */
}
.product-scroll-wrapper .card-img-top {
    height: 200px;
    object-fit: contain;
    /* ADDED TOP PADDING TO IMAGE CONTAINER */
    padding-top: 1rem; 
    padding-bottom: 0; /* Ensures no padding conflicts with card-body margin */
    padding-left: 0;
    padding-right: 0;
}
.product-scroll-wrapper .card-body {
    /* REMOVED DEFAULT BOOTSTRAP PADDING AND SET CUSTOM BOTTOM PADDING */
    padding-top: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 1rem; /* MATCHED TOP PADDING of image for symmetry */
}
.product-scroll-wrapper .card-title {
    min-height: 50px;
    font-size: 1.1rem;
    margin-bottom: 0; /* Removed default bottom margin on title */
}
.scroll-btn {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 10;
    background: #e9ecef;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 1;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.scroll-btn:hover:not(:disabled) {
    background: #d3d3d3;
}
#scrollLeftBtn {
    left: -25px;
}
#scrollRightBtn {
    right: -25px;
}

/* === Promo Banner Styles === */
.promo-banner {
    background-image: url('img/banner-2.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}
.promo-banner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5B321D;
}
.promo-banner .lead {
    font-size: 1.2rem;
    color: #5B321D;
}
.promo-text-box {
    background-color: rgba(253, 250, 244, 0.375);
    padding: 2.5rem;
    border-radius: 15px;
}
.promo-banner .btn-light {
    color: #5B321D;
}


/* === Recipe Card Styles (Index Page) === */
.recipe-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.recipe-card-link .card {
    transition: all 0.3s ease;
}
.recipe-card-link:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.view-all-link {
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: #5B321D;
}
.view-all-link:hover {
    color: #EF3340;
    text-decoration: underline;
}

/* === Responsive Banner Styles === */
.responsive-banner {
    background-size: cover;
    background-position: center center;
    width: 100%;
}
#banner-what-makes {
    background-image: url('img/banner3_what_makes_lakanto_special.png');
    height: 320px;
}
#banner-how-its-made {
    background-image: url('img/banner4_how_lakato_is_made.png');
    height: 320px;
}

/* === Filter Button Styles === */
.filter-buttons .btn {
    border-radius: 20px;
    padding: 8px 25px;
    font-weight: 700;
    margin: 5px;
    background-color: #FDFAF4;
    border: none;
    color: #5B321D;
}
.filter-buttons .btn:hover, .filter-buttons .btn.active {
    background-color: #EF3340;
    color: white;
}

/* === Breadcrumb Styles === */
.breadcrumb-bar {
    background-color: #f8f9fa;
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}
.breadcrumb {
    margin-bottom: 0;
}
.breadcrumb-item {
    font-weight: 600;
}
.breadcrumb-item a {
    text-decoration: none;
    color: #EF3340;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #6c757d;
}

/* === Product Detail Title (Base Style) === */
.product-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #EF3340;
}


/* === Tab Styles (About Page) === */
.lakanto-tabs-section .nav-tabs {
    border-bottom: none;
    gap: 10px;
    justify-content: center;
    margin-bottom: 0;
}
.lakanto-tabs-section .nav-tabs .nav-link {
    border-radius: 20px;
    padding: 8px 25px;
    font-weight: 700;
    margin: 5px;
    background-color: #FDFAF4;
    border: none;
    color: #5B321D;
    transition: all 0.3s ease;
}
.lakanto-tabs-section .nav-tabs .nav-link:hover {
     border-color: transparent;
}
.lakanto-tabs-section .nav-tabs .nav-link.active {
    background-color: #EF3340;
    color: white;
    border-color: transparent;
}
.lakanto-tabs-section .tab-content {
    padding-top: 40px;
}
.lakanto-tabs-section .tab-pane h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #5B321D;
}
.lakanto-tabs-section .tab-pane p {
    line-height: 1.8;
    color: #5B321D;
}
 .lakanto-tabs-section .tab-pane img {
    max-width: 250px;
    height: auto;
    border-radius: 5px;
}


/* === About Page Specific Styles === */
.about-tab-image {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}
.about-tab-chart {
    max-width: 600px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* === Page Header Styles (Products/Recipes/Shop/Contact etc.) === */
.page-header {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}
.page-header h1 {
    font-size: 55px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
}

/* === Product Grid/Card Styles (products.html) === */
.product-grid {
    padding-bottom: 60px;
}
.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.product-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    padding: 1rem;
}
.product-card .card-body {
    padding: 20px;
}
.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* === Recipe Grid/Card Styles (recipes.html) === */
.recipe-grid {
    padding-bottom: 60px;
}
.recipe-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.recipe-card .card-img-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.recipe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recipe-card .card-body {
    padding: 20px;
}
.recipe-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
}
.recipe-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
}
.recipe-card .recipe-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* === Modal Styles (recipes.html) === */
.modal-lg {
    max-width: 800px;
}
.modal-content {
    border-radius: 10px;
}
.modal-header {
    border-bottom: none;
}
.modal-body {
    padding: 2rem;
    color: #5B321D;
}
#modalRecipeImage {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
#modalRecipeTitle {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #5B321D;
}
.recipe-section-title {
    font-weight: 700;
    text-transform: uppercase;
    color: #5B321D;
    margin-bottom: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}
#modalRecipeIngredients ul {
    padding-left: 1rem;
    list-style: none;
}
 #modalRecipeIngredients li {
    margin-bottom: 0.5rem;
}
#modalRecipeMethod ol {
    padding-left: 1.2rem;
}
#modalRecipeMethod li {
    margin-bottom: 1rem;
    line-height: 1.7;
}
#loadingIndicator {
    min-height: 400px;
}

/* === Shop Page Styles === */
.shop-card {
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 8px;
}
.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.10)!important;
}
.shop-card img {
    max-height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.shop-card .card-body {
    padding: 1.5rem;
}
.shop-card .card-footer {
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}
.shop-card a {
    text-decoration: none;
    font-weight: 700;
}

/* === Contact Page Styles === */
.contact-section {
    padding: 60px 0;
    background-color: #ffffff;
}
.contact-info h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}
.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5B321D;
    margin-bottom: 1.5rem;
}
.contact-details {
    list-style: none;
    padding-left: 0;
}
.contact-details li {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #5B321D;
}
.contact-details li.align-top {
    align-items: flex-start;
}
.contact-details .icon {
    font-size: 1.5rem;
    color: #EF3340;
    margin-right: 15px;
}
.map-container {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}
.map-container iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 450px;
}

/* === NEW: Product Detail Page Styles === */
.product-detail-section {
    padding: 80px 0;
    background-color: #ffffff; /* White background for product detail area */
}
.product-detail-image {
    max-width: 100%;
    border-radius: 8px;
}
.product-tag {
    /* background-color varies per product, kept inline */
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}
.benefits-list {
    list-style: none;
    padding-left: 0;
}
.benefits-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    /* color: #5B321D; Inherited */
}
.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #EF3340; /* Keep bullet points red */
    font-size: 1.5rem;
    line-height: 1;
}
.product-section-heading {
    font-weight: 700;
    color: #5B321D; /* UPDATED COLOR */
    padding: 1rem 0 0.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid #eee;
    text-transform: uppercase;
}
.available-logos img {
    height: 100px;
    margin-right: 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.available-logos img:hover {
    opacity: 1;
}
.spec-button {
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    color: #5B321D; /* UPDATED COLOR */
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 5px;
    display: inline-block;
}


/* === Media Queries for Responsiveness === */

/* Mobile Padding for Container */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* General Mobile Styles */
@media (max-width: 768px) {
    h2 {
        font-size: 48px;
    }
    h3 {
        font-size: 32px;
    }
    .product-title { /* Scroller Title */
        font-size: 1.4rem;
    }
    .promo-banner h2 {
        font-size: 1.5rem;
        color: #5B321D;
    }
    .promo-banner .lead {
        font-size: 1.2rem;
        color: #5B321D;
    }
    #banner-what-makes, #banner-how-its-made {
        height: 150px; /* Mobile height */
    }

    #category .card-title {
        font-size: 0.9rem;
    }
    #category .card-text {
        font-size: 0.8rem;
    }

    .product-scroll-wrapper .card {
        width: 180px;
    }
    .product-scroll-wrapper .card-img-top {
        height: 150px;
        /* Adjusted mobile padding */
        padding-top: 0.75rem; 
    }
    .product-scroll-wrapper .card-body {
        /* Adjusted mobile padding */
        padding-bottom: 0.75rem;
    }
    .product-scroll-wrapper .card-title {
        font-size: 0.9rem;
        min-height: 45px;
    }
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    #scrollLeftBtn {
        left: 5px;
    }
    #scrollRightBtn {
        right: 5px;
    }
    .product-detail-title { /* Product Page Title */
        font-size: 1.5rem; /* Corrected typo from 1.5rem to 1.5rem */
        line-height: 1.8;
    }
    .lakanto-tabs-section .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        margin: 3px;
    }
    .lakanto-tabs-section .nav-tabs {
         flex-wrap: wrap;
    }
     .about-tab-image {
        float: none !important;
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 1.5rem !important;
        max-width: 80%;
    }
     .lakanto-tabs-section .tab-pane img {
         max-width: 80%;
         display: block;
         margin-left: auto;
         margin-right: auto;
         margin-bottom: 1rem;
    }
     .lakanto-tabs-section .tab-pane h4 {
         font-size: 24px;
     }
     .page-header h1 {
        font-size: 40px;
     }
     .product-card img, .recipe-card .card-img-container {
        height: 200px;
     }
     .contact-info h2 {
        font-size: 1.8rem;
     }
     /* === NEW: Mobile Product Detail Heading === */
     .product-section-heading {
        font-size: 1.1rem; /* Adjust heading size on mobile */
     }

}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL