/* ===================================
   PROJECT DETAILS PAGE STYLES
   Comprehensive styling for project details
   =================================== */

/* Hero Section */
.project-details-hero {
    position: relative;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    overflow: hidden;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat-x;
    opacity: 0.3;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.project-detail-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.project-detail-location {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Content Section */
.project-content-section {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
}

.project-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

/* Main Content */
.project-main-content {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

/* Gallery */
.project-gallery {
    margin-bottom: 3rem;
}

.main-project-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.main-project-image:hover {
    transform: scale(1.02);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    height: 120px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Description */
.project-description {
    margin-bottom: 3rem;
}

.project-description h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.project-description p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Features */
.project-features-section {
    margin-bottom: 3rem;
}

.project-features-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Specifications */
.project-specifications h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.spec-label {
    font-weight: 600;
    color: var(--primary-color);
}

.spec-value {
    color: var(--dark);
    font-weight: 500;
}

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--off-white);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

/* Inquiry Form */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inquiry-form .form-group {
    margin-bottom: 0;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--off-white);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn {
    padding: 0.875rem;
    background: var(--off-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.share-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* Related Projects */
.related-projects-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.related-projects-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* Responsive */
@media (max-width: 1024px) {
    .project-content-grid {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        order: 2;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-detail-title {
        font-size: 2.5rem;
    }

    .project-detail-location {
        font-size: 1.125rem;
    }

    .project-main-content {
        padding: 1.5rem;
    }

    .main-project-image {
        height: 300px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-details-hero {
        padding: 120px 0 60px;
    }

    .project-detail-title {
        font-size: 2rem;
    }

    .main-project-image {
        height: 250px;
    }

    .thumbnail {
        height: 80px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }
}