/* --- PERGOLA CATALOG V2 --- */
.pergola-catalog-v2 {
    padding: 150px 0;
    background: #fff;
}

.catalog-header {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.v-tag { font-weight: 800; color: var(--primary-green); letter-spacing: 5px; font-size: 0.7rem; display: block; margin-bottom: 15px; }
.v-title { font-size: 4rem; font-weight: 950; color: #111; line-height: 0.9; }
.v-title span { color: var(--primary-green); font-weight: 300; font-style: italic; }
.v-desc { max-width: 400px; color: #888; line-height: 1.7; font-size: 0.95rem; }

/* Katalog Grid */
.pergola-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.p-model-card {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.4s var(--v-curve);
    display: flex;
    flex-direction: column;
}

.p-model-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

/* Görsel Alanı */
.p-frame {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.p-frame img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 1s var(--v-curve);
}

.p-model-card:hover .p-frame img { transform: scale(1.1); }

/* Teknik Özellikler (Resim Üstü) */
.p-tech-specs {
    position: absolute;
    bottom: 20px; left: 20px;
    display: flex; gap: 10px;
    opacity: 0; transform: translateY(10px);
    transition: 0.4s;
}

.p-model-card:hover .p-tech-specs { opacity: 1; transform: translateY(0); }

.p-tech-specs span {
    background: rgba(255,255,255,0.9);
    padding: 6px 12px; font-size: 0.65rem; font-weight: 800;
    color: #111; border-radius: 4px; display: flex; align-items: center; gap: 5px;
}

/* Detaylar Alanı */
.p-details {
    padding: 35px;
}

.p-title-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px;
}

.p-details h3 { font-size: 1.4rem; font-weight: 900; color: #111; }
.p-label { font-size: 0.6rem; font-weight: 900; background: #f4f4f4; padding: 4px 10px; border-radius: 20px; color: #888; }

.p-details p { color: #777; font-size: 0.9rem; line-height: 1.6; margin-bottom: 25px; }

.p-footer {
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    display: flex; justify-content: space-between; align-items: center;
}

.p-price-tag { font-size: 0.75rem; font-weight: 800; color: var(--primary-green); text-transform: uppercase; }

.p-arrow-link {
    width: 40px; height: 40px; border: 1px solid #eee;
    display: flex; align-items: center; justify-content: center;
    color: #111; border-radius: 50%; transition: 0.3s;
}

.p-model-card:hover .p-arrow-link {
    background: var(--primary-green); border-color: var(--primary-green); color: #fff;
}

/* --- MOBİL --- */
@media (max-width: 992px) {
    .pergola-grid { grid-template-columns: 1fr; }
    .catalog-header { flex-direction: column; align-items: flex-start; }
}


/* --- LIGHTBOX MODAL --- */
.vadi-lightbox {
    position: fixed;
    z-index: 10000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: zoom-out;
}

.vadi-lightbox.active { opacity: 1; display: flex; }

.vadi-lightbox img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.vadi-lightbox.active img { transform: scale(1); }

.v-close {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff; font-size: 40px;
    cursor: pointer; opacity: 0.5; transition: 0.3s;
}

.v-close:hover { opacity: 1; color: var(--primary-green); }

/* Büyüteç İkonu Stili */
.p-frame { cursor: zoom-in; position: relative; }
.p-zoom-hint {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; opacity: 0; transition: 0.3s;
}
.p-model-card:hover .p-zoom-hint { opacity: 1; }

/* --- AÇIKLAMA MODERNİZASYONU --- */
.v-desc-modern {
    max-width: 480px;
    position: relative;
    padding-left: 25px;
}

.v-divider {
    position: absolute;
    left: 0; top: 5px;
    width: 3px; height: 45px;
    background: var(--primary-green);
}

.v-desc-modern p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.v-desc-modern p i { color: var(--primary-green); margin-right: 8px; }
.v-desc-modern strong { color: #111; font-weight: 800; }

/* --- SLIDER LIGHTBOX --- */
.vadi-lightbox {
    position: fixed; z-index: 10000; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px); display: none; align-items: center; justify-content: center;
    opacity: 0; transition: 0.4s ease;
}

.vadi-lightbox.active { opacity: 1; display: flex; }

.v-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 60px; height: 60px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; transition: 0.3s; z-index: 10001;
}

.v-nav:hover { background: var(--primary-green); border-color: var(--primary-green); }
.v-nav.prev { left: 40px; }
.v-nav.next { right: 40px; }

#lightboxImg {
    max-width: 85%; max-height: 80%; object-fit: contain;
    transition: opacity 0.3s ease, transform 0.4s ease;
    transform: scale(0.9);
}

.vadi-lightbox.active #lightboxImg { transform: scale(1); }

/* Mobil Ok Ayarları */
@media (max-width: 768px) {
    .v-nav { width: 45px; height: 45px; bottom: 30px; top: auto; transform: none; }
    .v-nav.prev { left: 30%; }
    .v-nav.next { right: 30%; }
}