/* ========================================
   PIERCING.COM.TR — CUSTOM PAGES CSS
   Hakkımızda | SSS | İletişim
   ======================================== */

:root {
    --p-bg: #0f0f0f;
    --p-surface: #1a1a1a;
    --p-surface-2: #252525;
    --p-gold: #c9a86a;
    --p-gold-dim: rgba(201, 168, 106, 0.15);
    --p-text: #f5f5f5;
    --p-text-dim: #a8a29e;
    --p-border: rgba(255, 255, 255, 0.06);
    --p-max-width: 1100px;
    --p-radius: 16px;
    --p-gap: 24px;
}

/* ========================================
   KADENCE HEADING OVERRIDE (Tüm sayfalar)
   ======================================== */
.p-cta__title,
.p-section__title,
.p-hero__title,
.p-profile__name,
.p-timeline__item h4 {
    color: var(--p-text) !important;
    -webkit-text-fill-color: var(--p-text) !important;
}

.p-cta__desc,
.p-section__subtitle,
.p-hero__desc,
.p-profile__bio,
.p-timeline__item p {
    color: var(--p-text-dim) !important;
    -webkit-text-fill-color: var(--p-text-dim) !important;
}

/* ========================================
   BASE
   ======================================== */
.p-page {
    background: var(--p-bg);
    color: var(--p-text);
    line-height: 1.7;
    padding-bottom: 80px;
}

.p-page * {
    box-sizing: border-box;
}

.p-container {
    max-width: var(--p-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HERO
   ======================================== */
.p-hero {
    text-align: center;
    padding: 100px 24px 60px;
    background: linear-gradient(180deg, var(--p-surface) 0%, var(--p-bg) 100%);
    border-bottom: 1px solid var(--p-border);
}

.p-hero__label {
    display: inline-block;
    color: var(--p-gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.p-hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
}

.p-hero__desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.p-hero__desc a {
    color: var(--p-gold);
}

/* ========================================
   SECTIONS
   ======================================== */
.p-section {
    padding: 80px 0;
}

.p-section--alt {
    background: var(--p-surface);
}

.p-section--tight {
    padding: 0 0 60px;
}

.p-section__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-align: center;
    margin-bottom: 48px;
}

.p-section__subtitle {
    text-align: center;
    color: var(--p-text-dim);
    margin-top: -32px;
    margin-bottom: 48px;
    font-size: 1rem;
}

/* ========================================
   GRID
   ======================================== */
.p-grid {
    display: grid;
    gap: var(--p-gap);
}

.p-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.p-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .p-grid--2,
    .p-grid--3 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CARDS (Hakkımızda)
   ======================================== */
.p-card {
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    padding: 40px 32px;
    transition: border-color 0.3s ease;
}

.p-card:hover {
    border-color: var(--p-gold-dim);
}

.p-card__icon {
    color: var(--p-gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.p-card__title {
    font-size: 1.25rem;
    margin: 0 0 14px;
}

.p-card__text {
    color: var(--p-text-dim);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
}

.p-card__text strong {
    color: var(--p-text);
}

/* ========================================
   TIMELINE (Hakkımızda)
   ======================================== */
.p-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.p-timeline__item {
    position: relative;
    padding-left: 56px;
}

.p-timeline__num {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--p-gold);
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.5;
    line-height: 1;
}

.p-timeline__item h4 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 600;
}

.p-timeline__item p {
    margin: 0;
    color: var(--p-text-dim);
    font-size: 1rem;
    line-height: 1.9;
}

/* ========================================
   PROFILE (Hakkımızda)
   ======================================== */
.p-profile {
    background: var(--p-surface);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    padding: 48px 40px;
    text-align: left;
    transition: border-color 0.3s ease;
}

.p-profile:hover {
    border-color: var(--p-gold-dim);
}

.p-profile__role {
    display: inline-block;
    color: var(--p-gold);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.p-profile__name {
    font-size: 1.5rem;
    margin: 0 0 18px;
    font-weight: 700;
    line-height: 1.2;
}

.p-profile__bio {
    margin: 0;
    color: var(--p-text-dim);
    font-size: 0.95rem;
    line-height: 1.85;
    max-width: 420px;
}

/* ========================================
   CTA (Tüm sayfalar)
   ======================================== */
.p-cta {
    text-align: center;
    padding: 100px 24px;
    background: var(--p-surface);
    border-top: 1px solid var(--p-border);
    border-bottom: 1px solid var(--p-border);
    position: relative;
}

.p-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--p-gold);
    opacity: 0.3;
}

.p-cta__label {
    display: inline-block;
    color: var(--p-gold);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.p-cta__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin: 0 auto 16px;
    max-width: 720px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.p-cta__desc {
    max-width: 560px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.p-cta--final {
    padding: 120px 24px;
}

.p-cta--final .p-cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 640px;
}

.p-cta--final .p-cta__desc {
    font-size: 1.1rem;
    max-width: 520px;
    opacity: 0.95;
}

/* ========================================
   BUTTONS
   ======================================== */
.p-btn {
    display: inline-block;
    padding: 18px 44px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.p-btn--primary {
    background: var(--p-gold);
    color: #0f0f0f;
}

.p-btn--primary:hover {
    background: #d4b47a;
    transform: translateY(-2px);
}

.p-btn--outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: transparent;
    color: var(--p-gold);
    border: 1.5px solid rgba(201, 168, 106, 0.4);
}

.p-btn--outline:hover {
    background: rgba(201, 168, 106, 0.08);
    border-color: var(--p-gold);
    color: #d4b47a;
}

.p-btn--full {
    width: 100%;
    margin-top: 8px;
}

/* ========================================
   SSS — FAQ ACCORDION
   ======================================== */
.p-container--narrow {
    max-width: 800px;
}

.p-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-faq__item {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.p-faq__item:hover {
    border-color: rgba(201, 168, 106, 0.2);
}

.p-faq__item.is-open {
    background: #1e1e1e;
    border-color: rgba(201, 168, 106, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(201, 168, 106, 0.05);
}

/* SSS Kadence Killer */
body.page-id-155 .p-faq__question,
body.page-id-155 .p-faq__question:hover,
body.page-id-155 .p-faq__question:focus,
body.page-id-155 .p-faq__question:focus-visible,
body.page-id-155 .p-faq__question:active,
body.page-id-155 .p-faq__question[aria-expanded="true"],
body.page-id-155 .p-faq__question[aria-expanded="true"]:hover,
body.page-id-155 .p-faq__question[aria-expanded="true"]:focus,
body.page-id-155 .p-faq__item.is-open .p-faq__question,
body.page-id-155 .p-faq__item.is-open .p-faq__question:hover,
body.page-id-155 .p-faq__item.is-open .p-faq__question:focus,
body.page-id-155 .p-faq__item.is-open .p-faq__question:active {
    all: unset !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 26px 28px !important;
    gap: 20px !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    color: #f5f5f5 !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    font-family: inherit !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

body.page-id-155 .p-faq__question:focus,
body.page-id-155 .p-faq__question:focus-visible {
    outline: 2px solid rgba(201, 168, 106, 0.3) !important;
    outline-offset: -2px !important;
    border-radius: 12px !important;
}

.p-faq__question-text {
    flex: 1;
    padding-right: 8px;
}

.p-faq__icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-faq__icon::before,
.p-faq__icon::after {
    content: '';
    position: absolute;
    background: var(--p-gold);
    transition: all 0.3s ease;
}

.p-faq__icon::before {
    width: 2px;
    height: 14px;
}

.p-faq__icon::after {
    width: 14px;
    height: 2px;
}

.p-faq__item.is-open .p-faq__icon::before {
    transform: rotate(90deg);
    opacity: 0;
}

.p-faq__item.is-open .p-faq__icon::after {
    transform: rotate(180deg);
}

.p-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.p-faq__item.is-open .p-faq__answer {
    max-height: 600px;
}

.p-faq__answer-inner {
    padding: 0 28px 28px;
}

.p-faq__answer-inner p {
    margin: 0 0 14px;
    color: var(--p-text-dim);
    font-size: 0.95rem;
    line-height: 1.85;
}

.p-faq__answer-inner p:last-child {
    margin-bottom: 0;
}

.p-faq__answer-inner ul {
    margin: 0 0 14px;
    padding-left: 24px;
    color: var(--p-text-dim);
    font-size: 0.95rem;
    line-height: 1.85;
}

.p-faq__answer-inner li {
    margin-bottom: 6px;
}

.p-faq__answer-inner a {
    color: var(--p-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(201, 168, 106, 0.4);
    transition: text-decoration-color 0.3s ease;
}

.p-faq__answer-inner a:hover {
    text-decoration-color: var(--p-gold);
}

.p-faq__answer-inner strong {
    color: var(--p-text);
    font-weight: 600;
}

.p-form-v2__field textarea {
    padding-top: 22px;
    resize: vertical;
    min-height: 120px;
}

.p-form-v2__field input:focus,
.p-form-v2__field select:focus,
.p-form-v2__field textarea:focus {
    border-color: rgba(201, 168, 106, 0.4);
}

.p-form-v2__field label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: #666;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

.p-form-v2__field input:focus+label,
.p-form-v2__field input:not(:placeholder-shown)+label,
.p-form-v2__field textarea:focus+label,
.p-form-v2__field textarea:not(:placeholder-shown)+label {
    top: 6px;
    font-size: 0.7rem;
    color: #c9a86a;
    letter-spacing: 0.05em;
}

.p-form-v2__label--static {
    top: 6px !important;
    font-size: 0.7rem !important;
    color: #c9a86a !important;
    letter-spacing: 0.05em !important;
}

.p-form-v2__field select {
    padding-top: 20px;
    padding-bottom: 8px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a86a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.p-form-v2__field--full {
    grid-column: 1 / -1;
}

/* Harita V2 */
.p-map-v2 {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1100px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.p-map-v2__frame {
    width: 100%;
    height: 100%;
}

.p-map-v2__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.p-map-v2__overlay {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

@media (max-width: 768px) {
    .p-map-v2 {
        height: 360px;
        border-radius: 0;
        width: 100%;
        margin: 0;
    }
}
