/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

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

a:hover {
    color: #ff3d8a;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff1472, #ff3d8a);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e60d5f, #ff1472);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 20, 114, 0.4);
}

.btn-secondary {
    background-color: #333333;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #404040;
}

.btn-outline {
    background-color: transparent;
    color: #ff1472;
    border: 2px solid #ff1472;
}

.btn-outline:hover {
    background-color: #ff1472;
    color: white;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    padding: 20px;
    z-index: 1000;
    border-top: 1px solid #333;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: #ff1472;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    border: 1px solid #333;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #0f0f0f;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    accent-color: #ff1472;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Navigation */
.navbar {
    background-color: #1a1a1a;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #ff1472;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff1472;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 100px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #ff1472);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #ff1472);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #111111;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 114, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #ff1472;
}

.about-card h3 {
    margin-bottom: 15px;
    color: #ffffff;
}

.about-card p {
    color: #b0b0b0;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #1a1a1a;
    border-radius: 12px;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.benefit-item h3 {
    margin-bottom: 15px;
    color: #ff1472;
}

/* Recipes Section */
.recipes {
    background-color: #111111;
}

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

.recipe-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 114, 0.2);
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-content {
    padding: 30px;
}

.recipe-content h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.recipe-content p {
    margin-bottom: 20px;
    color: #b0b0b0;
}

.recipe-meta {
    display: flex;
    gap: 20px;
}

.recipe-meta span {
    padding: 5px 12px;
    background-color: #333333;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ff1472;
}

.prep-time::before {
    content: "⏱️ ";
}

.difficulty::before {
    content: "📊 ";
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.review-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

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

.review-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.review-rating svg {
    width: 20px;
    height: 20px;
    color: #ff1472;
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.review-author strong {
    color: #ff1472;
    display: block;
}

.review-author span {
    color: #888888;
    font-size: 0.9rem;
}

/* Subscription CTA */
.subscription-cta {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

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

.cta-text h2 {
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-benefits {
    list-style: none;
    margin-top: 20px;
}

.cta-benefits li {
    padding: 10px 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 30px;
}

.cta-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff1472;
    font-weight: bold;
}

.cta-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333;
}

.cta-form h3 {
    margin-bottom: 20px;
    color: #ff1472;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #0a0a0a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff1472;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

/* Contact Section */
.contact {
    background-color: #111111;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    color: #ff1472;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-details p {
    color: #b0b0b0;
}

.contact-details a {
    color: #ff1472;
}

.contact-form {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #ff1472;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 1px solid #333;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ff1472;
}

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

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

.footer-section ul li a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff1472;
}

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

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

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

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #1a1a1a;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        border-top: 1px solid #333;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about-grid,
    .benefits-grid,
    .recipes-grid,
    .reviews-grid, [class*="-grid"] {
        grid-template-columns: 1fr !important;
    }
    
    .cookie-modal-content {
        padding: 20px;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    .nav-logo a {
        font-size: 1.2rem;
    }
}

/* Additional page styles */
.page-header {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ff1472);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 60px;
    padding: 0;
}

.content-section h2 {
    margin-bottom: 30px;
    color: #ff1472;
}

.content-section h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
    color: #b0b0b0;
}

.highlight-box {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #ff1472;
    margin: 30px 0;
}

.highlight-box h3 {
    color: #ff1472;
    margin-bottom: 15px;
}

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

.team-member {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.team-member .role {
    color: #ff1472;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

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

.pricing-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    position: relative;
    transition: transform 0.3s ease;
}

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

.pricing-card.featured {
    border-color: #ff1472;
    background: linear-gradient(135deg, #1a1a1a, #2a0a1a);
}

.pricing-card.featured::before {
    content: "Najpopularniejszy";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff1472;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.pricing-price {
    font-size: 3rem;
    font-weight: bold;
    color: #ff1472;
    margin-bottom: 10px;
}

.pricing-period {
    color: #b0b0b0;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 30px;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff1472;
    font-weight: bold;
}

.thanks-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: #ff1472;
}

.thanks-message h1 {
    margin-bottom: 20px;
    color: #ffffff;
}

.thanks-message p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #b0b0b0;
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #ff1472;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .hamburger {
        display: none !important;
    }
    
    body {
        color: #000000;
        background-color: #ffffff;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    section {
        padding: 20px 0;
    }
}
