/*
Theme Name: Dr Hababi Landing
Theme URI: http://localhost
Author: m
Description: صفحة هبوط د. محمد الحبابي القحطاني
Version: 1.0
Text Domain: drhababi
*/

:root {
    --primary: #f5c66a;        /* لون الزر والعناصر البارزة */
    --primary-dark: #e0ae4f;
    --bg-main: #050818;        /* خلفية الصفحة */
    --bg-section: #0b0f24;     /* خلفيات الأقسام الكروية */
    --text-main: #ffffff;
    --text-muted: #a2aac6;
    --border-soft: rgba(255,255,255,0.08);
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 100% - 40px);
    margin-inline: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(to bottom, rgba(5,8,24,0.98), rgba(5,8,24,0.9));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
}

.nav-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-soft);
    background: transparent;
    color: var(--text-main);
    font-size: 13px;
    cursor: pointer;
}

/* ===== Hero ===== */

.hero {
    padding-block: 40px 60px;
    background: radial-gradient(circle at top left, #18203e 0%, #050818 45%, #02030a 90%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -200px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255,255,255,0.04), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(255,255,255,0.03), transparent 45%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-soft);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-meta span strong {
    color: var(--primary);
    margin-inline-start: 4px;
}

.hero-photo-card {
    position: relative;
    border-radius: 999px;
    background: linear-gradient(135deg, #111426, #050818);
    box-shadow: var(--shadow-soft);
    padding: 12px;
    width: min(340px, 100%);
    margin-inline-start: auto;
}

.hero-photo-inner {
    border-radius: 999px;
    overflow: hidden;
    background: #0b0f24;
}

.hero-photo-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-photo-tag {
    position: absolute;
    inset-inline-start: 16px;
    inset-block-end: 24px;
    background: rgba(5,8,24,0.9);
    border-radius: 14px;
    padding: 8px 12px;
    font-size: 11px;
    border: 1px solid var(--border-soft);
}

/* ===== Section generic ===== */

section {
    padding-block: 50px 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 22px;
    margin-bottom: 6px;
}

.section-title p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== About ===== */

.about {
    background: radial-gradient(circle at top, #0c1229 0%, #050818 55%);
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: centerpiece;
}

.about-card {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-soft);
}

.about-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.about-card ul {
    list-style: none;
    font-size: 14px;
    color: var(--text-muted);
}

.about-card ul li {
    margin-bottom: 6px;
}

.about-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
}

/* ===== Services ===== */

.services {
    background: #050818;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 18px;
}

.service-card {
    text-align: center;
    background: var(--bg-section);
    border-radius: 18px;
    padding: 18px 14px;
    border: 1px solid var(--border-soft);
}

.service-icon {
    width: 130px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 20% 0%, rgba(255,255,255,0.1), transparent 60%);
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.service-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.service-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Videos / Articles ===== */

.videos {
    background: radial-gradient(circle at top, #0c1229 0%, #050818 55%);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.video-card {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    padding: 14px;
}

.video-thumb {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #111426;
    height: 160px;
}

.video-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.video-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Testimonial ===== */

.testimonial {
    background: #050818;
}

.testimonial-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-section);
    border-radius: 24px;
    padding: 22px;
    border: 1px solid var(--border-soft);
    text-align: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 10px;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.testimonial-content {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
}

/* ===== Contact ===== */

.contact {
    background: radial-gradient(circle at top, #0c1229 0%, #050818 55%);
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(5,8,24,0.7);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-soft);
}

.contact-form {
    display: grid;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

label {
    font-size: 13px;
    color: var(--text-muted);
}

input,
textarea {
    background: #050818;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 10px 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== Footer ===== */

footer {
    border-top: 1px solid var(--border-soft);
    padding-block: 24px 18px;
    background: #02030a;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-logo {
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 6px;
    font-size: 12px;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .hero-inner,
    .about-inner {
        grid-template-columns: 1fr;
    }

    .hero-photo-card {
        margin-inline: auto;
    }

    .nav-links {
        gap: 14px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding-block: 24px 40px;
    }
}
