* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-terracotta: #8B4513;
    --color-ochre: #D4A574;
    --color-wheat: #F5DEB3;
    --color-earth: #6B4423;
    --color-sage: #9CAF88;
    --color-cream: #FFF8DC;
    --color-dark: #3E2723;
    --color-text: #2C1810;
    --color-light: #FDF5E6;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--color-earth) 0%, var(--color-terracotta) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--color-cream);
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav {
    position: relative;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-cream);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--color-cream);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-cream);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 80%;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-cream);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--color-ochre) 0%, var(--color-terracotta) 100%);
    padding: 3rem 0;
    text-align: center;
    color: var(--color-cream);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Sections */
.intro-section,
.techniques-section,
.tips-section,
.about-section,
.privacy-section {
    padding: 4rem 0;
}

.intro-content,
.about-content,
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2,
.about-content h2,
.privacy-content h2 {
    color: var(--color-earth);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.intro-content p,
.about-content p,
.privacy-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.privacy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

/* Features Grid */
.features-section {
    padding: 4rem 0;
    background-color: var(--color-wheat);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--color-earth);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-terracotta);
    color: var(--color-cream);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--color-earth);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Recipe Cards */
.recipes-section {
    padding: 4rem 0;
}

.recipe-card {
    background: var(--color-cream);
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.recipe-header {
    background: linear-gradient(135deg, var(--color-ochre) 0%, var(--color-terracotta) 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recipe-header h2 {
    color: var(--color-cream);
    font-size: 1.8rem;
}

.recipe-toggle {
    background: var(--color-cream);
    color: var(--color-terracotta);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.recipe-toggle:hover {
    background: var(--color-wheat);
}

.recipe-content {
    display: none;
    padding: 2rem;
}

.recipe-content.active {
    display: block;
}

.recipe-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: block;
}

.recipe-info h3 {
    color: var(--color-earth);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.recipe-info ul,
.recipe-steps {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.recipe-info li {
    margin-bottom: 0.5rem;
}

.recipe-steps li {
    margin-bottom: 0.8rem;
}

/* Ingredients Grid */
.ingredients-section {
    padding: 4rem 0;
}

.ingredient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ingredient-card {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid var(--color-terracotta);
}

.ingredient-card h3 {
    color: var(--color-earth);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Techniques */
.technique-card {
    background: var(--color-cream);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid var(--color-ochre);
}

.technique-card h2 {
    color: var(--color-earth);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Tips */
.tips-section {
    padding: 4rem 0;
    background-color: var(--color-wheat);
}

.tip-card {
    background: var(--color-cream);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tip-card h3 {
    color: var(--color-earth);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Image Showcase */
.image-showcase {
    padding: 4rem 0;
    background-color: var(--color-wheat);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.showcase-text h2 {
    color: var(--color-earth);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--color-cream);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-info-card h2 {
    color: var(--color-earth);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--color-terracotta);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--color-text);
    line-height: 1.8;
}

.contact-item a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-earth);
    text-decoration: underline;
}

.contact-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-wheat);
    border-radius: 5px;
    border-left: 4px solid var(--color-terracotta);
}

.contact-note p {
    margin: 0;
    color: var(--color-text);
}

.contact-note a {
    color: var(--color-terracotta);
    text-decoration: none;
    font-weight: 500;
}

.contact-note a:hover {
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-section {
    padding: 4rem 0;
    background-color: var(--color-wheat);
}

.contact-form-section .contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-cream);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-section .contact-form-wrapper h2 {
    color: var(--color-earth);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-form-section .contact-form-wrapper > p {
    color: var(--color-text);
    margin-bottom: 2rem;
}

.contact-form-wrapper h2,
.restaurants-map-wrapper h2 {
    color: var(--color-earth);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-earth);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--color-ochre);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-label a {
    color: var(--color-terracotta);
    text-decoration: underline;
}

/* Map Filters */
.map-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--color-cream);
    color: var(--color-terracotta);
    border: 2px solid var(--color-ochre);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-terracotta);
    color: var(--color-cream);
    border-color: var(--color-terracotta);
}

.restaurants-map {
    height: 400px;
    background-color: var(--color-wheat);
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid var(--color-ochre);
}

.restaurants-list {
    display: grid;
    gap: 1rem;
}

.restaurant-item {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid var(--color-sage);
}

.restaurant-item h3 {
    color: var(--color-earth);
    margin-bottom: 0.5rem;
}

.restaurant-item.hidden {
    display: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-earth) 0%, var(--color-terracotta) 100%);
    color: var(--color-cream);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-cream);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--color-earth);
        flex-direction: column;
        width: 280px;
        max-width: 85vw;
        padding: 2rem 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        display: flex;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(20px);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem;
        border-radius: 5px;
        text-align: left;
    }

    .nav-menu a::before {
        display: none;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .showcase-content {
        grid-template-columns: 1fr;
    }

    .contact-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .ingredient-grid {
        grid-template-columns: 1fr;
    }

    .recipe-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .hero {
        height: 50vh;
    }
}

/* Push Notifications */
.push-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 90vw;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
}

.push-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.push-notification.hide {
    opacity: 0;
    transform: translateX(400px);
}

.push-notification.success {
    background-color: #4caf50;
    color: white;
    border-left: 4px solid #2e7d32;
}

.push-notification.error {
    background-color: #f44336;
    color: white;
    border-left: 4px solid #c62828;
}

.push-notification.warning {
    background-color: #ff9800;
    color: white;
    border-left: 4px solid #e65100;
}

.push-notification.info {
    background-color: #2196f3;
    color: white;
    border-left: 4px solid #1565c0;
}

.push-notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.push-notification-content {
    flex: 1;
    word-wrap: break-word;
}

.push-notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
    line-height: 1;
}

.push-notification-close:hover {
    opacity: 1;
}

/* Mobile Responsive Notifications */
@media (max-width: 768px) {
    .push-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100vw - 20px);
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        transform: translateY(-100px);
    }

    .push-notification.show {
        transform: translateY(0);
    }

    .push-notification.hide {
        transform: translateY(-100px);
    }

    .push-notification-icon {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }

    .push-notification-close {
        width: 20px;
        height: 20px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .push-notification {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
        gap: 0.75rem;
    }
}

