:root {
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #0f172a; /* Deep Blue */
    --accent-color: #ff0000; /* Red for CTA */
    --bg-color: #000000; /* Black */
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --card-bg: #1a1a1a;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-login {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Content Article */
.article-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
}

.article-content h2, .article-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 15px;
    color: #cccccc;
}

.article-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #cccccc;
}

.article-content li {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-item {
    background-color: #222;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.faq-question {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: var(--text-muted);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs span {
    margin: 0 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}
