/* 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, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

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

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.sidebar-header .subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-item i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.nav-item span:first-of-type {
    flex: 1;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Top Bar */
.top-bar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
}

.top-bar h1 {
    color: #1e40af;
    font-size: 1.8rem;
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f8fafc;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
}

.user-destination {
    font-size: 0.8rem;
    color: #6b7280;
}

.user-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

/* Content */
.content {
    padding: 2rem;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2rem;
}

.welcome-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.welcome-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.countdown {
    display: flex;
    gap: 1.5rem;
}

.countdown-item {
    text-align: center;
    background-color: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-image {
    font-size: 4rem;
    opacity: 0.3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.info-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.info-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.info-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.card-content h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.card-content p {
    color: #64748b;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.card-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #1e3a8a;
}

/* Progress Section */
.progress-section {
    margin-bottom: 2rem;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 600;
}

.progress-percentage {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step.completed {
    background-color: #d1fae5;
    color: #059669;
}

.step.in-progress {
    background-color: #fef3c7;
    color: #d97706;
}

.step.pending {
    background-color: #f1f5f9;
    color: #64748b;
}

.step i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Resources Section */
.resources-section {
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

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

.resource-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.resource-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.resource-card:nth-child(1) .resource-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.resource-card:nth-child(2) .resource-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.resource-card:nth-child(3) .resource-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.resource-card:nth-child(4) .resource-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.resource-card h3 {
    color: #1e40af;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.resource-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Community Section */
.community-section {
    margin-bottom: 2rem;
}

.community-content {
    space-y: 1rem;
}

.community-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 10px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

.recent-posts {
    space-y: 1rem;
    margin-bottom: 1.5rem;
}

.post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.post-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.post-content h4 {
    color: #1e40af;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.post-content p {
    color: #374151;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.post-time {
    font-size: 0.8rem;
    color: #9ca3af;
}

.community-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Messages Section */
.messages-section {
    margin-bottom: 2rem;
}

.badge {
    background-color: #ef4444;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.messages-list {
    space-y: 1rem;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.message-item:hover {
    background-color: #f8fafc;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.message-item:nth-child(1) .message-avatar {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.message-item:nth-child(2) .message-avatar {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.message-item:nth-child(3) .message-avatar {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.message-content {
    flex: 1;
}

.message-content h4 {
    color: #374151;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.message-content p {
    color: #6b7280;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.message-time {
    font-size: 0.8rem;
    color: #9ca3af;
}

.message-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.message-status.unread {
    background-color: #ef4444;
}

.message-status.read {
    background-color: #d1d5db;
}

/* Checklist Section */
.checklist-section {
    margin-bottom: 2rem;
}

.checklist-progress {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.checklist {
    space-y: 0.5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checklist-item.completed {
    background-color: #d1fae5;
    color: #059669;
}

.checklist-item.pending {
    background-color: #f1f5f9;
    color: #64748b;
}

.checklist-item i {
    font-size: 1.2rem;
}

.checklist-item span {
    font-weight: 500;
}

/* Fun Facts Section */
.fun-facts {
    margin-bottom: 2rem;
}

.fun-fact-content {
    text-align: center;
}

.fun-fact-content p {
    color: #374151;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.fun-fact-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #374151;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .welcome-card {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-image {
        margin-top: 1rem;
    }
    
    .countdown {
        justify-content: center;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .community-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }
    
    .top-bar {
        padding: 1rem;
    }
    
    .progress-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .welcome-content h2 {
        font-size: 1.8rem;
    }
    
    .countdown {
        flex-direction: column;
        gap: 1rem;
    }
    
    .user-info {
        display: none;
    }
}
