/* PROJECT DETAIL STYLES - project-detail.css */

/* Dropdown Navigation Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    border: 1px solid rgba(197, 165, 114, 0.3);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 15px 20px;
    color: white !important;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: linear-gradient(90deg, rgba(197, 165, 114, 0.2) 0%, rgba(197, 165, 114, 0.1) 100%);
    color: #C5A572 !important;
    padding-left: 30px;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #C5A572;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-content a:hover::before {
    transform: scaleY(1);
}

/* Project Detail Hero */
.project-detail-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('/src/assets/home/jingga.png') center/cover no-repeat;
    height: 100vh;
    padding-top: 80px;
    position: relative;
}

.project-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(197, 165, 114, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.project-detail-hero .hero-content {
    position: relative;
    z-index: 2;
}

.project-detail-hero .hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.project-detail-hero .hero-text p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

/* Project Details Section */
.project-details-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    position: relative;
}

.project-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #C5A572 50%, transparent 100%);
}

.project-intro {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease;
}

.project-logo {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #C5A572 0%, #b8956a 100%);
    padding: 20px 30px;
    border-radius: 15px;
    color: white;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3);
    transition: transform 0.3s ease;
}

.project-logo:hover {
    transform: translateY(-5px);
}

.logo-icon-large {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #C5A572;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-intro h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #333;
    font-weight: 300;
    position: relative;
}

.project-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C5A572, #b8956a);
    border-radius: 2px;
}

.project-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Features Section */
.features-section {
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-left-color: #C5A572;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #C5A572 0%, #b8956a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(197, 165, 114, 0.3);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-content {
    flex: 1;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.feature-details {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C5A572, #b8956a);
}

.feature-details h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #C5A572;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.feature-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #C5A572;
}

.feature-details ul {
    list-style: none;
    margin-bottom: 35px;
}

.feature-details ul li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-details ul li:hover {
    color: #333;
}

.feature-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #C5A572;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Brochure Section */
.brochure-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 0;
    border-radius: 20px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.brochure-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent 0%, rgba(197, 165, 114, 0.05) 50%, transparent 100%);
    transform: rotate(15deg);
}

.brochure-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.brochure-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.brochure-info p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.download-btn {
    background: linear-gradient(135deg, #C5A572 0%, #b8956a 100%);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(197, 165, 114, 0.4);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(197, 165, 114, 0.5);
}

.download-btn:active {
    transform: translateY(-1px);
}

.download-btn i {
    font-size: 16px;
}

/* Project Gallery */
.project-gallery {
    padding: 60px 0;
    background: white;
}

.gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-grid-3 .gallery-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-grid-3 .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-grid-3 .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-3 .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-grid-3 .gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(197, 165, 114, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-grid-3 .gallery-item:hover::after {
    opacity: 1;
}

.gallery-more {
    text-align: center;
    position: relative;
}

.gallery-more h3 {
    font-size: 1.8rem;
    color: #333;
    font-weight: 300;
    position: relative;
    display: inline-block;
    padding: 25px 50px;
    border-top: 3px solid #C5A572;
    border-bottom: 3px solid #C5A572;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-column {
    animation: slideInLeft 0.8s ease 0.2s both;
}

.feature-details {
    animation: slideInRight 0.8s ease 0.4s both;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .features-grid {
        gap: 50px;
    }
    
    .project-detail-hero .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.9);
        box-shadow: none;
        display: none;
        border-radius: 0;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown.mobile-active .dropdown-content {
        display: block;
    }
    
    .project-detail-hero {
        height: 50vh;
        padding-top: 70px;
    }
    
    .project-detail-hero .hero-text h1 {
        font-size: 2rem;
    }
    
    .project-detail-hero .hero-text p {
        font-size: 1.1rem;
    }
    
    .project-details-section {
        padding: 60px 0;
    }
    
    .feature-column {
        gap: 25px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .feature-details {
        padding: 30px;
    }
    
    .brochure-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 0 20px;
    }
    
    .gallery-grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid-3 .gallery-item {
        height: 250px;
    }
    
    .project-intro h2 {
        font-size: 2.2rem;
    }
    
    .project-logo {
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .logo-icon-large {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .project-detail-hero {
        height: 45vh;
        padding-top: 60px;
    }
    
    .project-detail-hero .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .project-detail-hero .hero-text p {
        font-size: 1rem;
    }
    
    .project-details-section {
        padding: 40px 0;
    }
    
    .project-intro h2 {
        font-size: 1.8rem;
    }
    
    .project-intro p {
        font-size: 1rem;
    }
    
    .feature-column {
        gap: 20px;
    }
    
    .feature-item {
        padding: 15px;
        gap: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .feature-details {
        padding: 20px;
    }
    
    .feature-details h3 {
        font-size: 1.2rem;
    }
    
    .feature-details ul li {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .project-logo {
        padding: 12px 20px;
        font-size: 12px;
    }
    
    .logo-icon-large {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .download-btn {
        padding: 15px 25px;
        font-size: 12px;
    }
    
    .brochure-info h3 {
        font-size: 1.5rem;
    }
    
    .brochure-info p {
        font-size: 1rem;
    }
    
    .gallery-more h3 {
        font-size: 1.5rem;
        padding: 20px 30px;
    }
}