/* Modern Design Styles for Eda.Menu */

:root {
    --primary: #FF5900;
    --primary-dark: #A63A00;
    --primary-light: #FF8240;
    --secondary: #FF8240;
    --accent: #FF5900;
    --success: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #cbd5e1;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #FF5900 0%, #FF8240 100%);
    --gradient-secondary: linear-gradient(135deg, #FF8240 0%, #FF5900 100%);
    --gradient-accent: linear-gradient(135deg, #FF5900 0%, #FF8240 50%, #A63A00 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 80px;
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.navbar-modern {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark) !important;
    text-decoration: none;
}

.brand-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logo-icon {
    height: 40px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(255, 89, 0, 0.1);
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #FF5900 0%, #FF8240 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.badge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 89, 0, 0.1);
    border: 1px solid rgba(255, 89, 0, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 89, 0, 0.4);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 89, 0, 0.5);
    color: var(--white);
}

.btn-outline-modern {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-modern:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Images */
.hero-image-wrapper {
    position: relative;
    height: 500px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-1 {
    top: 0;
    left: 0;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    top: 100px;
    right: 0;
    animation: float 5s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 6s ease-in-out infinite 2s;
}

.card-label {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

/* Sections */
.section-modern {
    padding: 5rem 0;
    position: relative;
}

.bg-light-modern {
    background: var(--bg-light);
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 89, 0, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title-modern {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* Categories */
.category-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.3s ease;
}

.category-modern:hover::before {
    left: 0;
}

.category-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
    color: inherit;
    text-decoration: none;
}

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.category-modern:hover .category-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 89, 0, 0.4);
}

.category-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--white);
}

.category-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.category-desc {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0;
}

/* Recipes */
.recipe-modern {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recipe-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.recipe-image-modern {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.recipe-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-modern:hover .recipe-image-modern img {
    transform: scale(1.1);
}

.recipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recipe-modern:hover .recipe-overlay {
    opacity: 1;
}

.recipe-badge-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    z-index: 2;
}

.recipe-badge-modern i {
    color: var(--accent);
}

.recipe-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.recipe-modern:hover .recipe-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.recipe-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recipe-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.recipe-desc {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
    flex: 1;
}

.recipe-meta-modern {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.recipe-meta-modern span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.recipe-meta-modern i {
    color: var(--accent);
}

.recipe-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recipe-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Chefs */
.chef-modern {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.chef-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.chef-avatar-modern {
    position: relative;
    width: 120px;
    height: 120px;
    margin: -60px auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.chef-modern:hover .chef-avatar-modern {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.chef-avatar-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chef-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: var(--success);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.chef-content {
    margin-top: 1rem;
}

.chef-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.chef-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.chef-bio {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.chef-social-modern {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.chef-social-modern a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.chef-social-modern a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer */
.footer-modern {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 50%;
    color: var(--gray-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-subscribe {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-control-modern {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.875rem;
}

.form-control-modern::placeholder {
    color: var(--gray);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--dark-light);
    color: var(--white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    text-align: center;
    color: var(--gray-light);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-card {
        width: 150px;
        height: 180px;
    }
    
    .category-modern {
        padding: 1.5rem 1rem;
    }
    
    .category-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .category-icon-wrapper i {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}
