﻿
:root {
    --primary: #16989A;
    --secondary: #e74c3c;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --accent: #16989A;
}

.bakeryimg img{
    border-radius: 50px;
    width: 100%;
    height: 760px;
}
/* Isolated Solutions Section with Header */
.intro-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.intro-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0px 0px 50px 0px;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.intro-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.intro-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.5rem;
    color: #16989A;
}

.intro-card h6 {
    font-size: 1.2rem;
    color: #707070;
}

.solutions-section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

    .solutions-section-title h2 {
        font-size: 2.2rem;
        display: inline-block;
        padding-bottom: 10px;
        background: #086d6e;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

        .solutions-section-title h2::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: #086d6e;
            margin: 10px auto 0;
            border-radius: 2px;
        }



@media (max-width: 768px) {
    .solutions-header h1 {
        font-size: 2.2rem;
    }

    .solutions-section-title h2 {
        font-size: 1.8rem;
    }

    .solutions-container {
        grid-template-columns: 1fr;
    }

    .benefit-card h3 {
        font-size: 1.5rem;
    }

    .benefit-card p {
        font-size: 1.2rem;
    }

    .benefit-card i {
        font-size: 1.8rem;
    }
}

.section-title h2 {
    display: inline-block;
    font-size: 2.2rem;
    color: var(--dark);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 10px;
}

    .section-title h2::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 4px;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        bottom: 0;
        border-radius: 2px;
    }

.solutions-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}


.solution-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    width: 480px;
    height: 240px;
    margin-bottom: 20px;
}

    .solution-card:hover {
        transform: scale(1.03);
    }

.card-header {
    background: linear-gradient(135deg, #16989A, var(--dark));
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

    .card-header i {
        font-size: 2rem;
        margin-right: 15px;
    }

.card-body {
    padding: 25px;
    padding-top: 0px;
}

    .card-body ul {
        list-style-type: none;
    }

    .card-body li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        font: 1.2rem;
    }

        .card-body li:last-child {
            border-bottom: none;
        }

        .card-body li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: var(--primary);
            margin-right: 10px;
        }

.benefits-section {
    background: linear-gradient(135deg, var(--dark), #1a252f);
    color: white;
    padding: 20px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .benefits-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/assets/images/IMAGES/Bakery/collage.jpg') center/cover;
        opacity: 0.1;
        z-index: 0;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
    width: 100%;
}

    .benefit-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.2);
    }

    .benefit-card i {
        font-size: 2rem;
        color: #16a085;
        margin-bottom: 15px;
    }

    .benefit-card h3 {
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

p {
    color: white;
    font-size: 15px;
    line-height: 21px;
}

/* Hero section with animated gradient */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9)), /* Transparent (left) → Black (right) */
        url(/assets/images/IMAGES/Bakery/collage.jpg);
        background-size: cover;
        background-position: center;
        background-blend-mode: multiply; /* Darkens the image under the gradient */
        filter: brightness(50%);
    }

.hero-content {
    width: 100%;
    z-index: 2;
    position: relative; /* Required for pseudo-elements */
    display: inline-block; /* Ensures the lines wrap the text properly */
    padding: 10px 60px;
}

    .hero-content::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px; /* Thickness of the line */
        height: 100%; /* Length of the vertical part */
        background: white;
    }

.hero h1 {
    font-size: 3rem;
    font-weight: bolder;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease forwards 0.3s;
    color: white;
    position: relative; /* Required for pseudo-elements */
    display: inline-block; /* Ensures the lines wrap the text properly */
    padding: 10px 20px; /* Adds space around the text for the lines */
    max-width: 526px;
}

    /* Top-left corner line */
    .hero h1::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 40px; /* Length of the horizontal part */
        height: 3px; /* Thickness of the line */
        background: white;
    }

    /* Top-left vertical line */
    .hero h1::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px; /* Thickness of the line */
        height: 40px; /* Length of the vertical part */
        background: white;
    }

    /* Bottom-right corner line (requires an additional wrapper or another pseudo-element) */
    .hero h1 span::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 40px;
        height: 3px;
        background: white;
    }

    .hero h1 span::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 3px;
        height: 40px;
        background: white;
    }

    .hero h1 span {
        color: #009999;
    }

.hero p {
    font-size: 20px;
    color: white;
    font-weight: bolder;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
    text-align: justify;
    max-width: 526px;
    font-family: 'Segoe UI';
    line-height: 1.2;
}


/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        justify-content: center;
        text-align: center;
        height: 90vh;
    }

    .hero-content {
        max-width: 90%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Fix for header visibility */
header {
    position: relative;
    z-index: 1000; /* Ensure header stays above everything */
}

.main-slogan {
    text-align: center;
    font-size: 2.8rem;
    letter-spacing: 3px;
    line-height: 1.3;
    animation: glow 2s infinite alternate;
    transition: transform 0.3s ease;
    padding-bottom: 40px;
    margin-top: -90px;
}

    .main-slogan:hover {
        transform: scale(1.03);
    }

@keyframes glow {
    0% {
        text-shadow: 0 0 10px black, 0 0 10px black, 0 0 15px black;
    }

    100% {
        text-shadow: 0 0 20px black, 0 0 30px;
    }
}

.solution-card-body {
    padding: 10px;
}

    .solution-card-body ul {
        list-style-type: none;
        padding: 0;
    }

    .solution-card-body li {
        padding: 5px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: flex-start;
        font-size: 1.2rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

        .solution-card-body li:last-child {
            border-bottom: none;
        }

        .solution-card-body li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: black;
            margin-right: 10px;
            margin-top: 3px;
        }



.thin-box {
    width: 518px;
    height: 250px;
    border: 5px solid #16989A; /* Thin, light gray border */
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    text-align: center;
    margin-bottom: 30px;
}

    .thin-box p {
        font-size: 1.2rem;
    }

.brimg {
    border: 10px solid #16989A;
    box-sizing: border-box;
}


.section1 {
    display: flex;
    min-height: 80vh;
    overflow: hidden;
}

.column {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-container {
    height: 100%;
    width: 100%;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
}

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.text-column {
    background-color: #16989A;
    color: white;
    padding: 60px 200px;
    display: flex;
    align-items: center;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
    justify-content: center;
}

.text-column1 {
    background: url('/assets/images/IMAGES/Bakery/collage1.jpg')center/cover no-repeat;
    color: white;
    padding: 60px 203px;
    display: flex;
    align-items: center;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
    filter: brightness(70%);
    margin-left: -170px;
}

.text-column h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-column p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .section {
        flex-direction: column;
    }

    .image-container,
    .text-column {
        clip-path: none;
    }

    .text-column {
        padding: 40px 20px;
    }
}

.material h3 {
    color: white;
    font-weight: bolder;
    text-align: center;
    font-size: 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section Responsiveness */
@media (max-width: 1200px) {


    .main-slogan {
        font-size: 2.5rem;
        margin-top: -50px;
    }
}

@media (max-width: 992px) {


    .main-slogan {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 250px 0 80px;
    }

    .main-slogan {
        font-size: 1.8rem;
        margin-top: -30px;
    }
}

@media (max-width: 576px) {
    .bakeryimg img {
        border-radius: 0px;
        width: 100%;
        height: 400px;
        padding-bottom:30px;
    }

    .main-slogan {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

/* Material Handling Section Responsiveness */
@media (max-width: 1200px) {
    .text-column {
        padding: 60px 100px;
    }

    .text-column1 {
        padding: 60px 103px;
        margin-left: -100px;
    }
}

@media (max-width: 992px) {
    .text-column {
        padding: 40px 60px;
    }

    .text-column1 {
        padding: 40px 63px;
        margin-left: -60px;
    }
}

@media (max-width: 768px) {
    .section1 {
        flex-direction: column;
        min-height: auto;
    }

    .text-column,
    .text-column1 {
        clip-path: none;
        width: 100%;
        padding: 150px 20px;
        margin-left: 0;
    }

    .text-column1 {
        height: 300px;
        margin-top: 20px;
    }

    .material h3 {
        font-size: 1.3rem;
    }
}

/* Packing Section Responsiveness */
@media (max-width: 1200px) {
    .solution-card {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 992px) {
    .row {
        flex-direction: column;
    }

    .col-8, .col-4 {
        width: 100%;
    }

        .col-8 img {
            width: 100%;
            height: auto;
            margin-bottom: 20px;
        }
}

@media (max-width: 768px) {
    .card-header {
        padding: 8px;
    }

        .card-header h3 {
            font-size: 1.3rem;
        }

    .card-body li {
        font-size: 1rem;
    }
}

/* Benefits Section Responsiveness */
@media (max-width: 768px) {
    .benefit-card {
        padding: 20px;
    }

        .benefit-card h3 {
            font-size: 1.2rem;
        }

        .benefit-card p {
            font-size: 1rem;
        }
}

/* General Improvements */
@media (max-width: 768px) {
    .intro-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .solutions-section-title h2 {
        font-size: 1.8rem;
    }
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure containers are responsive */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1320px;
}

/* Adjust flex row for mobile */


.col-8, .col-4 {
    box-sizing: border-box;
}

/* Responsive column handling */
@media (max-width: 992px) {
    .col-8, .col-4 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .solutions-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* Fix text scaling for hero */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.4;
        padding: 10px 15px;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 10px;
    }
}

/* Improve padding for intro cards on smaller screens */
@media (max-width: 576px) {
    .intro-cards {
        flex-direction: column;
        align-items: center;
    }

    .intro-card {
        width: 90%;
    }
}

/* Fix layout of benefits section on mobile */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        width: 100%;
    }
}

/* Responsive image fix */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text overflow fix */
h1, h2, h3, h6, p {
    word-wrap: break-word;
}

/* Minor fix: prevent section padding issues */
section {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 10px;
}

/* Flex layout for the packing section */
.packing-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col-8 {
    flex: 0 0 66.6666%;
    max-width: 66.6666%;
}

.col-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

/* Responsive behavior */
@media (max-width: 992px) {
    .packing-row {
        flex-direction: column;
    }

    .col-8, .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .solutions-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* Image scaling safety */
.packing-row img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
