/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    color: #2d2d2d;
    background-color: #f0f0f0;
    overflow-x: hidden;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #2d2d2d;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 4px solid #ffeb3b;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-text {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.4rem;
    color: #ffeb3b;
    letter-spacing: 2px;
    transform: rotate(-2deg);
}

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

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transform: rotate(1deg);
}

.nav-links a:hover {
    background: #77d87e;
    color: #2d2d2d;
    transform: rotate(-1deg) scale(1.05);
}

/* Hero Section */
.hero-banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(45deg, #77d87e 0%, #b8dde1 50%, #f9f5a9 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    border: 6px solid #2d2d2d;
    transform: rotate(-1deg);
    box-shadow: 10px 10px 0px #ffeb3b;
}

.hero-title {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #2d2d2d;
    letter-spacing: 2px;
    transform: rotate(1deg);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #555;
    transform: rotate(-0.5deg);
}

.cta-button {
    display: inline-block;
    background: #ff6b9d;
    border: 4px solid #2d2d2d;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: rotate(2deg);
}

.cta-button:hover {
    background: #77d87e;
    transform: rotate(-2deg) scale(1.1);
    box-shadow: 5px 5px 0px #2d2d2d;
}

.cta-button span {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    color: white;
}

/* Floating elements */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(3px 3px 0px #2d2d2d);
}

.element-1 {
    top: 15%;
    left: 10%;
    animation-delay: -2s;
    transform: rotate(-15deg);
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: -4s;
    transform: rotate(20deg);
}

.element-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 0s;
    transform: rotate(-10deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-30px) rotate(calc(var(--rotation, 0deg) + 10deg)); }
}

/* Marquee */
.marquee-section {
    background: #ffeb3b;
    color: #2d2d2d;
    padding: 2rem 0;
    overflow: hidden;
    border-top: 4px solid #2d2d2d;
    border-bottom: 4px solid #2d2d2d;
}

.marquee {
    white-space: nowrap;
    animation: scroll 25s linear infinite;
}

.marquee span {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 4px;
}

@keyframes scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Sections */
.recipes-showcase {
    padding: 4rem 2rem;
    background: #b8dde1;
    position: relative;
}

.recipes-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        #2d2d2d,
        #2d2d2d 10px,
        #ffeb3b 10px,
        #ffeb3b 20px
    );
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 2.5rem;
    color: #2d2d2d;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    transform: rotate(-1deg);
    text-shadow: 3px 3px 0px #f9f5a9;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #555;
    font-weight: 500;
    transform: rotate(0.5deg);
}

/* Recipe Grid */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.recipe-card {
    background: white;
    border: 4px solid #2d2d2d;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    transform: rotate(-1deg);
}

.recipe-card:nth-child(even) {
    transform: rotate(1deg);
    background: #f9f5a9;
}

.recipe-card:nth-child(3n) {
    transform: rotate(-0.5deg);
    background: #77d87e;
}

.recipe-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 8px 8px 0px #ff6b9d;
}

.recipe-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.recipe-emoji {
    font-size: 4rem;
    display: inline-block;
    padding: 1rem;
    background: #ff6b9d;
    border: 4px solid #2d2d2d;
    border-radius: 50%;
    transform: rotate(-10deg);
    filter: drop-shadow(4px 4px 0px #2d2d2d);
}

.recipe-info h3 {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.4rem;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    transform: rotate(1deg);
}

.recipe-info p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.recipe-meta span {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    letter-spacing: 1px;
    border: 2px solid #2d2d2d;
    transform: rotate(-2deg);
}

.recipe-meta span:nth-child(even) {
    transform: rotate(2deg);
}

.difficulty {
    background: #77d87e;
    color: #2d2d2d;
}

.time {
    background: #ffeb3b;
    color: #2d2d2d;
}

/* About Section */
.about-section {
    background: #f9f5a9;
    padding: 4rem 2rem;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        -45deg,
        #ff6b9d,
        #ff6b9d 10px,
        #2d2d2d 10px,
        #2d2d2d 20px
    );
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
    color: #2d2d2d;
    text-shadow: 3px 3px 0px #b8dde1;
}

.large-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: #2d2d2d;
    transform: rotate(-0.5deg);
}

.about-text p:last-child {
    color: #555;
    line-height: 1.7;
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border: 4px solid #2d2d2d;
    border-radius: 20px;
    transform: rotate(2deg);
}

.stat:nth-child(even) {
    transform: rotate(-2deg);
    background: #77d87e;
}

.stat:nth-child(3n) {
    transform: rotate(1deg);
    background: #ff6b9d;
}

.stat-number {
    display: block;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 2rem;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.5);
}

.stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #2d2d2d;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    text-align: center;
    background: #77d87e;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        #b8dde1,
        #b8dde1 15px,
        #2d2d2d 15px,
        #2d2d2d 30px
    );
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.2rem;
    color: #2d2d2d;
    margin-bottom: 2rem;
    font-weight: 600;
    transform: rotate(-0.5deg);
}

.contact-link {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    background: #ff6b9d;
    text-decoration: none;
    letter-spacing: 2px;
    padding: 1rem 2rem;
    border: 4px solid #2d2d2d;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    transform: rotate(1deg);
}

.contact-link:hover {
    background: #2d2d2d;
    color: #ffeb3b;
    transform: rotate(-1deg) scale(1.1);
    box-shadow: 6px 6px 0px #ff6b9d;
}

/* Footer */
.site-footer {
    background: #2d2d2d;
    color: #ffeb3b;
    padding: 2rem;
    text-align: center;
    border-top: 4px solid #77d87e;
}

.footer-content p {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
    
    .hero-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .marquee span {
        font-size: 1.2rem;
    }
    
    .floating-element {
        font-size: 3rem;
        opacity: 0.2;
    }
}