/* ==============================================================
   SINGLE PROJECT PAGE - PREMIUM HERO & SPECS STYLES
   Only styling the hero section and sidebar specs card
============================================================== */

/* Premium Hero Section - New Layout */
.project-hero-section {
    padding: 80px 0;
    background: var(--gray-lighter);
    margin: 40px auto;
    border-radius: 20px;
    max-width: 1340px;
}

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

.project-hero-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0;
}

.project-meta-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.type-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: rgba(180, 138, 71, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    border: 1px solid rgba(180, 138, 71, 0.2);
}

.address-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.address-info svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-light);
    opacity: 0.7;
}

.project-hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Stats Without Icons - Increased Spacing */
.project-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

.stat-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

.stat-text strong {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Hero Right Side - Image */
.project-hero-right {
    position: relative;
}

.project-hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

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

.project-hero-image:hover img {
    transform: scale(1.02);
}

/* Premium Sidebar Specs Card */
.sidebar-card.project-specs-card {
    background: var(--gray-lighter);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-light);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 2;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Project Specifications */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    flex: 1;
}

.spec-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

/* Related Projects Section - Same as Homepage */
.related-projects-section {
    padding: 80px 0;
    background: var(--gray-lighter);
    margin: 40px auto;
    border-radius: 20px;
    max-width: 1340px;
}

.related-projects-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.related-projects-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Projects Footer with View All Button */
.projects-footer {
    margin-top: 50px;
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 53, 113, 0.3);
    border: none;
    cursor: pointer;
}

.view-all-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 53, 113, 0.4);
}

.view-all-btn svg {
    transition: transform 0.3s ease;
}

.view-all-btn:hover svg {
    transform: translateX(4px);
}

/* Single Project Main Content Layout */
.single-project-content {
    padding: 80px 0;
    background: var(--white);
}

.single-project-content-container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Project Main Content Area */
.project-main-content {
    background: var(--white);
}

.project-excerpt,
.project-description,
.project-additional-info {
    margin-bottom: 40px;
}

.project-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    font-weight: 500;
    padding: 24px;
    background: var(--gray-lighter);
    border-radius: 16px;
    border-left: 4px solid var(--secondary-color);
}

.project-description h2,
.project-additional-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.project-description p,
.project-additional-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Project Gallery Grid */
.project-gallery-section {
    margin-bottom: 50px;
}

.project-gallery-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 30px 0;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    background: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Project Video Section */
.project-video-section {
    margin-bottom: 50px;
}

.project-video-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 30px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-light);
    box-shadow: var(--shadow-md);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.video-info {
    margin-top: 20px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.video-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Project Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
}

/* CTA Widget - Match Details Card Style */
.sidebar-widget.cta-widget {
    background: var(--gray-lighter);
    border-radius: 20px;
    padding: 30px;
}

.sidebar-widget.cta-widget h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 16px 0;
}

.sidebar-widget.cta-widget p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.sidebar-widget.cta-widget .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-widget.cta-widget .btn.btn-block {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-widget.cta-widget .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.sidebar-widget.cta-widget .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 53, 113, 0.25);
}

.sidebar-widget.cta-widget .btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
}

.sidebar-widget.cta-widget .btn-secondary:hover {
    background: color-mix(in srgb, var(--secondary-color) 85%, black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 138, 71, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-hero-right {
        order: -1;
    }
    
    .project-hero-image {
        height: 400px;
    }
    
    /* Single Project Layout Responsive */
    .project-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-sidebar {
        position: static;
        order: 2;
    }
    
    .project-main-content {
        order: 1;
    }
    
    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .project-hero-section {
        padding: 50px 0;
        margin: 20px auto;
        border-radius: 16px;
    }
    
    .project-hero-content {
        gap: 32px;
    }
    
    .project-hero-title {
        font-size: 2.5rem;
    }
    
    .project-hero-image {
        height: 300px;
    }
    
    .stat-item {
        padding: 6px 0;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .sidebar-card.project-specs-card {
        padding: 24px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .related-projects-section {
        padding: 50px 0;
    }
    
    .related-projects-section .section-title {
        font-size: 2rem;
    }
    
    .projects-footer {
        margin-top: 40px;
    }
    
    .view-all-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Single Project Mobile */
    .single-project-content {
        padding: 50px 0;
    }
    
    .single-project-content-container {
        padding: 0 15px;
    }
    
    .project-content-grid {
        gap: 30px;
    }
    
    .project-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .project-gallery-grid .gallery-item {
        width: 100%;
        max-width: 100%;
        height: 200px;
        aspect-ratio: unset;
    }
    
    .project-gallery-grid .gallery-item img {
        width: 100%;
        max-width: 100%;
    }
    
    .project-description h2,
    .project-additional-info h2,
    .project-gallery-section h2,
    .project-video-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-hero-section {
        padding: 40px 0;
        margin: 15px auto;
    }
    
    .project-hero-title {
        font-size: 2rem;
    }
    
    .project-hero-description {
        font-size: 1rem;
    }
    
    .project-hero-stats {
        gap: 10px;
        margin-top: 16px;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .type-label {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    
    .address-info {
        font-size: 0.8rem;
    }
    
    .project-hero-image {
        height: 250px;
        border-radius: 12px;
    }
    
    .sidebar-card.project-specs-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    /* Single Project Very Small Mobile */
    .project-gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .project-gallery-grid .gallery-item {
        width: 100%;
        max-width: 100%;
        height: 180px;
        aspect-ratio: unset;
    }
    
    .project-gallery-grid .gallery-item img {
        width: 100%;
        max-width: 100%;
    }
    
    .project-excerpt {
        padding: 16px;
        font-size: 1rem;
    }
    
    .video-wrapper {
        border-radius: 12px;
    }
}