/* 
 * Magyar Ízek Kincsei - Styles
 * Site colors:
 * - Primary (Background): #FFB200 (shafran)
 * - Text: #2D3142 (indigo)
 * - Accents: #9D2235 (burgundy), #89C4A7 (mint), #BA274A (garnet)
 */

/* Base Styles & Reset */
:root {
    --primary: #FFB200;
    --text: #2D3142;
    --accent-burgundy: #9D2235;
    --accent-mint: #89C4A7;
    --accent-garnet: #BA274A;
    --white: #FFFFFF;
    --light-bg: #FFF6E6;
    --transition: all 0.3s ease;
    --error: #BA274A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-burgundy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-garnet);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-burgundy);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-burgundy) 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-burgundy) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-burgundy);
    color: var(--accent-burgundy);
}

.btn-secondary:hover {
    background-color: var(--accent-burgundy);
    color: var(--white);
    transform: translateY(-3px);
}

/* Header */
.site-header {
    background-color: var(--white);
    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;
    padding: 15px 0;
}

.site-logo {
    width: 160px;
    height: 48px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 49, 66, 0.7), rgba(45, 49, 66, 0.7)), url('img/Afai6x.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Description Section */
.description {
    padding: 80px 0;
}

.description-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.description-text {
    flex: 1;
}

.description-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Recipes Section */
.recipes {
    padding: 80px 0;
    background-color: var(--white);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.recipe-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.recipe-image {
    height: 200px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.05);
}

.recipe-card h3 {
    padding: 20px 20px 10px;
}

.recipe-card p {
    padding: 0 20px 20px;
}

.recipe-card .btn {
    margin: 0 20px 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--accent-burgundy);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-item {
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.why-us-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-burgundy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
    margin-bottom: 20px;
}

.testimonial-author .name {
    font-weight: bold;
    margin-bottom: 0;
}

.testimonial-author .location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: var(--accent-burgundy);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent-burgundy);
}

.map-placeholder {
    height: 300px;
    background-color: #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Order Form Section */
.order {
    padding: 80px 0;
    background-color: var(--white);
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    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-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

/* Error Message */
.error-message {
    background-color: rgba(186, 39, 74, 0.1);
    border-left: 4px solid var(--error);
    color: var(--error);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background-color: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin-top: 10px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact svg {
    margin-right: 10px;
    min-width: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.domain {
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    z-index: 9999;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-link {
    color: var(--text);
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .description-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 1;
    }
    
    .menu-toggle:checked ~ .nav-list {
        transform: translateY(0);
        opacity: 1;
    }
    
    .menu-toggle:checked + .menu-icon .menu-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle:checked + .menu-icon .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon .menu-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.animated {
    animation: fadeIn 1s ease forwards;
} 