/* === Design tokens === */
:root{
  --royal-gold:#D4AF37;
  --dark-bg:#0d0d0d;
  --card-bg:#121212;
  --header-footer-bg:#ffffff;
  --muted:#cfcfcf;
  --max-width:1200px;
  
  /* --- ADD THESE TWO LINES --- */
  --step-bg: #181818; 
  --connecting-line: #333333;
}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: "Poppins", Roboto, Arial, sans-serif;
  background:var(--dark-bg);
  color:#e9e9e9;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  line-height:1.45;
}

/* Container */
.container{max-width:var(--max-width);margin:0 auto;padding:0 16px}

/* --- UPDATED HEADER --- */
header.site-header{
  background:var(--dark-bg); /* Header is dark */
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:60;
  border-bottom:1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.brand-bar {
  background: var(--header-footer-bg); /* White bar for logo */
}

.brand-bar .inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  max-width:var(--max-width);
  margin:0 auto;
}

.brand {
  display: flex;
  align-items: center; 
  gap: 12px;
  cursor: pointer;
}
.brand img{height:30px;width:30px;object-fit:contain}
.brand .name{font-size:1.4em;font-weight:700;color:#000}


/* --- NEW Language Switcher Styles --- */
.lang-switcher {
  display: flex;
  gap: 8px;
}
.btn-lang {
  background: transparent;
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  color: #555;
  transition: all 0.2s ease;
}
.btn-lang:hover {
  border-color: var(--royal-gold);
  color: #000;
}
.btn-lang.active {
  background: var(--royal-gold);
  color: var(--dark-bg);
  border-color: var(--royal-gold);
}
/* --- END Language Switcher Styles --- */


/* --- RESPONSIVE NAVIGATION --- */
.main-navigation {
  display: flex;
  flex-wrap: wrap; /* Allows buttons to wrap on mobile */
  justify-content: center; /* Centers the buttons when they wrap */
  gap: 10px;
  padding: 10px 16px;
  
  /* Hide scrollbar for a cleaner look */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.main-navigation::-webkit-scrollbar {
  display: none;
}

.main-navigation .btn {
  flex-shrink: 0; /* Prevents buttons from shrinking */
  padding: 8px 12px;
  font-size: 0.9em;
}


/* --- Main Content Layout --- */
#content {
    min-height: calc(100vh - 200px);
    /* UPDATED Padding to account for wrapping nav */
    padding-top: 180px; 
}
.page-section {
    padding: 60px 0;
}
.section-title {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}
/* General Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  text-decoration: none;
}
.gold-cta {
  background: var(--royal-gold);
  color: var(--dark-bg);
  border: 2px solid var(--royal-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.gold-cta:hover {
  background: #e6c257;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}
.large {
  font-size: 1.1em;
  padding: 12px 25px;
}
.small-cta {
    padding: 8px 16px;
    font-size: 0.9em;
}
.gold {
    background: var(--royal-gold);
    color: var(--dark-bg);
    border: 1px solid var(--royal-gold);
}
.gold:hover {
    background: #e6c257;
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--dark-bg); 
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -180px; 
    padding-top: 180px; 
}
.hero-content {
    background: rgba(18, 18, 18, 0.85); 
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.hero-content h1 {
    font-size: 2.5em;
    color: var(--royal-gold);
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* --- Value Proposition --- */
.value-proposition {
    padding: 60px 0;
    background: var(--card-bg);
}
.value-proposition .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}
.value-item {
    padding: 20px;
    border-radius: 8px;
    background: #181818;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.value-item .icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
    color: var(--royal-gold);
}
.value-item h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
}
@media (min-width: 768px) {
    .value-proposition .container {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap; /* Allow wrapping on medium screens */
    }
    .value-item {
        flex: 1;
        margin: 0 10px;
        min-width: 200px; /* Ensure they don't get too small */
    }
    .hero-content h1 {
        font-size: 3.5em;
    }
    
    /* Media query to reset padding on desktop */
    #content {
        padding-top: 130px; /* Reset for desktop */
    }
    .hero-section {
        margin-top: -130px; /* Reset for desktop */
        padding-top: 130px; /* Reset for desktop */
    }
}

/* --- Featured Products & Explore More Sections --- */
.featured-products, .explore-more {
    background: var(--dark-bg);
    text-align: center;
    padding: 60px 0; 
}
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}
.category-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--card-bg);
    display: flex; 
    flex-direction: column; 
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
    border-color: var(--royal-gold);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid var(--connecting-line);
}

.category-card h3 {
    color: var(--royal-gold);
    margin-bottom: 5px;
}
.category-card p {
    flex-grow: 1; 
}

@media (min-width: 768px) {
    .product-grid {
        flex-direction: row;
        justify-content: space-around;
    }
    .category-card {
        flex: 1;
    }
}
/* 4. Process Steps (Enhanced Grid/Responsive Styles) */
.tailoring-process {
    background: var(--card-bg);
    padding: 80px 20px;
    color: var(--muted); 
}

.process-steps {
    display: flex;
    flex-direction: column; 
    gap: 30px;
    margin-top: 40px;
    max-width: 960px; 
    margin-left: auto;
    margin-right: auto;
}

.step {
    padding: 30px 25px; 
    background: var(--step-bg);
    border-radius: 12px; 
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1; 
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); 
}

.step-number {
    font-size: 48px; 
    font-weight: 900;
    color: var(--royal-gold);
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff; 
}


/* --- 3. Grid Layout for Desktop (Side-by-Side 1&2, 3&4) --- */
@media (min-width: 768px) {
    .process-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto; 
        gap: 40px;
        position: relative;
    }
    
    .process-steps::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: var(--connecting-line);
        z-index: 0;
        transform: translateX(-50%);
    }

    .process-steps .step:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
    .process-steps .step:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
    .process-steps .step:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
    .process-steps .step:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
    
    .process-steps::after {
        content: '';
        position: absolute;
        top: 50%; 
        left: 0;
        right: 0;
        height: 2px;
        background: var(--connecting-line);
        z-index: 0;
        transform: translateY(-50%);
        width: calc(100% - 80px);
        margin: 0 40px;
    }
}


/* 5. Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--dark-bg);
}
.testimonial-box {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}
.testimonial-box blockquote {
    font-size: 18px;
    font-style: italic;
    color: #fff;
    margin-bottom: 15px;
}
.testimonial-box .client-name {
    font-weight: 700;
    color: var(--royal-gold);
    font-size: 16px;
    text-align: right;
    display: block; 
    padding-top: 10px;
}
/* Final CTA */
.final-cta {
    padding: 80px 16px;
    background: #0f0f0f; 
}
/* --- Products Page --- */
.category-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.category-selector .btn {
    padding: 8px 12px;
    font-size: 0.9em;
}

/* STYLES FOR NAVIGATION BUTTONS */
.gold-light {
    background: #222;
    color: #fff;
    border: 1px solid #444;
}
.gold-light:hover {
    background: #333;
}
.gold-active {
    background: var(--royal-gold);
    color: var(--dark-bg);
    border: 1px solid var(--royal-gold);
}
/* END NAVIGATION BUTTON STYLES */


.product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
.product-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center;
}
.product-card h3 {
    color: var(--royal-gold);
    margin-bottom: 5px;
}
.category-tag {
    font-size: 0.9em;
    color: var(--muted);
    margin-bottom: 15px;
}
.price span {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    display: block;
    margin-bottom: 15px;
}
.description {
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    margin-bottom: 15px;
}
.carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    height: 300px; 
    scroll-behavior: smooth;
}
.carousel-image {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}
.dots {
    text-align: center;
    margin-top: 10px;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
}
.dot {
    height: 8px;
    width: 8px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background-color 0.3s, transform 0.3s;
}
.dot.active {
    background-color: var(--royal-gold);
    transform: scale(1.2);
}

/* --- Footer --- */
footer.site-footer {
    background: var(--header-footer-bg);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: #000;
}
.footer-links {
    margin-bottom: 20px;
}
.footer-links a {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9em;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--royal-gold);
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.social-icons a {
    display: block;
    color: var(--royal-gold);
    width: 28px;
    height: 28px;
    transition: transform 0.2s;
}
.social-icons a:hover {
    transform: scale(1.1);
}
.social-icons svg {
    display: block;
}
.copyright {
    font-size: 0.8em;
    color: #555;
}

/* --- Contact Form Styles --- */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.contact-form h3 {
    color: var(--royal-gold);
    margin-bottom: 20px;
    text-align: center;
}
.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #222;
    color: #fff;
    font-size: 1em;
}
.contact-form textarea {
    resize: vertical;
}
.contact-form button {
    display: block;
    width: 100%;
    margin-top: 25px;
}
.contact-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid #333;
}
.contact-info p {
    margin: 5px 0;
}
.contact-info strong {
    color: var(--royal-gold);
}

/* --- New About Page Content Styles --- */
.content-page {
    padding-bottom: 80px;
    text-align: left;
}
.section-title {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--royal-gold);
    border-bottom: 2px solid var(--royal-gold);
    padding-bottom: 10px;
}
.section-subtitle {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--royal-gold);
}
.content-block {
    margin-bottom: 40px;
    background: #181818;
    padding: 20px;
    border-radius: 8px;
}
.content-block h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}
.styled-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}
.styled-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.styled-list li:before {
    content: "•";
    color: var(--royal-gold);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}
.cta-text {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-style: italic;
    text-align: center;
    color: var(--royal-gold);
}
@media (min-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}
/* --- Articles Page Styles --- */

.article-list {
    padding: 20px 0;
}

.article-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15); 
}

.article-card img {
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* --- CSS for Responsive Article Images (Fixes large images) --- */

.markdown-output img {
    max-width: 100%; 
    height: auto; 
    margin: 20px 0; 
    display: block; 
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    border: 1px solid var(--muted);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Styling for the markdown content once rendered */
.markdown-output h2,
.markdown-output h3,
.markdown-output h4 {
    color: var(--royal-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 5px;
}
.markdown-output p {
    line-height: 1.6;
    margin-bottom: 20px;
}
/* --- FINAL WORLD-CLASS TABLE: Gold-Framed Interactive Grid (FIXED CLIPPING) --- */

.markdown-output table {
    width: calc(100% + 40px); 
    margin: 30px -20px; 
    border-collapse: collapse;
    font-size: 0.95em;
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 
        0 0 0 3px var(--royal-gold), /* The 3px Gold Frame Border */
        0 8px 25px rgba(0, 0, 0, 0.6); 
}

/* Table Header (th) */
.markdown-output th {
    background-color: var(--step-bg); 
    color: var(--royal-gold); 
    font-weight: 700;
    text-align: center;
    padding: 14px 15px;
    border-right: 1px solid var(--connecting-line); 
    border-bottom: 2px solid var(--royal-gold); 
}

/* Clean up the final vertical line in the header */
.markdown-output th:last-child { 
    border-right: none; 
}

/* All Table Data Cells (td) */
.markdown-output td {
    padding: 12px 15px;
    background-color: var(--card-bg); 
    border-right: 1px solid var(--connecting-line); 
    border-bottom: 1px solid var(--connecting-line); 
    transition: background-color 0.3s;
}

/* Zebra Striping */
.markdown-output tr:nth-child(even) td {
    background-color: var(--dark-bg); 
}

/* Clean up the final vertical line in the body */
.markdown-output td:last-child { 
    border-right: none; 
}

/* --- KEY ROW HIGHLIGHT (HOVER EFFECT) --- */

.markdown-output tr:hover td {
    background-color: #1f1f1f; 
    color: #fff; 
    font-weight: 500;
    box-shadow: inset 3px 0 0 0 var(--royal-gold); 
    cursor: pointer;
}

/* Remove bottom border from the very last row */
.markdown-output tr:last-child td {
    border-bottom: none;
}/* Add or Replace in css/style.css */

.product-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.single-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .single-product-image {
    transform: scale(1.05);
}

/* You can delete the .carousel, .carousel-container, .dots, .dot styles if you want, 
   but the code above will override them effectively. */