/* Urban Photography Club - Final Project CSS */
/* Modern HTML5 Template Styles for Photography Community */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="city" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23ffffff" opacity="0.02"/><rect x="0" y="80" width="20" height="20" fill="%23ffffff" opacity="0.05"/><rect x="30" y="60" width="15" height="40" fill="%23ffffff" opacity="0.05"/><rect x="50" y="70" width="25" height="30" fill="%23ffffff" opacity="0.05"/><rect x="80" y="50" width="20" height="50" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23city)"/></svg>');
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: -1px;
}

.header-subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    font-weight: 300;
    margin-top: 0.5rem;
}

/* Navigation Styles */
.main-nav {
    background: rgba(52, 73, 94, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #3498db;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 0.8rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    font-size: 0.95em;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 400px);
}

/* Content Sections */
.content-section,
.hero-section,
.winners-section,
.voting-section,
.category-section,
.chat-section {
    background: white;
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section::before,
.voting-section::before,
.category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12);
}

h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

h3 {
    color: #34495e;
    font-size: 1.5em;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

h4 {
    color: #2c3e50;
    font-size: 1.3em;
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
    color: #444;
    font-size: 1.05em;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-image {
    text-align: center;
    margin: 3rem 0;
}

.hero-image img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

figcaption {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
    font-size: 0.95em;
    text-align: center;
}

/* Social Media Share Section */
.social-share-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.social-share-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.social-share-section p {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Club Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.highlight-card:hover::before {
    left: 100%;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.highlight-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3em;
}

.highlight-card p {
    color: #555;
    font-size: 0.95em;
    text-align: center;
}

/* Rules Specific Styles */
.rules-highlight {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    margin: 2rem 0;
}

.rules-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.rule-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.rules-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rules-table td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s ease;
}

.rules-table td:first-child {
    font-weight: 600;
    background: #f8f9fa;
}

.technical-specs,
.violation-policy {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Categories Specific Styles */
.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.category-icon {
    font-size: 4rem;
    margin-right: 1.5rem;
}

.category-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.category-description {
    padding: 0;
}

.category-tips {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.category-tips ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.category-tips li {
    margin-bottom: 0.5rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.schedule-month {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.schedule-month:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

/* Submission Form Styles */
.submission-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.info-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.submission-instructions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.submission-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.submission-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05em;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95em;
}

.submit-btn,
.vote-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:hover,
.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.form-note {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #2196f3;
}

.email-instructions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.email-checklist ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.email-checklist li {
    margin-bottom: 0.5rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 150px;
    background: #3498db;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin: 0 2rem;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Voting Specific Styles */
.voting-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.voting-status h3 {
    color: white;
    margin-bottom: 1rem;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.voting-photo {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.voting-photo:hover {
    transform: translateY(-5px);
}

.voting-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.photo-info {
    padding: 1.5rem;
}

.photo-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.photo-info p {
    font-size: 0.9em;
    margin-bottom: 0.5rem;
    text-align: left;
}

.vote-form {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #dee2e6;
}

.vote-form input {
    margin-bottom: 0.8rem;
    font-size: 0.9em;
    padding: 0.6rem;
}

.vote-form label {
    font-size: 0.9em;
    margin-bottom: 0.3rem;
}

.vote-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
}

.voting-criteria {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.voting-criteria ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.voting-criteria li {
    margin-bottom: 0.8rem;
}

/* Gallery Specific Styles */
.winner-showcase {
    margin: 3rem 0;
}

.winner-photo,
.category-winner,
.monthly-winner {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.grand-winner {
    max-width: 800px;
    margin: 0 auto;
}

.winner-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.winner-photo img,
.category-winner img,
.monthly-winner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.winner-info {
    padding: 2rem;
    background: white;
}

.winner-info h3,
.winner-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.winner-info p {
    font-size: 0.95em;
    margin-bottom: 0.8rem;
    text-align: left;
}

.category-winners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.monthly-winners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

.achievement-levels {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.achievement-levels ul {
    margin-top: 1rem;
    padding-left: 0;
    list-style: none;
}

.achievement-levels li {
    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

/* Chat Specific Styles */
.chat-intro {
    margin: 2rem 0;
}

.chat-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
}

.stat-info strong {
    display: block;
    color: #2c3e50;
    font-size: 1.2em;
    margin-bottom: 0.2rem;
}

.stat-info p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
    text-align: left;
}

.chat-guidelines {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.chat-guidelines ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.chat-guidelines li {
    margin-bottom: 0.8rem;
}

.chat-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    min-height: 400px;
}

.chat-placeholder {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    border: 2px dashed #3498db;
}

.chat-placeholder-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.chat-placeholder-content ul {
    text-align: left;
    max-width: 500px;
    margin: 1rem auto;
    padding-left: 1.5rem;
}

.backup-chat {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.connect-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.connect-option {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.connect-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    text-align: center;
    font-size: 0.95em;
}

.schedule-table {
    margin: 2rem 0;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.schedule-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
}

.schedule-table tr {
    transition: all 0.3s ease;
}

.schedule-table tr:hover {
    background: #f8f9fa;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Footer Navigation */
#footer-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav-section {
    text-align: left;
}

.footer-nav-section h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2em;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
}

.footer-nav-links li {
    margin-bottom: 0.5rem;
}

.footer-nav-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    position: relative;
    color: white;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    transform: scale(1.2);
    color: #3498db;
}

/* Quick Contact */
.quick-contact {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.quick-contact h3 {
    color: white;
    margin-bottom: 1rem;
}

.quick-contact a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.quick-contact a:hover {
    color: #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }
    
    .header-subtitle {
        font-size: 1.1em;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }
    
    .main-nav li {
        margin: 0.25rem 0;
    }
    
    main {
        padding: 1rem;
    }
    
    .content-section,
    .hero-section,
    .winners-section,
    .voting-section,
    .category-section,
    .chat-section {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .highlights-grid,
    .stats-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        padding-left: 4rem;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .timeline-date {
        margin: 0 0 1rem 0;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    .category-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    
    .content-section,
    .hero-section,
    .winners-section,
    .voting-section,
    .category-section,
    .chat-section {
        padding: 1.5rem 1rem;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9em;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }