/*
Theme Name: Cigimentesen Premium
Theme URI: https://cigimentesen.hu
Author: Antigravity
Description: Ultra-fast, premium minimalist theme for Cigimentesen 1-product WooCommerce store.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cigimentesen
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* Core Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #475569;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(38px, 5.5vw, 68px);
}

h2 {
    font-size: clamp(26px, 3.5vw, 40px);
}

h3 {
    font-size: clamp(20px, 2vw, 26px);
}

h4 {
    font-size: 17px;
    color: #0f172a;
}

p {
    font-size: 16px;
    font-weight: 400;
}

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

.text-blue {
    color: #0284c7;
}

/* Section Common Headers */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #0284c7;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-center-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-center-header .section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: #64748b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
    background-color: #0369a1;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header */
header.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-logo-img {
    height: 48px;
    width: auto;
}

.site-navigation ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.site-navigation a {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.site-navigation a:hover {
    color: #0284c7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cart-icon {
    color: #0f172a;
    position: relative;
    display: flex;
    align-items: center;
}

.header-cart-icon:hover {
    color: #0284c7;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: #0f172a;
    transition: all 0.3s ease;
}

/* 1. Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0 120px 0;
    background-color: #f8fafc;
    min-height: calc(85vh - 84px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-lights {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(16, 185, 129, 0.03) 60%, transparent 80%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-media {
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.hero-main-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(2,132,199,0.12));
    animation: floatProduct 5s ease-in-out infinite;
}

@keyframes floatProduct {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}

/* 2. Mi a Flavor Magic? (Infographic Section) */
.intro-section {
    padding: 100px 0;
    border-bottom: 1px solid #f1f5f9;
}

.infographic-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.infographic-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.infographic-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-card-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* 3. Hogyan működik? */
.how-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.step-item {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.step-number {
    font-size: 14px;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 16px;
}

.step-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.step-item p {
    font-size: 14px;
    color: #64748b;
}

.step-arrow {
    font-size: 24px;
    color: #cbd5e1;
}

/* 4. Ízek */
.flavors-section {
    padding: 100px 0;
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.flavor-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flavor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.flavor-img-box {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.flavor-img {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.flavor-badge-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.flavor-card h3 {
    margin-bottom: 8px;
}

.flavor-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Flavor specific styles */
.tag-red { background-color: #fef2f2; color: #ef4444; }
.tag-blue { background-color: #eff6ff; color: #3b82f6; }
.tag-green { background-color: #ecfdf5; color: #10b981; }

.flavor-red:hover { border-color: rgba(239, 68, 68, 0.15); }
.flavor-blue:hover { border-color: rgba(59, 130, 246, 0.15); }
.flavor-green:hover { border-color: rgba(16, 185, 129, 0.15); }

/* 5. Csomagok (Products) */
.pricing-section {
    padding: 100px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.products-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card.featured {
    border-color: #0284c7;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}

.prod-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #0284c7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    text-transform: uppercase;
}

.prod-img-box {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.prod-img {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.1));
}

.prod-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.prod-price {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.prod-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Custom Cart selectors styles */
.flavor-dropdown-group {
    margin-bottom: 16px;
    text-align: left;
}

.flavor-dropdown-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

.flavor-dropdown-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 14px;
}

.flavor-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 6. Miért válassz minket? */
.why-section {
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.why-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.why-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #0f172a;
}

.why-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* 7. Lifestyle Section */
.lifestyle-section {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.lifestyle-light-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.04) 0%, transparent 60%);
    filter: blur(50px);
    pointer-events: none;
}

.lifestyle-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.lifestyle-content {
    max-width: 520px;
}

.lifestyle-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(2,132,199,0.1));
}

/* 8. Testimonials */
.reviews-section {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.review-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.review-stars {
    color: #0284c7;
    margin-bottom: 12px;
    font-size: 14px;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}

.review-author {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* 9. FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 24px 0;
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 22px;
    color: #0284c7;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding-bottom: 24px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* 10. Final CTA */
.final-cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    background-color: #ffffff;
}

.final-cta-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 60%);
    filter: blur(40px);
}

.final-cta-container {
    position: relative;
    z-index: 2;
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-content .section-title {
    margin-bottom: 12px;
}

.final-cta-content .section-desc {
    margin-bottom: 30px;
}

/* 11. Footer */
footer.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px 0;
    font-size: 14px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 15px;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p {
    line-height: 1.6;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    color: #94a3b8;
}

.social-link:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .infographic-container, .lifestyle-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .products-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .flavors-grid, .why-grid, .reviews-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Mobile Menu styles */
    .menu-toggle {
        display: flex;
    }
    .site-navigation {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #cbd5e1;
        padding: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .site-navigation.active {
        display: block;
    }
    .site-navigation ul {
        flex-direction: column;
        gap: 16px;
    }
    
    .menu-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* DTC Single Product Page Layout */
.dtc-product-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
}

.dtc-product-gallery {
    position: sticky;
    top: 120px;
}

.main-image-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.dtc-main-img {
    width: 100%;
    height: auto;
    max-width: 420px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
}

.dtc-product-info-panel {
    display: flex;
    flex-direction: column;
}

.dtc-product-title {
    font-size: clamp(24px, 3.5vw, 36px);
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.dtc-product-price {
    font-size: 32px;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 20px;
}

.dtc-product-short-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 24px;
}

.prod-badge-sale {
    align-self: flex-start;
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Custom Single Product Dropdowns & Cart Forms */
.dtc-cart-form .custom-flavor-selector {
    margin-bottom: 20px;
}

.dtc-cart-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.dtc-cart-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    color: #0f172a;
    transition: border-color 0.2s ease;
}

.dtc-cart-form select:focus {
    outline: none;
    border-color: #0284c7;
}

/* Responsive adjustments for DTC product page */
@media (max-width: 991px) {
    .dtc-product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dtc-product-gallery {
        position: static;
    }
    .main-image-box {
        padding: 40px;
    }
}

