/* Landmark Projects Section Styles */
.projects-section {
    position: relative;
    min-height: 100vh;
    padding: 100px 20px;
    background: #1a1a2e;
    overflow: hidden;
}

.projects-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.projects-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
}

.projects-heading {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.projects-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #d2a557, #e8cc87);
    border-radius: 2px;
}

.projects-carousel-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.projects-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.projects-track {
    display: flex;
    position: relative;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.project-slide.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.05);
}

.project-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(210, 165, 87, 0.3);
    color: #d2a557;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav-btn:hover {
    background: #d2a557;
    color: #fff;
    border-color: #d2a557;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(210, 165, 87, 0.4);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Stylized Dots */
.projects-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.project-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(210, 165, 87, 0.4);
    border: 2px solid rgba(210, 165, 87, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    position: relative;
}

.project-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

.project-dot:hover {
    background: rgba(210, 165, 87, 0.6);
    border-color: rgba(210, 165, 87, 0.9);
    transform: scale(1.2);
}

.project-dot.active {
    background: transparent;
    border-color: #d2a557;
    width: 16px;
    height: 16px;
}

.project-dot.active::before {
    width: 10px;
    height: 10px;
    background: #d2a557;
    box-shadow: 0 0 15px rgba(210, 165, 87, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-heading {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

    .project-card {
        min-height: 450px;
    }

    .project-content {
        padding: 40px;
    }

    .project-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 968px) {
    .projects-section {
        padding: 80px 20px;
    }

    .projects-heading {
        font-size: 2.2rem;
        margin-bottom: 40px;
        letter-spacing: 2px;
    }

    .project-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .project-image-wrapper {
        height: 300px;
    }

    .project-content {
        padding: 35px;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .carousel-nav-btn {
        width: 45px;
        height: 45px;
    }

    .prev-btn {
        left: -20px;
    }

    .next-btn {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 20px;
    }

    .projects-heading {
        font-size: 1.8rem;
        margin-bottom: 35px;
        letter-spacing: 1.5px;
    }

    .project-image-wrapper {
        height: 250px;
    }

    .project-content {
        padding: 30px;
    }

    .project-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .project-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -15px;
    }

    .next-btn {
        right: -15px;
    }

    .projects-dots {
        gap: 12px;
    }

    .project-dot {
        width: 12px;
        height: 12px;
    }

    .project-dot.active {
        width: 14px;
        height: 14px;
    }

    .project-dot.active::before {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .projects-section {
        padding: 50px 15px;
    }

    .projects-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }

    .project-image-wrapper {
        height: 220px;
    }

    .project-content {
        padding: 25px;
    }

    .project-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .project-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }

    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }

    .projects-dots {
        gap: 10px;
    }
}

/* Performance optimizations */
.projects-carousel {
    contain: layout style paint;
}

.project-slide {
    will-change: opacity, transform;
}

/* Accessibility */
.carousel-nav-btn:focus,
.project-dot:focus {
    outline: 2px solid #d2a557;
    outline-offset: 2px;
}

/* ============================================
   Show More Projects Button
   ============================================ */
.projects-show-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.show-more-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #d2a557 0%, #e8cc87 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(210, 165, 87, 0.4);
    position: relative;
    overflow: hidden;
}

.show-more-projects-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.show-more-projects-btn:hover::before {
    width: 300px;
    height: 300px;
}

.show-more-projects-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(210, 165, 87, 0.5);
}

.show-more-projects-btn:active {
    transform: translateY(-1px);
}

.show-more-projects-btn .btn-icon {
    transition: transform 0.3s ease;
}

/* ============================================
   All Projects Section (Expandable)
   ============================================ */
.all-projects-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease, padding 0.6s ease;
    padding: 0;
    margin-top: 0;
}

.all-projects-section.expanded {
    max-height: 5000px;
    opacity: 1;
    padding: 60px 0 40px;
    margin-top: 40px;
}

/* Projects Tabs */
.projects-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.project-tab {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.project-tab.active {
    background: linear-gradient(135deg, #d2a557 0%, #e8cc87 100%);
    border-color: #d2a557;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(210, 165, 87, 0.4);
}

/* Projects List */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-list-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 1rem;
    color: #1a1a2e;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.project-list-item:hover {
    background: rgba(255, 255, 255, 1);
    border-left-color: #d2a557;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Expandable Section */
@media (max-width: 968px) {
    .projects-show-more-wrapper {
        margin-top: 40px;
        margin-bottom: 25px;
    }

    .show-more-projects-btn {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .all-projects-section.expanded {
        padding: 50px 0 35px;
        margin-top: 30px;
    }

    .projects-tabs {
        gap: 12px;
        margin-bottom: 40px;
    }

    .project-tab {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .projects-grid {
        gap: 10px;
    }

    .project-list-item {
        padding: 16px 22px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .projects-show-more-wrapper {
        margin-top: 35px;
        margin-bottom: 20px;
    }

    .show-more-projects-btn {
        padding: 14px 35px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .all-projects-section.expanded {
        padding: 40px 0 30px;
        margin-top: 25px;
    }

    .projects-tabs {
        gap: 10px;
        margin-bottom: 35px;
    }

    .project-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .project-list-item {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .show-more-projects-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .all-projects-section.expanded {
        padding: 35px 0 25px;
    }

    .projects-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .project-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .project-list-item {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

