/*
Theme Name: Domain Parking
Theme URI: https://example.com
Description: A clean, professional domain parking theme for domains listed for sale.
Version: 1.0.0
Author: Domain Parking
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: domain-parking
Tags: one-column, custom-colors, custom-logo, full-width-template, sticky-post, theme-options
*/

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1a1a2e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --gold: #f5a623;
    --light: #f8f9fa;
    --text: #333;
    --muted: #777;
    --white: #fff;
    --border: #e0e0e0;
    --shadow: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 16px;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── NAV ── */
.dp-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Push nav below WordPress admin bar when logged in */
body.admin-bar .dp-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .dp-nav {
        top: 46px;
    }
}

.dp-nav.scrolled {
    background: rgba(15, 15, 35, 1);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.dp-nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dp-nav__logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.dp-nav__logo:hover {
    color: var(--accent-light);
}

.dp-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.dp-nav__link {
    display: inline-block;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.dp-nav__link:hover,
.dp-nav__link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.dp-nav__link--cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 50px;
    margin-left: 8px;
}

.dp-nav__link--cta:hover {
    background: #c73652 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(233,69,96,0.4);
}

/* Hamburger */
.dp-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
}

.dp-nav__hamburger span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.dp-nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dp-nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.dp-nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
    .dp-nav__hamburger { display: flex; }

    .dp-nav__links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 12px 16px 20px;
    }

    .dp-nav__links.open { display: flex; }

    .dp-nav__link { padding: 12px 16px; border-radius: 10px; }
    .dp-nav__link--cta { margin-left: 0; margin-top: 8px; text-align: center; border-radius: 10px; }
}

/* ── HERO ── */
.parking-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}

.parking-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(233,69,96,0.18) 0%, transparent 65%),
                radial-gradient(ellipse at 20% 80%, rgba(245,166,35,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.badge-for-sale {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    animation: pulse-badge 2.5s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(233,69,96,0.5); }
    50%       { box-shadow: 0 0 0 10px rgba(233,69,96,0); }
}

.domain-display {
    font-size: clamp(2.2rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
    word-break: break-word;
}

.domain-display .tld {
    color: var(--accent-light);
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ── PRICE CARD ── */
.price-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 28px 48px;
    margin-bottom: 36px;
    position: relative;
}

.price-label {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 8px;
}

.price-amount {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -1px;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 2px;
    font-weight: 700;
}

.price-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
}

/* ── CTA BUTTONS ── */
.cta-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 50px;
    transition: all 0.25s ease;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: #c73652;
    border-color: #c73652;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,69,96,0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 36px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.35);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* ── FEATURES STRIP ── */
.features-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.features-strip .inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--muted);
}

.feature-item .icon {
    font-size: 1.4rem;
}

.feature-item strong {
    color: var(--text);
    font-weight: 600;
}

/* ── CONTACT SECTION ── */
.contact-section {
    max-width: 700px;
    margin: 60px auto;
    padding: 0 24px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--primary);
}

.section-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 36px;
    font-size: 1rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

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

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--light);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233,69,96,0.12);
    background: var(--white);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

.submit-btn {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 6px;
    font-family: inherit;
}

.submit-btn:hover {
    background: #c73652;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,69,96,0.35);
}

.form-success {
    display: none;
    text-align: center;
    padding: 24px;
}

.form-success .success-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--muted);
    font-size: 1rem;
}

/* ── WHY BUY ── */
.why-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 24px;
    text-align: center;
}

.why-section .section-title {
    color: var(--white);
    margin-bottom: 8px;
}

.why-section .section-sub {
    color: rgba(255,255,255,0.6);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 40px auto 0;
}

.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px 20px;
}

.why-card .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
}

/* ── FOOTER ── */
.site-footer {
    background: #111;
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 24px;
    font-size: 0.82rem;
}

.site-footer a {
    color: rgba(255,255,255,0.65);
}

.site-footer a:hover {
    color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-card { padding: 28px 20px; }
    .price-card { padding: 24px 28px; }
    .parking-hero { padding: 60px 20px 48px; }
}
