/* styles.css */

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: 'Cinzel', serif;
    background: #fafafa;
    color: #333;
    /* Gold gradient border with animated glow */
    border: 8px solid transparent;
    border-image: linear-gradient(to right, #F39800, #F8B62D) 1;
    animation: borderGlow 4s ease-in-out infinite alternate;
    /* Outer glowing box-shadow halo */
    box-shadow: 0 0 10px 2px rgba(243, 152, 0, 0.7);
  }
  @keyframes borderGlow {
    from {
      box-shadow: 0 0 10px 2px rgba(243, 152, 0, 0.7);
    }
    to {
      box-shadow: 0 0 30px 5px rgba(248, 182, 45, 0.9);
    }
  }
  
  /* Horizontal separator */
  hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #F39800, #F8B62D);
    margin: 2rem 0;
  }
  
  /* Site Header */
  .site-header {
    background: #222;
    color: #F8B62D;
    text-align: center;
    padding: 2rem 1rem;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .site-header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    color: #F8B62D;
  }
  .site-header .subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .site-header .header-quote {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.25rem;
    font-style: italic;
    margin: 0.5rem 0;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
  }
  .site-header nav ul {
    list-style: none;
    display: inline-grid;
    grid-auto-flow: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  .site-header nav a {
    color: #F8B62D;
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    font-size: 1rem;
    transition: transform 0.3s;
  }
  .site-header nav a:hover {
    transform: scale(1.1);
  }

    /* Project Description Section */
#project-description {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
  }
  
  #project-description h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #333;
    margin-bottom: 1rem;
    position: relative;
  }
  #project-description h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #F39800, #F8B62D);
    margin: 0.5rem auto 1.5rem;
  }
  
  .proj-text {
    column-count: 1;
    column-gap: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
  }
  .proj-text strong {
    color: #F39800;
  }
  .proj-text.en {
    font-family: 'Cinzel', serif;
  }
  .proj-text.fr {
    font-family: 'Cinzel Decorative', serif;
  }
  
  @media (min-width: 768px) {
    .proj-text {
      column-count: 2;
    }
  }
  
  /* Subtle gold corner accents */
  #project-description::before,
  #project-description::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-top-color: #F39800;
    border-left-color: #F8B62D;
    opacity: 0.6;
  }
  #project-description::before {
    top: -10px;
    left: -10px;
  }
  #project-description::after {
    bottom: -10px;
    right: -10px;
  }
  
  /* Fade-in animation on load */
  @keyframes fadeInSection {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  #project-description {
    animation: fadeInSection 1s ease-out both;
  }

    /* Project Description Section */
  #project-description {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
  }
  
  #project-description h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #333;
    margin-bottom: 1rem;
    position: relative;
  }
  #project-description h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #F39800, #F8B62D);
    margin: 0.5rem auto 1.5rem;
  }
  
  .proj-text {
    column-count: 1;
    column-gap: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
  }
  .proj-text strong {
    color: #F39800;
  }
  .proj-text.en {
    font-family: 'Cinzel', serif;
  }
  .proj-text.fr {
    font-family: 'Cinzel Decorative', serif;
  }
  
  @media (min-width: 768px) {
    .proj-text {
      column-count: 2;
    }
  }
  
  /* Subtle gold corner accents */
  #project-description::before,
  #project-description::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-top-color: #F39800;
    border-left-color: #F8B62D;
    opacity: 0.6;
  }
  #project-description::before {
    top: -10px;
    left: -10px;
  }
  #project-description::after {
    bottom: -10px;
    right: -10px;
  }
  
  /* Fade-in animation on load */
  @keyframes fadeInSection {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  #project-description {
    animation: fadeInSection 1s ease-out both;
  }
  
  /* Hero Section */
  #hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    margin: 2rem 0;
  }
  #hero img {
    width: 100%;
    display: block;
    transform-origin: center;
    transition: transform 0.5s;
  }
  #hero img:hover {
    transform: scale(1.05) rotate(1deg);
  }
  .hero-content {
    padding: 1rem;
    text-align: center;
  }
  .hero-content h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #333;
  }
  .hero-content p {
    margin: 0.5rem 0;
  }
  .btn-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #F39800, #F8B62D);
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
  }
  .btn-cta:hover {
    background: linear-gradient(90deg, #F8B62D, #F39800);
    transform: scale(1.05);
  }
  
  /* About Section */
  #about {
    padding: 2rem 1rem;
  }
  #about h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: #333;
  }
  .about-content {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 1rem;
  }
  @media (min-width: 768px) {
    #about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
  }
  
  /* Archive Section */
  #archive {
    padding: 2rem 1rem;
  }
  #archive h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  .post-preview {
    margin-bottom: 2rem;
  }
  .post-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
  }
  .post-preview img:hover {
    transform: rotate(2deg) scale(1.02);
  }
  .post-preview h3 {
    font-family: 'Cinzel', serif;
    margin: 0.5rem 0;
  }
  .post-preview p {
    margin: 0.25rem 0;
  }
  .pagination {
    text-align: center;
    margin-top: 1rem;
  }
  .pagination a {
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    border: 1px solid #ccc;
    color: #333;
    transition: background 0.3s;
  }
  .pagination a:hover {
    background: #F39800;
    color: #fff;
  }
  
  /* Author Bio Section */
  #author {
    padding: 2rem 1rem;
    background: #f5f5f5;
  }
  #author h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  .author-bio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
  }
  .author-bio img {
    max-width: 200px;
    border-radius: 50%;
    justify-self: center;
    transform-style: preserve-3d;
    animation: rotate3d 10s infinite linear;
  }

  @keyframes rotate3d {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
  }

  .author-bio p {
    text-align: center;
  }
  
  @media (min-width: 600px) {
    .author-bio {
      grid-template-columns: auto 1fr;
      text-align: left;
      justify-items: center;
    }
    .author-bio img {
      justify-self: end;
    }
    .author-bio p {
      justify-self: start;
      text-align: left;
    }
  }
  
  /* Pricing Section */
  #pricing {
    padding: 2rem 1rem;
  }
  #pricing h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  .pricing-plan {
    background: #fff;
    border: 2px solid #ccc;
    border-image: linear-gradient(to bottom, #F39800, #F8B62D) 1;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  .pricing-plan h3 {
    font-family: 'Cinzel', serif;
    margin: 0.5rem 0;
  }
  .pricing-plan .price {
    font-size: 2rem;
    color: #F39800;
    margin: 0.5rem 0;
  }
  .pricing-plan ul {
    list-style: none;
    padding: 0;
  }
  .pricing-plan li {
    margin: 0.5rem 0;
  }
  @media (min-width: 768px) {
    #pricing {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
  }
  
  /* Tag Cloud Section */
  #tags {
    padding: 2rem 1rem;
  }
  #tags h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  .tag-cloud {
    list-style: none;
    text-align: center;
  }
  .tag-cloud li {
    display: inline-block;
    margin: 0.25rem;
  }
  .tag-cloud a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #F39800, #F8B62D);
    color: #fff;
    border-radius: 0.5rem;
    transition: transform 0.3s;
  }
  .tag-cloud a:hover {
    transform: scale(1.1);
  }
  
  /* Footer */
  footer {
    background: #222;
    color: #F8B62D;
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
  }
  footer p {
    margin: 0.25rem 0;
  }
  