:root {
    --primary-color: #1a1a1a;
    --accent-color: #c5a059;
    --text-color: #333;
    --light-bg: #f9f9f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-color); }
.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* Header & Nav */
.top-bar { background: var(--primary-color); color: #fff; padding: 10px 0; font-size: 13px; text-align: right; }
.top-bar a { color: var(--accent-color); text-decoration: none; }
header nav { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; position: relative; }
header nav::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: rgba(0,0,0,0.08); }
.logo img { max-height: 60px; display: block; }
nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 32px; }
nav ul li:first-child { margin-left: 0; }
nav ul li a { text-decoration: none; color: var(--primary-color); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; transition: opacity 0.25s ease; }
nav ul li a:hover { opacity: 0.8; }

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .top-bar { text-align: center; }
    header nav { flex-wrap: wrap; padding: 18px 0; }
    .nav-toggle { display: inline-flex; }
    nav ul { width: 100%; flex-direction: column; gap: 16px; margin-top: 16px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
    nav ul.open { max-height: 260px; }
    nav ul li { margin-left: 0; }
    nav ul li a { font-size: 16px; }
    header nav::after { display: none; }
}

/* Hero */
.hero { background: var(--light-bg); padding: 100px 0; text-align: center; }
.hero h1 { font-size: 48px; margin-bottom: 20px; color: var(--primary-color); }
.hero p { font-size: 18px; color: #666; margin-bottom: 30px; }

/* Products */
.popular-chains { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 32px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card { border: 1px solid #eee; padding: 20px; text-align: center; transition: 0.3s ease; cursor: pointer; }
.product-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--accent-color); }
.product-card h3 { margin-bottom: 10px; font-size: 18px; }
.price { color: var(--accent-color); font-weight: 600; margin-bottom: 8px; }
.product-description { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.pagination button { background: #fff; border: 1px solid #ddd; color: #333; padding: 10px 16px; cursor: pointer; border-radius: 6px; transition: background 0.25s ease, border-color 0.25s ease; }
.pagination button:hover:not(:disabled) { border-color: var(--accent-color); }
.pagination button:disabled { opacity: 0.5; cursor: not-allowed; }
.pagination button.active-page { border-color: var(--accent-color); background: rgba(197, 160, 89, 0.1); }

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
}

.brand-story { padding: 80px 0; background: #fff; }
.brand-story .section-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.brand-story .section-subtitle { color: #666; margin-top: 12px; font-size: 16px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.story-card { background: #f9f9f9; border-radius: 16px; overflow: hidden; border: 1px solid #eee; transition: transform 0.3s ease; }
.story-card:hover { transform: translateY(-5px); }
.story-card img { width: 100%; display: block; height: 260px; object-fit: cover; }
.story-card-content { padding: 24px; }
.story-card-content h3 { margin-bottom: 12px; color: var(--primary-color); }
.story-card-content p { color: #666; line-height: 1.7; }

/* Buttons */
.btn-primary { background: var(--primary-color); color: #fff; padding: 12px 30px; text-decoration: none; border: none; display: inline-block; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { background: var(--accent-color); }
.btn-inquire { border: 1px solid var(--primary-color); background: none; padding: 8px 20px; cursor: pointer; transition: 0.3s; }
.btn-inquire:hover { background: var(--primary-color); color: #fff; }

/* Modal */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); }
.modal-content { background: #fff; margin: 10% auto; padding: 40px; width: 90%; max-width: 500px; position: relative; }
.close { position: absolute; right: 20px; top: 10px; font-size: 28px; cursor: pointer; }
.form-group { margin-bottom: 15px; }
input, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; font-family: inherit; }

/* Footer */
footer { background: #f4f4f4; padding: 60px 0 20px; margin-top: 50px; }
.footer-content { display: flex; justify-content: space-between; padding-bottom: 40px; }
.footer-bottom { border-top: 1px solid #ddd; padding-top: 20px; text-align: center; font-size: 14px; }

@media (max-width: 768px) {
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .hero h1 { font-size: 32px; }
}

/* About Section */
.about-section { padding: 80px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; color: var(--primary-color); }

/* Feature Grid */
.features { padding: 60px 0; background: var(--light-bg); text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.feature-item .icon { font-size: 40px; display: block; margin-bottom: 15px; }
.feature-item h3 { font-size: 20px; margin-bottom: 10px; }

/* Newsletter */
.newsletter { padding: 80px 0; background: var(--primary-color); color: #fff; text-align: center; }
.newsletter h2 { margin-bottom: 15px; }
.newsletter-form { margin: 30px 0; display: flex; justify-content: center; gap: 10px; }
.newsletter-form input { max-width: 300px; border: none; }
.admin-note { margin-top: 20px; font-size: 14px; opacity: 0.8; }
.text-center { text-align: center; }

/* Testimonials Section */
.testimonials { padding: 80px 0; background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 50px 0; }
.testimonial-card { background: #f9f9f9; padding: 30px; border-left: 4px solid var(--accent-color); transition: 0.3s ease; }
.testimonial-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.testimonial-text { font-size: 16px; font-style: italic; margin-bottom: 15px; color: #555; }
.testimonial-author { font-weight: 600; color: var(--primary-color); font-size: 14px; }

.cta-section { text-align: center; margin-top: 50px; padding: 40px; background: var(--light-bg); }
.cta-section h3 { font-size: 28px; margin-bottom: 10px; color: var(--primary-color); }
.cta-section p { margin-bottom: 20px; color: #666; font-size: 16px; }

/* Contact Page Styles */
.contact-hero { background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1557821552-17105176677c?w=1200&h=400&fit=crop') center/cover no-repeat; padding: 80px 0; text-align: center; }
.contact-hero h1 { color: #ffffff; font-size: 48px; margin-bottom: 20px; }
.contact-hero p { color: #f0f0f0; font-size: 18px; }

.contact-info { padding: 60px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.contact-card { background: #f9f9f9; padding: 40px; text-align: center; border-radius: 8px; transition: 0.3s ease; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.contact-icon { font-size: 50px; margin-bottom: 15px; }
.contact-card h3 { font-size: 20px; color: var(--primary-color); margin-bottom: 10px; }
.contact-card p { color: #666; margin-bottom: 8px; }
.contact-desc { font-size: 14px; color: #999; }
.contact-card a { color: var(--accent-color); text-decoration: none; font-weight: 600; }

.email-link { color: var(--accent-color); text-decoration: none; }
.email-link:hover { text-decoration: underline; }

.contact-form-section { padding: 60px 0; background: var(--light-bg); }
.form-wrapper { max-width: 600px; margin: 0 auto; background: #fff; padding: 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.form-wrapper h2 { margin-bottom: 30px; color: var(--primary-color); font-size: 28px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--primary-color); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 5px rgba(197, 160, 89, 0.3); }

.contact-additional { padding: 60px 0; background: #fff; }
.feature-highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-highlight { padding: 30px; background: #f9f9f9; text-align: center; border-radius: 8px; }
.highlight-icon { font-size: 40px; display: block; margin-bottom: 15px; }
.feature-highlight h3 { font-size: 18px; color: var(--primary-color); margin-bottom: 10px; }
.feature-highlight p { color: #666; }

/* Footer Improvements */
footer { background: var(--primary-color); color: #fff; padding: 60px 0 20px; }
footer h3, footer h4 { margin-bottom: 15px; color: #fff; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: #bbb; font-size: 14px; }
.footer-logo-link img { max-height: 60px; display: block; margin-bottom: 15px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-links ul li a:hover { color: var(--accent-color); }
.footer-contact p { color: #bbb; font-size: 14px; margin-bottom: 10px; }
.footer-contact a { color: var(--accent-color); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; text-align: center; color: #999; font-size: 14px; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; align-items: center; }
    .contact-hero h1 { font-size: 32px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
}
