/* Lupos Dış Ticaret Custom Card Styles 
   Optimized for 3-4 columns side-by-side
*/

:root {
    --lupos-teal: #008080;
    --lupos-teal-hover: #006666;
    --lupos-border: #e6e6e6;
    --lupos-bg-alt: #f8f8f8;
}

/* Container Grid Setup */
.lupos-grid {
    display: grid;
    /* This allows 3-4 cards per line depending on content width */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

/* Individual Card Styling */
.lupos-card {
    background: #fff;
    border: 1px solid var(--lupos-border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover Effects */
.lupos-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--lupos-teal);
}

/* Image Section */
.lupos-card .image {
    margin: 0;
    padding: 0;
    border-radius: 0;
    height: 180px;
    overflow: hidden;
    display: block;
}

.lupos-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lupos-card:hover .image img {
    transform: scale(1.1);
}

/* Information Panel */
.lupos-card-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lupos-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #3d4449;
    line-height: 1.3;
}

.lupos-card-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #7f888f;
    margin-bottom: 1.25rem;
}

/* Footer Action Area */
.lupos-card-footer {
    margin-top: auto;
}

/* Lupos Teal Button Overrides */
.lupos-card .button.primary {
    background-color: var(--lupos-teal) !important;
    box-shadow: none !important;
    color: #ffffff !important;
    width: 100%;
    text-align: center;
}

.lupos-card .button.primary:hover {
    background-color: var(--lupos-teal-hover) !important;
}

.lupos-card .button:not(.primary) {
    width: 100%;
    text-align: center;
    border-color: var(--lupos-border);
}

.lupos-card .button:not(.primary):hover {
    border-color: var(--lupos-teal);
    color: var(--lupos-teal) !important;
}

/* Floating Tag for Projects */
.lupos-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--lupos-teal);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 10px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Responsive Handling */
@media screen and (max-width: 1280px) {
    .lupos-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
}

@media screen and (max-width: 736px) {
    .lupos-grid {
        grid-template-columns: 1fr;
    }
    .lupos-card .image {
        height: 220px;
    }
}












/* Lupos Blog Directory Styling 
    Targeting 3-4 cards per line with B2B Teal Accents
*/

:root {
    --lupos-teal: #008080;
    --lupos-teal-light: #e6f2f2;
    --lupos-text-gray: #7f888f;
    --lupos-dark: #3d4449;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Grid Configuration */
.blog-grid {
    display: grid;
    /* Forces 3-4 cards per line on desktop based on container width */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Card Styling */
.blog-card {
    background: #ffffff;
    border: 1px solid #efefef;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--lupos-teal);
}

/* Featured Image Animation */
.image-wrapper {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .image-wrapper img {
    transform: scale(1.1);
}

/* Info Panel */
.blog-info-panel {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-info-panel time {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lupos-teal);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}

.blog-info-panel h3 {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-info-panel h3 a {
    text-decoration: none;
    color: var(--lupos-dark);
    border-bottom: none;
}

.blog-card:hover .blog-info-panel h3 a {
    color: var(--lupos-teal);
}

/* Excerpt with 3-line limit (Line Clamp) */
.blog-info-panel p.excerpt {
    font-size: 0.9rem;
    color: var(--lupos-text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    /* Standard line-clamp logic */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More Link */
.read-more {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--lupos-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-color: var(--lupos-teal);
}

/* Mobile Adjustments */
@media screen and (max-width: 736px) {
    .blog-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    
    .image-wrapper {
        height: 250px; /* Larger image on mobile for better visibility */
    }
}







/* Lupos Imported Projects Card Styling */

:root {
    --lupos-teal: #008080;
    --lupos-teal-dark: #006666;
    --lupos-active-gold: #f4b400;
    --lupos-completed-green: #27ae60;
    --lupos-border: #e6e6e6;
    --lupos-text-muted: #7f888f;
}

/* Grid Layout: 3-4 cards per row on desktop */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
    align-items: stretch;
}

/* Card Base */
.project-card {
    background: #ffffff;
    border: 1px solid var(--lupos-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--lupos-teal);
}

/* Image Container */
.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

/* Status Badges */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 20px;
    color: #fff;
    z-index: 2;
    letter-spacing: 0.05em;
}

.status-badge.completed {
    background-color: var(--lupos-teal); /* Teal-Green focus */
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.3);
}

.status-badge.active {
    background-color: var(--lupos-active-gold);
    color: #000;
    box-shadow: 0 2px 8px rgba(244, 180, 0, 0.3);
}

/* Info Panel */
.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem 0;
    color: #3d4449;
}

/* Meta Data (Year & Category) */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.75rem;
}

.meta-item {
    font-size: 0.8rem;
    color: var(--lupos-text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.meta-item i {
    color: var(--lupos-teal);
    margin-right: 6px;
    font-size: 0.9rem;
}

.project-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Buttons */
.project-card .button {
    width: 100%;
    text-align: center;
    border-color: var(--lupos-border);
}

.project-card:hover .button {
    background-color: var(--lupos-teal) !important;
    color: #fff !important;
    border-color: var(--lupos-teal) !important;
}

/* Responsive Handling */
@media screen and (max-width: 1280px) {
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 736px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
    .project-image {
        height: 240px;
    }
}







/* Lupos Custom Styling - Professional B2B Directory 
    Teal Palette: #008080 (Primary)
*/

:root {
    --lupos-teal: #008080;
    --lupos-teal-light: #00a3a3;
    --lupos-shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --lupos-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --transition-speed: 0.3s;
}

/* Grid Layout: 3-4 items side-by-side */
.lupos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    align-items: stretch;
}

/* Card Base Style */
.lupos-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Transition for Hover Lift & Shadow */
    transition: transform var(--transition-speed) ease, 
                box-shadow var(--transition-speed) ease, 
                border-color var(--transition-speed) ease;
}

/* 1. Hover Effect: Slight Scale & Shadow */
.lupos-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--lupos-shadow-hover);
    border-color: var(--lupos-teal);
}

/* 2. Image Zoom Effect */
.card-figure {
    margin: 0;
    padding: 0;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* Slower, smoother zoom */
}

.lupos-card:hover .card-figure img {
    transform: scale(1.1);
}

/* Card Body & Text */
.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.2rem;
    margin: 0 0 0.75rem 0;
    color: #3d4449;
    position: relative;
    display: inline-block;
    transition: color var(--transition-speed) ease;
}

/* 3. Hover Effect: Teal Title Underline/Glow */
.card-body h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--lupos-teal);
    transition: width var(--transition-speed) ease;
    box-shadow: 0 0 8px rgba(0, 128, 128, 0.4);
}

.lupos-card:hover .card-body h3 {
    color: var(--lupos-teal);
}

.lupos-card:hover .card-body h3::after {
    width: 100%;
}

.card-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #7f888f;
    margin: 0;
}

/* Metadata & Badges */
.card-meta {
    padding: 0.5rem 1.5rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--lupos-teal);
}

.project-specs {
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #999;
}

.project-specs i {
    color: var(--lupos-teal);
    margin-right: 5px;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.completed { background: var(--lupos-teal); }
.status-badge.active { background: #f4b400; color: #000; }

/* Footer & Buttons */
.lupos-card footer {
    padding: 0 1.5rem 1.5rem;
}

.lupos-card .button {
    width: 100%;
    text-align: center;
}

/* Accessibility: Focus States */
.lupos-card:focus-within {
    outline: 2px solid var(--lupos-teal);
    outline-offset: 4px;
}

/* Responsive Scaling */
@media screen and (max-width: 1280px) {
    .lupos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 980px) {
    .lupos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 736px) {
    .lupos-grid { grid-template-columns: 1fr; }
    .card-figure { height: 250px; }
}

/* Lupos Post & Project Styles */
:root {
    --lupos-teal: #008080;
    --lupos-teal-bg: #f2fafa;
    --lupos-border: #e1e1e1;
}

/* Breadcrumbs */
.lupos-breadcrumbs ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}
.lupos-breadcrumbs li + li:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    padding: 0 12px;
    color: #bbb;
}
.lupos-breadcrumbs a { border-bottom: none; color: var(--lupos-teal); font-weight: 600; }

/* Blog Meta */
.post-meta-top {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--lupos-teal);
    margin-bottom: 0.5rem;
}
.post-subtitle {
    font-size: 1.25rem;
    color: #7f888f;
    line-height: 1.5;
}

/* Sidebar / Table of Contents */
.lupos-toc {
    background: var(--lupos-teal-bg);
    padding: 1.5rem;
    border-radius: 6px;
    position: sticky;
    top: 2rem;
}
.lupos-toc h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--lupos-teal); }
.lupos-toc ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.lupos-toc ul li a { border-bottom-color: transparent; font-size: 0.9rem; }
.lupos-toc ul li a:hover { color: var(--lupos-teal); }

.lupos-cta-box {
    border-top: 1px solid var(--lupos-teal);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Project Quick Facts Grid */
.project-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.spec-card {
    background: #fff;
    border: 1px solid var(--lupos-border);
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
}
.spec-card i {
    display: block;
    font-size: 1.5rem;
    color: var(--lupos-teal);
    margin-bottom: 0.5rem;
}
.spec-card strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
}
.spec-card span {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 2px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.status-badge.active { background: #f4b400; color: #000; }
.status-badge.completed { background: var(--lupos-teal); color: #fff; }

/* Blockquote Adjustment */
blockquote {
    border-left: 4px solid var(--lupos-teal);
    font-style: italic;
    color: #555;
}

/* Table Style Override */
.table-wrapper table.alt thead {
    background-color: var(--lupos-teal);
}
.table-wrapper table.alt thead th {
    color: #ffffff;
}





