/* ==========================================
   HOME PAGE STYLES
   Page-specific styles for index.html
   ========================================== */

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    text-align: center;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.yinyang {
    width: 300px;
    height: 300px;
    position: relative;
    opacity: 0.1;
    animation: rotateYinyang 20s linear infinite;
}

.yinyang svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* ===== DUALITÄT SECTION ===== */
.duality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 80px;
}

.duality-card {
    min-height: 500px;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.duality-light {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
}

.duality-dark {
    background: var(--black);
    color: var(--white);
}

.duality-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 0;
}

.duality-light::after {
    background: var(--black);
}

.duality-dark::after {
    background: var(--white);
}

.duality-card.hovered::after,
.duality-card:hover::after {
    left: 0;
}

.duality-card.hovered,
.duality-card:hover {
    color: var(--white);
}

.duality-dark.hovered,
.duality-dark:hover {
    color: var(--black);
}

.duality-card h3,
.duality-card p,
.duality-card ul {
    position: relative;
    z-index: 1;
}

.duality-card h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-weight: 300;
}

.duality-card p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 30px;
}

.duality-card ul {
    list-style: none;
    font-size: 1.05rem;
    line-height: 2.2;
}

.duality-card li::before {
    content: '—';
    margin-right: 15px;
}

/* ===== PERSPEKTIV-RÄTSEL SECTION ===== */
.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.perspective-card {
    height: 300px;
    position: relative;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.perspective-card.flipped .flip-card-inner,
.perspective-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.puzzle-front,
.puzzle-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 1px solid var(--black);
}

.puzzle-front {
    background: var(--white);
    color: var(--black);
}

.puzzle-back {
    background: var(--black);
    color: var(--white);
    transform: rotateY(180deg);
}

.puzzle-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.puzzle-text {
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1.6;
    font-weight: 300;
}

/* ===== PHILOSOPHIE SECTION ===== */
.philosophy-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 60px 50px;
    border: 2px solid var(--black);
    position: relative;
}

.philosophy-content h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: center;
}

.philosophy-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 25px;
    text-align: justify;
    font-style: italic;
}

.philosophy-content strong {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== SYMBOLIK SECTION ===== */
.symbol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.symbol-visual {
    font-size: 4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

/* ===== MANIFESTO SECTION ===== */
.manifesto {
    background: var(--light-gray);
    color: var(--black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
}

.manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px
    );
    pointer-events: none;
    z-index: 1;
}

.manifesto-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-list {
    text-align: left;
    font-size: 1.15rem;
    line-height: 2.4;
    letter-spacing: 0.5px;
    color: var(--black);
    list-style: none;
}

.manifesto-list li {
    margin-bottom: 35px;
    padding-left: 35px;
    position: relative;
    font-style: italic;
}

.manifesto-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    font-size: 1rem;
    color: var(--black);
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid var(--white);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.footer-section a:hover {
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--white);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--white);
    color: var(--black);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

/* ===== RESPONSIVE HOME PAGE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
        letter-spacing: 4px;
    }

    .yinyang {
        width: 400px;
        height: 400px;
    }

    .duality-grid {
        grid-template-columns: 1fr;
    }

    .duality-card {
        min-height: 400px;
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 60px;
        height: auto;
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .yinyang {
        width: 200px;
        height: 200px;
    }

    .duality-card {
        min-height: auto;
        padding: 40px 30px;
    }

    .philosophy-content {
        padding: 40px 30px;
    }

    .puzzle-grid {
        grid-template-columns: 1fr;
    }

    .manifesto {
        padding: 60px 0;
    }

    .manifesto-list {
        font-size: 1rem;
    }

    .symbol-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 0.9rem;
    }

    .duality-card h3 {
        font-size: 1.8rem;
    }

    .philosophy-content {
        padding: 30px 20px;
    }
}
