/* Site 3: Vibrant & Youthful (Pop / Neo-Brutalism) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');

:root {
    --primary: #FFEB3B; /* Yellow */
    --secondary: #9C27B0; /* Purple */
    --accent: #FF4081; /* Pink */
    --dark: #212121;
    --light: #FAFAFA;
    --border-color: #000;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary);
    color: var(--dark);
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 3px solid var(--border-color);
    background: #fff;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    text-transform: uppercase;
    text-shadow: 2px 2px 0px var(--border-color);
    transform: rotate(-2deg);
    display: inline-block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
}

nav a {
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: #fff;
    box-shadow: 4px 4px 0px var(--border-color);
    transition: all 0.2s;
}

nav a:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border-color);
    background: var(--accent);
    color: #fff;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 40px;
}

.hero-text h1 {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 20px;
    background: #fff;
    display: inline-block;
    padding: 10px;
    border: 3px solid var(--border-color);
    box-shadow: 8px 8px 0px var(--border-color);
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--secondary);
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--border-color);
}

.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 20px 40px;
    background: var(--accent);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid var(--border-color);
    box-shadow: 6px 6px 0px var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.hero-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0px var(--border-color);
}

.hero-graphic {
    flex: 1;
    height: 400px;
    border: 3px solid var(--border-color);
    box-shadow: 10px 10px 0px var(--border-color);
    border-radius: 20px;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    border: 3px solid var(--border-color);
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: var(--secondary);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    box-shadow: 4px 4px 0 var(--border-color);
    animation: float 4s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: var(--accent);
    bottom: 20%;
    left: 15%;
    box-shadow: 4px 4px 0 var(--border-color);
    animation: spin 10s linear infinite;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--primary);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 4px 4px 0 var(--border-color);
    animation: pulse 3s ease-in-out infinite;
}

.hero-graphic-text {
    font-size: 5rem;
    font-weight: 900;
    z-index: 10;
    text-shadow: 4px 4px 0 #fff, 8px 8px 0 var(--border-color);
    transform: rotate(-5deg);
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1) rotate(45deg); }
    50% { transform: translate(-50%, -50%) scale(1.2) rotate(45deg); }
    100% { transform: translate(-50%, -50%) scale(1) rotate(45deg); }
}

@keyframes pop {
    0% { transform: scale(0) rotate(-5deg); opacity: 0; }
    100% { transform: scale(1) rotate(-5deg); opacity: 1; }
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.card {
    background: #fff;
    border: 3px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 8px 8px 0px var(--border-color);
    transition: all 0.2s;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px var(--border-color);
}

.card-img-wrap {
    height: 200px;
    overflow: hidden;
    border-bottom: 3px solid var(--border-color);
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-tag {
    background: var(--secondary);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: 900;
}

/* Footer */
footer {
    background: var(--dark);
    color: #fff;
    padding: 40px;
    text-align: center;
    border-top: 3px solid var(--border-color);
    margin-top: 80px;
}

/* Forms */
input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 3px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 4px 4px 0px var(--border-color);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    outline: none;
    background: #fff;
}

.page-title {
    font-size: 4rem;
    text-align: center;
    margin: 40px 0;
    text-shadow: 4px 4px 0px #fff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Newsletter Section */
.newsletter {
    background: var(--accent);
    padding: 60px 20px;
    text-align: center;
    border-top: 3px solid var(--border-color);
    border-bottom: 3px solid var(--border-color);
    margin-top: 80px;
}

.newsletter h2 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 4px 4px 0 var(--border-color);
    margin-bottom: 20px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    margin-bottom: 0;
    border-radius: 50px;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--primary);
    border: 3px solid var(--border-color);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--border-color);
    transition: all 0.2s;
}

.newsletter-form button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--border-color);
}

/* Testimonials */
.testimonials {
    margin-top: 80px;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--light);
    padding: 30px;
    border: 3px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 6px 6px 0 var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    font-weight: 700;
    margin-top: 20px;
    display: block;
    color: var(--secondary);
}

/* Mood Selector */
.mood-section {
    text-align: center;
    margin: 80px 0;
}

.mood-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.mood-btn {
    font-size: 3rem;
    background: #fff;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--border-color);
    transition: all 0.2s;
}

.mood-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background: var(--primary);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 4px 4px 0 var(--border-color);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 3px solid var(--border-color);
        padding: 20px;
        z-index: 99;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-graphic {
        width: 100%;
    }
}
