:root {
    --primary-color: #ff3c00; /* Energetic Orange */
    --primary-hover: #e03500;
    --secondary-color: #0f1115; /* Deep dark */
    --surface-color: #1a1d24; /* Lighter dark for cards */
    --text-light: #ffffff;
    --text-gray: #a0aab2;
    --accent: #00ff66; /* Neon Green for success/highlights */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Typography utilities */
.mt-20 { margin-top: 20px; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(255, 60, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    width: 100%;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    background-image: url('https://images.unsplash.com/photo-1552674605-15c2145efa38?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,17,21,1) 0%, rgba(15,17,21,0.7) 50%, rgba(15,17,21,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(255, 60, 0, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-radius: 20px;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* General Section Styles */
.section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(255, 60, 0, 0.3);
}

.event-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.event-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.event-info {
    padding: 25px;
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.event-info p i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.event-tags span {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
}

/* Publish Section */
.publish-section {
    background-color: var(--secondary-color);
}

.publish-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--surface-color);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 60, 0, 0.2);
}

.publish-info {
    flex: 1;
}

.publish-info h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.publish-info h2 span {
    color: var(--primary-color);
}

.publish-info p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.publish-form-wrapper {
    flex: 1;
    background-color: rgba(15, 17, 21, 0.6);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.publish-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--text-light);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.publish-form input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.publish-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.publish-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Training Section */
.training-section {
    background-color: var(--surface-color);
    display: flex;
    align-items: center;
    gap: 50px;
}

.training-content {
    flex: 1;
}

.training-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.training-content h2 span {
    color: var(--primary-color);
}

.training-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--accent);
    font-size: 1.2rem;
}

.training-video {
    flex: 1;
}

.video-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1571008887538-b36bb32f4571?auto=format&fit=crop&q=80') center/cover;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder i {
    font-size: 60px;
    color: white;
    background-color: var(--primary-color);
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding-left: 8px; /* Optical alignment */
    transition: background-color 0.3s, transform 0.3s;
}

.video-placeholder:hover i {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

/* Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 60, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-toggle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 60, 0, 0.6);
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 380px;
    height: 550px;
    background-color: var(--surface-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
}

.chat-header {
    background-color: var(--primary-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.chat-header h3 {
    font-size: 16px;
    margin: 0;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.chat-header .status {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-header button:hover {
    transform: scale(1.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--secondary-color);
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.message.bot {
    background-color: var(--surface-color);
    color: var(--text-light);
    align-self: flex-start;
    border-radius: 15px 15px 15px 2px;
    border: 1px solid rgba(255,255,255,0.05);
}

.message.user {
    background-color: var(--primary-color);
    color: white;
    align-self: flex-end;
    border-radius: 15px 15px 2px 15px;
}

.chat-input {
    display: flex;
    padding: 15px;
    background-color: var(--surface-color);
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    background-color: var(--secondary-color);
    color: white;
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s;
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

.chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.chat-input button:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .training-section, .publish-container { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
    .navbar { padding: 15px 20px; }
    .nav-links { display: none; } /* Add hamburger menu logic later */
}
