:root {
    --primary-color: #007BFF;
    --primary-hover: #0056b3;
    --bg-color: #f0f2f5;
    --card-bg-color: #ffffff;
    --text-color: #333;
    --heading-color: #1c1e21;
    --border-color: #dddfe2;
    --code-bg: #2d2d2d;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background-color: var(--card-bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.overview {
    font-size: 1.1em;
    color: #666;
    max-width: 600px;
    margin: 0 auto 25px;
}

.repo-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.repo-button i {
    margin-right: 8px;
}

.repo-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 2em;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    margin-top: 0;
    color: var(--heading-color);
}

.feature-card ul {
    padding-left: 20px;
    margin: 0;
}

/* Screenshots */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.screenshots-gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screenshots-gallery img:hover {
    transform: scale(1.05);
}

/* Installation */
.step {
    margin-bottom: 20px;
}

.code-block {
    position: relative;
}

pre {
    background-color: var(--code-bg);
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #555;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.copy-button:hover {
    background-color: #777;
}

.copy-button.copied {
    background-color: #28a745; /* Green */
}


/* Contact */
.contact {
    text-align: center;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.8em;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 20px;
        margin: 20px auto;
    }
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
}
