:root {
    --gold: #a8763e;
    --dark: #0a1a2e;
    --light-gold: #f7f3e3;
    --background: #f4f4f9;
    --text: #333;
    --hover-dark: #555;
    --hover-light: #f39c12;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.slots-grid div {
    background-color: var(--background);
    color: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slots-grid div:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--text);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-gold);
}

button {
    background-color: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: var(--light-gold);
    transform: scale(1.05);
}

input, textarea {
    border: 1px solid var(--gold);
    border-radius: 5px;
    padding: 10px;
    font-family: inherit;
    color: var(--dark);
    background-color: var(--light-gold);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--dark);
}

.luxury-header {
    padding: 2rem 5%;
    background: rgba(10, 26, 46, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
}

.cta-button {
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: rgba(10, 26, 46, 0.95);
    color: var(--light-gold);
    padding: 2rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav li {
    margin-bottom: 15px;
}

.dashboard-nav a {
    text-decoration: none;
    color: var(--light-gold);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.dashboard-nav a:hover {
    color: var(--hover-light);
}

main {
    padding: 20px;
    background-color: var(--light-gold);
    overflow-y: auto;
}

section {
    margin-bottom: 30px;
}

section h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
}

.stats-chart {
    background: var(--background);
    padding: 20px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}
.hero {
    height: calc(100vh - 80px); /* Adjust 80px to match the height of the header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10, 26, 46, 0.7), rgba(10, 26, 46, 0.7)), url('./assets/hero-image.webp') no-repeat center center/cover;
    color: var(--light-gold);
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    position: absolute;
    top: 35%;
    left: 25%;
    transform: translate(-33%, -33%);
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

.client-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background-color: var(--light-gold);
    border: 1px solid var(--gold);
    border-radius: 5px;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: var(--dark);
    color: var(--light-gold);
    border-color: var(--dark);
}

.tab-button:hover {
    background-color: var(--hover-dark);
    color: var(--light-gold);
}

.tab-content {
    display: none;
    width: 100%;
    max-width: 1200px;
    background-color: var(--light-gold);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px;
}

.tab-content.active {
    display: block;
}

.watch-grid, .marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.watch-grid div, .marketplace-grid div {
    background-color: var(--background);
    border: 1px solid var(--dark);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.watch-grid div:hover, .marketplace-grid div:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

canvas {
    max-width: 100%;
    height: auto;
}

/* Portfolio section styles */
.portfolio-section {
    margin-bottom: 30px;
    background-color: var(--background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.distribution-chart {
    height: 300px;
    background-color: var(--background);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

/* Transaction table styles */
.transaction-table-container {
    overflow-x: auto;
    margin-top: 15px;
}

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--background);
}

.transaction-table th, 
.transaction-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--gold);
}

.transaction-table th {
    background-color: var(--dark);
    color: var(--light-gold);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.transaction-table tr:nth-child(even) {
    background-color: rgba(168, 118, 62, 0.1);
}

.transaction-table tr:hover {
    background-color: rgba(168, 118, 62, 0.2);
}

/* Transaction types */
.transaction-buy {
    color: #4CAF50;
    font-weight: bold;
}

.transaction-sell {
    color: #F44336;
    font-weight: bold;
}

/* Watch card styles */
.watch-card {
    display: flex;
    flex-direction: column;
    background: var(--background);
    border: 1px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.watch-image {
    height: 180px;
    overflow: hidden;
}

.watch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.watch-card:hover .watch-image img {
    transform: scale(1.1);
}

.watch-details {
    padding: 15px;
    text-align: center;
}

.watch-details h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.1rem;
}

.watch-price {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.watch-brand {
    color: var(--text);
    font-style: italic;
    margin-bottom: 8px;
}

.certificate-btn, .buy-btn, .sell-btn {
    background-color: var(--gold);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: bold;
}

.certificate-btn:hover {
    background-color: var(--dark);
    transform: scale(1.05);
}

.buy-btn {
    background-color: #4CAF50;
}

.buy-btn:hover {
    background-color: #367c39;
}

.sell-btn {
    background-color: #F44336;
}

.sell-btn:hover {
    background-color: #c13328;
}

/* Marketplace section styles */
.marketplace-section {
    margin-bottom: 30px;
}

.market-watch-card, .your-watch-card {
    display: flex;
    flex-direction: column;
    background: var(--background);
    border: 1px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-watch-card:hover, .your-watch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Tab headers */
.dashboard-grid main h2 {
    margin-bottom: 25px;
    color: var(--dark);
    font-size: 1.8rem;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

/* Portfolio layout styles */
.portfolio-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 for portfolio valuation, 1/3 for watch distribution */
    gap: 20px;
    margin-bottom: 30px;
}

.portfolio-valuation {
    background-color: var(--background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.watch-distribution {
    background-color: var(--background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.distribution-chart {
    height: 250px; /* Smaller height */
    background-color: var(--background);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

/* Transaction section positioned below */
.transaction-section {
    grid-column: 1 / -1; /* Spans full width below the dashboard */
    margin-top: 20px;
    background-color: var(--background);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}