/* ==========================================================================
   Solid Medya — Sanal gerçeklik sayfası
   AR vitrini, fiyat paketleri ve sanal tur bölümlerinin şablondan ayırdığımız stillerini burada topluyoruz.
   ========================================================================== */

/* Sayfaya özel stiller: AR etkileşim ipucu */
.ar-interaction-hint {
    font-size: 13px;
    color: #ffd700;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    opacity: 0.8;
}

/* ========== AR vitrini bölümü ========== */
.ar-showcase-section {
    padding: 100px 0;
    background: #050505;
}

.ar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* İki sütunlu düzeni koruyoruz */
    gap: 30px;
    margin-top: 50px;
}

.ar-item {
    background: #0f0f0f;
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10; /* İki sütunda dikeyde iyi otursun diye en-boy oranını ayarlıyoruz */
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ar-item:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

/* AR içeriğine özel kapsamlı stiller */
.ar-content-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.ar-content-wrapper model-viewer {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

/* spin360 projesinin yerleşimini düzeltiyoruz */
.ar-content-wrapper .global-container,
.ar-content-wrapper .page-container {
    width: 100%;
    height: 100%;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.ar-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
    z-index: 10;
}

/* model-viewer varsayılanlarını projenin styles.css dosyasıyla eşliyoruz */
.ar-content-wrapper .Hotspot {
    background: #fff;
    border-radius: 32px;
    border: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    cursor: pointer;
    height: 24px;
    padding: 8px;
    position: relative;
    transition: opacity 0.3s;
    width: 24px;
}
.ar-content-wrapper .HotspotAnnotation {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family:
        Futura,
        Helvetica Neue,
        sans-serif;
    font-size: 14px;
    font-weight: 700;
    left: calc(100% + 1em);
    max-width: 128px;
    padding: 0.5em 1em;
    position: absolute;
    top: 50%;
    width: max-content;
    transform: translateY(-50%);
}
/* Masaüstünde AR açılmadığı için "Mekanda Gör" düğmesini yalnız mobil ve tablette gösteriyoruz */
@media (min-width: 1200px) {
    .ar-mobile-trigger {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .container-1430 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
    }
    .ar-showcase-section {
        overflow: hidden;
        padding: 50px 0 !important;
        background: #000;
    }
    .ar-grid {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .ar-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
        aspect-ratio: auto !important;
        height: auto !important;
        border-radius: 20px;
        background: #111;
        border: 1px solid rgba(255, 215, 0, 0.1);
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .ar-content-wrapper {
        aspect-ratio: 1/1;
        width: 100%;
        position: relative;
    }
    .ar-item-title {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        padding: 16px 20px !important;
        background: #1a1a1a !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: auto !important;
        z-index: 10 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .ar-item-title span {
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }
    .ar-mobile-trigger {
        background: #ffd700 !important;
        color: #000 !important;
        border: none !important;
        padding: 8px 16px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2) !important;
        cursor: pointer !important;
        white-space: nowrap !important;
    }
    .ar-interaction-hint {
        padding: 0 20px 15px !important;
        font-size: 10px !important;
        color: #666 !important;
        background: #1a1a1a !important;
        font-style: italic;
    }
}

/* Kendi tetikleyicimiz için varsayılan ar-button yuvasını gizliyoruz */
.ar-content-wrapper [slot='ar-button'] {
    display: none !important;
}

@media (max-width: 1199px) {
    .ar-interaction-hint {
        padding: 4px 20px 12px !important;
        font-size: 10px !important;
        color: #a6a6a6 !important;
        background: #1a1a1a !important;
    }
}

@media (max-width: 768px) {
    .web-section-title {
        font-size: 32px !important;
    }
    .web-hero-title {
        font-size: 36px !important;
    }
    .web-hero-subtitle {
        font-size: 1rem !important;
    }
    .ar-showcase-section {
        padding: 60px 0;
    }
}

/* ========== Fiyat paketleri bölümü ========== */
.ar-pricing-section {
    padding: 80px 0;
    background: #080808;
    position: relative;
}

.ar-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.ar-pricing-card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ar-pricing-card:hover {
    border-color: #ffd700;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.05);
}

.ar-pricing-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ar-pricing-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ar-pricing-price {
    font-size: 28px;
    font-weight: 800;
    color: #ffd700;
    font-family: var(--tp-ff-body);
}

.ar-pricing-price span {
    font-size: 14px;
    font-weight: 400;
    color: #888;
    margin-left: 5px;
}

.ar-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1; /* Düğmeyi kartın altına itiyoruz */
}

.ar-pricing-features li {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ar-pricing-features li i {
    color: #ffd700;
    font-size: 12px;
}

.ar-pricing-features li.disabled {
    color: #838383;
    text-decoration: line-through;
}

.ar-pricing-features li.disabled i {
    color: #444;
}

.ar-pricing-btn {
    margin-top: auto;
}

.web-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #ffd700;
    color: #ffd700;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.web-btn-outline:hover {
    background: #ffd700;
    color: #000;
}

@media (max-width: 1200px) {
    .ar-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ar-pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Sanal tur bölümü ========== */
.sanal-tur-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.sanal-tur-card {
    position: relative;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.sanal-tur-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.08);
}

.sanal-tur-embed-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.sanal-tur-embed-wrapper .embed-facade {
    height: 100%;
    min-height: 100%;
}

.sanal-tur-embed-wrapper iframe,
.sanal-tur-embed-wrapper .embed-facade__frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.sanal-tur-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.sanal-tur-label {
    padding: 16px 20px;
    background: #0a0a0a;
    font-family: var(--sm-font-display-bold);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: -0.3px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 991px) {
    .sanal-tur-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .sanal-tur-embed-wrapper {
        height: 300px;
    }
    .sanal-tur-label {
        font-size: 15px;
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .sanal-tur-grid {
        grid-template-columns: 1fr;
    }
    .sanal-tur-embed-wrapper {
        height: 280px;
    }
}

/* "Daha fazla sanal tur" — ek turları sanal-gerceklik-page.js ile assets/data/sanal-turlar.json'dan yüklüyoruz */
.sanal-tur-card.vr-card-enter {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s cubic-bezier(0.2, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}
.sanal-tur-card.vr-card-enter.is-in {
    opacity: 1;
    transform: none;
}
.web-design-service-page .vr-more-wrap {
    text-align: center;
    margin-top: 40px;
}
.web-design-service-page .vr-more-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--sm-font-ui);
}
.web-design-service-page .vr-more-button:hover,
.web-design-service-page .vr-more-button:focus-visible {
    background: #ffd700;
    color: #000;
}
.web-design-service-page .vr-more-button[aria-busy='true'] {
    cursor: progress;
    opacity: 0.75;
}
.web-design-service-page .vr-more-count {
    background: rgba(255, 215, 0, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
}
.web-design-service-page .vr-more-count::before {
    content: '+';
}
.web-design-service-page .vr-more-done {
    color: #999;
    font-size: 14px;
    margin-top: 20px;
}
.web-design-service-page .vr-more-done i {
    color: #ffd700;
}
.web-design-service-page .vr-more-error {
    color: #ff8a80;
    font-size: 14px;
    margin: 12px 0 0;
}

/* Şablondaki bileşen sınıfları (eski satır içi style="" değerlerini buraya taşıdık) */
.web-design-service-page .web-hero-subtitle.vr-lead-text {
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    line-height: 1.6;
}
.web-design-service-page .vr-tour-intro {
    text-align: center;
    color: #999;
    font-size: 16px;
    margin-bottom: 10px;
}
.web-design-service-page .vr-sub-lead {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
}
.web-design-service-page .vr-faq-band {
    padding: 100px 0;
}
.web-design-service-page .vr-faq-heading {
    font-size: 40px;
}
.web-design-service-page .vr-faq-note {
    color: #888;
}

@media (max-width: 768px) {
    .web-design-service-page .vr-faq-band {
        padding: 70px 0;
    }
    .web-design-service-page .vr-faq-heading {
        font-size: 30px;
    }
    .web-design-service-page .vr-more-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sanal-tur-card.vr-card-enter {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Başlık hiyerarşisi: detail-box başlığı h5 yerine h3.h5 (service-clone-layout.css'teki .detail-box h5 kuralının ikizi; görünüm aynı kalır) */
.detail-box h3.h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: normal;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-box h3.h5 i {
    color: #ffd700;
}
