/* Zine Exchange Club - Airy, Mobile Responsive Design */

* {
    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;
}

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

/* Header */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.logo {
    height: 80px;
    margin-bottom: 10px;
}

.banner {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Navigation */
nav {
    background: #2c3e50;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    transition: background 0.3s;
    display: inline-block;
}

nav a:hover {
    background: #34495e;
}

nav a.active {
    background: #3498db;
}

/* Main Content */
main {
    padding: 40px 20px;
    background: white;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1, h2, h3, h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.8em;
    margin-top: 30px;
}

p {
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

.btn-large {
    font-size: 1.2em;
    padding: 15px 40px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9em;
}

.btn-danger {
    background: #e74c3c;
}

.btn-danger:hover {
    background: #c0392b;
}

/* Forms */
.form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    color: #7f8c8d;
    font-size: 0.9em;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hero h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.hero .btn {
    background: white;
    color: #667eea;
}

.hero .btn:hover {
    background: #f0f0f0;
}

/* Process Cards */
.how-it-works {
    margin: 40px 0;
}

.process-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.process-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.process-card:hover {
    transform: translateY(-5px);
}

.card-number {
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.arrow {
    font-size: 2em;
    color: #3498db;
    font-weight: bold;
}

/* Next Cycle Section */
.next-cycle {
    background: #e8f4f8;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.next-cycle h2 {
    margin-top: 0;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.status.open {
    background: #2ecc71;
    color: white;
}

.status.closed {
    background: #e74c3c;
    color: white;
}

.status.completed {
    background: #2ecc71;
    color: white;
}

.status.pending {
    background: #f39c12;
    color: white;
}

/* About Section */
.about {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.gallery-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-info {
    padding: 15px;
}

.gallery-info h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
}

.gallery-info .by {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 5px;
}

.gallery-info .cycle {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-info .caption {
    color: #555;
    font-size: 0.95em;
}

/* Process Page */
.welcome {
    text-align: center;
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.my-zine {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.participations {
    margin: 30px 0;
}

.participation-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.participation-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.participation-card .date {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.progress-steps {
    margin: 20px 0;
}

.step {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #ddd;
}

.step.completed {
    border-left-color: #2ecc71;
    background: #f0fff4;
}

.step.pending {
    border-left-color: #f39c12;
}

.step-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

.step.completed .step-icon {
    color: #2ecc71;
}

.step.pending .step-icon {
    color: #f39c12;
}

.step-label {
    flex: 1;
    font-weight: 600;
}

.inline-form {
    display: inline;
}

.partner-info {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
}

.partner-info h4 {
    margin-top: 0;
    color: #856404;
}

.partner-info .address {
    white-space: pre-wrap;
    background: white;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.upload-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Admin Section */
.admin-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.admin-section h2 {
    margin-top: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background: #2c3e50;
    color: white;
    font-weight: 600;
}

.admin-table tr:hover {
    background: #f5f5f5;
}

.admin-table small {
    color: #7f8c8d;
}

/* Messages */
.message,
.message-box,
.error,
.success {
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.error,
.message.error,
.message-box.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success,
.message.success,
.message-box.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Empty State */
.empty-state {
    text-align: center;
    color: #7f8c8d;
    padding: 40px 20px;
    font-style: italic;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 15px 0;
    }
    
    .logo {
        height: 60px;
    }
    
    nav {
        padding: 10px 0;
    }
    
    nav a {
        display: block;
        margin: 5px 0;
        padding: 10px;
    }
    
    main {
        padding: 25px 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.4em;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .process-cards {
        flex-direction: column;
    }
    
    .process-card {
        max-width: 100%;
        width: 100%;
    }
    
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 0.9em;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 50px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .btn-large {
        font-size: 1em;
        padding: 12px 20px;
    }
}
