@tailwind base;
@tailwind components;
@tailwind utilities;

/* Definition of the design system. All colors, gradients, fonts, etc should be defined here. */

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;

    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;

    --radius: 0.5rem;

    --sidebar-background: 0 0% 98%;

    --sidebar-foreground: 240 5.3% 26.1%;

    --sidebar-primary: 240 5.9% 10%;

    --sidebar-primary-foreground: 0 0% 98%;

    --sidebar-accent: 240 4.8% 95.9%;

    --sidebar-accent-foreground: 240 5.9% 10%;

    --sidebar-border: 220 13% 91%;

    --sidebar-ring: 217.2 91.2% 59.8%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }
}

/* General Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #333;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #000;
    transform: translateY(-1px);
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #000;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #f3f4f6;
    color: #000;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1001;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header h2 {
    font-family: 'Playfair Display', serif;
    color: #000;
    font-size: 1.5rem;
}

.mobile-menu-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-header button:hover {
    background: #f3f4f6;
    color: #000;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav .nav-item {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav .nav-item:hover {
    background: rgba(0, 0, 0, 0.05);
    padding-left: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: #ffffff;
    color: #000;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #000;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.cta-button:hover {
    background: white;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Coffee Intro Section */
.coffee-intro {
    padding: 4rem 0;
    background: #ffffff;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.coffee-content {
    max-width: 600px;
    margin: 0 auto;
}

.coffee-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.coffee-intro h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: #000;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.coffee-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 0;
    background: #ffffff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: #000;
    font-weight: 600;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid #e5e7eb;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.view-all-btn:hover {
    background: #000;
    color: white;
    border-color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.featured-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.featured-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-post-card .post-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-post-card .post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post-card:hover .post-img {
    transform: scale(1.03);
}

.featured-post-card .post-content {
    padding: 1.5rem;
}

.featured-post-card h3 {
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    color: #000;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.featured-post-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.featured-horizontal-grid a{
    text-decoration: none;
}

/* Recent Posts Section */
.recent-posts {
    padding: 4rem 0;
    background: #fafafa;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.recent-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.recent-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}


.recent-post .post-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.recent-post .post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post:hover .post-img {
    transform: scale(1.03);
}

.recent-post .post-content {
    padding: 1.5rem;
}

.recent-post h3 {
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    color: #000;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.recent-post p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.recent-grid a{
    text-decoration: none;
}

/* Post Meta Styles */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.category {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.8rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #888;
    font-size: 0.8rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.author {
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    color: black;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo {
    color: black;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.footer-brand p {
    color: black;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-nav .nav-item {
    color: black;
    font-size: 0.9rem;
}

.footer-nav .nav-item:hover {
    color: black;
}

/* Choice Page Styles */
.choice-page {
    min-height: 100vh;
    overflow-y: auto;
}

.choice-container {
    min-height: 100vh;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.choice-header {
    text-align: center;
    margin-bottom: 2rem;
}

.choice-title {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: #000;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.choice-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.choice-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.choice-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.choice-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.choice-card:hover::before {
    opacity: 1;
}

.choice-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    color: #333;
}

.choice-card-title {
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    color: #000;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.choice-card-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.choice-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.choice-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.choice-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
}

.choice-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #888;
    font-size: 0.9rem;
}

.back-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
    color: #000;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background: #ffffff;
}

.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    animation: float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 20%;
    width: 55px;
    height: 55px;
}

.floating-element:nth-child(3) {
    top: 30%;
    right: 30%;
    width: 30px;
    height: 30px;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    left: 20%;
    width: 65px;
    height: 65px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Terms Content Styles */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-section h2 {
    font-family: 'Playfair Display', serif;
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .coffee-intro h2 {
        font-size: 2rem;
    }

    .coffee-intro p {
        font-size: 1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .featured-horizontal-grid,
    .recent-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-nav {
        justify-content: center;
        gap: 1rem;
    }

    /* Choice Page Mobile */
    .choice-container {
        padding: 1rem;
        justify-content: flex-start;
        padding-top: 3rem;
    }

    .choice-title {
        font-size: 1.75rem;
    }

    .choice-subtitle {
        font-size: 0.9rem;
    }

    .choice-options {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 280px;
    }

    .choice-card {
        padding: 1rem;
    }

    .choice-card-title {
        font-size: 1rem;
    }

    .choice-card-description {
        font-size: 0.8rem;
    }

    .choice-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .floating-element {
        width: 30px;
        height: 30px;
    }

    .floating-element:nth-child(2) {
        width: 40px;
        height: 40px;
    }

    .floating-element:nth-child(4) {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .coffee-intro h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .choice-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .choice-options {
        max-width: 250px;
    }

    .choice-card {
        padding: 0.875rem;
    }

    .coffee-intro {
        padding: 3rem 0;
    }

    .featured-posts,
    .recent-posts {
        padding: 3rem 0;
    }
}
/* Article Page Styles */
.article-main {
    padding-top: 5rem;
    min-height: 100vh;
    background-color: var(--background);
}

.article-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Article Header */
.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Simple Article Meta */
.article-meta-simple {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

.article-meta-simple .separator {
    color: var(--muted-foreground);
}

.read-time,
.publish-date {
    color: var(--muted-foreground);
}

/* Article Content */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.article-intro {
    font-size: 1.25rem !important;
    font-weight: 400;
    color: var(--foreground);
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--foreground);
    font-weight: 600;
}

.article-quote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    background-color: rgba(244, 244, 245, 0.5);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-quote p {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 0;
}

/* Image Placeholders */
.article-image-placeholder {
    margin: 2.5rem 0;
    text-align: center;
}

.placeholder-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-style: italic;
}

.placeholder-box {
    width: 100%;
    height: 300px;
    background-color: var(--muted);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-box::before {
    content: '📷';
    font-size: 2rem;
    opacity: 0.5;
}

/* Share Section */
.share-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: rgba(244, 244, 245, 0.3);
    border-radius: var(--radius);
    text-align: center;
}

.share-section h4 {
    margin-bottom: 1.5rem;
    color: var(--foreground);
    font-size: 1.25rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-btn.facebook:hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-btn.twitter:hover {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-btn.linkedin:hover {
    background-color: #0a66c2;
    color: white;
    border-color: #0a66c2;
}

.share-btn.email:hover {
    background-color: #ea4335;
    color: white;
    border-color: #ea4335;
}

.share-btn.copy:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

/* More Articles Section */
.more-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.more-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.more-articles-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.more-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    cursor: pointer;
}

.more-article:hover {
    background-color: rgba(244, 244, 245, 0.5);
    transform: translateY(-2px);
}

.more-article-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
}

.more-article-image .placeholder-image {
    width: 100%;
    height: 100%;
    background-color: var(--muted);
    border-radius: var(--radius);
}

.more-article-content {
    flex: 1;
}

.more-article-content .category {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background-color: rgba(26, 26, 29, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.more-article-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    line-height: 1.4;
}

.more-article-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Responsive Design for Article Page */
@media (max-width: 640px) {
    .article-container {
        padding: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .more-article {
        flex-direction: column;
    }
    
    .more-article-image {
        width: 100%;
        height: 200px;
    }
}

@media (min-width: 641px) {
    .more-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .more-article-image {
        width: 140px;
        height: 90px;
    }
}

@media (min-width: 1024px) {
    .article-container {
        padding: 3rem 2rem;
    }
}

/* Author Section Styles */
.author-section {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background-color: rgba(244, 244, 245, 0.3);
    border-radius: var(--radius);
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--muted);
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.author-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}
/* Article Image Styles */
.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-img:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* More Articles Image Styles */
.more-article-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.more-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.more-article:hover .more-article-img {
    transform: scale(1.05);
}

/* Remove old placeholder styles */
.article-image-placeholder,
.placeholder-image {
    display: none;
}

/* Mobile responsiveness for images */
@media (max-width: 768px) {
    .article-image {
        margin: 1.5rem 0;
    }
    
    .article-img {
        border-radius: 8px;
    }
    
    .image-caption {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-image {
        margin: 1rem 0;
    }
    
    .image-caption {
        font-size: 0.8rem;
    }
}


