* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff9f0;
    font-family: "Kaushan Script", cursive;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    color: #333;
    padding-top: 120px; /* Increased to account for fixed header */
    padding-bottom: 60px;
}

header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header h1 i {
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    transition: transform 0.3s ease;
}

nav ul li:hover {
    transform: translateY(-3px);
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    flex: 1;
    width: 100%;
}

.container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #c0392b;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.container h2 i {
    margin-right: 10px;
}

.recepti-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem;
    justify-content: center;
}

.recept-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 280px;
    min-height: 350px;
}

.recept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    padding: 1.2rem;
    text-align: center;
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h5 {
    color: #e67e22;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-content ul {
    list-style-position: inside;
    text-align: left;
    padding-left: 1rem;
    flex: 1;
}

.card-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-content ul li:before {
    content: "•";
    color: #e67e22;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

footer {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 768px) {
    body {
        padding-top: 150px; /* More space for header on mobile */
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    nav ul {
        gap: 0.8rem;
    }
    
    .recepti-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .recept-card {
        width: 100%;
        max-width: 350px;
    }
}