/* Project Page Styles */

/* Header override for project pages */
.project-header {
    background: #020d11;
    border-bottom: 1px solid rgba(148, 252, 19, 0.2);
}

.project-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94fc13;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.back-link svg {
    transition: transform 0.2s ease;
}

.back-link:hover svg {
    transform: translateX(-5px);
}

/* Project Hero */
.project-hero {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, #020d11 0%, #032d3c 100%);
    text-align: center;
}

.project-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.project-badge-wrapper {
    margin-bottom: 20px;
}

.project-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(148, 252, 19, 0.15);
    color: #94fc13;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 20px;
    text-transform: uppercase;
}

.project-hero h1 {
    font-size: 56px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-tagline {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.project-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.project-hero-actions .button {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Project Video Section */
.project-video-section {
    padding: 60px 0;
    background: #020d11;
}

/* Media Carousel */
.media-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.media-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    /* More compact, cinematic ratio */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.media-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.media-carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.media-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.media-carousel-item iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 252, 19, 0.3);
    color: #94fc13;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(148, 252, 19, 0.2);
    border-color: #94fc13;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(148, 252, 19, 0.6);
    border-color: #94fc13;
}

.carousel-dot.active {
    background: #94fc13;
    border-color: #94fc13;
    width: 32px;
    border-radius: 6px;
}

/* Project Content */
.project-content {
    padding: 80px 0;
    background: #032d3c;
}

.project-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.project-main {
    min-width: 0;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: #4be3ac;
    font-size: 32px;
    margin-bottom: 20px;
}

.content-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.7;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(148, 252, 19, 0.2);
    color: #94fc13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Tech List */
.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list strong {
    color: #4be3ac;
}

/* Screenshots placeholder */
.screenshots-placeholder {
    padding: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
    border: 2px dashed rgba(148, 252, 19, 0.2);
}

.screenshots-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Sidebar */
.project-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(148, 252, 19, 0.15);
    margin-bottom: 25px;
}

.sidebar-card h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.sidebar-card>p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 25px;
}

/* Pricing Info */
.pricing-info {
    background: rgba(148, 252, 19, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.price-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price-value {
    display: block;
    color: #94fc13;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-note {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Project Contact Form */
.project-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-contact-form .input {
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
}

.full-width {
    width: 100%;
}

/* Quick Contact */
.quick-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.quick-contact>p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 15px;
}

.quick-contact-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.quick-link:hover {
    background: rgba(148, 252, 19, 0.2);
    color: #94fc13;
}

/* Related Projects */
.related-projects {
    padding: 25px;
}

.related-projects h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.related-link {
    display: block;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.related-link:last-child {
    border-bottom: none;
}

.related-link:hover {
    color: #94fc13;
    padding-left: 10px;
}

/* Footer CTA */
.project-footer-cta {
    padding: 100px 0;
    background: #020d11;
    text-align: center;
}

.project-footer-cta h2 {
    color: #4be3ac;
    font-size: 40px;
    margin-bottom: 15px;
}

.project-footer-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-content-grid {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        position: static;
    }

    .project-hero h1 {
        font-size: 40px;
    }

    .project-tagline {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 120px 0 60px;
    }

    .project-hero h1 {
        font-size: 32px;
    }

    .project-content {
        padding: 50px 0;
    }

    .content-section h2 {
        font-size: 26px;
    }

    .video-wrapper iframe {
        height: 300px;
    }

    .project-footer-cta h2 {
        font-size: 28px;
    }

    /* Carousel responsive */
    .media-carousel {
        aspect-ratio: 4 / 3;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .carousel-control svg {
        width: 20px;
        height: 20px;
    }

    .carousel-dots {
        bottom: 15px;
        gap: 8px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .project-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .quick-contact-links {
        flex-direction: column;
    }

    .quick-link {
        justify-content: center;
    }
}