/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7f3;
}

a {
    text-decoration: none;
    color: #5a7052;
    transition: color 0.3s ease;
}

a:hover {
    color: #8fb286;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #5a7052;
}

.logo span {
    color: #e67e22;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Bar */
.search-container {
    background-color: #eef4ea;
    padding: 30px 0;
    text-align: center;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
}

.search-input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-button {
    background-color: #5a7052;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #4a5e44;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: #5a7052;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #4a5e44;
    color: white;
}

/* Featured Categories */
.categories {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.category-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.category-content {
    padding: 20px;
    background-color: white;
}

.category-content h3 {
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

/* Featured Recipes */
.featured-recipes {
    padding: 60px 0;
    background-color: #eef4ea;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.recipe-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.recipe-content {
    padding: 20px;
}

.recipe-content h3 {
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.recipe-meta {
    display: flex;
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

.recipe-meta div {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.recipe-meta i {
    margin-right: 5px;
    color: #5a7052;
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background-color: #5a7052;
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-button:hover {
    background-color: #d35400;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: #bbb;
}

.footer-column a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #5a7052;
}

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

/* Recipe Detail Page */
.recipe-detail {
    padding: 60px 0;
}

.recipe-header {
    margin-bottom: 40px;
}

.recipe-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.recipe-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.recipe-info-item {
    display: flex;
    align-items: center;
    color: #777;
}

.recipe-info-item i {
    margin-right: 8px;
    color: #5a7052;
}

.recipe-image-main {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.recipe-content-main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.recipe-main {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.recipe-sidebar {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    align-self: start;
}

.ingredients-list {
    margin-bottom: 40px;
}

.ingredients-list h3, .instructions h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef4ea;
}

.ingredients-list ul {
    list-style: none;
}

.ingredients-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.ingredients-list li::before {
    content: "•";
    color: #5a7052;
    font-weight: bold;
    margin-right: 10px;
}

.instructions ol {
    list-style-position: inside;
    counter-reset: item;
}

.instructions li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    counter-increment: item;
}

.instructions li::before {
    content: counter(item) ".";
    font-weight: bold;
    color: #5a7052;
    margin-right: 10px;
}

.nutrition-facts {
    margin-top: 20px;
}

.nutrition-facts h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 15px;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nutrition-item {
    background-color: #f9f7f3;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.nutrition-item span {
    display: block;
    font-weight: 700;
    color: #5a7052;
}

/* Related Recipes */
.related-recipes {
    padding: 60px 0;
    background-color: #f9f7f3;
}

/* About Page */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

textarea.form-control {
    min-height: 150px;
}

/* Responsive */
@media (max-width: 992px) {
    .recipe-content-main {
        grid-template-columns: 1fr;
    }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .recipe-title {
        font-size: 32px;
    }
}

/* AdSense Placeholders */
.ad-container {
    width: 100%;
    margin: 30px 0;
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
}

.ad-sidebar {
    width: 100%;
    margin-bottom: 30px;
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
}

.ad-container p, .ad-sidebar p {
    color: #999;
    font-style: italic;
}
/* Recipe.php specific styles migrated from inline */
.recipe-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.recipe-main {
    flex: 1;
    min-width: 65%;
}

.recipe-sidebar {
    width: 30%;
    min-width: 280px;
}

@media (max-width: 992px) {
    .recipe-main, .recipe-sidebar {
        width: 100%;
        min-width: 100%;
    }
}

.recipe-header {
    margin-bottom: 24px;
}

.recipe-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--medium-text);
}

.recipe-meta > div {
    display: flex;
    align-items: center;
}

.recipe-meta i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.recipe-featured-image {
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--card-shadow);
}

.recipe-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.recipe-content {
    margin-bottom: 32px;
}

.recipe-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--dark-text);
}

.recipe-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
}

.recipe-detail {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.recipe-detail i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: block;
}

.recipe-detail span {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-bottom: 4px;
}

.recipe-detail strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.recipe-section {
    margin-bottom: 32px;
}

.recipe-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
}

.recipe-ingredients ul {
    list-style: none;
    padding: 0;
}

.recipe-ingredients li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-bottom: 1px dashed #e0e0e0;
}

.recipe-ingredients li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.recipe-instructions ol {
    padding-left: 24px;
    counter-reset: step-counter;
}

.recipe-instructions li {
    position: relative;
    padding: 12px 0;
    margin-bottom: 16px;
    counter-increment: step-counter;
}

.recipe-instructions li::before {
    content: counter(step-counter);
    position: absolute;
    left: -24px;
    top: 12px;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.recipe-share {
    margin: 32px 0;
    padding: 24px;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.recipe-share h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button i {
    margin-right: 8px;
}

.share-button.facebook { background-color: #3b5998; }
.share-button.twitter { background-color: #1da1f2; }
.share-button.pinterest { background-color: #bd081c; }
.share-button.whatsapp { background-color: #25d366; }

.share-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Sidebar styles */
.sidebar-section {
    margin-bottom: 30px;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.sidebar-header {
    padding: 16px 20px;
    background: var(--primary-color);
    color: white;
}

.sidebar-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.sidebar-content { padding: 20px; }

.sidebar-recipe {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.2s ease;
}

.sidebar-recipe:last-child { border-bottom: none; }
.sidebar-recipe:hover { color: var(--secondary-color); }

.sidebar-recipe-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.sidebar-recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recipe-content h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}

.sidebar-recipe-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--medium-text);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li { border-bottom: 1px solid #eee; }
.category-list li:last-child { border-bottom: none; }

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.2s ease;
}

.category-list a:hover { color: var(--secondary-color); }

.category-count {
    background: var(--light-bg);
    color: var(--medium-text);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.ad-container {
    margin: 30px 0;
    padding: 20px;
    background: #f0f0f0;
    border-radius: var(--border-radius-md);
    text-align: center;
    color: #999;
}

/* Comments Section */
.comments-section { margin-top: 40px; }
.comments-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.comments-list { margin-bottom: 32px; }
.comment {
    display: flex;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.comment:last-child { border-bottom: none; }

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }

.comment-content { flex: 1; }
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.comment-header h4 { margin: 0; font-size: 1.1rem; color: var(--dark-text); }
.comment-date { font-size: 0.9rem; color: var(--light-text); }
.comment-text { line-height: 1.6; color: var(--medium-text); }
.no-comments {
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    text-align: center;
    color: var(--medium-text);
}

.comment-form {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
}
.comment-form h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.1);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn:hover { background: #4a6042; transform: translateY(-2px); }

.alert { padding: 16px; margin-bottom: 20px; border-radius: var(--border-radius-sm); }
.alert-danger { background-color: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.alert-success { background-color: #d4edda; border: 1px solid #c3e6cb; color: #155724; }

@media (max-width: 768px) {
    .recipe-meta { flex-direction: column; gap: 8px; }
    .recipe-details { flex-direction: column; gap: 12px; }
    .share-buttons { flex-direction: column; }
    .comment { flex-direction: column; }
    .comment-avatar { margin-bottom: 12px; }
    .comment-header { flex-direction: column; align-items: flex-start; }
}

/* Estilos do Footer */
.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 180px;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom i {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Estilos do Header */
.site-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 180px;
}

.logo img {
    width: 100%;
    height: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}
