/* Import Google Fonts - Consistent with site */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Base Styles */
.bv-project-showcase {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative !important;
}

.bv-project-showcase section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.bv-project-showcase .bv-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Typography */
.bv-project-showcase h1,
.bv-project-showcase h2,
.bv-project-showcase h3,
.bv-project-showcase h4 {
    font-family: 'Lora', serif !important;
}

.bv-project-showcase p,
.bv-project-showcase span,
.bv-project-showcase div {
    font-family: 'Montserrat', sans-serif !important;
}

/* Project Header Section */
.bv-project-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 80px 0;
    border-bottom: 1px solid #e9ecef;
}

.bv-header-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.bv-project-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #125849, #1a7a62);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(18, 88, 73, 0.2);
}

.bv-project-title {
    font-family: 'Lora', serif !important;
    font-size: 3.5rem;
    font-weight: 600;
    color: #125849;
    line-height: 1.2;
    margin: 20px 0 30px;
    letter-spacing: -0.5px;
}

.bv-project-description {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
}

.bv-project-description p {
    margin-bottom: 15px;
}

/* Section Headers */
.bv-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.bv-section-title {
    font-family: 'Lora', serif !important;
    font-size: 2.8rem;
    font-weight: 600;
    color: #125849;
    margin-bottom: 15px;
    line-height: 1.2;
}

.bv-section-title .bv-italic {
    font-style: italic;
    font-weight: 400;
}

.bv-section-subtitle {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.bv-phase-number-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(18, 88, 73, 0.1);
    color: #125849;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    margin-top: 10px;
    border: 2px solid #125849;
}

.bv-tower-instruction {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

/* Current Phase Section */
.bv-current-phase-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Towers Grid */
.bv-towers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.bv-tower-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bv-tower-card.no-images {
    opacity: 0.6;
    background: #f8f9fa;
}

.bv-tower-card.has-images {
    cursor: pointer;
    border-color: #125849;
}

.bv-tower-card.has-images:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(18, 88, 73, 0.15);
    border-color: #125849;
    background: linear-gradient(135deg, #f0f9f7 0%, #ffffff 100%);
}

.bv-tower-card.highlight {
    border-color: #125849;
    border-width: 3px;
    background: linear-gradient(135deg, #e7f5f2 0%, #ffffff 100%);
}

.bv-tower-icon {
    font-size: 3rem;
    color: #125849;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.bv-tower-card.has-images:hover .bv-tower-icon {
    transform: scale(1.1);
    color: #1a7a62;
}

.bv-tower-card.no-images .bv-tower-icon {
    color: #ccc;
}

.bv-tower-title {
    font-family: 'Lora', serif !important;
    font-size: 1.8rem;
    font-weight: 600;
    color: #125849;
    margin: 10px 0;
}

.bv-tower-card.no-images .bv-tower-title {
    color: #999;
}

.bv-tower-count {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0 15px;
    font-weight: 500;
}

.bv-tower-no-images {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0;
    font-weight: 600;
}

.bv-tower-btn {
    background: linear-gradient(135deg, #125849, #1a7a62);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(18, 88, 73, 0.2);
}

.bv-tower-btn:hover {
    background: linear-gradient(135deg, #0d4032, #125849);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 88, 73, 0.3);
}

/* Modal Styles */
.bv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.bv-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bv-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bv-modal-header {
    padding: 30px 40px;
    border-bottom: 2px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.bv-modal-title {
    font-family: 'Lora', serif !important;
    font-size: 2rem;
    font-weight: 600;
    color: #125849;
    margin: 0 0 10px 0;
}

.bv-modal-phase {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.bv-modal-body {
    position: relative;
    padding: 0;
    background: #000;
}

.bv-slider-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.bv-slider-track {
    display: flex;
    height: 100%;
    position: relative;
}

.bv-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000;
}

.bv-slide.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.bv-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bv-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #125849;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bv-slider-nav:hover:not(:disabled) {
    background: #125849;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.bv-slider-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.bv-slider-prev {
    left: 20px;
}

.bv-slider-next {
    right: 20px;
}

.bv-modal-footer {
    padding: 25px 40px;
    border-top: 2px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bv-slider-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bv-dot:hover {
    background: #999;
    transform: scale(1.2);
}

.bv-dot.active {
    background: #125849;
    width: 30px;
    border-radius: 5px;
}

.bv-slider-counter {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    margin: 0;
}

/* Phase Gallery (Original - Preserved) */
.bv-phase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.bv-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
}

.bv-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.bv-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bv-gallery-item:hover img {
    transform: scale(1.05);
}

/* No Images Placeholder */
.bv-no-images {
    text-align: center;
    padding: 60px 40px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 40px;
}

.bv-no-images i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.bv-no-images p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem;
    color: #888;
}

/* Phase Video */
.bv-phase-video-wrapper {
    margin-top: 60px;
}

.bv-video-title {
    font-family: 'Lora', serif !important;
    font-size: 1.8rem;
    color: #125849;
    text-align: center;
    margin-bottom: 30px;
}

.bv-phase-video {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.bv-phase-video iframe {
    width: 100%;
    height: 500px;
    display: block;
}

.bv-video-player {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
}

/* No Phase Message */
.bv-no-phase-message {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.bv-no-phase-message i {
    font-size: 3rem;
    color: #125849;
    margin-bottom: 20px;
}

.bv-no-phase-message p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Upcoming Phases Section */
.bv-upcoming-phases-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bv-phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Phase Card */
.bv-phase-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.bv-phase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.bv-phase-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.bv-phase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bv-phase-card:hover .bv-phase-image img {
    transform: scale(1.1);
}

/* Phase Placeholder */
.bv-phase-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    color: #125849;
}

.bv-phase-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.6;
}

.bv-phase-placeholder span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Phase Badge */
.bv-phase-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 18px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.bv-phase-badge.upcoming {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
}

.bv-phase-badge.completed {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
}

.bv-phase-badge.future {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    color: white;
}

/* Phase Info */
.bv-phase-info {
    padding: 25px;
}

.bv-phase-title {
    font-family: 'Lora', serif !important;
    font-size: 1.8rem;
    font-weight: 600;
    color: #125849;
    margin-bottom: 10px;
}

.bv-phase-name {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.bv-phase-excerpt {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #777;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .bv-project-showcase .bv-container {
        padding: 0 30px !important;
    }
    
    .bv-project-title {
        font-size: 3rem;
    }
    
    .bv-section-title {
        font-size: 2.4rem;
    }
    
    .bv-towers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .bv-towers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .bv-modal-content {
        width: 100%;
    }
    
    .bv-slider-container {
        height: 400px;
    }
    
    .bv-modal-header {
        padding: 25px 30px;
    }
    
    .bv-modal-footer {
        padding: 20px 30px;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .bv-project-showcase .bv-container {
        padding: 0 20px !important;
    }
    
    .bv-project-header {
        padding: 60px 0;
    }
    
    .bv-project-title {
        font-size: 2.2rem;
    }
    
    .bv-project-description {
        font-size: 1rem;
    }
    
    .bv-section-title {
        font-size: 2rem;
    }
    
    .bv-section-subtitle {
        font-size: 1rem;
    }
    
    .bv-current-phase-section,
    .bv-upcoming-phases-section {
        padding: 60px 0;
    }
    
    .bv-towers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .bv-tower-card {
        padding: 25px 15px;
    }
    
    .bv-tower-icon {
        font-size: 2.5rem;
    }
    
    .bv-tower-title {
        font-size: 1.5rem;
    }
    
    .bv-tower-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
    
    .bv-phase-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bv-phases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bv-phase-video iframe {
        height: 350px;
    }
    
    .bv-phase-title {
        font-size: 1.5rem;
    }
    
    .bv-video-title {
        font-size: 1.5rem;
    }
    
    .bv-slider-container {
        height: 300px;
    }
    
    .bv-modal-header {
        padding: 20px;
    }
    
    .bv-modal-title {
        font-size: 1.5rem;
    }
    
    .bv-modal-footer {
        padding: 15px 20px;
    }
    
    .bv-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .bv-slider-prev {
        left: 10px;
    }
    
    .bv-slider-next {
        right: 10px;
    }
    
    .bv-modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .bv-project-title {
        font-size: 1.8rem;
    }
    
    .bv-section-title {
        font-size: 1.6rem;
    }
    
    .bv-project-label {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    
    .bv-phase-number-badge {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .bv-towers-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bv-tower-card {
        padding: 20px 15px;
    }
    
    .bv-phase-video iframe {
        height: 250px;
    }
    
    .bv-slider-container {
        height: 250px;
    }
    
    .bv-modal-content {
        border-radius: 12px;
        margin-top: 6rem !important;
    }
    
    .bv-slider-dots {
        gap: 6px;
    }
    
    .bv-dot {
        width: 8px;
        height: 8px;
    }
    
    .bv-dot.active {
        width: 24px;
    }
    
    .bv-slider-counter {
        font-size: 0.9rem;
    }
}

/* Animation for cards on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bv-phase-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.bv-phase-card:nth-child(1) { animation-delay: 0.1s; }
.bv-phase-card:nth-child(2) { animation-delay: 0.2s; }
.bv-phase-card:nth-child(3) { animation-delay: 0.3s; }
.bv-phase-card:nth-child(4) { animation-delay: 0.4s; }
.bv-phase-card:nth-child(5) { animation-delay: 0.5s; }

/* Gallery item animation */
.bv-gallery-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.bv-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.bv-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.bv-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.bv-gallery-item:nth-child(4) { animation-delay: 0.4s; }

/* Tower card animation */
.bv-tower-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.bv-tower-card:nth-child(1) { animation-delay: 0.1s; }
.bv-tower-card:nth-child(2) { animation-delay: 0.15s; }
.bv-tower-card:nth-child(3) { animation-delay: 0.2s; }
.bv-tower-card:nth-child(4) { animation-delay: 0.25s; }
.bv-tower-card:nth-child(5) { animation-delay: 0.3s; }
.bv-tower-card:nth-child(6) { animation-delay: 0.35s; }
.bv-tower-card:nth-child(7) { animation-delay: 0.4s; }
.bv-tower-card:nth-child(8) { animation-delay: 0.45s; }