:root {
    /* Main Root Color Theme */
    --primary-gold: #d4af37;
    --primary-gold-light: #e6c960;
    --primary-gold-dark: #b8941f;

    --bg-dark: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #242424;
    --bg-hover: #2e2e2e;

    --text-primary: #e8e8e8;
    --text-secondary: #b8b8b8;
    --text-muted: #808080;

    --accent-blue: #4a90e2;
    --accent-purple: #8b7ab8;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Selected Fonts */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scroll Behavior Suggested by Claude */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Selection styling */
::selection {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-gold-light);
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Navbar Styles */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-gold) !important;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.navbar-brand:hover {
    color: var(--primary-gold-light) !important;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.navbar-toggle:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    color: var(--text-secondary) !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width var(--transition-medium);
}

.navbar-link:hover {
    color: var(--primary-gold) !important;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-link.active {
    color: var(--primary-gold) !important;
}

.navbar-link.active::after {
    width: 100%;
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.hero-container,
.stats-container,
.skills-container,
.education-container,
.work-container,
.carousel-container,
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--primary-gold);
    font-weight: bold;
}

.text-center {
    text-align: center;
}

/* About Page Component 1 - About Section */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-xl) 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-row {
    display: grid;
    grid-template-columns: 60px 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.social-column {
    position: sticky;
    top: 120px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    color: var(--primary-gold);
    font-size: 1.5rem;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.content-column {
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 4rem;
}

.intro-heading {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
}

.scroll-indicator {
    margin-top: 3rem;
    text-align: center;
}

.scroll-link {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 2rem;
    animation: bounce 2s infinite;
}
.image-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-gold);
    box-shadow: var(--shadow-gold);
    position: relative;
}

.headshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-image:hover .headshot-img {
    transform: scale(1.1);
}

/* About Page Component 2 - Stats and Skills Section */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.stats-container,
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

.stat-button {
    background: var(--bg-card);
    border: 2px solid var(--primary-gold-dark);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    width: 250px;
    height: 100%;
}

.button-label {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
}
.stat-button:hover {
    background: var(--bg-hover);
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.stat-button i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: block;
}

.stat-button h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 1.5rem;
}

.skill-button {
    background: var(--bg-card);
    border: 2px solid var(--primary-gold-dark);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    width: 250px;
    height: 100%;
}

.skill-button:hover {
    background: var(--bg-hover);
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.skill-button i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: block;
}

.skill-button h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

/* I am hiding the Stats and Skills Modal Popups by Default */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--primary-gold);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-gold-light);
    transform: rotate(90deg);
}

.modal-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.institution-logo {
    max-width: 150px;
    height: auto;
}

.modal-content h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-body {
    color: var(--text-secondary);
}

.modal-body h4 {
    color: var(--primary-gold-light);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style-position: inside;
    margin-left: 0;
}

.modal-body li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* About Page Component 3 - Timelines Section */

.education-container,
.work-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline {
    position: relative;
    padding: 3rem 0;
}

.timeline-label {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #fafafa;
}

/* Vertical Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        180deg,
        var(--primary-gold-dark),
        var(--primary-gold),
        var(--primary-gold-dark)
    );
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    z-index: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Alternate left/right positioning */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

/* Timeline marker in center */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary-gold);
    border: 5px solid var(--bg-dark);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    z-index: 2;
}

/* Buttons positioned left or right */
.timeline-item:nth-child(odd) .timeline-button {
    margin-right: auto;
    margin-left: 0;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) .timeline-button {
    margin-left: auto;
    margin-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-button {
    background: var(--bg-card);
    border: 2px solid var(--primary-gold-dark);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: left;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-button {
    text-align: right;
}

.timeline-button:hover {
    background: var(--bg-hover);
    border-color: var(--primary-gold);
    transform: scale(1.03);
    box-shadow: var(--shadow-gold);
}

.timeline-button h4 {
    color: var(--text-primary);
    font-size: 1.1em;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.timeline-date,
.timeline-role {
    color: var(--primary-gold);
    font-size: 1rem;
    margin: 0;
    display: block;
}

/* About Page Component 4 - Carousel and Contact Form */
.carousel-container,
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Carousel Styling */
.carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.8);
    border: none;
    color: var(--bg-dark);
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -60px;
}

.carousel-next {
    right: -60px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator.active {
    background: var(--primary-gold);
    transform: scale(1.3);
}

.indicator:hover {
    background: var(--primary-gold-light);
}
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary-gold-dark);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-input,
.form-textarea {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-gold-dark);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    display: inline-block;
}

.form-submit:hover {
    background: var(--primary-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer p {
    color: var(--text-muted);
    margin: 0;
}

.highlight {
    color: var(--primary-gold);
    font-weight: bold;
}

/* Styling for Research and Projects Page */
.page-header {
    padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-lg) 0;
    text-align: center;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.scholar-link {
    color: var(--primary-gold);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-gold);
    transition: all var(--transition-fast);
    padding-bottom: 2px;
}

.scholar-link:hover {
    color: var(--primary-gold-light);
    border-bottom-color: var(--primary-gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
.cards-section {
    padding: var(--spacing-xl) 0;
}

.cards-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* Individual Card */
.card {
    background: var(--bg-card);
    border: 2px solid var(--primary-gold-dark);
    border-radius: 20px;
    padding: 10px;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}
.card-image {
    margin: 5px;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-img {
    transform: scale(1.05);
}
.card-content {
    padding: 1.5rem;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.meta-information-card-publisher {
    font-size: 0.95rem;
    color: var(--primary-gold-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: justify;
    flex-grow: 1;
}
.card-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    justify-items: center;
}

.card-button {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    max-width: 200px;
}

.card-button:hover {
    background: var(--primary-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-dark);
}

.card-button i {
    font-size: 1.1rem;
}

.card-buttons:has(.card-button:only-child) {
    grid-template-columns: 1fr;
}

.poetry-intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* After fade completes, fully hide */
.poetry-intro-overlay.hidden {
    animation: fadeOutComplete 1s forwards;
}

@keyframes fadeOutComplete {
    0% {
        opacity: 1;
        display: flex;
    }
    99% {
        opacity: 0;
        display: flex;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

.poetry-intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
}

.poetry-intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.intro-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

/* Black shadow overlay */
.poetry-intro-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.poetry-intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 3rem;
}

.intro-title {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.intro-quote {
    margin: 0;
    padding: 0;
}

.quote-text {
    font-size: 2rem;
    color: var(--primary-gold);
    font-family: var(--font-heading);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
    font-style: italic;
}

.quote-text p {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.quote-author {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-gold-light);
    font-style: normal;
    margin-top: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Unique feature JavaScript Addition for this transition */
.poetry-intro-overlay.hidden {
    display: none;
}

.poetry-section {
    padding: calc(80px + var(--spacing-lg)) 0 var(--spacing-xl) 0;
}

.poetry-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.poetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.poetry-card {
    background: var(--bg-card);
    border: 2px solid var(--primary-gold-dark);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.poetry-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.poetry-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.poetry-card-title {
    font-size: 1.5rem;
    color: var(--primary-gold);
    text-align: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-gold);
}

.poetry-card-preview {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.poetry-card-preview p {
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
}

.poetry-card-button {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 10px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    align-self: center;
    width: 60%;
}

.poetry-card-button:hover {
    background: var(--primary-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.poetry-modal-title {
    color: var(--primary-gold);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 1rem;
}

.poetry-full-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.poetry-full-text p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.poetry-author {
    text-align: right;
    font-size: 1.2rem;
    color: var(--primary-gold-light);
    margin: 2rem 0 0 0;
}
