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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #f3f2ef 0%, #a6c954 30%, #f0faf0 100%);
    min-height: 100vh;
    color: #2d3c2d;
    overflow-x: hidden;
}

.zen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 20%, rgba(163, 192, 120, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(144, 238, 144, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(152, 251, 152, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
}

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

/* Zen Garden Pebbles with Brown Variations */
.zen-pebble {
    position: absolute;
    border-radius: 50% 40% 60% 30%;
    box-shadow: 
        inset 2px 2px 5px rgba(255,255,255,0.9), 
        inset -2px -2px 5px rgba(0,0,0,0.08),
        2px 2px 8px rgba(173, 255, 47, 0.12);
    animation: floatPebble 8s ease-in-out infinite;
}

.zen-pebble:nth-child(1) {
    width: 45px;
    height: 35px;
    top: 12%;
    left: 8%;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 50%, #d8d8d8 100%);
    animation-delay: 0s;
}

.zen-pebble:nth-child(2) {
    width: 60px;
    height: 45px;
    top: 65%;
    right: 10%;
    background: linear-gradient(135deg, #d2b48c 0%, #b39a82 50%, #b6aba5 100%);
    animation-delay: 2s;
    transform: rotate(30deg);
}

.zen-pebble:nth-child(3) {
    width: 35px;
    height: 25px;
    bottom: 20%;
    left: 15%;
    background: linear-gradient(135deg, #f5f5f5 0%, #dcdcdc 50%, #c0c0c0 100%);
    animation-delay: 4s;
    transform: rotate(-20deg);
}

.zen-pebble:nth-child(4) {
    width: 50px;
    height: 38px;
    top: 35%;
    left: 5%;
    background: linear-gradient(135deg, #daa520 0%, #92825a 50%, #c5a086 100%);
    animation-delay: 6s;
    transform: rotate(60deg);
}

.zen-pebble:nth-child(5) {
    width: 40px;
    height: 30px;
    top: 80%;
    right: 20%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 50%, #d0d0d0 100%);
    animation-delay: 1s;
    transform: rotate(-45deg);
}

.zen-pebble:nth-child(6) {
    width: 55px;
    height: 42px;
    top: 25%;
    right: 30%;
    background: linear-gradient(135deg, #be9d8e 0%, #94877d 50%, #af9479 100%);
    animation-delay: 3s;
    transform: rotate(15deg);
}

/* Zen Garden Raked Lines */
.zen-lines {
    position: absolute;
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(173, 255, 47, 0.15), rgba(144, 238, 144, 0.1), transparent);
    animation: flowLines 15s linear infinite;
}

.zen-lines:nth-child(7) {
    top: 20%;
    right: 5%;
    animation-delay: 0s;
}

.zen-lines:nth-child(8) {
    bottom: 30%;
    left: 10%;
    animation-delay: 5s;
    transform: rotate(15deg);
}

.zen-lines:nth-child(9) {
    top: 60%;
    right: 15%;
    animation-delay: 10s;
    transform: rotate(-10deg);
}

/* Brown Sand Lines */
.zen-lines.brown {
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.15), rgba(160, 82, 45, 0.1), transparent);
}

.zen-lines:nth-child(10) {
    top: 40%;
    left: 20%;
    animation-delay: 12s;
    transform: rotate(25deg);
}

/* Zen Circles with Brown Accents */
.zen-circle {
    position: absolute;
    border-radius: 50%;
    animation: breathe 10s ease-in-out infinite;
}

.zen-circle.large {
    width: 180px;
    height: 180px;
    top: 8%;
    right: 8%;
    border: 2px solid rgba(173, 255, 47, 0.2);
    animation-delay: 0s;
}

.zen-circle.medium {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 12%;
    border: 1px solid rgba(144, 238, 144, 0.25);
    animation-delay: 3s;
}

.zen-circle.small {
    width: 80px;
    height: 80px;
    top: 45%;
    right: 25%;
    border: 1px solid rgba(139, 69, 19, 0.2);
    animation-delay: 6s;
}

.zen-circle.brown {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 5%;
    border: 1px solid rgba(160, 82, 45, 0.2);
    animation-delay: 8s;
}

@keyframes floatPebble {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-5px) translateX(3px); 
        opacity: 1; 
    }
}

@keyframes flowLines {
    0% { 
        transform: translateX(-100px); 
        opacity: 0; 
    }
    50% { 
        opacity: 0.4; 
    }
    100% { 
        transform: translateX(100px); 
        opacity: 0; 
    }
}

@keyframes breathe {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.25; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.45; 
    }
}

header {
    text-align: center;
    padding: 3rem 2rem 1rem;
    position: relative;
}

h1 {
    font-size: 3.2rem;
    font-weight: 300;
    color: #2d3c2d;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    text-shadow: 0 2px 4px rgba(173, 255, 47, 0.08);
}

.subtitle {
    font-size: 1.1rem;
    color: #4a6b4a;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.zen-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #adff2f, #90ee90, #8b4513, transparent);
    margin: 1.5rem auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
    border-radius: 2px;
}

/* Filter Section */
.filter-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(173, 255, 47, 0.3);
    border-radius: 20px;
    color: #2d3c2d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.filter-btn:hover {
    background: rgba(173, 255, 47, 0.15);
    border-color: rgba(173, 255, 47, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(173, 255, 47, 0.2);
}

.filter-btn.active {
    background: #9bc85a;
    color: #ffffff;
    border-color: #adff2f;
    box-shadow: 0 4px 15px rgba(173, 255, 47, 0.3);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(173, 255, 47, 0.08);
    border: 1px solid rgba(173, 255, 47, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(173, 255, 47, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(173, 255, 47, 0.12);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(173, 255, 47, 0.3);
}

.project-number {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #ad9113;
    color: #ffffff;
    border-radius: 50%;
    line-height: 45px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(173, 255, 47, 0.2);
}



.project-number::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.project-card:hover .project-number::after {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3c2d;
    margin-bottom: 0.8rem;
}

.project-description {
    font-size: 0.85rem;
    color: #4a6b4a;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.project-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #9bc85a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(173, 255, 47, 0.2);
}



.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.project-link:hover::before {
    left: 100%;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(173, 255, 47, 0.3);
}

.project-card:nth-child(5n) .project-link:hover {
    box-shadow: 0 6px 18px rgba(218, 165, 32, 0.3);
}

/* Stagger animation delays */
.project-card:nth-child(4n+1) { animation-delay: 0.1s; }
.project-card:nth-child(4n+2) { animation-delay: 0.2s; }
.project-card:nth-child(4n+3) { animation-delay: 0.3s; }
.project-card:nth-child(4n+4) { animation-delay: 0.4s; }

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

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

/* Hidden class for filtering */
.project-card.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .project-card {
        padding: 1.2rem;
    }

    .filter-buttons {
        gap: 0.3rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Zen scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1000;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, #adff2f, #90ee90, #8b4513);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 1px 3px rgba(173, 255, 47, 0.4);
}