:root {
    --primary-color: #ff6b6b;
    --primary-dark: #ff5252;
    --secondary-color: #48dbfb;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --gray-color: #636e72;
    --light-gray: #dfe6e9;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-hover);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Welcome Modal Styles */
.welcome-modal .modal-content {
  max-width: 450px;
  text-align: center;
  animation: modalFadeIn 0.5s ease;
}

.welcome-modal h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.welcome-modal p {
  color: var(--gray-color);
  margin-bottom: 25px;
}

.modal {
  z-index: 2000; 
}


/* Header Styles */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: linear-gradient(to right, #ff6b6b, #ff8e53);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-item {
    margin-left: 1.8rem;
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #ff6b6b, #ff8e53);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b6b;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 1.5rem;
}

.btn-outline {
    padding: 0.5rem 1.2rem;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    background: transparent;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #ff6b6b;
    color: white;
}

.btn-primary {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(to right, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* User Profile Dropdown Styles */
.user-profile {
    margin-left: 10px;
}

.user-profile .dropdown-toggle {
    padding: 8px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #ddd;
}

.user-profile .dropdown-toggle i {
    font-size: 20px;
    color: #333;
}

.user-profile .profile-email {
    font-size: 14px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-profile .dropdown-menu {
    position: absolute;
    right: 0;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 8px 0;
    background: white;
    z-index: 1000;
    display: none;
}

.user-profile .dropdown-menu.show {
    display: block;
}

.user-profile .dropdown-item {
    padding: 8px 16px;
    display: block;
    color: #333;
    text-decoration: none;
}

.user-profile .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .recipes-grid, .news-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
   
    .nav-link {
        padding: 0.8rem 0;
        display: block;
        width: 100%;
    }
    
    .auth-buttons {
        margin: 2rem 0 0;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-outline,
    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Active nav item indicator */
.nav-link.active {
    font-weight: 600;
    color: #ff6b6b;
}

/* Hover effects */
.nav-link:hover {
    transform: translateY(-2px);
}

/* Transition for all interactive elements */
a, button {
    transition: all 0.3s ease;
}



/*  Slideshow */
.css-slideshow {
  position: relative;
  height: 90vh;
  max-height: 800px;
  overflow: hidden;
  margin: 0;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide-animation 10s infinite;
}

.slide {
  position: relative;
  width: 33.33%;
  height: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8);
}

.slide-caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  max-width: 600px;
  color: white;
  text-align: left;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.slide-caption h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.slide-caption p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-white {
  background: white;
  color: #333;
  border: 2px solid white;
}

.btn-white:hover {
  background: transparent;
  color: white;
}

.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.nav-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  transition: all 0.3s ease;
}

.nav-dot:hover,
#slide-1:target ~ .slider-nav .nav-dot:nth-child(1),
#slide-2:target ~ .slider-nav .nav-dot:nth-child(2),
#slide-3:target ~ .slider-nav .nav-dot:nth-child(3) {
  background: white;
  transform: scale(1.2);
}

@keyframes slide-animation {
  0%, 25% { transform: translateX(0); }
  33.33%, 58.33% { transform: translateX(-33.33%); }
  66.66%, 91.66% { transform: translateX(-66.66%); }
  100% { transform: translateX(0); }
}

.css-slideshow:hover .slider {
  animation-play-state: paused;
}

#slide-1:target ~ .slider,
#slide-2:target ~ .slider,
#slide-3:target ~ .slider {
  animation: none;
}

#slide-1:target ~ .slider { transform: translateX(0); }
#slide-2:target ~ .slider { transform: translateX(-33.33%); }
#slide-3:target ~ .slider { transform: translateX(-66.66%); }

/* Responsive Design */
@media (max-width: 768px) {
  .css-slideshow {
    height: 70vh;
  }
  
  .slide-caption {
    bottom: 10%;
    left: 5%;
    right: 5%;
    max-width: none;
    padding: 1.5rem;
  }
  
  .slide-caption h2 {
    font-size: 2rem;
  }
  
  .slide-caption p {
    font-size: 1rem;
  }
}
/* Mission Section */
.mission {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-text {
    flex: 1;
}

.mission-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.mission-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.mission-image:hover img {
    transform: scale(1.05);
}

/* Featured Recipes */
.featured-recipes {
    padding: 100px 0;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.recipe-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.recipe-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.1);
}

.difficulty {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.difficulty.easy {
    background-color: var(--success-color);
}

.difficulty.medium {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.difficulty.hard {
    background-color: var(--danger-color);
}

.recipe-info {
    padding: 25px;
}

.recipe-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.recipe-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.recipe-meta i {
    margin-right: 5px;
}

.recipe-info p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

/* News Feed */
.news-feed {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.news-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.news-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Events Carousel */
.events {
    padding: 100px 0;
}

.events-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    scrollbar-width: none; /* Firefox */
}

.events-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.event-slide {
    scroll-snap-align: start;
    min-width: 350px;
}

.event-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: white;
    padding: 5px 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.event-info {
    padding: 25px;
}

.event-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.event-info p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.event-meta i {
    margin-right: 5px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.carousel-prev, .carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--light-gray);
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Join CTA */
.join-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./Resources/images/6.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./Resources/images/1.jpg') no-repeat center center/cover;
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
    height: 40px;
    width: auto;
}

.footer p {
    color: var(--light-gray);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--light-gray);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: var(--light-gray);
}

.newsletter-form button {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    max-width: 500px;
    width: 90%;
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark-color);
}

.modal h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2d3436;
  color: white;
  padding: 20px;
  display: none;
  z-index: 1000;
}
.cookie-consent .cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-consent p {
  margin: 0;
  flex: 1;
  color: #ccc;
}
.cookie-consent a {
  color: #48dbfb;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mission-content {
        flex-direction: column;
    }
    
    .mission-text, .mission-image {
        flex: none;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}



@media (max-width: 576px) {
   
    .modal-content {
        padding: 30px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Recipe Collection */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filters select {
    padding: 10px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
    min-width: 200px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.pagination button {
    padding: 8px 20px;
}

/* Community Page */
.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.user-recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Recipe Modal */
#recipeModal .modal-content {
    max-width: 700px;
}

.recipe-form .form-group {
    margin-bottom: 20px;
}

.recipe-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.recipe-form textarea {
    min-height: 120px;
}

/* Recipe Detail Page */
.recipe-detail {
    padding: 80px 0;
}

.recipe-hero {
    position: relative;
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.recipe-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.recipe-meta > span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.recipe-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .recipe-grid {
        grid-template-columns: 1fr;
    }
}

.ingredients {
    background: #f9f9f9;
    padding: 25px;
    border-radius: var(--border-radius);
}

.ingredients ul {
    list-style-type: none;
}

.ingredients li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.instructions ol {
    counter-reset: step-counter;
    list-style-type: none;
}

.instructions li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    counter-increment: step-counter;
}

.instructions li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Rating Stars */
.star {
    color: #ccc;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.star.filled {
    color: #ffc107;
}

/* Recipe Form */
.recipe-form .form-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.recipe-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
}


/* Modern gradient buttons */
.btn-gradient {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff8e53, #ff6b6b);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-gradient:hover:after {
    opacity: 1;
}

.form-group input, .form-group textarea, .form-group select {
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    outline: none;
}


.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}

/* about us */
/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./Resources/images/hero/about-hero.jpg') no-repeat center center/cover;
    height: 60vh;
    min-height: 400px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.about-hero .hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.our-story {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.story-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-text {
    flex: 1;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.story-image:hover img {
    transform: scale(1.05);
}

.philosophy {
    padding: 100px 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, #ff6b6b, #ff8e53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.philosophy-card h3 {
    font-family: var(--font-secondary);
    margin-bottom: 15px;
    color: var(--dark-color);
}

.team {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}


.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-family: var(--font-secondary);
    margin-bottom: 5px;
}

.member-info .role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-info .bio {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.impact {
    padding: 100px 0;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .story-content {
        flex-direction: column;
    }
    
    .story-text, .story-image {
        flex: none;
        width: 100%;
    }
    
    .about-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
}

/* Policy Page Styles */
.policy-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.policy-nav {
    position: sticky;
    top: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    z-index: 100;
}

.policy-nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.policy-nav a {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policy-nav a.active {
    background: #f0f7ff;
    color: #0066cc;
}

.policy-section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    scroll-margin-top: 100px;
}

.policy-section h2 {
    color: #0066cc;
    margin-top: 0;
    padding-top: 20px;
}

.policy-section h3 {
    color: #444;
    margin-top: 25px;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: #0066cc 0.3s ease;
}

.back-button:hover {
    background: #004499;
}

/* Highlight current section */
.policy-section:target {
    background: #f0f7ff;
    box-shadow: inset 3px 0 0 #0066cc;
}

/* community page */
.community-container {
    max-width: 600px;
    margin: 80px auto 40px;
    padding: 20px;
}

.post-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.post-form h3 {
    margin-bottom: 15px;
    color: #333;
}

.post-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    resize: vertical;
}

.post-form .form-group {
    margin-bottom: 15px;
}


.posts-feed {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-card {
    background: white;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.post-user i {
    font-size: 24px;
    color: #666;
}

.post-time {
    font-size: 0.8rem;
    color: #999;
}

.post-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-caption {
    padding: 15px;
}

.post-actions {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 20px;
}

.like-btn, .comment-btn {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.like-btn.liked {
    color: #ff6b6b;
}

.like-btn i, .comment-btn i {
    font-size: 1.2rem;
}

.post-comments {
    padding: 0 15px 15px;
    border-top: 1px solid #eee;
    margin-top: -5px;
}

.comment {
    margin-top: 10px;
    font-size: 0.9rem;
}

.login-prompt {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.login-prompt a {
    color: #ff6b6b;
    font-weight: 500;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #d63031;
}

/* contact us Styles */
.contact-container {
  max-width: 600px;
  margin: 80px auto 40px;
  padding: 20px;
}

.contact-form {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h2 {
  margin-bottom: 10px;
  color: #333;
}

.contact-form p {
  color: #666;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.success-message {
  margin-top: 15px;
  color: green;
  font-weight: 500;
}

/* Resources Page */

.resources-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.resource-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 30px;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.resource-content h3 {
  font-family: var(--font-secondary); /* Match recipes section font */
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.resource-content p {
  color: var(--gray-color);
  margin-bottom: 20px;
  font-size: 1rem;
}

.resource-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(to right, #48dbfb, #00cec9);
  color: white;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
}

.resource-btn:hover {
  background: linear-gradient(to right, #00cec9, #48dbfb);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#forgotPasswordModal .form-group {
    margin-bottom: 15px;
}




