﻿:root {
    --primary-color: #1a97c4;
    --primary-light: #1a1a1a;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* Main Container */
.projects-tabs-container {
    width: 100%;
    padding: 5px 0;
   /* background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);*/
}

.tabs-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 700px;
}

/* Left Side: Navigation */
.tabs-navigation {
    width: 380px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .tabs-navigation::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    }

.tabs-header {
    padding: 0 40px 30px;
}

.tabs-main-title {
    font-family: 'Georgia', 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.tabs-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.tabs-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

    /* Custom Scrollbar */
    .tabs-list::-webkit-scrollbar {
        width: 6px;
    }

    .tabs-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    .tabs-list::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
        transition: background 0.3s ease;
    }

        .tabs-list::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

/* Tab Buttons */
.tab-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px;
    margin-bottom: 8px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

    .tab-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
        transition: left 0.6s ease;
    }

    .tab-button:hover::before {
        left: 100%;
    }

    .tab-button:hover {
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.05);
    }

    .tab-button.active {
        background: #ffffff;
        border-color: #ffffff;
        color: var(--primary-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transform: translateX(8px) scale(1.02);
    }

        .tab-button.active .tab-arrow {
            color: var(--accent-color);
            transform: translateX(4px);
        }

.tab-number {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.6;
    min-width: 30px;
}

.tab-button.active .tab-number {
    color: var(--accent-color);
    opacity: 1;
}

.tab-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.tab-arrow {
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.tab-button.active .tab-arrow {
    opacity: 1;
}

/* Right Side: Content */
.tabs-content {
    flex: 1;
    padding: 50px 60px;
    position: relative;
    overflow-y: auto;
    background: #ffffff;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    .tab-pane.active {
        display: block;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Header */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.content-title {
    font-family: 'Georgia', 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    max-width: 70%;
}

.content-actions {
    display: flex;
    gap: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 71, 42, 0.2);
}

    .btn-primary:hover {
        background: var(--primary-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(26, 71, 42, 0.3);
        color: #ffffff;
    }

/* Content Body */
.content-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-image-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 10;
    background: var(--bg-light);
}

.project-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 71, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-image-container:hover .image-overlay {
    opacity: 1;
}

.project-image-container:hover .project-main-image {
    transform: scale(1.08);
}

.zoom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

    .zoom-btn i {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .zoom-btn:hover {
        transform: scale(1.1);
        color: var(--accent-color);
    }

/* Project Meta */
.project-meta {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 15px;
}

    .meta-item i {
        font-size: 18px;
        color: var(--primary-color);
    }

    .meta-item a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .meta-item a:hover {
            color: var(--accent-color);
        }

/* Responsive Design */
@media (max-width: 1200px) {
    .tabs-navigation {
        width: 320px;
    }

    .tabs-content {
        padding: 40px 40px;
    }

    .content-title {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .tabs-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .tabs-navigation {
        width: 100%;
        max-height: 400px;
    }

        .tabs-navigation::after {
            display: none;
        }

    .tabs-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 12px;
        padding: 0 40px 20px;
        max-height: 300px;
    }

    .tab-button:hover,
    .tab-button.active {
        transform: translateX(0) scale(1);
    }

    .tabs-content {
        padding: 40px 30px;
    }

    .content-header {
        flex-direction: column;
        gap: 20px;
    }

    .content-title {
        max-width: 100%;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .projects-tabs-container {
        padding: 30px 0;
    }

    .tabs-wrapper {
        border-radius: 0;
    }

    .tabs-header {
        padding: 0 30px 20px;
    }

    .tabs-main-title {
        font-size: 26px;
    }

    .tabs-list {
        grid-template-columns: 1fr;
        padding: 0 30px 20px;
    }

    .tabs-content {
        padding: 30px 20px;
    }

    .content-title {
        font-size: 24px;
    }

    .project-image-container {
        aspect-ratio: 4 / 3;
    }

    .project-meta {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .tabs-main-title {
        font-size: 22px;
    }

    .content-title {
        font-size: 20px;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
}
