/* style.css */
:root {
    --primary: #e60000; /* Darts Red */
    --dark: #121212;
    --light: #f4f4f4;
    --grey: #2c2c2c;
    --text-grey: #b0b0b0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    margin: 0;
    line-height: 1.6;
}

/* Header & Nav */
header {
    background-color: #000;
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary);
}

/* --- DEFAULT STYLES (Desktop) --- */
/* Ensure the hamburger is hidden on laptops */
.menu-icon {
    display: none; 
    font-size: 30px;
    cursor: pointer;
    color: #fff; /* Match your text color */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #111; /* Assuming a dark background */
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: white;
}

/* --- PASTE AT THE BOTTOM OF STYLE.CSS --- */

@media (max-width: 768px) {
    
    /* 1. Show the hamburger icon */
    .menu-icon {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: white;
        margin-right: 20px; /* Spacing from edge */
    }

    /* 2. FORCE the menu to be hidden by default */
    #navLinks {
        display: none; /* This was likely being overridden before */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Adjust based on your header height */
        left: 0;
        background-color: #222;
        text-align: center;
        z-index: 1000;
    }

    /* 3. Style the links for mobile */
    #navLinks li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #333;
        width: 100%; /* Full width for easier tapping */
    }

    /* 4. The class that JavaScript adds to SHOW the menu */
    #navLinks.show-menu {
        display: flex; /* This overrides 'display: none' when clicked */
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light);
    text-transform: uppercase;
    text-decoration: none;
}

.logo span { color: var(--primary); }

nav ul { list-style: none; display: flex; gap: 20px; }
nav a { text-decoration: none; color: var(--light); font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--primary); }

/* Main Container */
.container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('header.png'); /* You can add a hero bg image */
    background-size: cover;
    background-position: bottom;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero h1 { font-size: 3rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.2rem; color: var(--text-grey); }
.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: bold;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--grey);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.2s;
}

.product-image{
    height:250px;
}

.product-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.price { font-size: 1.25rem; color: var(--primary); font-weight: bold; margin: 10px 0; }
.specs { font-size: 0.9rem; color: var(--text-grey); text-align: center; margin-bottom: 15px; }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 0.3s;
}
.gallery-grid img:hover { border-color: var(--primary); cursor: pointer; }

/* Contact Form */
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; }
input, textarea {
    width: 100%;
    padding: 10px;
    background: #333;
    border: 1px solid #444;
    color: white;
    border-radius: 4px;
}
button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #333;
    color: var(--text-grey);
}
/* Target the Auction Nudge container */
#auction-nudge-20c1ebffb,
#auction-nudge-20c1ebffb * {
    background: transparent !important;
    color: #ddd !important; /* or whatever your site uses */
    border-color: #444 !important;
}

/* Fix item boxes */
#auction-nudge-20c1ebffb .an_item,
#auction-nudge-20c1ebffb .an_item_inner {
    background: #1a1a1a !important; /* match your dark theme */
    border: 1px solid #333 !important;
}

/* Fix titles */
#auction-nudge-20c1ebffb .an_title a {
    color: #fff !important;
}

/* Fix prices */
#auction-nudge-20c1ebffb .an_price {
    color: #0fdf8f !important; /* accent color */
}

/* Remove any forced white backgrounds on images */
#auction-nudge-20c1ebffb img {
    background: transparent !important;
}

/* 1. The Container: Centered Grid */
.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 35px); /* 3 columns, 35px each */
  gap: 10px;               /* Space between circles */
  justify-content: center; /* Centers the whole group horizontally */
  padding: 20px 0;         /* Optional: Adds a little breathing room top/bottom */
  
}
/* Update grid cursor to show it's clickable */
.color-grid div {
    cursor: pointer;
}
/* 2. Shared Styles (No changes here) */
[class^="dc-"] {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid white;
  box-sizing: border-box;
  text-decoration: none;

}

/* 3. The Specific Colors (No changes here) */
.dc-blackred    { background: linear-gradient(135deg, red 50%, black 50%); }
.dc-blackblue   { background: linear-gradient(135deg, blue 50%, black 50%); }
.dc-blackwhite  { background: linear-gradient(135deg, white 50%, black 50%); }
.dc-blackpurple { background: linear-gradient(135deg, purple 50%, black 50%); }
.dc-blackorange { background: linear-gradient(135deg, rgb(255, 115, 0) 50%, black 50%); }
.dc-blackgreen  { background: linear-gradient(135deg, green 50%, black 50%); }

/* 1. Visual Selection Style */
/* We add this class via JavaScript when clicked */
.selected-circle {
    border: 3px solid #FFD700 !important; /* Gold border */
    transform: scale(1.15); /* Make it 15% larger */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Add a shadow/pop effect */
    z-index: 10;
    transition: all 0.2s ease;
}

/* 2. The Buy Button */
.buy-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    margin-top: 15px;
    background-color: #333;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.buy-btn:hover {
    background-color: #555;
}

/* 3. Disabled State (Before color is picked) */
.buy-btn.disabled {
    background-color: #ccc;
    pointer-events: none; /* Prevents clicking */
    cursor: not-allowed;
    color: #666;
}
