@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* Navbar / footer — teklif sayfasıyla aynı koyu tema */
body.randevu-page-active {
    padding-top: 0;
    background: #0a0a0a;
}

body.randevu-page-active .navbar {
    background-color: rgba(10, 10, 10, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.randevu-page-active .navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.97);
}

body.randevu-page-active .nav-link {
    color: #f8fafc !important;
}

body.randevu-page-active .navbar-brand img {
    filter: brightness(0) invert(1);
}

body.randevu-page-active .footer {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.randevu-page-active .mobile-bottom-nav {
    background: #141414;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.randevu-page-active .bottom-nav-item {
    color: #8b93a0;
}

body.randevu-page-active .bottom-nav-item.active,
body.randevu-page-active .bottom-nav-item:hover {
    color: #e31e24;
}

body.randevu-page-active .bottom-nav-fab {
    background: #e31e24;
    border-color: #0a0a0a;
    box-shadow: 0 10px 28px rgba(227, 30, 36, 0.4);
    color: #fff;
}

.rv-page {
    --g44-red: #e31e24;
    --g44-dark: #0a0a0a;
    --g44-surface: #111111;
    --g44-surface-2: #1a1a1a;
    --g44-border: rgba(255, 255, 255, 0.08);
    --g44-text: #f8fafc;
    --g44-muted: #94a3b8;
    font-family: 'Outfit', sans-serif;
    color: var(--g44-text);
    background: var(--g44-dark);
    overflow-x: hidden;
}

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

@keyframes rvFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rvPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* —— Hero —— */
.rv-hero {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: -80px;
    padding: 120px 0 56px;
    background: #0a0a0a;
}

.rv-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #121212;
    background-image: var(--rv-hero-img);
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.04);
}

.rv-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.55) 45%, rgba(8, 8, 8, 0.94) 100%),
        linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.35) 55%, rgba(8, 8, 8, 0.2) 100%),
        radial-gradient(ellipse 70% 60% at 80% 30%, rgba(227, 30, 36, 0.16), transparent 60%);
    pointer-events: none;
}

.rv-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    animation: rvFadeUp 0.85s ease both;
}

.rv-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--g44-border);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--g44-muted);
    margin-bottom: 22px;
}

.rv-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--g44-red);
    animation: rvPulse 2s infinite;
}

.rv-brand {
    margin: 0 0 14px;
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.rv-brand span {
    color: var(--g44-red);
}

.rv-rule {
    display: block;
    width: 64px;
    height: 3px;
    background: var(--g44-red);
    margin-bottom: 20px;
}

.rv-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.rv-lead {
    margin: 0;
    max-width: 34rem;
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

/* —— Form —— */
.rv-form-section {
    position: relative;
    z-index: 2;
    padding: 0 0 100px;
    margin-top: -28px;
}

.rv-card {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(180deg, #151515 0%, #111111 100%);
    border: 1px solid var(--g44-border);
    border-radius: 22px;
    padding: 1.6rem 1.35rem 1.85rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    animation: rvFadeUp 0.9s 0.12s ease both;
}

@media (min-width: 768px) {
    .rv-card {
        padding: 2.1rem 2.35rem 2.35rem;
    }
}

.rv-card__head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--g44-border);
}

.rv-card__head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.rv-card__head p {
    margin: 0;
    color: var(--g44-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.rv-alert {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.rv-alert--ok {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.rv-alert--err {
    background: rgba(227, 30, 36, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(227, 30, 36, 0.35);
}

.rv-field {
    margin-bottom: 1.15rem;
}

.rv-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    color: rgba(248, 250, 252, 0.88);
}

.rv-field label span {
    color: var(--g44-red);
}

.rv-optional {
    color: var(--g44-muted) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.rv-field input,
.rv-field select,
.rv-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: #0f0f0f;
    color: var(--g44-text);
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.rv-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.rv-field select option {
    background: #111;
    color: #f8fafc;
}

.rv-field input::placeholder,
.rv-field textarea::placeholder {
    color: #64748b;
}

.rv-field input:focus,
.rv-field select:focus,
.rv-field textarea:focus {
    outline: none;
    border-color: rgba(227, 30, 36, 0.55);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.16);
    background: #121212;
}

.rv-field textarea {
    resize: vertical;
    min-height: 120px;
}

.rv-grid-2 {
    display: grid;
    gap: 0 1rem;
}

@media (min-width: 700px) {
    .rv-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Operation chips */
.rv-ops {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 700px) {
    .rv-ops {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rv-op {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.rv-op input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rv-op span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 10px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f0f0f;
    color: var(--g44-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
    transition: all 0.2s ease;
}

.rv-op:hover span {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.rv-op input:checked + span {
    border-color: var(--g44-red);
    background: rgba(227, 30, 36, 0.12);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(227, 30, 36, 0.25);
}

.rv-upload {
    position: relative;
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: #0f0f0f;
    min-height: 130px;
    overflow: hidden;
    transition: border-color .2s, background .2s;
}

.rv-upload:hover {
    border-color: rgba(227, 30, 36, 0.45);
    background: #121212;
}

.rv-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.rv-upload__ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 130px;
    padding: 1.1rem;
    text-align: center;
    color: var(--g44-muted);
    pointer-events: none;
}

.rv-upload__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    background: rgba(227, 30, 36, 0.12);
    color: var(--g44-red);
    font-size: 1.4rem;
}

.rv-upload__ui strong {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
}

.rv-upload__ui span {
    font-size: 0.8rem;
}

.rv-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
    margin-top: 0.9rem;
}

.rv-preview img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--g44-border);
    background: #0a0a0a;
}

.rv-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8rem;
    color: var(--g44-muted);
    min-height: 1.2em;
}

.rv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.65rem;
}

.rv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 0;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.rv-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.rv-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.rv-btn--primary {
    background: var(--g44-red);
    color: #fff;
    flex: 1 1 220px;
}

.rv-btn--primary:hover {
    background: #c4181e;
    color: #fff;
}

.rv-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.rv-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

@media (max-width: 575px) {
    .rv-hero {
        min-height: 48vh;
        padding: 110px 0 40px;
    }

    .rv-ops {
        grid-template-columns: 1fr;
    }

    .rv-btn {
        width: 100%;
    }
}
