/* ============================================
   LUEN - Blog Article Detail Page Vanilla CSS
   ============================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #391B26;
    overflow-x: hidden;
}

/* === BRAND COLORS === */
:root {
    --color-plum: #391B26;
    --color-lavender: #B39BA8;
    --color-rose-quartz: #D6C8D0;
    --color-merlot: #7A3451;
    --color-cream: #FAF7F4;
    --color-white: #FFFFFF;
}

/* === CONTAINER === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}




/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(250, 247, 244, 0.98);
    backdrop-filter: blur(12px);
    padding: 0.25rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-plum);
    cursor: pointer;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-left {
    gap: 2.5rem;
}

.nav-right {
    justify-content: flex-end;
    gap: 2.5rem;
}

.nav-links-right {
    display: flex;
    gap: 2.5rem;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: baseline;
    line-height: 1;
    color: var(--color-plum);
}

.logo-text-small .logo-l,
.logo-text-small .logo-e {
    font-size: 1.5rem;
}

.logo-text-small .logo-u,
.logo-text-small .logo-n {
    font-size: 1.25rem;
    margin-left: -1px;
    position: relative;
    top: -1px;
}

.nav-link {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-plum);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-merlot);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-merlot);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--color-plum);
    border-left: 1px solid var(--color-rose-quartz);
    padding-left: 2rem;
}

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: var(--color-merlot);
}

.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 1rem;
    height: 1rem;
    background-color: var(--color-merlot);
    border-radius: 50%;
    font-size: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.mobile-cart {
    display: none;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-cream);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 50;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-link {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-plum);
    text-decoration: none;
    border-bottom: 1px solid var(--color-rose-quartz);
    padding-bottom: 1rem;
}

/* === ARTICLE PAGE === */
.article-page {
    background-color: var(--color-white);
    min-height: 100vh;
}

/* === ARTICLE HERO === */
.article-hero {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(57, 27, 38, 0.8), transparent, transparent);
}

.article-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 0 5rem;
    color: var(--color-white);
}

.article-hero-inner {
    max-width: 64rem;
}

.article-meta-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-category {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
}

.article-dot {
    width: 0.25rem;
    height: 0.25rem;
    background-color: var(--color-white);
    border-radius: 50%;
}

.article-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
}

.article-title {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-cream);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-white);
}

.author-read-time {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--color-white);
    opacity: 0.7;
}

/* === ARTICLE CONTENT === */
.article-content-wrapper {
    padding: 5rem 0;
}

.article-container {
    /* Container already applied */
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 18rem;
    gap: 6rem;
}

/* === ARTICLE MAIN === */
.article-main {
    /* Grid column */
}

.article-prose {
    max-width: 48rem;
    margin: 0 auto;
}

.article-intro {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-plum);
    margin-bottom: 2rem;
}

.drop-cap::first-letter {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 0.8;
    font-weight: 400;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--color-plum);
}

.article-prose p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.article-quote {
    margin: 3rem 0;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-left: 2px solid var(--color-merlot);
}

.article-quote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.875rem;
    line-height: 1.4;
    color: var(--color-plum);
    margin-bottom: 0;
}

.article-subheading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-plum);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* === ARTICLE FOOTER === */
.article-footer {
    max-width: 48rem;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-rose-quartz);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-plum);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.share-button:hover {
    color: var(--color-merlot);
}

.share-button i {
    width: 1rem;
    height: 1rem;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tags-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--color-lavender);
}

.tag-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--color-plum);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.tag-link:hover {
    color: var(--color-merlot);
}

/* === ARTICLE SIDEBAR === */
.article-sidebar {
    /* Grid column */
}

.sidebar-sticky {
    position: sticky;
    top: 8rem;
}

.sidebar-title {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-plum);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-rose-quartz);
}

.related-product {
    margin-bottom: 2rem;
}

.related-product-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.related-product-link:hover {
    transform: translateY(-4px);
}

.related-product-image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    background-color: var(--color-cream);
    overflow: hidden;
    margin-bottom: 1rem;
}

.related-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.related-product-link:hover .related-product-image {
    transform: scale(1.05);
}

.related-product-info {
    text-align: center;
}

.related-product-name {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-plum);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.related-product-link:hover .related-product-name {
    color: var(--color-merlot);
}

.related-product-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.related-product-price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-plum);
    margin-bottom: 0.75rem;
}

.related-product-btn {
    width: 100%;
    padding: 0.5rem;
    background: none;
    border: 1px solid var(--color-plum);
    color: var(--color-plum);
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-product-btn:hover {
    background-color: var(--color-plum);
    color: var(--color-white);
}

/* === FOOTER === */
.footer {
    background-color: var(--color-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-rose-quartz);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-heading {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-plum);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-plum);
}

.footer-logo-icon {
    margin-bottom: 0.5rem;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: baseline;
    line-height: 1;
    color: var(--color-plum);
    margin-bottom: 1rem;
}

.footer-logo-text .logo-l,
.footer-logo-text .logo-e {
    font-size: 1.875rem;
}

.footer-logo-text .logo-u,
.footer-logo-text .logo-n {
    font-size: 1.5rem;
    margin-left: -1px;
    position: relative;
    top: -1px;
}

.footer-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-plum);
}

.footer-location i {
    width: 1rem;
    height: 1rem;
}

.footer-location span {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-rose-quartz);
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #999;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-plum);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-white);
}

::-webkit-scrollbar-thumb {
    background: var(--color-rose-quartz);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-lavender);
}

/* === SELECTION === */
::selection {
    background-color: var(--color-lavender);
    color: var(--color-white);
}




.blog-sidebar {
  position: sticky;
  top: 120px; /* prilagodi visini headera */
}

.editorial-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #5a2a3a;

  padding-left: 2.5rem;
  margin: 4rem 0;

  border-left: 3px solid #7a3451;
  max-width: 48rem;
}


@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: relative;
    top: auto;
    margin-top: 4rem;
  }
}





/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .mobile-menu-toggle,
    .mobile-cart {
        display: block;
    }

    .mobile-cart i {
        width: 1.5rem;
        height: 1.5rem;
        color: var(--color-plum);
    }

    .article-hero {
        height: 60vh;
    }

    .article-title {
        font-size: 3rem;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sidebar-sticky {
        position: relative;
        top: auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-hero {
        height: 50vh;
    }

    .article-hero-content {
        padding: 2rem 0 3rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-intro {
        font-size: 1.125rem;
    }

    .article-quote p {
        font-size: 1.5rem;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}
