* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fafafa;
    color: #333;
    line-height: 1.7;
    padding-top: 70px; /* Hapësirë për headerin e fiksuar */
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background: #121212;
    color: #e0e0e0;
}

/* HEADER I FIKS */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-weight: 600;
}

body.dark-mode header {
    background: #1e1e1e;
    box-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a237e;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
}

body.dark-mode .logo {
    color: #bb86fc;
}

.logo svg {
    width: 28px;
    height: 28px;
}

nav a {
    color: #3498db;
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.95em;
}

body.dark-mode nav a {
    color: #8a8aff;
}

nav a:hover {
    text-decoration: underline;
}

.dark-mode-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #e74c3c;
}

body.dark-mode .dark-mode-btn {
    color: #ffb300;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

body.dark-mode .hamburger span {
    background: #ddd;
}

/* MENU MOBILE */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

body.dark-mode .mobile-menu {
    background: #1e1e1e;
}

.mobile-menu a {
    padding: 10px 0;
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dashed #eee;
}

body.dark-mode .mobile-menu a {
    color: #8a8aff;
    border-bottom: 1px dashed #444;
}

/* KONTENTI */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 2.3em;
    color: #1a237e;
    margin-bottom: 10px;
}

body.dark-mode .hero h1 {
    color: #bb86fc;
}

.hero p {
    font-size: 1.1em;
    color: #666;
}

body.dark-mode .hero p {
    color: #aaa;
}

/* PROGRESI */
.progress-section {
    background: #f1f8e9;
    padding: 25px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
}

body.dark-mode .progress-section {
    background: #33691e;
    color: white;
}

.progress-bar {
    height: 18px;
    background: #e0e0e0;
    border-radius: 9px;
    overflow: hidden;
    margin: 18px 0;
}

body.dark-mode .progress-bar {
    background: #444;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #ffeb3b, #f44336);
    width: 0%;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9em;
}

/* TREMUJORËT */
.accordion {
    margin: 25px 0;
}

.accordion-header {
    background: #1a237e;
    color: white;
    padding: 16px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .accordion-header {
    background: #455a64;
}

.accordion-header::after {
    content: "+";
    font-size: 1.4em;
    color: #e0e0e0;
}

.accordion-header.active::after {
    content: "−";
    color: #bbb;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content.open {
    max-height: 600px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
    border-top: 1px dashed #ddd;
}

body.dark-mode .accordion-content.open {
    background: #263238;
    border-top: 1px dashed #444;
}

.weeks-list {
    list-style: none;
}

.weeks-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

body.dark-mode .weeks-list li {
    border-bottom: 1px dashed #444;
}

.weeks-list a {
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

body.dark-mode .weeks-list a {
    color: #81d4fa;
}

.weeks-list a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 80px;
    padding: 40px 20px 30px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9em;
    border-top: 1px solid #eee;
}

body.dark-mode footer {
    background: #1e1e1e;
    color: #aaa;
    border-top: 1px solid #444;
}

footer .footer-links {
    margin-top: 12px;
    font-size: 0.95em;
}

footer .footer-links a {
    color: #3498db;
    text-decoration: none;
    margin: 0 10px;
}

body.dark-mode footer .footer-links a {
    color: #8a8aff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .container {
        padding: 0 15px;
    }
    .hero h1 {
        font-size: 1.9em;
    }
}