/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding-top: var(--navbar-height); /* Prevent content overlap with fixed navbar */
}

/* Navigation Bar */
.navbar {
    background: #1a2a44; /* Dark blue for crypto aesthetic */
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
    color: #00aaff; /* Bright blue for hover/active */
}

/* X Social Link */
.social-link {
    display: flex;
    align-items: center;
}

.x-icon {
    font-size: 1.2rem;
    font-weight: bold;
    background: #fff;
    color: #1a2a44;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.social-link:hover .x-icon {
    background: #00aaff;
    color: #fff;
}

/* Hero Section (Home Page) */
.hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #1a2a44, #2b4a88);
    color: #fff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px; /* Constrain paragraph width */
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Features Section (Home Page) */
.features {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.features h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a2a44;
}

.features p {
    margin-bottom: 2rem;
}

/* Content Section (Wallet, Bitcoin Pages) */
.content {
    max-width: 800px;
    margin: 6rem auto 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content p, .content ul {
    margin-bottom: 1.5rem;
}

.content ul {
    list-style: disc;
    padding-left: 2rem;
}

/* Blog Section (Bitcoin Page) */
.blog {
    max-width: 800px;
    margin: 6rem auto 4rem;
    padding: 2rem;
}

.blog h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.blog h2 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post-date {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-post p {
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: #00aaff;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #00aaff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta-button:hover {
    background: #0088cc;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #1a2a44;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --navbar-height: 180px; /* Increased height for stacked navbar on mobile */
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        margin-top: 1rem;
    }

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

    .logo img {
        max-height: 30px; /* Smaller logo on mobile */
        max-width: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
        max-width: 90%; /* Adjust for smaller screens */
    }

    .features h2 {
        font-size: 1.5rem;
    }

    .blog h1 {
        font-size: 1.8rem;
    }

    .blog-post h2 {
        font-size: 1.3rem;
    }

    .post-date {
        font-size: 0.8rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}