/*
Theme Name: School Lunch Theme
Theme URI: 
Author: Antigravity
Author URI: 
Description: A bespoke, bare-metal frontend shell for the School Lunch Menu plugin.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: school-lunch-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap');

:root {
    --primary-color: #FF6B6B; /* Fun Red */
    --primary-hover: #FF5252;
    --bg-color: #F0F9FF; /* Light Sky Blue */
    --card-bg: #FFFFFF;
    --text-main: #2D3748;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    
    --veg-color: #48BB78; /* Green */
    --vegan-color: #ED8936; /* Orange */
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Fredoka', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #3182CE; /* Bold Blue */
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px #FFD166; /* Playful shadow */
}

h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Layout */
.site-header {
    background: #FFFBEA; /* Soft yellow background for header */
    padding: 1.5rem 2rem;
    border-bottom: 4px solid #FFE4B5;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
}

.site-main {
    flex-grow: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
}

/* Navigation */
.primary-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-menu li a {
    font-size: 1.25rem;
    color: #3182CE;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
    border: 2px solid transparent;
}

.primary-menu li a:hover {
    background: white;
    border-color: #3182CE;
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #3182CE; /* Fun 3D button effect */
}

.primary-menu li.current-menu-item a {
    background: var(--primary-color);
    color: white;
    border-color: #D32F2F;
    box-shadow: 0 4px 0 #D32F2F;
}

/* Components */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 3px solid #E2E8F0;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 0 #D32F2F; /* Chunky 3D effect */
    transform: translateY(-2px);
    transition: all var(--transition-fast);
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(0);
    box-shadow: 0 2px 0 #D32F2F;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #48BB78;
    box-shadow: 0 4px 0 #2F855A;
}

.btn-secondary:hover {
    background: #38A169;
    box-shadow: 0 2px 0 #2F855A;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: #3182CE;
    font-size: 1.1rem;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 1rem;
    border: 3px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #4FD1C5;
    box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.2);
}

/* Hero Section (Landing Page) */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 4px dashed #FFD166;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}
