/* =========================================
   ROOT VARIABLES
========================================= */
:root {
    --accent: #FFD700;
    --bg: #111111;
    --text: #E0E0E0;
    --muted: #999999;
    --highlight: #ffffff;
    --card-bg: #1b1b1b;
}

/* =========================================
   BASE GLOBAL STYLES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Georgia', serif, Arial, sans-serif;
    background: radial-gradient(black, #1a1a1a);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 0.7s ease-in forwards;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--highlight);
    text-decoration: underline;
}

/* =========================================
   HEADINGS & TYPOGRAPHY
========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1.4;
    color: var(--highlight);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.4rem;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

h2 {
    font-size: 1.7rem;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: .6rem;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

h3 {
    font-size: 1.4rem;
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 0.5rem;
}

/* =========================================
   NAVIGATION BAR
========================================= */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 0.5rem 2rem;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 0 10px var(--accent);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-links a:hover,
.nav-links .active {
    color: var(--highlight);
    transform: scale(1.05);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    background: var(--accent);
    height: 3px;
    width: 25px;
    margin: 4px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================
   CONTENT / CARDS / BUTTONS
========================================= */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card, .section, .about-card {
    background: var(--card-bg);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 1100px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover, .about-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn:hover {
    background: var(--highlight);
    color: var(--bg);
    transform: scale(1.05);
}

/* =========================================
   COMMENT SECTION
========================================= */
.comment-section {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--accent);
    color: #f5f5f5;
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255,215,0,0.15);
}
.comment-section h2 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
}
.comment-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.comment-section input,
.comment-section textarea {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid var(--accent);
    color: #fff;
    border-radius: 6px;
    padding: 0.8rem;
    font-size: 1rem;
}
.comment-section textarea {
    min-height: 120px;
    resize: vertical;
}
.comment-section button {
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.comment-section button:hover {
    background: var(--highlight);
    transform: scale(1.05);
}

/* =========================================
   IMAGE STYLING (Reduced 50%)
========================================= */
img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}
figure {
    margin: 2rem auto;
    text-align: center;
    max-width: 1000px;
}
figure img {
    margin-bottom: 0.5rem;
}
figcaption {
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1100px;
    padding: 0 1rem;
}
.image-grid img {
    max-width: 100%;
    width: 50%;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* =========================================
   RESPONSIVE IMAGE SCALING
========================================= */
@media (max-width: 768px) {
    img {
        max-width: 50%;
        border-radius: 8px;
        margin: 1rem auto;
    }
    .image-grid {
        gap: 1rem;
    }
    .image-grid img {
        width: 50%;
    }
    figcaption {
        font-size: 0.85rem;
    }
}

/* =========================================
   UTILITIES & ANIMATIONS
========================================= */
#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s;
}

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 25px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s;
    z-index: 999;
}
#scrollToTop:hover {
    background: var(--highlight);
    color: var(--bg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================================
   SUBTITLE CLASS
========================================= */
.subtitle {
    display: block;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--accent);
    text-transform: uppercase;
    text-align: center;
    margin: 0.5rem auto 1.5rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    animation: fadeInUp 0.8s ease-in-out;
}
.subtitle::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 0.6rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================================
   FOOTER (UNIFORM)
========================================= */
.site-footer {
    background: #000;
    color: var(--text-muted);
    padding: 2.5rem 1rem;
    text-align: center;
    margin-top: 2rem;
    font-family: var(--font-secondary);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 2px solid var(--accent);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-links {
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 25px;
}
.footer-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-links a:hover {
    color: var(--highlight);
    transform: scale(1.05);
}
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
}
.social-links a {
    color: var(--accent);
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.social-links a:hover {
    color: var(--bg);
    background: var(--accent);
    transform: scale(1.15);
}
.copyright-text {
    margin-top: 1.8rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* =========================================
   RESPONSIVE FOOTER
========================================= */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 1rem;
        font-size: 0.9rem;
    }
    .footer-links {
        gap: 15px;
    }
    .footer-links a {
        font-size: 0.95rem;
    }
    .social-links {
        gap: 1rem;
        margin-top: 1.3rem;
    }
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .copyright-text {
        font-size: 0.85rem;
        margin-top: 1.5rem;
    }
}
/* =========================================
   BLOCKQUOTE STYLING (Golden Theme)
========================================= */
blockquote {
    border-left: 4px solid var(--accent);
    background: rgba(255, 215, 0, 0.05);
    color: var(--accent);
    font-style: italic;
    font-family: 'Georgia', serif;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    position: relative;
    text-align: center;
}

blockquote::before {
    content: "“";
    font-size: 3rem;
    position: absolute;
    left: 15px;
    top: -10px;
    color: rgba(255, 215, 0, 0.6);
}

blockquote::after {
    content: "”";
    font-size: 3rem;
    position: absolute;
    right: 15px;
    bottom: -20px;
    color: rgba(255, 215, 0, 0.6);
}

blockquote p {
    display: inline;
    font-size: 1.1rem;
    line-height: 1.8;
}
/* =========================================
   RESPONSIVE NAVIGATION (HAMBURGER)
========================================= */

/* Base adjustments for the new button */
.navbar {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* keeps divider aligned with Hamburger */
    background: rgba(0, 0, 0, 0.85);
    padding: 2rem 2rem; /* 🔥 increased vertical padding (was 1rem) */
    border-bottom: 1px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

/* Default nav links layout (desktop) */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* ========== MOBILE NAV ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    display: none;
    border-top: 1px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
  }

  .nav-links.show {
    display: flex;
    animation: fadeDown 0.4s ease forwards;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 0;
    color: var(--accent);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    transition: background 0.3s ease, color 0.3s ease;
  }

  .nav-links a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--highlight);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

