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

:root {
    --primary: #c97d60;
    --primary-dark: #a85d42;
    --secondary: #8b6f47;
    --accent: #f4a261;
    --accent-light: #ffb885;
    --cream: #fef9f3;
    --warm-white: #fffaf5;
    --text: #3d2f1f;
    --text-light: #6b5d4a;
    --border: #e8ddd4;
    --shadow: rgba(201, 125, 96, 0.15);
    --shadow-hover: rgba(201, 125, 96, 0.25);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
}

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

header {
    background: linear-gradient(to bottom, #ffffff 0%, var(--warm-white) 100%);
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px var(--shadow);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::after {
    content: '🍳';
    margin-left: 8px;
    font-size: 1.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.logo:hover::after {
    transform: rotate(15deg) scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.4rem 0;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary);
    border-radius: 6px;
    cursor: pointer;
    color: var(--primary);
    padding: 0.5rem 0.8rem;
    transition: all 0.3s;
    position: relative;
    width: 40px;
    height: 40px;
}

.menu-toggle:hover {
    background: var(--primary);
    color: white;
}

.menu-toggle .menu-icon,
.menu-toggle .close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, transform 0.3s;
    font-size: 1.5rem;
    line-height: 1;
}

.menu-toggle .close-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.menu-toggle.active .menu-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.menu-toggle.active .close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

main {
    padding: 3rem 0;
    min-height: calc(100vh - 250px);
}

.hero {
    text-align: center;
    padding: 5rem 0 4rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.1) 0%, rgba(201, 125, 96, 0.1) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem;
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: 0 2px 8px var(--shadow);
}

.filter-btn {
    padding: 0.75rem 1.8rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--text);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.recipe-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow);
    position: relative;
    opacity: 1;
    transform: translateY(0) scale(1);
    will-change: transform, opacity;
}

.recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px var(--shadow-hover);
}

.recipe-card:hover::before {
    transform: scaleX(1);
}

.recipe-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d4b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.recipe-image::before {
    content: '🍽️';
    font-size: 3rem;
    opacity: 0.3;
    position: absolute;
}

.recipe-content {
    padding: 2rem;
}

.recipe-tags {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: var(--cream);
    color: var(--primary);
    border: 2px solid var(--border);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.tek-kisi {
    background: linear-gradient(135deg, #e8f4e9 0%, #d4e8d6 100%);
    border-color: #8bc34a;
    color: #558b2f;
}

.tag.dk15 {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe0b2 100%);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.tag.tek-tencere {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #42a5f5;
    color: #1976d2;
}

.recipe-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

.recipe-description {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
    line-height: 1.7;
}

.recipe-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    padding-top: 1.2rem;
    border-top: 2px solid var(--border);
}

.page-header {
    margin-bottom: 4rem;
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.1) 0%, rgba(201, 125, 96, 0.1) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 125, 96, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.content-section {
    background: white;
    padding: 3rem;
    border-radius: 18px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow);
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 1.8rem;
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent);
}

.content-section h3 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-section ul, .content-section ol {
    margin-left: 2rem;
    margin-bottom: 1.8rem;
}

.content-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.storage-tip {
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    padding: 1.5rem;
    border-left: 5px solid var(--accent);
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

.storage-tip strong {
    color: var(--primary);
    font-size: 1.05rem;
}

footer {
    background: linear-gradient(135deg, var(--text) 0%, #2a2017 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-light);
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    padding-left: 0;
    position: relative;
}

.footer-section a:hover {
    color: var(--accent-light);
    padding-left: 10px;
}


.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--warm-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
    background: white;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 4px 12px var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
}

.toast.show {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(150%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.push-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-left: 5px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    min-width: 350px;
    max-width: 450px;
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateX(120%) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.push-notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.push-notification.hiding {
    opacity: 0;
    transform: translateX(120%) scale(0.9);
    transition: all 0.3s ease;
}

.push-notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.push-notification-content {
    flex: 1;
    min-width: 0;
}

.push-notification-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.push-notification-message {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.push-notification-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    line-height: 1;
    margin-top: -0.5rem;
    margin-right: -0.5rem;
}

.push-notification-close:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.push-notification:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(0) scale(1.02);
}

@media (max-width: 768px) {
    .push-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        min-width: auto;
        max-width: none;
        transform: translateY(-120%) scale(0.9);
    }
    
    .push-notification.show {
        transform: translateY(0) scale(1);
    }
    
    .push-notification.hiding {
        transform: translateY(-120%) scale(0.9);
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 4px solid var(--accent);
    padding: 2rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: block;
}

.cookie-banner.closing {
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: inherit;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 4px 12px var(--shadow);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-hover);
}

.cookie-btn.reject {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.cookie-btn.reject:hover {
    background: var(--cream);
    border-color: var(--primary);
}

.cookie-btn.settings {
    background: var(--cream);
    color: var(--primary);
    border: 2px solid var(--border);
}

.cookie-btn.settings:hover {
    background: var(--warm-white);
    border-color: var(--accent);
}

.cookie-settings {
    display: none;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.cookie-settings.show {
    display: block;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cookie-setting-item:last-child {
    border-bottom: none;
}

.cookie-toggle {
    position: relative;
    width: 55px;
    height: 28px;
    background: #ccc;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle.active::after {
    transform: translateX(27px);
}

.sitemap-list {
    list-style: none;
    margin-left: 0;
}

.sitemap-list li {
    margin-bottom: 1rem;
}

.sitemap-list a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.5rem 0;
}

.sitemap-list a:hover {
    color: var(--accent);
    padding-left: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
}

table thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

table thead tr th {
    padding: 1rem;
    text-align: left;
    color: white;
    font-weight: 600;
}

table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

table tbody tr:hover {
    background: var(--cream);
}

table tbody tr td {
    padding: 1rem;
    color: var(--text-light);
}

table tbody tr:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 2px solid var(--border);
        padding: 0;
        box-shadow: 0 4px 12px var(--shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    nav.active {
        max-height: 500px;
        opacity: 1;
        padding: 1.5rem 0;
    }

    nav.active ul {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    nav.active ul li {
        border-bottom: 1px solid var(--border);
    }

    nav.active ul li:last-child {
        border-bottom: none;
    }

    nav.active a {
        display: block;
        padding: 1rem 0;
    }

    .hero {
        padding: 3rem 0 2.5rem;
        margin-bottom: 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .filter-bar {
        padding: 1rem;
    }

    .filter-btn {
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    table {
        font-size: 0.9rem;
    }

    table thead tr th,
    table tbody tr td {
        padding: 0.8rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2.5rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 1.5rem 1rem;
    }

    .recipes-grid {
        gap: 1.5rem;
    }

    .recipe-content {
        padding: 1.5rem;
    }
}
