/* tanso.club — Memphis Bold Shapes Portfolio */

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

:root {
    --cream: #FFFBF0;
    --coral: #FF8A5C;
    --teal: #4ECDC4;
    --dark: #2D2D2D;
    --mint: #95E1D3;
    --red: #FF6B6B;
    --yellow: #FFE66D;
    --purple: #6C5CE7;
}

body {
    background: var(--cream);
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 12%;
    overflow: hidden;
}

.hero-title {
    font-family: 'Righteous', cursive;
    font-size: 72px;
    color: var(--red);
    transform: rotate(-3deg);
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeSlideIn 0.6s ease-out 1s forwards;
}

.hero-subtitle {
    font-family: 'Righteous', cursive;
    font-size: 36px;
    color: var(--teal);
    transform: rotate(2deg);
    margin-top: -8px;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeSlideIn 0.6s ease-out 1.3s forwards;
}

.hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
    margin-top: 24px;
    opacity: 0;
    position: relative;
    z-index: 10;
    animation: fadeSlideIn 0.6s ease-out 1.6s forwards;
}

/* Geometric shapes */
.geo-circle,
.geo-triangle,
.geo-zigzag,
.geo-square,
.geo-dots,
.geo-wavy {
    position: absolute;
    opacity: 0;
}

.geo-1 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid var(--coral);
    top: 15%;
    right: 20%;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.geo-2 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid var(--teal);
    top: 60%;
    left: 5%;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.geo-3 {
    width: 100px;
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        var(--yellow) 8px,
        var(--yellow) 12px
    );
    top: 25%;
    right: 8%;
    transform: rotate(15deg);
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.geo-4 {
    width: 80px;
    height: 80px;
    background: var(--purple);
    bottom: 20%;
    right: 15%;
    transform: rotate(15deg);
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.geo-5 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--yellow);
    top: 10%;
    left: 40%;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
}

.geo-6 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--red);
    bottom: 30%;
    left: 25%;
    transform: rotate(-20deg);
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s forwards;
}

.geo-7 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--mint) 4px, transparent 4px);
    background-size: 20px 20px;
    top: 40%;
    right: 35%;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s forwards;
}

.geo-8 {
    width: 160px;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        var(--coral) 0px,
        var(--coral) 20px,
        transparent 20px,
        transparent 40px
    );
    border-radius: 10px;
    bottom: 15%;
    left: 10%;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s forwards;
}

/* About Section */
.about {
    position: relative;
    padding: 120px 10%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.content-card {
    background: white;
    padding: 40px;
    border: 3px solid var(--dark);
    max-width: 420px;
    position: relative;
    box-shadow: 8px 8px 0 var(--dark);
}

.card-rotated-left {
    transform: rotate(-2deg);
}

.card-rotated-right {
    transform: rotate(1.5deg);
}

.content-card h3 {
    font-family: 'Righteous', cursive;
    font-size: 28px;
    color: var(--purple);
    margin-bottom: 16px;
}

.content-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
}

.memphis-decoration {
    position: absolute;
    z-index: 0;
}

.dec-left {
    left: 3%;
    top: 80px;
}

.dec-right {
    right: 3%;
    bottom: 80px;
}

/* Activities Section */
.activities {
    padding: 100px 8%;
    background: var(--dark);
    position: relative;
}

.section-title {
    font-family: 'Righteous', cursive;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
}

.activities .section-title {
    color: var(--yellow);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.activity-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-6px) rotate(1deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--teal);
}

.activity-card:nth-child(2):hover {
    transform: translateY(-6px) rotate(-1deg);
}

.card-icon {
    margin-bottom: 20px;
}

.activity-card h4 {
    font-family: 'Righteous', cursive;
    font-size: 22px;
    color: var(--coral);
    margin-bottom: 12px;
}

.activity-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--mint);
}

/* Join Section */
.join {
    position: relative;
    padding: 120px 10%;
    text-align: center;
    overflow: hidden;
}

.join-title {
    color: var(--red);
    position: relative;
    z-index: 2;
}

.join-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    line-height: 1.7;
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.carbon-formula {
    font-family: 'Righteous', cursive;
    font-size: 120px;
    color: var(--purple);
    opacity: 0.15;
    position: relative;
    z-index: 1;
}

.confetti-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--cream);
    text-align: center;
    padding: 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}

/* Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(40px);
    }
    60% {
        opacity: 1;
        transform: scale(1.1) translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: fadeSlideIn 0.6s ease-out 1s forwards;
}

.hero-subtitle {
    animation: fadeSlideIn 0.6s ease-out 1.3s forwards;
}

/* Scroll reveal */
.content-card,
.activity-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-card.card-rotated-left {
    transform: translateY(30px) rotate(-2deg);
}

.content-card.card-rotated-right {
    transform: translateY(30px) rotate(1.5deg);
}

.content-card.visible {
    opacity: 1;
    transform: translateY(0) rotate(-2deg);
}

.content-card.card-rotated-right.visible {
    opacity: 1;
    transform: translateY(0) rotate(1.5deg);
}

.activity-card.visible {
    opacity: 1;
    transform: translateY(0);
}
