/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Promotion Banner */
.promo-banner {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a24 50%, #ff6b6b 100%);
    color: white;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

.promo-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.promo-text {
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    animation: slideText 20s linear infinite;
    white-space: nowrap;
}

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

.promo-banner:hover .promo-text {
    animation-play-state: paused;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 1002;
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 12px;
    border: 2px solid #2c5aa0;
    background: white;
    color: #2c5aa0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: #2c5aa0;
    color: white;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

  .logo {
      display: flex;
      align-items: center;
  }
  
  .logo-image {
      height: 60px;
      width: auto;
  }

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background-image: url('../hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    color: white;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8) 0%, rgba(30, 61, 111, 0.85) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
}

/* Products Section */
.products {
    padding: 4rem 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #2c5aa0;
    background: #2c5aa0;
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: white;
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.product-article {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.product-category {
    display: inline-block;
    background: #e2e8f0;
    color: #64748b;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.about h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.about p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #64748b;
}

.info-item i {
    color: #2c5aa0;
    width: 20px;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    max-width: 300px;
}

.contact-item i {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-details span {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-info p {
    opacity: 0.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 1rem;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-body {
    display: flex;
    padding: 2rem;
    gap: 2rem;
}

.modal-image {
    flex: 1;
    max-width: 400px;
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    max-height: 400px;
}

.modal-info {
    flex: 1;
}

.modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.modal-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}

.detail-item .label {
    font-weight: 600;
    color: #64748b;
    min-width: 120px;
}

.inquiry-button {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Image optimization for different aspect ratios */
.product-image img[src*="scalpers"] {
    object-fit: contain;
    max-width: 90%;
    max-height: 90%;
}

.product-image img[src*="tweezers"] {
    object-fit: contain;
    max-width: 95%;
    max-height: 95%;
}

.product-image img[src*="chisels"] {
    object-fit: contain;
    max-width: 95%;
    max-height: 95%;
}

/* Fallback for images that fail to load */
.product-image img[src=""] {
    display: none;
}

.product-image img:not([src]),
.product-image img[src=""] {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero {
        padding: 3rem 0;
        min-height: 400px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .category-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .company-info {
        gap: 0.8rem;
    }
    
    .info-item {
        font-size: 0.9rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .contact-item {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 350px;
    }
    
    .products, .about, .contact {
        padding: 2rem 0;
    }
    
    .language-toggle {
        top: 10px;
        right: 10px;
    }
}

/* Cache buster: $(date) - FIXED PATH */
