@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&family=Fira+Code:wght@300..700&display=swap');

:root {
    /* Colors */
    --text-primary: #333333;
    --text-secondary: #2c3e50;
    --background-primary: #ffffff;
    --background-secondary: #fafafa;
    --link-primary: #2980b9;
    --link-hover: #3498db;
    --accent-orange: #e67e22;
    --accent-green: #27ae60;
    --gray-light: #ecf0f1;
    --gray-medium: #95a5a6;
    --gray-dark: #7f8c8d;

    /* Typography */
    --font-serif: "Lora", Georgia, serif;
    --font-sans: "Work Sans", "Segoe UI", Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--background-primary);
}

.header-custom {
    background-color: var(--background-primary);
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--link-hover);
}

.nav-link-custom {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    height: 2.75rem;
    min-height: 2.75rem;
}

.nav-link-custom:hover {
    color: var(--link-hover);
    background-color: var(--gray-light);
}

.nav-link-custom.active {
    color: var(--link-primary);
    background-color: var(--gray-light);
}

.navbar-toggler-custom {
    border: none;
    padding: 0.5rem;
    background-color: transparent;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.navbar-toggler-custom:focus {
    box-shadow: none;
}

/* Dropdown styles */
.dropdown-menu-custom {
    border: 1px solid var(--gray-light);
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.25rem;
    background-color: var(--background-primary);
    min-width: 200px;
}

.dropdown-item-custom {
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item-custom:hover {
    background-color: var(--gray-light);
    color: var(--link-hover);
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Ensure dropdown nav item has same height */
.nav-item.dropdown .nav-link-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--background-primary);
        border-top: 1px solid var(--gray-light);
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .nav-link-custom {
        margin: 0.25rem 0;
    }
}

/* Sticky header effect */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.blog-section {
    padding: 5rem 0;
    background-color: var(--background-secondary);
}

@media (max-width: 768px) {
    .blog-section {
        padding: 3rem 0;
    }
}

.footer {
    background: linear-gradient(135deg, var(--text-secondary) 0%, var(--text-primary) 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    /* margin-bottom: 2rem; */
    display: inline-block;
}

.footer-logo:hover {
    color: var(--link-hover);
}

.footer-disclaimer {
    /* max-width: 600px; */
    margin: 0 auto 1rem;
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom-content {
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Demo content to show footer */
.demo-content {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-secondary);
}

.demo-text {
    text-align: center;
    color: var(--gray-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo{
        font-size: 1.5rem !important;
    }
    .footer {
        padding: 3rem 0 0;
    }

    .footer-logo {
        font-size: 2rem;
    }
}

/* Base blockquote styling */
.wp-block-quote,
blockquote {
  position: relative;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background-color: #f8fafc;
  border-left: 4px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #334155;
  font-style: normal;
  quotes: none;
}

/* Remove default Bootstrap blockquote styles */
.wp-block-quote::before,
blockquote::before {
  content: none;
}

/* Blockquote paragraph styling */
.wp-block-quote p,
blockquote p {
  margin: 0 0 1rem 0;
  font-weight: 400;
  color: #475569;
}

.wp-block-quote p:last-child,
blockquote p:last-child {
  margin-bottom: 0;
}

/* Citation/footer styling */
.wp-block-quote cite,
.wp-block-quote footer,
blockquote cite,
blockquote footer {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
  font-style: normal;
  font-weight: 500;
}

.wp-block-quote cite::before,
.wp-block-quote footer::before,
blockquote cite::before,
blockquote footer::before {
  content: "— ";
  color: #94a3b8;
}

/* Large/featured blockquote variant */
.wp-block-quote.is-large,
.wp-block-quote.is-style-large,
.blockquote-large {
  padding: 2rem;
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: center;
  border-left: none;
  border-top: 4px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Colored variants */
.wp-block-quote.is-style-blue,
.blockquote-blue {
  background-color: #eff6ff;
  border-left-color: #3b82f6;
  color: #1e40af;
}

.wp-block-quote.is-style-green,
.blockquote-green {
  background-color: #f0fdf4;
  border-left-color: #22c55e;
  color: #166534;
}

.wp-block-quote.is-style-yellow,
.blockquote-yellow {
  background-color: #fefce8;
  border-left-color: #eab308;
  color: #a16207;
}

.wp-block-quote.is-style-red,
.blockquote-red {
  background-color: #fef2f2;
  border-left-color: #ef4444;
  color: #b91c1c;
}

/* Minimal variant */
.wp-block-quote.is-style-minimal,
.blockquote-minimal {
  background: transparent;
  border-left: 2px solid #e2e8f0;
  padding: 0.5rem 0 0.5rem 1rem;
  font-style: italic;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .wp-block-quote,
  blockquote {
    background-color: #1e293b;
    border-left-color: #475569;
    color: #e2e8f0;
  }
  
  .wp-block-quote p,
  blockquote p {
    color: #cbd5e1;
  }
  
  .wp-block-quote cite,
  .wp-block-quote footer,
  blockquote cite,
  blockquote footer {
    color: #94a3b8;
  }
  
  .wp-block-quote.is-large,
  .wp-block-quote.is-style-large,
  .blockquote-large {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-top-color: #475569;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wp-block-quote,
  blockquote {
    margin: 1rem 0;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .wp-block-quote.is-large,
  .wp-block-quote.is-style-large,
  .blockquote-large {
    padding: 1.5rem;
    font-size: 1.125rem;
  }
}

/* Hover effects for interactive elements */
.wp-block-quote:hover,
blockquote:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Focus styles for accessibility */
.wp-block-quote:focus-within,
blockquote:focus-within {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Custom utility classes */
.blockquote-shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.blockquote-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.footer-links {
  /* margin: 20px 0; */
  padding: 15px 0;
  /* border-top: 1px solid var(--gray-light); */
  /* border-bottom: 1px solid var(--gray-light); */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links li {
  display: inline-block;
}

.footer-links a {
  color: var(--link-primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--link-hover);
  background-color: var(--gray-light);
}

.footer-links li:not(:last-child)::after {
  content: "|";
  color: var(--gray-medium);
  margin-left: 15px;
  font-weight: normal;
}

/* Responsive design for footer links */
@media (max-width: 768px) {
  .footer-links ul {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-links li:not(:last-child)::after {
    display: none;
  }
  
  .footer-links a {
    display: block;
    text-align: center;
    padding: 10px;
  }
}