:root {
    --primary-yellow: #FFD700;
    --bright-yellow: #FFEB3B;
    --dark-yellow: #F9A825;
    --text-dark: #212529;
    --text-light: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    background-color: var(--bright-yellow) !important;
    padding: 1rem 0;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.brand-text {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-dark) !important;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.dropdown-menu {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    color: var(--text-dark);
    transition: all 0.2s ease-in-out;
    padding: 10px 20px;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--bright-yellow);
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

/* Hero Buttons */
.btn-hero {
    background-color: white;
    border-color: white;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-hero:hover {
    background-color: var(--bright-yellow);
    border-color: var(--bright-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        align-items: stretch;
    }
    
    .hero-buttons .btn-hero {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 12px 20px;
        text-align: center;
    }
}

.btn-warning {
    background-color: var(--bright-yellow);
    border-color: var(--bright-yellow);
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-warning:hover {
    background-color: var(--dark-yellow);
    border-color: var(--dark-yellow);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-warning {
    border-color: var(--bright-yellow);
    color: var(--text-dark);
    font-weight: 600;
}

.btn-outline-warning:hover {
    background-color: var(--bright-yellow);
    border-color: var(--bright-yellow);
    color: var(--text-dark);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
}

/* About Section */
.about-section {
    background-color: var(--bright-yellow);
    padding: 60px 0;
}

.about-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Vision Mission Section */
.vision-mission-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.vm-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.vm-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--bright-yellow);
}

.vm-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.vm-content-en {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
}

.vm-list {
    list-style: none;
    padding: 0;
}

.vm-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.vm-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--bright-yellow);
    font-size: 1.2rem;
}

/* Products Section */
.products-preview-section {
    background-color: white;
    padding: 60px 0;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    background-color: #f8f9fa;
    padding: 30px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 200px;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    background-color: var(--bright-yellow);
}

.product-info h4 {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.netto {
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
.footer-section {
    background-color: var(--bright-yellow) !important;
}

.footer-section a {
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--text-dark) !important;
    text-decoration: underline !important;
}

.text-purple {
    color: #E4405F;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bright-yellow) 0%, var(--dark-yellow) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

/* Certificates Grid */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .certificate-grid {
        grid-template-columns: 1fr;
    }
}

.certificate-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.certificate-image {
    width: 100%;
    height: 300px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.certificate-info {
    padding: 20px;
    background-color: var(--bright-yellow);
}

/* News Cards */
.news-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
    margin-bottom: 30px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    min-height: 200px;
    max-height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}

.news-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Partnership Section */
.partnership-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.partnership-card {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s;
    height: 100%;
}

.partnership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--bright-yellow);
}

.partnership-icon {
    font-size: 4rem;
    color: var(--bright-yellow);
    margin-bottom: 20px;
}

/* Product Modal */
.product-modal-top {
    position: relative;
}

.product-info-list li {
    line-height: 1.8;
}

.product-modal-bottom {
    background-color: white;
}

.map-container {
    position: relative;
}

.map-container iframe {
    transition: opacity 0.3s;
}

.map-container:hover iframe {
    opacity: 0.9;
}

/* Partners Section */
.partners-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.partners-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0; /* Add padding to prevent hover crop */
}

.partners-carousel {
    display: flex;
    animation: scroll 60s linear infinite;
    align-items: center;
    width: fit-content;
}

.partners-carousel:hover {
    animation-play-state: paused;
}

/* Duplicate items for seamless loop */
.partners-carousel .partner-item {
    animation: none;
}

.partner-item {
    flex-shrink: 0;
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    min-width: 200px;
    margin-right: 40px; /* Use margin instead of gap for perfect -50% translation */
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.partner-name {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .partnership-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .partnership-card {
        padding: 30px 20px;
    }
    
    .partnership-icon {
        font-size: 3rem;
    }
    
    .product-modal-top .row {
        flex-direction: column;
    }
    
    .product-modal-top .col-md-4 {
        margin-bottom: 20px;
    }
    
    .product-modal-top .col-md-8 {
        text-align: center;
    }
    
    .vm-card {
        margin-bottom: 20px;
    }
    
    .certificate-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .partners-section {
        padding: 40px 0;
    }
    
    .partner-item {
        min-width: 150px;
        padding: 15px;
    }
    
    .partner-item img {
        max-width: 120px;
        max-height: 80px;
    }
    
    .partners-carousel {
        gap: 20px;
    }
}

