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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --max-width: 1200px;
    --cat-pink: #ff9ff3;
    --cat-yellow: #ffe66d;
    --cat-blue: #4ecdc4;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    position: relative;
    overflow-x: hidden;
}

/* Cat paws background pattern */
.cat-paws-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, #333 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, #333 2px, transparent 2px),
        radial-gradient(circle at 40% 60%, #333 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, #333 2px, transparent 2px),
        radial-gradient(circle at 90% 40%, #333 2px, transparent 2px);
    background-size: 200px 200px;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cat-logo {
    animation: cat-bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes cat-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
}

.section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding: 1.5rem 0;
}

.section-header::before,
.section-header::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.section-header::before {
    left: 0;
}

.section-header::after {
    right: 0;
}

.cat-header-decoration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: cat-decoration-float 3s ease-in-out infinite;
}

.cat-header-decoration.left {
    animation-delay: 0s;
}

.cat-header-decoration.right {
    animation-delay: 0.5s;
}

@keyframes cat-decoration-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.paw-print {
    font-size: 1.2rem;
    opacity: 0.7;
    animation: paw-pulse 2s ease-in-out infinite;
}

@keyframes paw-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.whisker {
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.5;
    font-weight: 300;
    animation: whisker-wiggle 2s ease-in-out infinite;
}

@keyframes whisker-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.cat-icon {
    animation: cat-rotate 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    z-index: 1;
    position: relative;
}

@keyframes cat-rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 600;
}

.cat-heading {
    position: relative;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.05), rgba(51, 51, 51, 0.02));
    border-radius: 20px;
    border: 2px solid rgba(51, 51, 51, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cat-heading::before,
.cat-heading::after {
    content: '🐈‍⬛';
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.3;
    animation: cat-heading-float 2s ease-in-out infinite;
}

.cat-heading::before {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.cat-heading::after {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

@keyframes cat-heading-float {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-60%) scale(1.1); }
}

.cat-emoji {
    display: inline-block;
    animation: cat-emoji-bounce 1.5s ease-in-out infinite;
}

@keyframes cat-emoji-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-5deg); }
    75% { transform: translateY(-3px) rotate(5deg); }
}

.cat-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.cat-illustration {
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

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

.text-content {
    flex: 1;
    min-width: 300px;
}

.section p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.project-card {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '🐈‍⬛';
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.2;
    font-size: 1.5rem;
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.2);
}

.project-card:hover .card-cat {
    animation: cat-spin 0.5s ease-in-out;
}

@keyframes cat-spin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(360deg) scale(1.2); }
}

.card-cat {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    animation: cat-pulse 2s ease-in-out infinite;
}

@keyframes cat-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.project-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-list {
    list-style: none;
    margin-top: 1rem;
}

.contact-list li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.contact-list a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.contact-cat {
    flex-shrink: 0;
    animation: cat-wiggle 2s ease-in-out infinite;
}

@keyframes cat-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.cats-gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.mini-cat {
    font-size: 2.5rem;
    animation: mini-cat-bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mini-cat:hover {
    transform: scale(1.5) rotate(15deg);
}

.mini-cat:nth-child(1) { animation-delay: 0s; }
.mini-cat:nth-child(2) { animation-delay: 0.2s; }
.mini-cat:nth-child(3) { animation-delay: 0.4s; }
.mini-cat:nth-child(4) { animation-delay: 0.6s; }
.mini-cat:nth-child(5) { animation-delay: 0.8s; }
.mini-cat:nth-child(6) { animation-delay: 1s; }

@keyframes mini-cat-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-section {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.icp-section {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    position: relative;
}

.footer-cats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.footer-cat {
    font-size: 1.5rem;
    animation: footer-cat-float 3s ease-in-out infinite;
    cursor: pointer;
}

.footer-cat:nth-child(1) { animation-delay: 0s; }
.footer-cat:nth-child(2) { animation-delay: 0.5s; }
.footer-cat:nth-child(3) { animation-delay: 1s; }
.footer-cat:nth-child(4) { animation-delay: 1.5s; }

@keyframes footer-cat-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.footer-paw {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    animation: paw-blink 2s ease-in-out infinite;
}

@keyframes paw-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.floating-cats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-cat {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: float-around 20s linear infinite;
}

.floating-cat:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 25s;
}

.floating-cat:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.floating-cat:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes float-around {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, -50px) rotate(90deg); }
    50% { transform: translate(-50px, 100px) rotate(180deg); }
    75% { transform: translate(50px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    main {
        padding: 2rem 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .section-header {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem 0;
    }

    .section-header::before,
    .section-header::after {
        width: 20%;
    }

    .cat-header-decoration {
        display: none;
    }

    .cat-heading::before,
    .cat-heading::after {
        display: none;
    }

    .cat-heading {
        padding: 0.4rem 1rem;
        font-size: 1.3rem;
    }

    .cat-icon {
        width: 45px;
        height: 45px;
    }

    .cat-content,
    .contact-content {
        flex-direction: column;
        text-align: center;
    }

    .cat-illustration,
    .contact-cat {
        margin: 0 auto;
    }

    .cats-gallery {
        gap: 1rem;
    }

    .mini-cat {
        font-size: 2rem;
    }
}


