@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --text-color: #2d3436;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Hero */
header {
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('asset/recipes banner.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 0 20px 20px;
    color: white;
}

header .glass {
    background: rgba(255, 255, 255, 0.1);
    /* Lighter glass for dark bg */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    /* White text on banner */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    color: #eee;
    /* Lighter subtitle */
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
}

/* Recipe Grid */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.recipe-card {
    padding: 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-10px);
}

.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #ddd;
    /* Placeholder color */
}

.recipe-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.recipe-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.view-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    transition: background 0.3s ease;
}

.view-btn:hover {
    background: #3ebcb4;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    margin-top: 50px;
    color: #666;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Privacy Page Specific */
.privacy-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
}

.privacy-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}