/* Updated styles.css with mobile responsiveness fixes */

:root {
    --primary-color: #121212;
    --secondary-color: #1e1e1e;
    --accent-color: #00c8ff;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #00ffff;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #00ffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 200, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--primary-color);
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.waveform {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('img/waveform.svg');
    background-repeat: repeat-x;
    background-size: contain;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.about {
    background-color: var(--secondary-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links i {
    font-size: 1.2rem;
}

/* Project Section */
.project {
    background-color: var(--primary-color);
}

.project-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.features {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

.notebook-container {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    text-align: center;
}

.notebook-container h3 {
    margin-bottom: 20px;
}

.loading-indicator {
    padding: 50px;
    color: var(--text-secondary);
}

.notebook-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Budget Section */
.budget {
    background-color: var(--secondary-color);
}

.budget-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
}

.budget-table th,
.budget-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.budget-table th {
    background-color: rgba(0, 200, 255, 0.1);
    font-weight: 700;
    color: var(--accent-color);
}

.budget-table tr:last-child td {
    border-bottom: none;
}

.budget-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.05);
}

.timeline {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
}

.timeline h3 {
    margin-bottom: 20px;
}

.timeline ul {
    list-style: none;
}

.timeline li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.timeline li:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.timeline li:after {
    content: '';
    position: absolute;
    top: 14px;
    left: 6px;
    width: 2px;
    height: calc(100% + 15px);
    background-color: rgba(0, 200, 255, 0.3);
}

.timeline li:last-child:after {
    display: none;
}

/* Funding Section */
.funding {
    background-color: var(--primary-color);
}

.funding-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.funding-options {
    display: flex;
    gap: 30px;
}

.funding-card {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.funding-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.funding-card h3 {
    margin-bottom: 15px;
}

.funding-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Blog Section */
.blog {
    background-color: var(--secondary-color);
}

.blog-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-text {
    padding: 20px;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    font-weight: 700;
    color: var(--accent-color);
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: translateX(5px);
}

.blog-navigation {
    text-align: center;
}

.blog-post-full {
    background-color: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
}

.blog-post-full .blog-image {
    height: 400px;
    margin: -30px -30px 30px;
}

.blog-post-full .blog-title {
    font-size: 2rem;
}

.blog-post-full .blog-author {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.blog-post-full .blog-content {
    text-align: left;
    margin-bottom: 30px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background-color: rgba(0, 200, 255, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.back-to-blog {
    margin-top: 20px;
}

/* Contact Section */
.contact {
    background-color: var(--primary-color);
}

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

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
}

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

.form-control {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about {
    flex: 2;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-about p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links {
    flex: 1;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-newsletter {
    flex: 2;
}

.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-newsletter h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter .form-control {
    flex: 1;
    margin-right: 10px;
    margin-bottom: 0;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .features, 
    .funding-options {
        flex-direction: column;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1000;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .budget-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter .form-control {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-newsletter .btn {
        width: 100%;
    }
}
