/*
Theme Name: humans/AI
Description: Tema personalizzato per il sito humans/AI - Design minimal e responsive
Version: 1.0
Author: Claude AI
*/

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #fefefe;
    color: #4a4a4a;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    height: 80px;
}

.hamburger-menu {
    width: 30px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #4a4a4a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
    overflow: hidden;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMzAiIGZpbGw9IiNkZGQiLz4KPGNpcmNsZSBjeD0iMzAiIGN5PSIyNSIgcj0iMTAiIGZpbGw9IiM5OTkiLz4KPHBhdGggZD0iTTEwIDUwYzAtMTEgOS0yMCAyMC0yMHMyMCA5IDIwIDIwIiBmaWxsPSIjOTk5Ii8+Cjwvc3ZnPgo=');
    background-size: cover;
    background-position: center;
}

.logo-link {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
}

/* Homepage */
.homepage {
    display: block;
}

.spacer-top {
    height: 40px;
}

.main-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(3.5rem, 15vw, 6rem);
    font-weight: normal;
    text-align: center;
    color: #4a4a4a;
    line-height: 0.9;
    margin-bottom: 15px;
    margin-left: -15px;
    margin-right: 15px;
}

.subtitle {
    text-align: center;
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    color: #666;
    margin-bottom: 35px;
    line-height: 1.4;
    font-weight: 400;
}

.sections {
    margin-left: calc(0.5ch + 2px);
}

.section-item {
    margin-bottom: 25px;
    font-size: 16px;
    color: #4a4a4a;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.section-item:hover {
    color: #333;
}

/* Pages */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.page-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.page-text {
    font-size: 16px;
    line-height: 1.8;
}

.page-text h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    color: #333;
}

.page-text h3 {
    font-size: 1.2rem;
    margin: 25px 0 10px 0;
    color: #333;
}

.page-text p {
    margin-bottom: 20px;
}

.page-text a {
    color: #007acc;
    text-decoration: underline;
}

.page-text img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 30px 25px;
    text-align: center;
}

.footer-links {
    font-size: 14px;
    color: #888;
}

.footer-links a {
    color: #888;
    text-decoration: none;
}

.footer-links a:hover {
    color: #666;
    text-decoration: underline;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 80px 30px 30px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-item {
    display: block;
    padding: 15px 0;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-item:hover {
    color: #333;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Hamburger animation */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (min-width: 768px) {
    .main-title {
        font-size: 5rem;
        margin-left: 0;
    }
    
    .subtitle {
        font-size: 2.5rem;
    }
    
    .section-item {
        font-size: 18px;
    }
}

/* WordPress specific */
.wp-block-group {
    margin: 0;
}

.entry-content {
    margin: 0;
}

/* Hide admin bar on frontend */
.admin-bar .mobile-menu {
    top: 32px;
    height: calc(100vh - 32px);
}