/* Global Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #4CAF50, #45a049);
    --gradient-secondary: linear-gradient(135deg, #2196F3, #1976D2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

footer {
  background-color: #2d2d2d;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 20px;
  border-bottom: 2px solid #ff6600;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ff6600;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ff6600;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 15px;
}



.cta-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.top-banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.filter-category {
  position: relative;
  display: inline-block;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.category-overlay {
  margin-top: 10px;
  background-color: #f3f3f3;
  padding: 15px;
  border-radius: 5px;
}


.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-45deg);
    transition: var(--transition);
}

.cta-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.cta-btn:hover::before {
    left: 100%;
}

/* Featured Recipes */
.featured-recipes {
    padding: 4rem 2rem;
}

.featured-recipes h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recipe-card {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.recipe-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.recipe-card:hover::before {
    opacity: 1;
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.recipe-info {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.recipe-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    transition: var(--transition);
}

.recipe-card:hover .recipe-info h3 {
    color: var(--primary-color);
}

.recipe-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.recipe-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.view-recipes {
    background-color: white;
    color: black;
    padding: 10px 20px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.categories {
    padding: 40px 0;
    background: #f9f9f9;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
}

.category-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Recipe Filters */
.recipe-filters {
    padding: 4rem 2rem;
}

.recipe-filters h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.filter-group {
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.filter-group h3 {
    margin-bottom: 1rem;
    color: black;
}

.filter-btn {
    background: var(--light-bg);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background

/* Minimal Categories Section */
.minimal-categories {
    padding: 4rem 2rem;
    background: var(--white);
    text-align: center;
}

.minimal-container {
    max-width: 800px;
    margin: 0 auto;
}

.minimal-categories h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.minimal-categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.minimal-category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.minimal-category-item {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    font-size: 0.95rem;
}

.minimal-category-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.minimal-description {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.minimal-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.minimal-description p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

text-align: center;
  margin: 40px 0 20px;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 800px;
  font-family: 'Lobster', cursive;
}
.section-title span {
  color: #c74343;
}

h2 {
    text-align: center;
}
 
 
.categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 2px;
  border-radius: 10px;
  width: 140px;
  height:200px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.card:hover {
  background-color:#ffece1;
  transform: translateY(-5px);
  
}

.recipe-steps {
  display: none;
  margin-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.recipe-steps.active {
  display: block;
}

.recipe-steps h2 {
  font-size: 1.2rem;
  color: #2e7d32;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #a5d6a7;
  display: inline-block;
  padding-bottom: 2px;
}

.ingredients-list {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.ingredients-list li {
  margin-bottom: 0.4rem;
  list-style: disc;
  font-size: 0.95rem;
  color: #444;
}

.recipe-steps label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  background-color: #ffffff;
  padding: 0.6rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.recipe-steps label:hover {
  background-color: #f1f8e9;
}

.recipe-steps input[type="checkbox"] {
  margin-right: 0.6rem;
  transform: scale(1.2);
}




.recipe-steps.active {
  display: block;
}

.view-recipe-btn {
  padding: 0.5rem 1rem;
  background-color: #3cba54;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}


.view-recipe-btn:hover {
  background-color: #2e9440;
}

.recipe-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 2rem;
}

.card img {
  width: 130px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
}

.card h3 {
    
color: #666;
font-weight:strong ;
font-size: 1.5rem;
font-family: 'Playfair Display', serif;
  
}


  

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: green;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.explore-container {
  text-align: center;
  margin: 30px 0;
}

.explore-btn {
  background: #007a2c;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.explore-btn:hover {
  background: #005c21;
}

/* ANIMATIONS */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

