/* Projects Hero Section */
.projects-hero {
    height: 40vh;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.5s ease;
}

.hero-content p {
    font-size: 1.2rem;
    animation: fadeInUp 0.5s ease 0.2s;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Tabs Container */
.tabs-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.tab-btn i {
    font-size: 1.2rem;
    color: #007bff;
}

.tab-btn:hover {
    background: #f8f9fa;
    color: #007bff;
}

.tab-btn.active {
    background: #007bff;
    color: white;
}

.tab-btn.active i {
    color: white;
}

/* Tabs Content */
.tabs-content {
    padding: 2rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 2rem;
    text-align: center;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.project-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    background: white;
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 15px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    z-index: 1;
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.modal-meta {
    display: flex;
    gap: 2rem;
    color: #666;
}

.modal-body {
    padding: 2rem;
}

.modal-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.gallery-thumbnails img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails img:hover {
    opacity: 0.8;
}

.modal-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.modal-description {
    color: #666;
    line-height: 1.8;
}

.modal-services h3,
.modal-rating h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.services-list li i {
    color: #007bff;
}

.stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-quote {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .tab-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .modal-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .projects-hero h1 {
        font-size: 2.5rem;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .gallery-main {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .modal-content {
        margin: 1rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .gallery-main {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 