/* ============================================================
   Digital Photo Finalizer - Site Styles
   Bootstrap 5 base + DPF custom theme
   ============================================================ */

/* --- Global --- */
html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    margin: 0;
    padding: 0;
    background: #e8eaf0;
    font-family: Tahoma, Verdana, Arial, sans-serif;
}

/* --- Site wrapper: the bordered card --- */
.dpf-wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #0033cc;
    box-shadow: 0 2px 10px rgba(0,0,50,.2);
}

/* --- Header --- */
.dpf-header {
    overflow: hidden;
    padding: 0;
    line-height: 0;  /* removes the small gap browsers add below inline images */
}
.dpf-logo {
    display: block;
    height: 100px;   /* natural image height — never distorts */
    width: auto;     /* let width follow naturally from height */
    max-width: none; /* don't cap it — it's intentionally wider than the container */
    position: relative;
    left: 50%;
    transform: translateX(-50%);  /* center it; overflow is clipped by the header */
}

/* --- Navigation bar --- */
.dpf-navbar {
    background: #0022aa;
    border-top: 2px solid #3366ff;
    border-bottom: 2px solid #3366ff;
    padding: 4px 0;
}
.dpf-toggler {
    border-color: rgba(255,255,255,.5);
    margin: 4px;
}
.dpf-toggler .navbar-toggler-icon {
    filter: invert(1);
}
.dpf-nav-btn {
    color: #fff !important;
    background: #0044cc;
    border: 1px solid #3366ff;
    border-radius: 4px;
    padding: 4px 14px !important;
    font-weight: 600;
    font-size: .85rem;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.dpf-nav-btn:hover,
.dpf-nav-btn.active {
    background: #ffdd00;
    color: #000 !important;
    border-color: #ccaa00;
}
.dpf-nav-buynow {
    background: #007700;
    border-color: #00aa00;
}
.dpf-nav-buynow:hover,
.dpf-nav-buynow.active {
    background: #00aa00;
    color: #fff !important;
    border-color: #008800;
}

/* --- Main content area --- */
.dpf-content {
    background: #f0f2ff;
    min-height: 400px;
    padding: 0;
}

/* --- Home page --- */
.dpf-home-content {
    background: #f0f2ff;
}
.dpf-sidebar-block {
    background: #fff;
    border: 1px solid #aabbff;
    border-radius: 4px;
    padding: 10px;
}
.dpf-sidebar-title {
    background: #0022aa;
    color: #fff;
    margin: -10px -10px 8px -10px;
    padding: 4px 10px;
    border-radius: 4px 4px 0 0;
    font-size: .85rem;
}
.dpf-demo-link {
    color: #0033cc;
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
}
.dpf-demo-link:hover {
    color: #cc5500;
    text-decoration: underline;
}
.dpf-vid-bullet {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.dpf-hero-image {
    border: 2px solid #0033cc;
    max-width: 100%;
}
.dpf-cta-img {
    max-width: 100%;
    transition: filter .15s;
}
.dpf-cta-btn:hover .dpf-cta-img {
    filter: brightness(1.1);
}

/* --- Section headers --- */
.dpf-green-header {
    color: #006600;
    font-weight: 700;
}
.dpf-blue-header {
    color: #0033cc;
}

/* --- Demo page --- */
.dpf-demo-thumb {
    border: 1px solid #aabbff;
    border-radius: 3px;
}
.dpf-screenshot-thumb {
    border: 1px solid #aabbff;
    max-width: 150px;
}

/* --- Support / FAQ --- */
.dpf-faq-index {
    background: #eef0ff;
    border: 1px solid #aabbff;
    border-radius: 4px;
    padding: 12px 16px;
}
.dpf-faq-link {
    color: #0033cc;
    font-size: .9rem;
}
.dpf-faq-link:hover {
    color: #cc5500;
}
.dpf-faq-answer {
    border-left: 3px solid #0033cc;
    padding-left: 12px;
}
.dpf-faq-body {
    font-size: 1rem;
    border-left: none;
    padding: 0;
}

/* --- Download page --- */
.dpf-download-btn {
    max-width: 368px;
    transition: filter .15s;
}
.dpf-download-btn:hover {
    filter: brightness(1.1);
}
.dpf-install-steps li {
    margin-bottom: 6px;
}
.dpf-version-block {
    border: 1px solid #aabbff;
    border-radius: 4px;
    overflow: hidden;
}
.dpf-version-header {
    background: #0022aa;
    color: #fff;
    padding: 6px 12px;
    font-weight: 600;
    font-size: .9rem;
}
.dpf-version-list {
    padding: 10px 10px 6px 28px;
    margin: 0;
    font-size: .9rem;
    color: #333;
}

/* --- Buy page --- */
.dpf-buy-btn {
    max-width: 260px;
    transition: filter .15s;
}
.dpf-buy-btn:hover {
    filter: brightness(1.1);
}
.dpf-pro-features {
    padding: 10px 10px 6px 28px;
    margin: 0;
    font-size: .95rem;
}
.dpf-pro-features li {
    margin-bottom: 6px;
}

/* --- About page --- */
.dpf-about-box {
    border: 2px solid #0033cc;
    border-radius: 6px;
    background: #f8f9ff;
}
.dpf-about-link {
    color: #0033cc;
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- Affiliate page --- */
.dpf-affiliate-section {
    border: 1px solid #aabbff;
    border-radius: 4px;
    overflow: hidden;
}
.dpf-affiliate-form .form-control {
    border-color: #aabbff;
}
.dpf-btn-primary {
    background: #0033cc;
    color: #fff;
    border: none;
    padding: 6px 24px;
    border-radius: 4px;
}
.dpf-btn-primary:hover {
    background: #0022aa;
    color: #fff;
}

/* --- Sitemap --- */
.dpf-sitemap-list {
    font-size: 1rem;
    line-height: 2;
}
.dpf-sitemap-list a {
    color: #0033cc;
    font-weight: 600;
}

/* --- Press Releases --- */
.dpf-press-release h2 {
    color: #0033cc;
}
.dpf-press-release address {
    font-style: normal;
    color: #444;
    border-left: 3px solid #aabbff;
    padding-left: 12px;
}

/* --- Footer --- */
.dpf-footer {
    background: #0022aa;
    color: #fff;
}
.dpf-footer-links {
    font-size: .85rem;
    border-bottom: 1px solid #3366ff;
}
.dpf-footer-link {
    color: #ccddff;
    text-decoration: none;
    padding: 0 6px;
}
.dpf-footer-link:hover {
    color: #ffdd00;
    text-decoration: underline;
}
.dpf-copyright {
    font-size: .8rem;
    color: #aabbff;
}
