/* ziyolandi.shop - Custom Styles for Nguyen Khoa Journal
   Modern magazine/blog aesthetic with warm neutral + vibrant orange palette
   Fully responsive, no inline styles, external CSS only
*/

:root {
    --orange: #E85D04;
    --sand: #FDF8F3;
    --charcoal: #2C2522;
    --sage: #6B705C;
    --cream: #F8F1E9;
    --border: #EDE4D9;
}

/* Base typography - modern readable */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--charcoal);
    background-color: #FDF8F3;
    line-height: 1.7;
}

/* Headings - elegant yet clean */
h1, h2, h3, h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--charcoal);
}

/* Hero section with gradient */
.hero-section {
    background: linear-gradient(135deg, #FDF8F3 0%, #F8EDE3 50%, #FDF8F3 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #FDF8F3, transparent);
    pointer-events: none;
}

/* Magazine style cards */
.article-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1),
                border-color 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

/* Accent bar on cards */
.article-card .accent-bar {
    background: linear-gradient(to right, #E85D04, #F48C06);
}

/* Buttons - pill style with orange */
.btn-primary {
    background-color: #E85D04;
    color: white;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 9999px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #D14C00;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgb(232 93 4 / 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #E85D04;
    font-weight: 500;
    padding: 12px 28px;
    border: 1.5px solid #E85D04;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #E85D04;
    color: white;
}

/* Form styling - clean and trustworthy */
input, textarea, select {
    background-color: white;
    border: 1px solid #EDE4D9;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #E85D04;
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.08);
}

label {
    font-size: 13px;
    font-weight: 500;
    color: #6B705C;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.3px;
}

/* Modal prose styling */
.prose {
    font-size: 15.5px;
    line-height: 1.75;
}

.prose h2 {
    font-size: 1.65rem;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

/* Sidebar styling */
.sidebar {
    background-color: white;
    border: 1px solid #EDE4D9;
    border-radius: 20px;
}

/* Category tags */
.category-tag {
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    border-radius: 9999px;
    background-color: #FDF8F3;
    color: #E85D04;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #2C2522;
    color: #C9BEB5;
}

footer a {
    color: #C9BEB5;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #E85D04;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }
    
    .article-card {
        margin-bottom: 1rem;
    }
}

/* Subtle animations */
.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Trust signals and long text pages */
.legal-page h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.legal-page h2 {
    font-size: 1.35rem;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    color: #2C2522;
    border-bottom: 1px solid #EDE4D9;
    padding-bottom: 0.5rem;
}

.legal-page p, .legal-page li {
    font-size: 15px;
    line-height: 1.75;
    color: #3F3733;
}

.legal-page ul {
    padding-left: 1.25rem;
}

.legal-page ul li {
    margin-bottom: 0.4rem;
}

/* Thank you page special styling */
.thankyou-hero {
    background: linear-gradient(180deg, #FDF8F3 0%, #F8EDE3 100%);
}

/* No images policy respected - pure typography + color blocks */
.no-image-placeholder {
    background: linear-gradient(135deg, #E85D04 0%, #F48C06 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
}