/* Explain: Styles for testimonials, gallery, calculator, and article typography. */
/* Müşteri yorumları */
.ng-stars {
    display: inline-flex;
    gap: 0.15rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.ng-avatar-initials {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
}

/* Proje galerisi */
.ng-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-strong-color);
    cursor: pointer;
}

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

.ng-gallery-item:hover img,
.ng-gallery-item:focus-visible img {
    transform: scale(1.06);
}

.ng-gallery-zoom {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(36, 16, 18, 0.72);
    color: #ffffff;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.ng-gallery-item:hover .ng-gallery-zoom,
.ng-gallery-item:focus-visible .ng-gallery-zoom {
    background: var(--primary-color);
}

/* Fotoğraf görüntüleyici */
.ng-lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(36, 16, 18, 0.93);
}

.ng-lightbox.is-open {
    display: flex;
}

.ng-lightbox-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    min-height: 8rem;
    max-width: min(100%, 64rem);
    max-height: 86vh;
}

.ng-lightbox-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 86vh;
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ng-lightbox-img.is-ready {
    opacity: 1;
}

.ng-lightbox-loader {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.75rem;
}

.ng-lightbox-loader.hidden {
    display: none;
}

.ng-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ng-lightbox-close:hover,
.ng-lightbox-close:focus-visible {
    background: var(--primary-color);
}

/* Fiyat hesaplama */
.ng-calc-panel {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
}

.ng-calc-result {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-strong-color);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .ng-calc-panel,
    .ng-calc-result {
        padding: 2rem;
    }
}

/* Blog yazı tipografisi */
.ng-article {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.ng-article > * + * {
    margin-top: 1rem;
}

.ng-article h2 {
    margin-top: 2.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-color);
}

.ng-article h3 {
    margin-top: 1.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.ng-article ul,
.ng-article ol {
    padding-left: 1.25rem;
}

.ng-article ul {
    list-style: disc;
}

.ng-article ol {
    list-style: decimal;
}

.ng-article li + li {
    margin-top: 0.4rem;
}

.ng-article strong {
    color: var(--text-color);
}

.ng-article a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}