body {
    background-color: white;
    margin: 0;
    padding: 20px;
    font-family: 'Comic Sans MS', cursive;
}

/* Social button styles */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-btn {
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    font-size: 18px;
    transition: transform 0.3s;
    position: relative;
    background: white;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid black;
    filter: url('#sketch');
    transform: rotate(-1deg);
}

.social-btn:hover {
    transform: scale(1.1) rotate(-2deg);
}

/* Hand-drawn border effect */
.sketch-border {
    position: relative;
    border: none;
    padding: 8px;
}

.sketch-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='none' stroke='black' stroke-width='3' stroke-dasharray='6, 14' stroke-dashoffset='0' stroke-linecap='round'%3E%3Canimate attributeName='stroke-dashoffset' from='0' to='20' dur='0.5s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/svg%3E");
    filter: url('#sketch');
}

/* Add SVG filter to the end of body */
body::after {
    content: '';
    position: fixed;
    top: -100%;
    left: -100%;
    width: 1px;
    height: 1px;
}

@supports (filter: url('#sketch')) {
    body::after {
        content: 
            '<svg style="position:absolute;"><defs><filter id="sketch"><feTurbulence type="fractalNoise" baseFrequency="0.02" numOctaves="3"/><feDisplacementMap in="SourceGraphic" scale="10"/></filter></defs></svg>';
    }
}

/* Main content area */
.featured-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.main-image {
    position: relative;
    width: 60%;
    overflow: hidden;
    background: white;
    padding: 12px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.front-image {
    position: relative;
    z-index: 1;
    transition: opacity 0.3s;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.main-image:hover .front-image {
    opacity: 0;
}

.main-image:hover .hover-image {
    opacity: 1;
}

.main-image::before, .main-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid black;
    filter: url('#sketch');
    transform: rotate(-0.5deg);
}

.side-image {
    width: 35%;
    background: white;
    padding: 12px;
}

.side-image img {
    width: 100%;
    height: auto;
    display: block;
}

.side-image::before, .side-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid black;
    filter: url('#sketch');
    transform: rotate(-0.5deg);
}

/* Grid image gallery */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.grid-item {
    aspect-ratio: 1;
    overflow: visible;
    transition: transform 0.3s;
    position: relative;
    padding: 8px;
    background: white;
}

.grid-item::before, .grid-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid black;
    filter: url('#sketch');
    transform: rotate(-0.5deg);
}

.grid-item:hover {
    transform: scale(1.05) rotate(2deg);
}

.grid-item img {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Hand-drawn animation effect */
@keyframes sketch {
    0% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 3% 4%, 5% 2%, 7% 5%, 10% 3%, 12% 6%, 15% 4%, 18% 7%, 20% 5%, 23% 8%); }
    50% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 4% 3%, 6% 5%, 8% 3%, 11% 6%, 13% 4%, 16% 7%, 19% 5%, 21% 8%, 24% 6%); }
    100% { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 3% 4%, 5% 2%, 7% 5%, 10% 3%, 12% 6%, 15% 4%, 18% 7%, 20% 5%, 23% 8%); }
} 