/* Products Page Specific Styles */

/* Navbar Override for Transparent Effect */
.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    padding: 15px 0 !important;
    background: transparent !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 0 !important;
}

/* Logo styling untuk mode transparan */
.navbar .nav-logo h2 {
    color: #fff !important;
    transition: color 0.3s ease !important;
}

.navbar.scrolled .nav-logo h2 {
    color: #c41e3a !important;
}

.navbar .nav-logo span {
    color: #fff !important;
    transition: color 0.3s ease !important;
}

.navbar.scrolled .nav-logo span {
    color: #666 !important;
}

/* Navigation links untuk mode transparan */
.navbar .nav-link {
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.navbar.scrolled .nav-link {
    color: #333 !important;
}

.navbar .nav-link:hover {
    color: #c41e3a !important;
}

/* Mobile toggle untuk mode transparan */
.navbar .nav-toggle .bar {
    background: #fff !important;
    transition: 0.3s !important;
}

.navbar.scrolled .nav-toggle .bar {
    background: #333 !important;
}

/* Page Header */
.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

/* Active nav link */
.nav-link.active {
    color: #c41e3a !important;
}

.navbar.scrolled .nav-link.active {
    color: #c41e3a !important;
}

/* Product Categories Filter */
.product-categories {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.filter-btn:hover,
.filter-btn.active {
    background: #c41e3a;
    border-color: #c41e3a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

/* Interactive Beef Cuts Styles */
.interactive-beef {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow-x: hidden;
}

.interactive-beef .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.beef-diagram-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

.beef-svg-wrapper {
    flex: 0 1 550px;
    max-width: 550px;
    position: relative;
    width: 100%;
}

.beef-diagram {
    width: 100%;
    height: auto;
    cursor: pointer;
    max-width: 100%;
    display: block;
}

/* Ensure SVG scales properly */
.beef-svg-wrapper svg {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Beef Cut Styling */
.beef-cut {
    cursor: pointer;
    transition: fill 0.2s ease;
    stroke: none !important;
    outline: none !important;
    border: none !important;
}

.beef-cut:hover {
    fill: #e74c3c !important;
}

.beef-cut.active {
    fill: #e74c3c !important;
}

/* Text labels styling */
.cut-label {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 12px;
    fill: #000000;
    pointer-events: none;
    transition: fill 0.2s ease;
}

.cut-label tspan {
    font-size: 9px;
    fill: #000000;
}

/* When cut is active, make text white */
.beef-cut.active + text.cut-label,
.beef-cut:hover + text.cut-label {
    fill: #ffffff !important;
}

.beef-cut.active + text.cut-label tspan,
.beef-cut:hover + text.cut-label tspan {
    fill: #ffffff !important;
}
.beef-info-panel {
    flex: 0 1 420px;
    max-width: 420px;
    background: #e74c3c;
    color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.3);
    padding: 30px;
    min-height: 400px;
    margin-left: 0;
    transition: all 0.3s ease;
    width: 100%;
}

.beef-info-panel h3 {
    color: #ffffff !important;
    font-weight: bold;
}

.beef-info-panel p {
    color: #ffffff !important;
}

.beef-info-panel strong {
    color: #ffffff !important;
    font-weight: bold;
}

.beef-info-panel .features span {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-placeholder {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.info-placeholder i {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.info-placeholder h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.info-placeholder p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Cut info styling */
.part-info h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
    font-weight: 700;
}

.part-info p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}

.part-info strong {
    color: #333;
    font-weight: 600;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.features span {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.2);
    transition: all 0.3s ease;
}

.features span:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Hover effect enhancement */
.beef-cut:hover + .cut-label,
.beef-cut.active + .cut-label {
    fill: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design for Interactive Beef */
@media (max-width: 1200px) {
    .interactive-beef .container {
        max-width: 1200px;
        padding: 0 30px;
    }

    .beef-diagram-container {
        gap: 30px;
    }

    .beef-svg-wrapper {
        flex: 0 1 500px;
        max-width: 500px;
    }

    .beef-info-panel {
        flex: 0 1 380px;
        max-width: 380px;
        padding: 25px;
    }
}

@media (max-width: 1024px) {
    .interactive-beef .container {
        padding: 0 25px;
    }

    .beef-diagram-container {
        gap: 25px;
    }

    .beef-svg-wrapper {
        flex: 0 1 450px;
        max-width: 450px;
    }

    .beef-info-panel {
        flex: 0 1 350px;
        max-width: 350px;
        padding: 25px;
        position: static;
        min-height: 350px;
    }

    .part-info h3 {
        font-size: 1.6rem;
    }

    .cut-label {
        font-size: 11px;
    }

    .cut-label tspan {
        font-size: 8px;
    }
}

@media (max-width: 768px) {
    .interactive-beef {
        padding: 60px 0;
    }

    .interactive-beef .container {
        padding: 0 15px;
    }

    .beef-diagram-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .beef-svg-wrapper {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .beef-info-panel {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        min-height: 300px;
        padding: 25px;
        box-sizing: border-box;
    }

    .beef-diagram {
        padding: 15px 0;
    }

    .cut-label {
        font-size: 10px;
    }

    .cut-label tspan {
        font-size: 7px;
    }

    .part-info h3 {
        font-size: 1.4rem;
    }

    .features span {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .flip-button {
        top: 10px;
        right: 10px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .interactive-beef {
        padding: 50px 0;
    }

    .beef-svg-wrapper {
        padding: 0 10px;
    }

    .beef-info-panel {
        padding: 20px;
        min-height: 280px;
        border-radius: 12px;
    }

    .part-info h3 {
        font-size: 1.3rem;
    }

    .part-info p {
        font-size: 0.9rem;
    }

    .cut-label {
        font-size: 9px;
    }

    .cut-label tspan {
        font-size: 6.5px;
    }

    .info-placeholder {
        padding: 30px 15px;
    }

    .info-placeholder i {
        font-size: 2.8rem;
    }

    .info-placeholder h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .interactive-beef {
        padding: 40px 0;
    }

    .beef-svg-wrapper {
        padding: 0 5px;
    }

    .beef-info-panel {
        padding: 18px;
        min-height: 250px;
        border-radius: 10px;
    }

    .part-info h3 {
        font-size: 1.2rem;
        padding-bottom: 8px;
    }

    .part-info p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .features {
        gap: 8px;
        margin-top: 20px;
    }

    .features span {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .info-placeholder {
        padding: 25px 12px;
    }

    .info-placeholder i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .info-placeholder h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .info-placeholder p {
        font-size: 0.85rem;
    }

    .cut-label {
        font-size: 8px;
    }

    .cut-label tspan {
        font-size: 6px;
    }

    .beef-diagram {
        padding: 10px 0;
    }

    .flip-button {
        top: 8px;
        right: 8px;
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .flip-button i {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .beef-info-panel {
        padding: 15px;
        min-height: 220px;
    }

    .part-info h3 {
        font-size: 1.1rem;
    }

    .part-info p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .features span {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .cut-label {
        font-size: 7px;
    }

    .cut-label tspan {
        font-size: 5.5px;
    }

    .info-placeholder h3 {
        font-size: 1.1rem;
    }

    .info-placeholder p {
        font-size: 0.8rem;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .beef-cut:hover {
        fill: #565A5C !important;
        stroke: #2c3e50 !important;
        transform: none;
    }

    .beef-cut:active {
        fill: #e74c3c !important;
        stroke: #c0392b !important;
        transform: scale(1.05);
    }
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 100%;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-card.hidden {
    display: none;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #c41e3a, #a01729);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(196, 30, 58, 0.3);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 30px;
}

.product-category {
    color: #c41e3a;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-content h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-content > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
}

.detail-item i {
    color: #c41e3a;
    font-size: 0.9rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.product-features span {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #555;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.btn-inquiry {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #c41e3a, #a01729);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-inquiry:hover {
    background: linear-gradient(135deg, #a01729, #8b1538);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.3);
}

/* Specifications Section */
.specifications {
    background: #f8f9fa;
    padding: 80px 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.spec-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-10px);
}

.spec-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c41e3a, #a01729);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.spec-icon i {
    font-size: 1.8rem;
    color: white;
}

.spec-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.spec-card ul li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.spec-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c41e3a;
    font-weight: bold;
}

/* Custom Orders Section */
.custom-orders {
    padding: 80px 0;
}

.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.custom-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
}

.custom-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.custom-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.custom-feature i {
    font-size: 2rem;
    color: #c41e3a;
    margin-top: 5px;
}

.custom-feature h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 8px;
}

.custom-feature p {
    color: #666;
    line-height: 1.6;
}

.custom-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #c41e3a, #a01729);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: #c41e3a;
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Product Animation */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Interactive Beef */
@media (max-width: 1024px) {
    .beef-diagram-container {
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }

    .beef-info-panel {
        padding: 25px;
    }

    .part-header h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .interactive-beef {
        padding: 60px 0;
    }

    .beef-diagram-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .beef-svg-wrapper {
        padding: 20px;
    }

    .beef-info-panel {
        position: static !important;
        max-height: none !important;
        padding: 25px;
    }

    .part-content {
        grid-template-columns: 1fr;
    }

    .part-image {
        height: 120px;
    }

    .beef-tooltip {
        font-size: 0.8rem !important;
        max-width: 200px !important;
        padding: 10px 12px !important;
    }

    .demo-btn {
        top: 5px !important;
        right: 5px !important;
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .interactive-beef .section-header h2 {
        font-size: 1.8rem;
    }

    .interactive-beef .section-header p {
        font-size: 0.95rem;
    }

    .beef-svg-wrapper {
        padding: 15px;
    }

    .beef-info-panel {
        padding: 20px;
    }

    .part-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .part-header h3 {
        font-size: 1.2rem;
    }

    .part-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .part-image {
        height: 100px;
    }

    .part-details p {
        font-size: 0.9rem;
    }

    .part-features span {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .info-placeholder {
        padding: 30px 15px;
    }

    .info-placeholder i {
        font-size: 2.5rem;
    }

    .info-placeholder h3 {
        font-size: 1.2rem;
    }

    .info-placeholder p {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .product-content {
        padding: 25px;
    }

    .product-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Styling */
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        padding: 0;
        z-index: 999;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Menu Header with Logo */
    .nav-menu::before {
        content: 'BMB';
        display: block;
        font-size: 2rem;
        font-weight: bold;
        color: #c41e3a;
        padding: 25px 25px 15px;
        border-bottom: 2px solid #e9ecef;
        background: white;
    }

    .nav-menu li {
        margin: 0;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-menu .nav-link {
        color: #333 !important;
        font-size: 1rem;
        font-weight: 600;
        padding: 18px 25px;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s ease;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }

    .nav-menu .nav-link::before {
        content: '';
        width: 4px;
        height: 0;
        background: #c41e3a;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: height 0.3s ease;
    }

    .nav-menu .nav-link:hover {
        color: #c41e3a !important;
        background: rgba(196, 30, 58, 0.05);
        padding-left: 30px;
    }

    .nav-menu .nav-link:hover::before {
        height: 60%;
    }

    .nav-menu .nav-link.active {
        background: linear-gradient(90deg, rgba(196, 30, 58, 0.1) 0%, transparent 100%) !important;
        color: #c41e3a !important;
        padding-left: 30px;
    }

    .nav-menu .nav-link.active::before {
        height: 80%;
    }

    /* Overlay for mobile menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .page-header {
        height: 50vh;
        min-height: 300px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .category-filter {
        padding: 0 20px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .product-card {
        max-width: 600px;
        margin: 0 auto;
    }

    .product-image {
        height: 220px;
    }

    .product-content {
        padding: 20px;
    }

    .product-content h3 {
        font-size: 1.4rem;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }

    .custom-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .custom-text h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .products-grid {
        padding: 0 10px;
        gap: 20px;
    }

    .product-card {
        border-radius: 15px;
    }

    .product-image {
        height: 200px;
    }

    .product-badge {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .product-content {
        padding: 20px 15px;
    }

    .product-content h3 {
        font-size: 1.2rem;
    }

    .product-content p,
    .product-content > p {
        font-size: 0.9rem;
    }

    .product-category {
        font-size: 0.8rem;
    }

    .product-details {
        flex-direction: column;
        gap: 8px;
    }

    .detail-item {
        font-size: 0.85rem;
    }

    .product-features span {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .btn-inquiry {
        font-size: 0.9rem;
        padding: 12px;
    }

    .spec-card {
        padding: 25px 15px;
    }

    .spec-card h4 {
        font-size: 1.1rem;
    }

    .spec-card ul li {
        font-size: 0.85rem;
    }

    .custom-feature {
        padding: 20px 15px;
    }

    .custom-text h2 {
        font-size: 1.6rem;
    }

    .custom-feature h4 {
        font-size: 1.1rem;
    }

    .custom-feature p {
        font-size: 0.9rem;
    }

    .lead {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* Mobile Menu 480px */
    .nav-menu {
        width: 180px;
        padding: 65px 0 20px;
    }

    .nav-menu .nav-link {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
}

/* Flip Button Styling */
.flip-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.flip-button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.flip-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.flip-button i {
    font-size: 1rem;
}

/* SVG Flip Animation */
.beef-diagram-svg {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Mobile flip button adjustments */
@media (max-width: 768px) {
    .flip-button {
        top: 10px;
        right: 10px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .flip-button i {
        font-size: 0.9rem;
    }
}

/* Beef Parts Data Spacing */
.beef-parts-data {
    margin-top: 60px;
}