/* CSS Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #ff9400;
    --accent-color: #f39c12;
    --text-color: #333;
    --light-text: #fff;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #bdbdbd;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--light-text);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.logo-icon:hover {
    transform: scale(1.1);
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

.logo span {
    color: var(--secondary-color);
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
}

.nav a:hover {
    color: var(--secondary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: var(--light-text);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Search Section */
.search-section {
    padding: 40px 0;
    background-color: #fff;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.search-box {
    display: flex;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.search-box button {
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: #c0392b;
}

.filter-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-container select {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.filter-container select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Recipes Section */
.recipes-section {
    padding: 80px 0;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #ddd;
}

.recipe-content {
    padding: 20px;
}

.recipe-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.recipe-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.recipe-category {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.recipe-difficulty {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recipe-difficulty.easy { color: #27ae60; }
.recipe-difficulty.medium { color: #f39c12; }
.recipe-difficulty.hard { color: #e74c3c; }

.recipe-description {
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recipe-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recipe-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.recipe-btn:hover {
    background-color: #1a252f;
}

.recipe-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

/* Recipe Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 50px auto;
    padding: 0;
    border-radius: 15px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-btn {
    color: var(--primary-color);
    float: right;
    font-size: 32px;
    font-weight: bold;
    padding: 15px 20px;
    cursor: pointer;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover,
.close-btn:focus {
    color: var(--secondary-color);
    background-color: #f8f9fa;
    transform: scale(1.1);
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Recipe Detail Styles */
.recipe-detail {
    padding: 30px;
}

.recipe-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.recipe-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    background-color: #ddd;
}

.recipe-detail-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.recipe-detail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.recipe-actions-detail {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.action-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn {
    background-color: var(--secondary-color);
    color: white;
}

.download-btn:hover {
    background-color: #c0392b;
}

.print-btn {
    background-color: #3498db;
    color: white;
}

.print-btn:hover {
    background-color: #2980b9;
}

.ppt-btn {
    background-color: #9b59b6;
    color: white;
}

.ppt-btn:hover {
    background-color: #8e44ad;
}

.recipe-content-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Make the recipe modal wider on desktop */
@media (min-width: 900px) {
    .modal-content {
        max-width: 1100px;
    }
    
    .recipe-content-detail {
        grid-template-columns: 1fr 1fr;
    }
    
    .recipe-ingredients, .recipe-equipment {
        grid-column: 1 / -1;
    }
}

/* On mobile, stack everything */
@media (max-width: 768px) {
    .recipe-content-detail {
        grid-template-columns: 1fr;
    }
}

.recipe-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.recipe-info h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.info-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.recipe-ingredients {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.recipe-steps {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.recipe-equipment {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.recipe-section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.ingredient-list, .equipment-list {
    list-style: none;
}

.ingredient-item, .equipment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.ingredient-item:last-child, .equipment-item:last-child {
    border-bottom: none;
}

.ingredient-amount {
    background: var(--secondary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-list {
    list-style: none;
}

.step-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.step-number {
    background: var(--secondary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
}

.step-content {
    flex: 1;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Recipe Submission Section */
.recipe-submission-section {
    padding: 80px 0;
    background-color: #fff;
}

.submission-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.airtable-embed {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    transition: var(--transition);
}

.airtable-embed:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 600px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 30px 0;
    text-align: center;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header, .search-section, .footer, .recipe-actions-detail, .modal {
        display: none !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .recipe-detail {
        padding: 0;
    }
    
    .recipe-content-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recipe-info, .recipe-ingredients, .recipe-steps, .recipe-equipment {
        background: white;
        padding: 0;
        box-shadow: none;
        border: none;
    }
    
    .step-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .recipe-detail-image {
        height: 300px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transition: var(--transition);
        z-index: 1001;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        padding: 0 20px;
    }
    
    .nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: center;
    }
    
    .nav a:hover {
        background-color: rgba(255,255,255,0.1);
    }
    
    .nav a::after {
        display: none; /* Remove hover underline on mobile */
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1002;
        padding: 10px;
        border-radius: 50%;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle:hover {
        background-color: rgba(255,255,255,0.1);
    }
    
    /* Add close button inside mobile menu */
    .nav.active::before {
        content: '✕';
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        z-index: 1003;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .recipe-content-detail {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: center;
    }
    
    .recipe-detail-image {
        height: 250px;
    }
    
    .recipe-detail-title {
        font-size: 2rem;
    }
    
    .recipe-actions-detail {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 85vh;
    }
    
    .recipe-card {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .search-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        font-size: 1.1rem;
        padding: 18px 20px;
    }
    
    .search-box button {
        font-size: 1.3rem;
        padding: 18px 30px;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .recipe-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .submission-form-container {
        padding: 20px;
    }
    
    .airtable-embed {
        height: 500px;
    }
    
    .footer {
        padding: 20px 0;
    }
}

/* Small Desktop */
@media (max-width: 1200px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recipe-detail-image {
        height: 300px;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Recipe Guide Modal Styles */
#recipeGuideModal {
    background-color: rgba(0, 0, 0, 0.8);
}

.guide-container {
    background: white;
    margin: 0;
    padding: 0;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.guide-progress {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.guide-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fa;
}

.guide-step-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-step-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.guide-step-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.guide-step-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* Guide Ingredients Step */
.guide-ingredients-list {
    text-align: left;
    margin: 30px 0;
}

.guide-ingredient-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid var(--secondary-color);
}

.guide-ingredient-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.guide-ingredient-checkbox.checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.guide-ingredient-amount {
    background: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Guide Equipment Step */
.guide-equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.guide-equipment-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--secondary-color);
}

.guide-equipment-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Guide Steps Step */
.guide-step-content {
    text-align: left;
    margin: 30px 0;
}

.guide-step-instruction {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    position: relative;
}

.guide-step-number {
    position: absolute;
    left: -10px;
    top: -10px;
    background: var(--secondary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Guide Navigation */
.guide-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-top: 1px solid var(--border-color);
}

.guide-nav-buttons {
    display: flex;
    gap: 10px;
}

.guide-btn {
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.guide-exit-btn {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.guide-exit-btn:hover {
    background: #e9ecef;
}

.guide-back-btn {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.guide-back-btn:hover {
    background: #e9ecef;
}

.guide-next-btn {
    background: var(--secondary-color);
    color: white;
}

.guide-next-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.guide-next-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Favorites Section Styles */
.favorites-section {
    padding: 80px 0;
    background-color: #fff;
}

.favorites-section .section-title::after {
    background-color: #e74c3c;
}

.no-recipes {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}

.no-recipes p {
    color: #666;
    font-size: 1.1rem;
}

/* Favorite Button Styles */
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 5;
}

.favorite-btn:hover {
    background: white;
    border-color: #bdc3c7;
    transform: scale(1.1);
}

.favorite-btn i {
    font-size: 1.2rem;
    color: #7f8c8d; /* Gray color for non-favorited */
    transition: var(--transition);
}

/* Non-favorited state - outlined heart */
.favorite-btn i {
    color: #7f8c8d;
    background: transparent;
}

/* Favorited state - filled red heart */
.favorite-btn i.active {
    color: #e74c3c;
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Recipe Card with Favorite Button */
.recipe-card {
    position: relative;
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
