/* Base Styles */
:root {
    --primary-color: #2f3542;
    --secondary-color: #222429;
    --text-color: #686a6f;
    --text-dark: #222429;
    --background-color: #f8f9fa;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #686a6f;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
}

.journey-accordion .journey-header {
    background: #f5f5f5;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #ddd;
    margin-top: 10px;
    position: relative;
}

.journey-accordion .journey-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.journey-accordion .journey-header.active::after {
    content: '−'; /* minus sign */
}

.journey-accordion .journey-body {
    display: none;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.container-product{
    width: 50%;
    background-color: #000;
    padding: 50px;
}
    
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: darken(var(--primary-color), 10%);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* App Wrapper */
.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.main-header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    padding: 0 15px;
}

.logo {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.language-selector select {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    outline: none;
}

.language-selector select option {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    padding-bottom: 40px;
}

/* Section Styles */
section {
    padding: 50px 0;
    margin-bottom: 25px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.section-title {
    font-size: 28px;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.subsection-title {
    font-size: 22px;
    margin: 35px 0 20px;
    color: var(--text-dark);
    font-weight: 600;
}

/* Product Info Section */
.product-info-section {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 70px 0;
    margin-top: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.product-info-section::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: scale(3, 1);
    opacity: 0.2;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.product-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.9;
    color: #fff;
}

.product-description {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.85;
    font-size: 17px;
}

.product-specs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    min-width: 240px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.spec-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.spec-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.spec-content {
    flex: 1;
}

.spec-label {
    font-size: 14px;
    opacity: 0.8;
    color: #fff;
}

.spec-value {
    font-size: 17px;
    font-weight: 500;
    color: #fff;
}

/* Materials Section */
.materials-section {
    padding: 60px 0;
}

.materials-chart {
    margin-top: 30px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.materials-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 5px 0;
}

.material-percentage {
    width: 60px;
    text-align: right;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
}

.material-name {
    width: 180px;
    font-weight: 500;
    color: var(--text-dark);
}

.material-bar {
    flex: 1;
    height: 22px;
    background-color: var(--light-gray);
    border-radius: 11px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.material-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #2f3542 100%);
    border-radius: 11px;
    transition: width 1s ease-in-out;
}

/* Energy Process Section */
.energy-section {
    background-color: #fff;
    padding: 60px 0;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.process-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.process-item:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

.process-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(240, 101, 72, 0.3);
}

.process-details {
    flex: 1;
}

.process-name {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.process-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--dark-gray);
}

/* Journey Section */
.journey-section {
    padding: 60px 0;
}

.journey-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.journey-tab {
    padding: 12px 24px;
    border: 1px solid var(--medium-gray);
    border-radius: 25px;
    background-color: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
    color: var(--text-dark);
}

.journey-tab:hover {
    background-color: rgba(240, 101, 72, 0.1);
    border-color: var(--primary-color);
}

.journey-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(240, 101, 72, 0.3);
}

.journey-tab-content {
    display: none;
}

.journey-tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.supplier-entry {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 15px;
}

.supplier-entry:hover {
    transform: translateY(-5px);
}

.supplier-entry p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.supplier-entry p:first-child {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 17px;
}

/* Carbon Footprint Section */
.carbon-section {
    padding: 60px 0;
    background-color: #fff;
}

.carbon-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.carbon-metric {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.carbon-metric:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.carbon-metric.total {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2f3542 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(240, 101, 72, 0.3);
}

.carbon-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carbon-metric.total .carbon-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: none;
}

.carbon-details {
    flex: 1;
}

.carbon-label {
    font-size: 15px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carbon-value {
    font-size: 26px;
    font-weight: 700;
}

.carbon-visualization {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.carbon-chart {
    max-width: 700px;
    width: 100%;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 15px;
    margin-top: 30px;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.legend-color.material { background-color: #2f3542; }
.legend-color.energy { background-color: #686a6f; }
.legend-color.transport { background-color: #42a5f5; }
.legend-color.usage { background-color: #66bb6a; }
.legend-color.end-of-life { background-color: #ab47bc; }

/* Care Information Section */
.care-section {
    padding: 60px 0;
}

.care-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 950px;
    margin: 0 auto;
}

.care-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.care-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    border: 1px solid rgba(240, 101, 72, 0.2);
}

.care-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2f3542 100%);
    color: white;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(240, 101, 72, 0.3);
}

.care-details {
    flex: 1;
}

.care-label {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.care-value {
    font-weight: 600;
    font-size: 17px;
    color: var(--text-dark);
}

/* Certifications Section */
.certifications-section {
    padding: 60px 0;
}

.certifications-container {
    max-width: 1000px;
    margin: 0 auto;
}

.certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    background-color: #fff;
    border-left: 3px solid var(--primary-color);
}

.certification-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2f3542 100%);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(240, 101, 72, 0.3);
}

.certification-details {
    flex: 1;
}

.certification-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.certification-validity,
.certification-status {
    font-size: 14px;
    color: var(--dark-gray);
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.about-section .auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section .sec-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-section .inner {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.about-section .text-column {
    animation: fadeInUp 0.6s ease;
}

.about-section p,
.about-section .sec-title * {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Footer Content Section */
.footer-content-section {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Main Footer */
.main-footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    color: #fff;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #e05a3f;
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}


/* For better mobile experience */
@media (max-width: 768px) {

    .about-section {
        padding: 40px 0;
    }

    .about-section .inner {
        padding: 20px;
    }

    .about-section .sec-title {
        font-size: 22px;
    }

    .about-section p {
        font-size: 15px;
    }

    .product-title {
        font-size: 28px;
    }
    
    .product-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .spec-item,
    .carbon-metric,
    .care-item,
    .certification-item {
        flex-direction: column;
        text-align: center;
    }
    
    .carbon-icon,
    .care-icon,
    .certification-icon {
        margin-bottom: 10px;
    }
    
    .container-product{
    width: 90%;
    background-color: #000;
    padding: 50px;
}
    .journey-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .material-percentage {
        width: 40px;
        font-size: 16px;
    }
    
    .material-name {
        width: 120px;
        font-size: 14px;
    }
}

/* Animation for elements */
.animated {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}