/* Spotlight Special Events Custom Styles */

:root {
  --header-bg: #000000;
  --menu-bg: #FFD700;
  --menu-text: #000000;
  --headline-color: #DC3545;
  --text-color: #212529;
  --yellow-hover: #F4C430;
}

/* Header Styling */
.header-black {
    background-color: var(--header-bg) !important;
    border-bottom: 3px solid var(--menu-bg);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Menu Styling */
.menu-yellow .nav-link {
    background-color: var(--menu-bg);
    color: var(--menu-text) !important;
    font-weight: 600;
    margin: 0 2px;
    padding: 8px 16px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-yellow .nav-link:hover {
    background-color: var(--yellow-hover);
    color: var(--menu-text) !important;
    transform: translateY(-2px);
}

.menu-yellow .nav-link.active {
    background-color: var(--yellow-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--headline-color);
    font-weight: 700;
}

.text-headline {
    color: var(--headline-color) !important;
}

/* Cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-title {
    color: var(--headline-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-meta {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Buttons */
.btn-spotlight {
    background-color: var(--menu-bg);
    border-color: var(--menu-bg);
    color: var(--menu-text);
    font-weight: 600;
}

.btn-spotlight:hover {
    background-color: var(--yellow-hover);
    border-color: var(--yellow-hover);
    color: var(--menu-text);
}

.btn-danger-outline {
    border-color: var(--headline-color);
    color: var(--headline-color);
}

.btn-danger-outline:hover {
    background-color: var(--headline-color);
    border-color: var(--headline-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23FFD700" fill-opacity="0.1"><polygon points="36,34 6,34 6,6 36,6"/></g></g></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Blog Post Styling */
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--headline-color);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h1 { font-size: 2.5rem; }
.post-content h2 { font-size: 2rem; }
.post-content h3 { font-size: 1.75rem; }
.post-content h4 { font-size: 1.5rem; }
.post-content h5 { font-size: 1.25rem; }
.post-content h6 { font-size: 1.1rem; }

.post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--menu-bg);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--menu-bg);
    position: absolute;
    top: -10px;
    left: 10px;
    line-height: 1;
}

.post-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
}

.post-content table th,
.post-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.post-content table th {
    background-color: var(--menu-bg);
    color: var(--menu-text);
    font-weight: 600;
}

.post-content table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.post-content .alert {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.post-content .alert-info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
    color: #0d47a1;
}

.post-content .btn {
    margin: 0.5rem 0.5rem 0.5rem 0;
    text-decoration: none;
}

.post-content a:not(.btn) {
    color: var(--headline-color);
    text-decoration: underline;
    text-decoration-color: var(--menu-bg);
    text-underline-offset: 3px;
}

.post-content a:not(.btn):hover {
    text-decoration-color: var(--headline-color);
}

.post-meta {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--headline-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Dashboard Styling */
.dashboard-card {
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--headline-color), #FF6B6B);
    color: white;
    padding: 2rem;
    border-radius: 10px 10px 0 0;
}

.stats-card {
    background: linear-gradient(135deg, var(--menu-bg), var(--yellow-hover));
    color: var(--menu-text);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Forms */
.form-control:focus {
    border-color: var(--menu-bg);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--headline-color);
}

/* Status Badges */
.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.status-draft {
    background-color: #6c757d;
    color: white;
}

.status-published {
    background-color: #28a745;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .menu-yellow .nav-link {
        margin: 2px 0;
        border-radius: 0;
    }
    
    .blog-card .card-img-top {
        height: 150px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,215,0,.3);
    border-radius: 50%;
    border-top-color: var(--menu-bg);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--menu-bg);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-hover);
}

/* Print Styles */
@media print {
    .header-black,
    .navbar,
    footer,
    .btn,
    .menu-yellow {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0 !important;
    }
}