/* g10d/assets/css/styles.css */
* {
    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: #f5f6fa;
}

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1rem;
}

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: #3498db;
    color: #fff;
}

main {
    margin-top: 70px;
    padding: 2rem;
    max-width: 1200px;
    margin: 70px auto 0;
}

section {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

section:hover {
    transform: translateY(-5px);
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
}

.content-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.method-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

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

.application-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
}

.challenges-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.reference-item {
    margin: 1rem 0;
    padding: 1rem;
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-5px);
}

.reference-item a {
    color: #3498db;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.reference-item a:hover {
    text-decoration: underline;
}

footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

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