/* Our Solutions Page - Kronen.eu Inspired Modern Design */

:root {
    /* Modern Color Palette - Kronen.eu Style */
    --primary-color: hsl(313, 26%, 45%);
    --primary-light: hsl(313, 26%, 65%);
    --primary-dark: hsl(313, 26%, 35%);
    --secondary-color: hsl(313, 25%, 29%);
    --accent-color: hsl(313, 35%, 25%);
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #fff;
    --text-lighter: #94a3b8;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    
    /* Border & Shadows */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Layout */
    --max-width: 1280px;
    --section-padding: 6rem 0;
    --container-padding: 2rem;
    
    /* Animation */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Legacy compatibility */
    --text-color: var(--text-primary);
    --text-dark: #333;
    --text-muted: var(--text-secondary);
    --background-white: var(--bg-primary);
    --background-light: var(--bg-secondary);
    --background-dark: var(--bg-dark);
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 4rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --transition-base: var(--transition);
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.template-our-solutions {
    background-color: #ffffff !important;
}

/* Reset & Base */
.our-solutions-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    
    /* Kronen style indicator */
    border-top: 5px solid var(--secondary-color) !important;
}

.our-solutions-content * {
    box-sizing: border-box;
}

/* Common Section Styles */
.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-secondary);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: white;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,200 1000,1000 0,800"/></svg>');
    z-index: 1;
}

.bg-gradient > * {
    position: relative;
    z-index: 2;
}

/* Container */
.template-our-solutions .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.template-our-solutions .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.bg-dark .section-header h2,
.bg-gradient .section-header h2 {
    color: white;
}

.bg-dark .section-header h2::after,
.bg-gradient .section-header h2::after {
    background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.8));
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.bg-dark .section-header p,
.bg-gradient .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Section - Kronen.eu Style */
.template-our-solutions .hero-section {
    position: relative !important;
    height: 50vh !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.template-our-solutions .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,200 1000,1000 0,800"/></svg>');
    z-index: 1;
}

.template-our-solutions .hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
}

.template-our-solutions .hero-title,
.template-our-solutions .hero-section h1 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white;
}

.template-our-solutions .hero-subtitle,
.template-our-solutions .hero-section .hero-content p {
    font-size: 1.4rem !important;
    line-height: 1.7 !important;
    opacity: 0.9 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    font-weight: 400;
    color: white;
}

/* Modern Buttons */
.template-our-solutions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    background: none;
}

.template-our-solutions .btn-primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.template-our-solutions .btn-primary:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.template-our-solutions .btn-outline {
    border-color: white;
    color: white;
    background: transparent;
}

.template-our-solutions .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .template-our-solutions .machines-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
}

@media (max-width: 1024px) {
    .template-our-solutions .machines-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .template-our-solutions .machine-card {
        margin: 0 !important;
        transform-style: flat !important;
        perspective: none !important;
        background: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
    }

    .template-our-solutions .machine-inner {
        transform-style: flat !important;
        transform: none !important;
        transition: none !important;
    }

    .template-our-solutions .machine-front,
    .template-our-solutions .machine-back {
        position: static !important;
        transform: none !important;
        backface-visibility: visible !important;
        background: #fff !important;
    }

    .template-our-solutions .machine-front {
        padding-bottom: 0 !important;
    }

    .template-our-solutions .machine-back {
        display: block !important;
        padding: 1rem !important;
        border-top: 1px solid #eee !important;
    }

    .template-our-solutions .machine-image {
        height: auto !important;
        max-height: none !important;
        padding: 1rem !important;
        background: #ffffff !important;
        border-radius: 8px 8px 0 0 !important;
        box-shadow: none !important;
    }

    .template-our-solutions .machine-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        aspect-ratio: 1 !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
    }

    .template-our-solutions .machine-description {
        margin: 1rem 0 !important;
        font-size: 0.9rem !important;
        color: #666 !important;
    }

    .template-our-solutions .machine-product-types {
        margin: 1rem 0 !important;
    }

    .template-our-solutions .machine-product-types h6 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        color: #333 !important;
    }

    .template-our-solutions .machine-product-types ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .template-our-solutions .machine-product-types li {
        font-size: 0.85rem !important;
        color: #666 !important;
        padding: 0.25rem 0 !important;
    }

    .template-our-solutions .machine-actions {
        margin-top: 1rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid #eee !important;
    }

    .template-our-solutions .btn-link {
        display: inline-flex !important;
        align-items: center !important;
        font-size: 0.9rem !important;
        color: hsl(313, 26%, 45%) !important;
        text-decoration: none !important;
        padding: 0.5rem 0 !important;
    }

    .template-our-solutions .btn-link .arrow {
        margin-left: 0.5rem !important;
        transition: transform 0.2s ease !important;
    }

    .template-our-solutions .btn-link:hover .arrow {
        transform: translateX(4px) !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
        --container-padding: 1.5rem;
    }
    
    .template-our-solutions .hero-section {
        padding: 4rem 0;
        min-height: 40vh;
    }
    
    .template-our-solutions .hero-title,
    .template-our-solutions .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .template-our-solutions .hero-subtitle,
    .template-our-solutions .hero-section .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .template-our-solutions .hero-title,
    .template-our-solutions .hero-section h1 {
        font-size: 2rem;
    }
    
    .template-our-solutions .hero-subtitle,
    .template-our-solutions .hero-section .hero-content p {
        font-size: 1rem;
    }
}

/* Enhanced Cards Grid */
.template-our-solutions .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.template-our-solutions .solution-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.template-our-solutions .solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.template-our-solutions .solution-card:hover::before {
    transform: scaleX(1);
}

.template-our-solutions .solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.template-our-solutions .card-icon {
    margin-bottom: 1.5rem;
}

.template-our-solutions .card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.template-our-solutions .solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.template-our-solutions .solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.template-our-solutions .card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    
}

.template-our-solutions .card-link:hover {
    color: var(--primary-color);
}

/* Enhanced Content Sections */
.content-sections {
    padding: var(--section-padding);
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section.image-right {
    direction: rtl;
}

.content-section.image-right > * {
    direction: ltr;
}

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

.section-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.section-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.section-image:hover img {
    transform: scale(1.02);
}

.section-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.section-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Enhanced Machines Filter */
.machines-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.machines-filter .filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.machines-filter .filter-btn.main-category {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    font-weight: 700;
}

.machines-filter .filter-btn.sub-category {
    background: white;
    border-color: var(--border-light);
}

.machines-filter .filter-btn:hover,
.machines-filter .filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
}

.machines-filter .filter-btn .tab-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Enhanced Machine Cards with Flip Effect */
.machine-card {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e9ecef !important;
}

.machine-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.machine-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.machine-card:hover .machine-inner {
    transform: rotateY(180deg);
}

.machine-front,
.machine-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.machine-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    position: relative;
}

.machine-back {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* Add styles for links in machine-back */
.machine-back a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.machine-back a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.machine-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
}

.machine-front:hover .machine-image img {
    transform: scale(1.05);
}

.machine-front h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 0 0 auto;
}

.machine-category {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    border-radius: 2rem;
    display: inline-block;
    flex: 0 0 auto;
}

.machine-description {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -moz-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.5rem;
}

.machine-specs {
    flex: 0 0 auto;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.machine-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.machine-specs li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.machine-specs li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
}

.machine-actions {
    flex: 0 0 auto;
    padding: 0.5rem 0;
    text-align: center;
}

/* Machines Section */
.machines-categories {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

/* Enhanced Tab Navigation */
.category-tabs {
    display: flex;
    overflow-x: auto;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    padding: 0.5rem;
    gap: 0.5rem;
}

.category-tabs::-webkit-scrollbar {
    height: 4px;
}

.category-tabs::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 2px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 2px;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    border-radius: 0.75rem;
    font-weight: 600;
    position: relative;
}

.tab-button:hover {
    color: var(--secondary-color);
    background: var(--bg-tertiary);
}

.tab-button.active {
    color: white;
    background: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.tab-button.active::after {
    display: none;
}

.tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tab-content {
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.category-description {
    margin-bottom: 2rem;
}

.category-description h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.category-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.subcategory-section {
    margin-bottom: 3rem;
}

.subcategory-section:last-child {
    margin-bottom: 0;
}

.subcategory-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.subcategory-section p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Enhanced Machines Grid */
.machines-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

.machine-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.machine-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.machine-item:hover .machine-image img {
    transform: scale(1.05);
}

.machine-details {
    padding: 2rem;
}

.machine-details h5 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.machine-product-types {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.machine-product-types h6 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.machine-product-types ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.machine-product-types li {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Enhanced ROI Calculator CTA */
.template-our-solutions .roi-calculator-cta {
    position: relative !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
    padding: 4rem 2rem !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    margin-top: 5rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.template-our-solutions .roi-calculator-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,800 1000,0 0,200"/></svg>') !important;
    z-index: 1 !important;
}

.template-our-solutions .cta-content {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.template-our-solutions .cta-icon {
    font-size: 4rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    flex-shrink: 0 !important;
}

.template-our-solutions .cta-text {
    flex: 1 !important;
}

.template-our-solutions .cta-text h3 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
}

.template-our-solutions .cta-text p {
    font-size: 1.1rem !important;
    opacity: 0.9 !important;
    line-height: 1.7 !important;
}

.template-our-solutions .btn-roi-calculator {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 2rem !important;
    background: white !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    border-radius: 0.75rem !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-lg) !important;
    flex-shrink: 0 !important;
}

.template-our-solutions .btn-roi-calculator:hover {
    background: var(--bg-secondary) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-xl) !important;
}

/* Enhanced Modal Styles */
.template-our-solutions .roi-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1000 !important;
    align-items: center !important;
    justify-content: center !important;
}

.template-our-solutions .roi-modal.active {
    display: flex !important;
}

.template-our-solutions .roi-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
}

.template-our-solutions .roi-modal-container {
    position: relative !important;
    background: white !important;
    border-radius: 1.5rem !important;
    width: 90% !important;
    max-width: 900px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: var(--shadow-xl) !important;
    border: 1px solid var(--border-color) !important;
    animation: modalSlideIn 0.3s ease-out !important;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

.template-our-solutions .roi-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 2rem 3rem !important;
    border-bottom: 2px solid #f0f0f0 !important;
    background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
}

.template-our-solutions .modal-title {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

.template-our-solutions .modal-icon {
    background: var(--primary-color) !important;
    border-radius: 50% !important;
    padding: 1rem !important;
    color: white !important;
}

.template-our-solutions .modal-title h2 {
    font-size: 1.8rem !important;
    color: var(--primary-color) !important;
    margin: 0 0 0.5rem 0 !important;
    font-weight: 700 !important;
}

.template-our-solutions .modal-title p {
    color: #666 !important;
    margin: 0 !important;
    font-size: 1rem !important;
}

.template-our-solutions .modal-close {
    background: #f0f0f0 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    color: #666 !important;
}

.template-our-solutions .modal-close:hover {
    background: #e0e0e0 !important;
    color: #333 !important;
    transform: rotate(90deg) !important;
}

.template-our-solutions .roi-modal-content {
    padding: 3rem !important;
}

.template-our-solutions .calculator-inputs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    margin-bottom: 3rem !important;
}

.template-our-solutions .input-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    position: relative !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.template-our-solutions .input-section:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.template-our-solutions .current-situation {
    border-left: 5px solid #dc3545 !important;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%) !important;
}

.template-our-solutions .magenta-solution {
    border-left: 5px solid #28a745 !important;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%) !important;
}

.template-our-solutions .section-icon {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

.template-our-solutions .input-section h4 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: var(--text-dark) !important;
    text-align: center !important;
    position: relative !important;
    padding-bottom: 1rem !important;
}

.template-our-solutions .input-section h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50px !important;
    height: 3px !important;
    background: var(--primary-color) !important;
    border-radius: 2px !important;
}

.template-our-solutions .input-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
}

.template-our-solutions .input-group {
    display: flex !important;
    flex-direction: column !important;
}

.template-our-solutions .input-group label {
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: var(--text-dark) !important;
    font-size: 0.9rem !important;
}

.template-our-solutions .input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.template-our-solutions .input-wrapper input,
.template-our-solutions .input-wrapper select {
    flex: 1 !important;
    padding: 0.75rem 1rem !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: white !important;
    font-weight: 500 !important;
}

.template-our-solutions .input-wrapper select {
    cursor: pointer !important;
}

.template-our-solutions .input-wrapper input:focus,
.template-our-solutions .input-wrapper select:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(165, 93, 145, 0.1) !important;
}

.template-our-solutions .input-wrapper input[readonly] {
    background: #f8f9fa !important;
    color: #666 !important;
    cursor: not-allowed !important;
}

.template-our-solutions .input-wrapper .unit {
    position: absolute !important;
    right: 1rem !important;
    color: #666 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    pointer-events: none !important;
    background: #f8f9fa !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
}

.template-our-solutions .calculator-controls {
    display: flex !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding: 1.5rem 0 !important;
    border-top: 2px solid #f0f0f0 !important;
}

.template-our-solutions .btn-calculate {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2.5rem !important;
    border-radius: 10px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    box-shadow: 0 4px 15px rgba(165, 93, 145, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.template-our-solutions .btn-calculate:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(165, 93, 145, 0.4) !important;
}

.template-our-solutions .btn-reset {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2.5rem !important;
    border-radius: 10px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.template-our-solutions .btn-reset:hover {
    background: #5a6268 !important;
    transform: translateY(-2px) !important;
}

.template-our-solutions .btn-icon {
    font-size: 1.2rem !important;
}

.template-our-solutions .calculator-results {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    border: 2px solid #e9ecef !important;
    margin-top: 1.5rem !important;
}

.template-our-solutions .results-header {
    text-align: center !important;
    margin-bottom: 2rem !important;
}

.template-our-solutions .results-header h4 {
    font-size: 1.6rem !important;
    color: var(--primary-color) !important;
    margin-bottom: 0.8rem !important;
    font-weight: 700 !important;
}

.template-our-solutions .results-header p {
    color: #666 !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

.template-our-solutions .results-showcase {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2.5rem !important;
    margin: 2rem 0 !important;
}

.template-our-solutions .result-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    color: white !important;
    padding: 2rem !important;
    border-radius: 16px !important;
    text-align: center !important;
    box-shadow: 0 8px 25px rgba(165, 93, 145, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.template-our-solutions .result-highlight:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(165, 93, 145, 0.4) !important;
}

.template-our-solutions .result-highlight::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -50% !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    transform: rotate(45deg) !important;
}

.template-our-solutions .highlight-icon {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.template-our-solutions .highlight-content {
    position: relative !important;
    z-index: 1 !important;
}

.template-our-solutions .highlight-label {
    display: block !important;
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
}

.template-our-solutions .highlight-value {
    display: block !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.template-our-solutions .results-details {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.template-our-solutions .detail-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease !important;
}

.template-our-solutions .detail-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

.template-our-solutions .card-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #f8f9fa !important;
}

.template-our-solutions .card-icon {
    font-size: 1.5rem !important;
}

.template-our-solutions .card-title {
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    font-size: 1rem !important;
}

.template-our-solutions .card-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.template-our-solutions .metric {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
}

.template-our-solutions .metric-label {
    font-size: 0.9rem !important;
    color: #666 !important;
    font-weight: 500 !important;
}

.template-our-solutions .metric-value {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

.template-our-solutions .metric-value.positive {
    color: #28a745 !important;
}

.template-our-solutions .results-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.template-our-solutions .btn-action {
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    border: none !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.template-our-solutions .btn-action.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
}

.template-our-solutions .btn-action.secondary {
    background: linear-gradient(135deg, var(--secondary-color), #0f5b9a) !important;
    color: white !important;
}

.template-our-solutions .btn-action.tertiary {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
}

.template-our-solutions .btn-action:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Processing Lines Slider */
.processing-lines-slider {
    position: relative;
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.slider-container {
    position: relative;
    min-height: 400px;
}

.slide {
    display: none;
    padding: 0;
}

.slide.active {
    display: flex;
    flex-wrap: wrap;
}

.slide-image {
    flex: 1 1 300px;
    min-height: 300px;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    flex: 1 1 300px;
    padding: 2rem;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.slide-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.feature-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.prev-button, .next-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0.5rem;
}

.prev-button:hover, .next-button:hover {
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition-base);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Custom Solutions */
.custom-solutions-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.content-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.content-text {
    flex: 1;
    max-width: 50%;
}

.content-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary, #333);
}

.content-text p {
    margin-bottom: 20px;
    color: var(--text-secondary, #666);
}

.content-text .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--primary-color, #2196F3);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.content-text .btn-primary:hover {
    background-color: var(--primary-dark, #1976D2);
    transform: translateY(-2px);
}

.content-text .btn-primary:active {
    transform: translateY(0);
}

/* Responsive tasarım için */
@media (max-width: 768px) {
    .custom-solutions-content {
        flex-direction: column;
        gap: 20px;
    }

    .content-image,
    .content-text {
        max-width: 100%;
    }

    .content-text .btn-primary {
        display: block;
        text-align: center;
        width: 100%;
    }
}

.process-steps {
    margin: 20px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color, #2196F3);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.1rem;
    color: var(--text-primary, #333);
    margin: 0 0 5px;
    font-weight: 600;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .process-step {
        padding: 1rem;
        gap: 1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }
}

@media (prefers-color-scheme: dark) {
    .process-step {
        background: rgba(31, 41, 55, 0.98);
    }

    .step-content h4 {
        color: var(--text-primary-dark, #fff);
    }

    .step-content p {
        color: var(--text-secondary-dark, #cbd5e1);
    }
}

/* Smart Solutions */
.smart-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.smart-solution-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
}

.smart-solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.smart-solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.smart-solution-card p {
    color: #666;
}

.cta-box {
    background-color: var(--primary-light);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

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

.cta-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.cta-content p {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* Solution Preview Styles */
.solution-preview {
    padding: 2rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px dashed #2196f3;
    text-align: center;
    margin-bottom: 2rem;
}

.preview-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.preview-icon {
    font-size: 3rem;
    opacity: 0.7;
}

.preview-message p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

.machine-recommendation {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
}

.recommended-machine {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recommended-machine:last-child {
    margin-bottom: 0;
}

.machine-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.machine-info h5 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.machine-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.solution-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px dashed #ff9800;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff9800;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.solution-ready {
    background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
    border: 2px solid #4caf50;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.solution-ready .preview-icon {
    color: #4caf50;
}

.solution-ready p {
    color: #2e7d32;
    font-weight: 500;
}

/* Modern Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .machine-card {
        background: var(--bg-dark);
        border-color: #374151;
    }
    
    .machine-front {
        background: var(--bg-dark);
        color: white;
    }
    
    .machine-back {
        background: #1f2937;
    }
    
    .machine-front h3 {
        color: white;
    }
    
    .machine-category {
        color: #d1d5db;
    }
}

/* Our Solutions Page Styles */

/* Namespace için ana kapsayıcı */
.our-solutions-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Makine Kartları Grid */
.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

/* Tablet Görünüm */
@media screen and (max-width: 991px) {
    .machines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobil Görünüm */
@media screen and (max-width: 768px) {
    .machines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .machine-card {
        min-width: 0;
        width: 100%;
    }

    .mgnt-category-card {
        padding: 1.5rem;
    }

    .mgnt-category-header h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .mgnt-category-header p {
        font-size: 1.125rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .mgnt-category-icon {
        margin-bottom: 1.5rem;
    }

    .mgnt-category-icon img {
        width: 100px;
        height: 100px;
    }

    .mgnt-subcategory-item h4 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .mgnt-machine-item {
        flex-direction: column;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .mgnt-machine-image {
        width: 100%;
        margin-bottom: 1.25rem;
    }

    .mgnt-machine-image img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }

    .mgnt-machine-info {
        width: 100%;
        text-align: center;
    }

    .mgnt-machine-info h5 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .mgnt-machine-info p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .mgnt-btn {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .machines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .machine-card {
        min-width: 0;
        width: 100%;
    }

    .mgnt-category-header h3 {
        font-size: 1.5rem;
    }

    .mgnt-category-header p {
        font-size: 1rem;
    }

    .mgnt-subcategory-item h4 {
        font-size: 1.35rem;
    }

    .mgnt-machine-info h5 {
        font-size: 1.25rem;
    }

    .mgnt-machine-info p {
        font-size: 1rem;
    }

    .mgnt-machine-image img {
        max-height: 200px;
    }
}

/* Küçük Ekranlar */
@media screen and (max-width: 576px) {
    .machines-grid {
        gap: 0.75rem;
    }
}

/* Makine Kartı */
.machine-card {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    margin: 0;
    box-sizing: border-box;
}

.machine-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Hover efekti sadece masaüstünde çalışsın */
@media (min-width: 769px) {
    .machine-card:hover .machine-inner {
        transform: rotateY(180deg);
    }

    .machine-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-xl);
    }
}

/* Kart Ön Yüzü */
.machine-front,
.machine-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}

.machine-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    position: relative;
}

.machine-back {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* Add styles for links in machine-back */
.machine-back a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.machine-back a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Kart İçeriği */
.machine-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.machine-front:hover .machine-image img {
    transform: scale(1.05);
}

.machine-front h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 0 0 auto;
}

.machine-category {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    border-radius: 2rem;
    display: inline-block;
    flex: 0 0 auto;
}

.machine-description {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -moz-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.5rem;
}

.machine-specs {
    flex: 0 0 auto;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.machine-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.machine-specs li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.machine-specs li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
}

.machine-actions {
    flex: 0 0 auto;
    padding: 0.5rem 0;
    text-align: center;
}

/* Özel Scrollbar */
.machine-description::-webkit-scrollbar,
.machine-product-types ul::-webkit-scrollbar {
    width: 6px;
}

.machine-description::-webkit-scrollbar-track,
.machine-product-types ul::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.machine-description::-webkit-scrollbar-thumb,
.machine-product-types ul::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.machine-description::-webkit-scrollbar-thumb:hover,
.machine-product-types ul::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    .machine-card {
        height: auto;
        perspective: none;
    }

    .machine-inner {
        transform-style: flat;
        display: flex;
        flex-direction: column;
    }

    .machine-front,
    .machine-back {
        position: relative;
        backface-visibility: visible;
        transform: none;
        height: auto;
    }

    .machine-front {
        border-bottom: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 1.25rem;
    }

    .machine-back {
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding: 1.25rem;
    }

    .machine-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        -webkit-line-clamp: 5;
        -moz-line-clamp: 5;
        line-clamp: 5;
        padding: 0 0.25rem;
    }

    .machine-specs {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .machine-specs ul {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .machine-specs li {
        font-size: 0.85rem;
    }

    .machine-actions {
        padding: 0.25rem 0;
    }
}

/* Küçük Ekranlar */
@media (max-width: 576px) {
    .machine-back {
        padding: 1rem;
    }

    .machine-description {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        -webkit-line-clamp: 4;
        -moz-line-clamp: 4;
        line-clamp: 4;
    }

    .machine-specs {
        padding: 0.4rem;
        margin-bottom: 0.5rem;
    }

    .machine-specs li {
        font-size: 0.8rem;
    }
}

.machines-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.machine-prev-btn,
.machine-next-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.machine-prev-btn:hover,
.machine-next-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.machine-prev-btn:disabled,
.machine-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-secondary);
    transform: none;
    box-shadow: none;
}

.machine-pagination {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.machine-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.machine-pagination .dot:hover {
    background: var(--text-secondary);
}

.machine-pagination .dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .machines-carousel-controls {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .machine-prev-btn,
    .machine-next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .machine-pagination {
        gap: 0.5rem;
    }

    .machine-pagination .dot {
        width: 8px;
        height: 8px;
    }

    .machine-pagination .dot.active {
        width: 20px;
    }
}

@media (max-width: 576px) {
    .machines-carousel-controls {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .machine-prev-btn,
    .machine-next-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .machine-pagination .dot {
        width: 6px;
        height: 6px;
    }

    .machine-pagination .dot.active {
        width: 16px;
    }
}

/* Processing Lines Section */
.template-our-solutions #processing-lines .btn,
.template-our-solutions #processing-lines .card-link,
.template-our-solutions #processing-lines .solution-card .card-link,
.template-our-solutions #processing-lines .cards-grid .solution-card .card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--secondary-color);
    font-size: 1rem;
    cursor: pointer;
    background: transparent !important;
    color: var(--secondary-color);
    gap: 0.5rem;
    background-image: none !important;
    transition: none !important;
}

.template-our-solutions #processing-lines .btn:hover,
.template-our-solutions #processing-lines .card-link:hover,
.template-our-solutions #processing-lines .solution-card .card-link:hover,
.template-our-solutions #processing-lines .cards-grid .solution-card .card-link:hover {
    background: var(--secondary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    transition: none !important;
}

.template-our-solutions #processing-lines .btn:active,
.template-our-solutions #processing-lines .card-link:active,
.template-our-solutions #processing-lines .solution-card .card-link:active,
.template-our-solutions #processing-lines .cards-grid .solution-card .card-link:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Solution Cards in Processing Lines */
.template-our-solutions #processing-lines .solution-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-our-solutions #processing-lines .solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.template-our-solutions #processing-lines .solution-card:hover::before {
    transform: scaleX(1);
}

.template-our-solutions #processing-lines .solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.template-our-solutions #processing-lines .card-icon {
    margin-bottom: 1.5rem;
}

.template-our-solutions #processing-lines .card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.template-our-solutions #processing-lines .solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.template-our-solutions #processing-lines .solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.template-our-solutions .machines-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

.template-our-solutions .machine-image {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    box-shadow: none !important;
}

.template-our-solutions .machine-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .template-our-solutions .machines-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .template-our-solutions .machine-image {
        height: auto !important;
        max-height: none !important;
        padding: 1rem !important;
        background: #ffffff !important;
        border-radius: 8px 8px 0 0 !important;
        box-shadow: none !important;
    }

    .template-our-solutions .machine-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        aspect-ratio: 1 !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
    }
}

/* Solutions Showcase Section Styles */
#solutions-showcase .mgnt-solution-content {
    padding: 2rem;
}

#solutions-showcase .mgnt-solution-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

#solutions-showcase .mgnt-solution-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

#solutions-showcase .mgnt-solution-text {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

#solutions-showcase .mgnt-solution-image {
    flex: 1;
    max-width: 60%;
}

#solutions-showcase .mgnt-solution-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

#solutions-showcase .mgnt-solution-info {
    flex: 1;
    max-width: 40%;
}

#solutions-showcase .mgnt-solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

#solutions-showcase .mgnt-solution-features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

#solutions-showcase .mgnt-solution-features li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    #solutions-showcase .mgnt-solution-content {
        padding: 1.5rem;
    }

    #solutions-showcase .mgnt-solution-content h3 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }

    #solutions-showcase .mgnt-solution-content p {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    #solutions-showcase .mgnt-solution-text {
        flex-direction: column;
        gap: 1.5rem;
    }

    #solutions-showcase .mgnt-solution-image {
        max-width: 100%;
    }

    #solutions-showcase .mgnt-solution-image img {
        max-height: 400px;
        object-fit: contain;
    }

    #solutions-showcase .mgnt-solution-info {
        max-width: 100%;
    }

    #solutions-showcase .mgnt-solution-features {
        margin-bottom: 1.5rem;
    }

    #solutions-showcase .mgnt-solution-features li {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
        padding-left: 2rem;
    }

    #solutions-showcase .mgnt-solution-features li::before {
        font-size: 1.75rem;
    }

    #solutions-showcase .mgnt-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
}

@media screen and (max-width: 480px) {
    #solutions-showcase .mgnt-solution-content {
        padding: 1rem;
    }

    #solutions-showcase .mgnt-solution-content h3 {
        font-size: 1.5rem;
    }

    #solutions-showcase .mgnt-solution-content p {
        font-size: 1rem;
    }

    #solutions-showcase .mgnt-solution-image img {
        max-height: 300px;
    }

    #solutions-showcase .mgnt-solution-features li {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-left: 1.75rem;
    }

    #solutions-showcase .mgnt-solution-features li::before {
        font-size: 1.5rem;
    }

    #solutions-showcase .mgnt-btn {
        font-size: 1.1rem;
        padding: 0.875rem 1.75rem;
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    font-family: var(--font-primary);
}

.feature-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-primary, #333);
    line-height: 1.6;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color, #2196F3);
    font-weight: bold;
    font-size: 1.4rem;
}

.slide-content {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    max-width: 600px;
    margin: 1rem;
    position: relative;
    z-index: 2;
}

.slide-content h3 {
    font-size: 2rem;
    color: var(--text-primary, #333);
    margin-bottom: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.slide-content p {
    font-size: 1.1rem;
    color: var(--text-secondary, #666);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-list li {
        font-size: 1rem;
        padding-left: 2rem;
        margin-bottom: 1rem;
    }

    .feature-list li::before {
        font-size: 1.2rem;
        left: 0.25rem;
    }

    .slide-content {
        padding: 2rem;
        margin: 0.75rem;
    }

    .slide-content h3 {
        font-size: 1.75rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

@media (prefers-color-scheme: dark) {
    .slide-content {
        background: rgba(31, 41, 55, 0.98);
    }

    .slide-content h3 {
        color: var(--text-light, #fff);
    }

    .slide-content p {
        color: var(--text-lighter, #e5e7eb);
    }

    .feature-list li {
        color: var(--text-light, #fff);
    }

    .feature-list li::before {
        color: var(--primary-light, #64b5f6);
    }
}

.template-our-solutions #processing-lines .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color, #2196F3);
    border: 2px solid var(--primary-color, #2196F3);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    margin-top: 1.5rem;
}

.template-our-solutions #processing-lines .btn-primary:hover {
    background-color: var(--primary-dark, #1976D2);
    border-color: var(--primary-dark, #1976D2);
    transform: translateY(-2px);
}

.template-our-solutions #processing-lines .btn-primary:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .template-our-solutions #processing-lines .btn-primary {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (prefers-color-scheme: dark) {
    .template-our-solutions #processing-lines .btn-primary {
        background-color: var(--primary-light, #64B5F6);
        border-color: var(--primary-light, #64B5F6);
        color: var(--text-dark, #1a1a1a);
    }
    
    .template-our-solutions #processing-lines .btn-primary:hover {
        background-color: var(--primary-lighter, #90CAF9);
        border-color: var(--primary-lighter, #90CAF9);
    }
}

#custom-solutions {
    background-color: #fff;
}

@media (prefers-color-scheme: dark) {
    #custom-solutions {
        background-color: var(--bg-dark, #1a1a1a);
    }
}

.template-our-solutions .footer {
    background-color: rgb(51, 50, 50) !important;
}