
/* Dynamic Festival Theme Styles */
:root {
    --primary-color: #CC3300;
    --accent-color: #FF0066;
    --secondary-color: #993300;
    --navbar-color: #333333;
    --text-color: #333333;
    --background-color: #ffffff;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header Styles */
.festival-header {
    background: linear-gradient(135deg, var(--primary-color), #FF4444, #CC3300);
    color: white;
    padding: 25px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(204, 51, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.festival-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 30px 30px;
    opacity: 0.3;
}

.festival-logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, #FFFFFF, #FFEEEE, #FFFFFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white; /* Fallback */
}

.festival-tagline {
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
    color: #FFE6E6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

/* Navigation Styles */
.festival-nav {
    background: var(--navbar-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-items {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.nav-item {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-item:hover {
    background: var(--accent-color);
    color: #FFFF00;
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-item:visited {
    color: #FFFFFF;
}

.nav-item:active {
    text-decoration: none;
}

/* Content Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    display: grid;
    grid-template-columns: 280px 1fr 180px;
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

.sidebar {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    height: fit-content;
}

.content-area {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    min-height: 600px;
}

.right-sidebar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    height: fit-content;
}

/* Sidebar Styles */
.sidebar h3 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 8px;
    font-size: 14px;
    padding-left: 10px;
    position: relative;
}

.categories-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.mission-statement {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.mission-statement h4 {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 10px;
}

.mission-statement p {
    font-size: 14px;
    line-height: 1.5;
}

/* Content Area Styles */
.page-title {
    background: linear-gradient(135deg, var(--primary-color), #FF4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color); /* Fallback for unsupported browsers */
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.content-section {
    margin-bottom: 35px;
}

.section-title {
    background: linear-gradient(135deg, var(--primary-color), #FF6633);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color); /* Fallback */
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.section-content {
    font-size: 17px;
    line-height: 1.8;
    color: #1a252f;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-content p {
    margin-bottom: 18px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 17px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

.section-content h4 {
    background: linear-gradient(135deg, var(--primary-color), #FF5555);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color); /* Fallback */
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.section-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.section-content li {
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

/* Button Styles */
.submit-button, .btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.submit-button:hover, .btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
    text-decoration: none;
    color: white;
}

/* Table Styles */
.scoring-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.scoring-table th {
    background: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.scoring-table td {
    background: white;
    padding: 10px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.scoring-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.scoring-table tr:hover td {
    background: #e8f4f8;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Image Styles */
.festival-logo-img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.judge-photo {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-items {
        justify-content: flex-start;
        gap: 2px;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .content-area {
        padding: 20px;
    }
    
    .sidebar {
        padding: 20px;
    }
    
    .festival-logo {
        font-size: 24px;
    }
    
    .nav-items {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }
    
    .nav-item {
        text-align: center;
        margin-bottom: 2px;
    }
}

/* Animation Effects */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* Special Styling for Southern Shorts specific elements */
.style7 {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    color: var(--primary-color);
}

.style17 {
    font-size: 16px;
    text-align: center;
}

.style15 {
    font-size: 12px;
}

.style4 {
    font-size: 14px;
}

.style5 {
    font-size: 16px;
    font-weight: bold;
}

/* Print Styles */
@media print {
    .festival-nav,
    .submit-button,
    .btn-primary {
        display: none;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    body {
        background: white;
    }
}