/* Shared base styles for the legacy "mockup" theme family (Classic, ContactCard, Irena)
   and cross-theme utilities. Per-profile dynamic values (accent color, font family,
   background image) are injected via a small inline <style> block per request. */

body {
    background: #f1f5f9;
    margin: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* -- Phone container -- */
.public-container {
    width: 100%; max-width: 440px; min-height: 100vh;
    background-color: var(--bg-color);
    position: relative; overflow-x: hidden; display: flex; flex-direction: column;
}
.bg-video {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%);
    width: 440px; height: 100%; object-fit: cover; z-index: 0;
}
.public-container > *:not(.bg-video) { position: relative; z-index: 1; }

.gl-footer { text-align:center; display:flex; justify-content:center; padding-top:20px; border-top:1px solid #f1f5f9; margin-top:8px; }
.gl-footer a { display:inline-block; }
.gl-footer img { height:30px; width:auto; max-width:160px; object-fit:contain; opacity:1; }

@media (min-width: 500px) {
    body { padding: 40px 0; }
    .public-container {
        min-height: 840px; height: auto;
        border-radius: 40px;
        border: 12px solid #e2e8f0;
        box-shadow: inset 0 0 0 2px #cbd5e1, 0 40px 80px -20px rgba(0,0,0,0.18);
    }
}

/* -- Header wave -- */
.mockup-header-wave {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    height: 200px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    opacity: 0.95;
    overflow: hidden;
    width: 100%;
}
.mockup-cover {
    height: 100%; width: 100%; object-fit: cover;
    opacity: 1; mix-blend-mode: normal;
}

/* -- Avatar -- */
.mockup-avatar-wrapper {
    margin-top: -65px;
    display: flex; justify-content: center;
    position: relative; z-index: 10;
}
.mockup-avatar {
    width: 130px; height: 130px; border-radius: 50%;
    border: 6px solid var(--avatar-ring, #ffffff);
    background: #fff; object-fit: cover;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.07);
}

/* -- Bottom sheet -- */
.mockup-bottom-sheet {
    background-color: #ffffff;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    flex-grow: 1;
    padding: 2.5rem 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.03);
    position: relative; z-index: 20;
}

/* -- Quick-action squircle buttons -- */
.mockup-squircle-btn {
    aspect-ratio: 1;
    border-radius: 20px;
    border: 1.5px solid var(--primary-color);
    background: #ffffff;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
}
.mockup-squircle-btn:hover  { background: #f8fafc; transform: translateY(-2px); }
.mockup-squircle-btn:active { transform: scale(0.95); }

/* -- Info cards (links / contact) -- */
.mockup-info-card {
    border-radius: 16px;
    border: 1.5px solid var(--primary-color);
    background: #ffffff;
    padding: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.mockup-info-card:hover { transform: translateY(-1px); }

/* Services ("Hizmetler") always render as a fixed single-column list, independent of the
   link-layout (.layout-trowbox/.layout-classic/.layout-minimal) grid/card overrides below,
   which are meant only for the "Bağlantılar" link grid. */
.mockup-service-grid { grid-template-columns: repeat(1, minmax(0,1fr)); }
.mockup-service-card {
    border-radius: 16px;
    border: 1.5px solid var(--primary-color);
    background: #ffffff;
    padding: 10px;
    transition: all 0.2s ease;
}
.mockup-service-card:hover { transform: translateY(-1px); }

.mockup-info-icon-box {
    border-radius: 12px;
    background: var(--primary-color);
    color: #ffffff;
}
.mockup-info-icon-box i { color: #fff; }

/* -- Section headers -- */
.mockup-section-header {
    font-size: 17px; font-weight: 800; color: var(--text-color, #0f172a);
    margin-bottom: 20px; padding: 0 4px;
    display: flex; align-items: center; gap: 8px;
}

/* -- Layout variants -- */
.layout-trowbox .mockup-links-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

.layout-classic .mockup-links-grid { grid-template-columns: repeat(1, minmax(0,1fr)); }
.layout-classic .mockup-info-card  { padding: 12px 16px; }

.layout-minimal .mockup-links-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.layout-minimal .mockup-info-card {
    border: none; padding: 0; background: transparent;
    width: 72px;
}
.layout-minimal .mockup-info-card span { font-size: 11px; text-align: center; font-weight: 700; color: #1e293b; }
.layout-minimal .mockup-info-icon-box { width: 56px; height: 56px; border-radius: 18px; }
.layout-minimal .mockup-info-icon-box i { font-size: 22px; }

.line-clamp-3 {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
