/* Phillips Exeter Academy Class of 1966 Reunion Website Styles */

/* CSS Variables for Consistent Design */
:root {
    /* Colors inspired by academic tradition */
    --primary-color: #8B0000;           /* Deep red - academic tradition */
    --primary-light: #A52A2A;          /* Lighter red */
    --secondary-color: #2F4F4F;        /* Dark slate gray - academic sophistication */
    --accent-color: #868E96;           /* Light grey - achievement */
    --accent-light: #ADB5BD;           /* Lighter grey for highlights */
    --accent-dark: #495057;            /* Darker grey for emphasis */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --border-light: #e9ecef;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 32px rgba(0,0,0,0.2);
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Source Sans Pro', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Container */
    --container-max-width: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid transparent;
    border-bottom: 3px solid var(--primary-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 4px;
}

.logo-link:hover {
    transform: scale(1.05);
    background: rgba(139, 0, 0, 0.1);
}

.reunion-text-link {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px 4px;
    color: inherit;
    text-decoration: none;
}

.reunion-text-link:hover {
    color: var(--primary-color);
    background: rgba(139, 0, 0, 0.1);
    transform: translateY(-1px);
}

.reunion-text-link span {
    transition: color 0.3s ease;
}

.reunion-text-link:hover span {
    color: var(--primary-color);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    mix-blend-mode: normal;
    filter: none;
    opacity: 1;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-logo h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.nav-logo span {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
    font-family: var(--font-secondary);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
    margin-left: auto;
    margin-right: var(--spacing-md);
}

.nav-menu li {
    position: relative;
}

.nav-link {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-size: 0.9rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(139, 0, 0, 0.05);
    border-color: rgba(139, 0, 0, 0.1);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Navigation Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(139, 0, 0, 0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: var(--font-weight-normal);
    font-size: 0.9rem;
    border: none;
    background: transparent;
}

.dropdown-link:hover {
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-link::after {
    display: none;
}

/* Register Button in Menu (Mobile Only) */
.register-nav-item {
    display: none;
}

.nav-register-btn-menu {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1.1rem;
    border-radius: 12px;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.nav-register-btn-menu:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Header Register Button (Desktop Only) */
.nav-register-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: var(--spacing-md);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

/* Mobile Navigation */
.mobile-nav-container {
    display: none;
    align-items: center;
    gap: var(--spacing-sm);
    flex-direction: row-reverse;
}

.nav-toggle {
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #495057;
    border: 2px solid #495057;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle:hover {
    background: #343a40;
    border-color: #343a40;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.3);
}

.menu-text {
    color: var(--text-white);
    font-weight: var(--font-weight-semibold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-secondary);
}



/* Hero Section */
.hero {
    position: relative;
    height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
    background: var(--primary-color);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 10;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: 4.8rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--accent-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.56rem;
    margin-bottom: var(--spacing-xxl);
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Music Player */
.music-player {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 3;
}

.music-icon {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
}

.music-icon:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: scale(1.05);
}

.music-icon svg {
    width: 20px;
    height: 20px;
}

/* Glory Days Photo */
.glory-days-photo {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
    display: block;
    height: 100%;
}

.glory-days-photo img {
    width: auto;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.glory-days-photo img:hover {
    transform: scale(1.02);
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.4);
    border-left-color: var(--primary-color);
}



/* Reunion Navigation Grid */
.reunion-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.reunion-nav-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.reunion-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.nav-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.nav-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reunion-nav-card:hover .nav-card-image img {
    transform: scale(1.05);
}

.nav-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(47, 79, 79, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reunion-nav-card:hover .nav-card-overlay {
    opacity: 1;
}

.nav-card-content {
    padding: var(--spacing-lg);
    text-align: center;
}

.nav-card-content .nav-card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.nav-card-content h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.nav-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.nav-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.nav-card-highlights span {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    border: 1px solid var(--border-light);
}

/* Who's Coming Section */
.attendees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.attendee-card, .attendee-placeholder {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attendee-card:hover, .attendee-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.attendee-info h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.attendee-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.attendee-note {
    color: var(--text-light);
    font-style: italic;
}

.attendee-placeholder {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border: 2px dashed var(--primary-color);
}

.placeholder-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.attendees-note {
    text-align: center;
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.leadership-member {
    background: rgba(139, 0, 0, 0.05);
    padding: var(--spacing-xs);
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: auto;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-member:hover {
    background: rgba(139, 0, 0, 0.1);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.leadership-member h4 {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 0.85rem;
    font-family: var(--font-primary);
    line-height: 1.2;
}

/* New Leadership Page Styles */
.committee-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.thanks-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
}

.section-intro {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    position: relative;
    display: inline-block;
}

.section-intro h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Leadership Team Grid */
.leadership-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.leader-profile {
    background: var(--bg-white);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leader-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.leader-profile:hover::before {
    transform: scaleX(1);
}

.leader-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.featured-leader {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--bg-white) 0%, #fafbfc 100%);
}

.featured-leader::before {
    transform: scaleX(1);
    height: 4px;
    background: var(--primary-color);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.profile-image {
    flex-shrink: 0;
}

.leader-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.leader-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.3);
}

.profile-info {
    flex: 1;
}

.leader-name {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
}

.leader-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-location {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0;
}

.profile-bio {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.profile-bio p {
    margin-bottom: 0;
}

/* Gratitude Section */
.gratitude-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.gratitude-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.gratitude-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.gratitude-card:hover::before {
    transform: scaleY(1);
}

.gratitude-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

.card-content h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
}

.card-content p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Events Section */
.events-schedule {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.event-card {
    display: flex;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
}

.event-time {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.event-day {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-details {
    padding: var(--spacing-lg);
    flex: 1;
}

.event-details h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.event-location {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.event-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Accommodation Info */
.accommodation-info {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: 12px;
    margin-top: var(--spacing-xl);
}

.accommodation-info h3 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.hotel-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.hotel-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.hotel-distance {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--spacing-xs);
}

.hotel-phone {
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
}

.hotel-note {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

/* Portsmouth Events */
.portsmouth-events {
    display: grid;
    gap: var(--spacing-xl);
}

.portsmouth-main h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.event-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-md);
}

.event-highlight h4 {
    margin-bottom: var(--spacing-xs);
}

.event-highlight p {
    margin-bottom: var(--spacing-xs);
}

.event-highlight strong {
    color: var(--accent-color);
}

.portsmouth-options h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.option-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.option-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.option-card h5 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.portsmouth-note {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

/* Documents Section */
.documents-content {
    display: grid;
    gap: var(--spacing-xxl);
}

.document-featured {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.document-visual img {
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.document-text h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.poem-excerpt {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.poem-excerpt blockquote {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
}

.poem-excerpt p {
    margin-bottom: var(--spacing-sm);
}

.poem-note {
    color: var(--text-light);
    font-style: italic;
}

.documents-archive h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.archive-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.archive-section {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.archive-section h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.officers-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.officer-entry {
    border-left: 3px solid var(--accent-color);
    padding-left: var(--spacing-sm);
}

.officer-entry strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.document-list {
    list-style: none;
    padding: 0;
}

.document-list li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: var(--spacing-md);
}

.document-list li::before {
    content: "📄";
    position: absolute;
    left: 0;
    top: var(--spacing-xs);
}

.documents-note {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Remembrances Section */
.remembrances-content {
    display: grid;
    gap: var(--spacing-xxl);
}

.necrology-section {
    text-align: center;
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.necrology-section h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.necrology-intro {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.memorial-notice {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.memory-sharing h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

/* Forms */
.memory-form, .contact-form {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    margin-bottom: var(--spacing-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xs);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

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

.form-group small {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    display: block;
}

.shared-memories h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.memory-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--accent-color);
}

.memory-card h5 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.memory-author {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--spacing-xs);
}

.memory-placeholder {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--border-light);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-methods {
    margin-top: var(--spacing-sm);
}

.contact-methods p {
    margin-bottom: var(--spacing-xs);
}

.contact-form-section {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.contact-form-section h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Full-Width Card Sections */
.fullwidth-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Soft transition for first fullwidth section after hero */
.whos-coming-section {
    margin-top: 0;
}

.fullwidth-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 390px;
    align-items: stretch;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

/* Mobile: Remove fixed heights to prevent overlap */
@media (max-width: 768px) {
    .fullwidth-card {
        height: auto;
    }
}

.fullwidth-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.fullwidth-card.reverse .card-content {
    order: 1;
}

.fullwidth-card.reverse .card-image {
    order: 2;
}

.card-image {
    position: relative;
    height: 390px;
    overflow: hidden;
}

/* Who's Coming Carousel Styles */
.whos-coming-carousel {
    position: relative;
}

.whos-coming-carousel .carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.whos-coming-carousel .carousel-image.active {
    opacity: 1;
    z-index: 2;
}

/* Subtle inner shadow for depth */
.whos-coming-section .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 5;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.schedule-section .card-image img {
    object-position: center 30%;
}

/* Image Caption Styling */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
    font-style: italic;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(47, 79, 79, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullwidth-card:hover .card-overlay {
    opacity: 1;
}

.fullwidth-card:hover .card-image img {
    transform: scale(1.02);
}

.card-content {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-white);
    height: 390px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    .card-body {
        margin-bottom: var(--spacing-md);
    }
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.card-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.card-content > .btn {
    align-self: stretch;
    margin-top: auto;
}

/* Section-specific styling */
.whos-coming-section .card-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.leadership-section .card-content {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
}

.schedule-section .card-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.documents-section .card-content {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
}

.remembrances-section .card-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Card Stats */
.card-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    font-family: var(--font-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
}



/* Schedule Overview */
.schedule-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.schedule-location {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(139, 0, 0, 0.1);
    min-height: 120px;
}

.schedule-location h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.schedule-location .btn {
    margin-top: auto;
    width: 100%;
    min-height: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.3;
    padding: 0.75rem 1rem;
}

.schedule-location p:last-of-type {
    margin-bottom: var(--spacing-sm);
}

/* Mobile: Adjust schedule location */
@media (max-width: 768px) {
    .schedule-location {
        min-height: auto;
        padding: var(--spacing-md);
    }
    
    .schedule-location .btn {
        min-height: auto;
        height: auto;
        padding: 0.875rem 1rem;
    }
}

/* Documents Preview */
.documents-preview {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.document-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs);
    background: rgba(47, 79, 79, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.doc-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.document-item strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.document-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Remembrances Features */
.remembrances-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.feature-item {
    padding: var(--spacing-xs) 0;
    border-left: 3px solid var(--accent-color);
    padding-left: var(--spacing-sm);
}

.feature-item strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a252f 100%);
    color: var(--text-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
    align-items: start;
}

.footer-logo {
    text-align: left;
}

.footer-logo h3 {
    color: var(--accent-light);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
    font-family: var(--font-primary);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.footer-motto {
    color: var(--accent-light);
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 400px;
}

.footer-links, .footer-contact {
    text-align: left;
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-light);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: var(--spacing-md);
}

.footer-links ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    transition: transform 0.3s ease;
}

.footer-links ul li:hover::before {
    transform: translateX(3px);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-weight: var(--font-weight-normal);
}

.footer-links ul li a:hover {
    color: var(--accent-light);
    padding-left: var(--spacing-xs);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-contact p::before {
    content: '📧';
    font-size: 1.1rem;
}

.footer-contact p:nth-of-type(2)::before {
    content: '🏛️';
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 calc(-1 * var(--spacing-md));
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    border-radius: 8px 8px 0 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.footer-bottom p:last-child {
    color: var(--accent-light);
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 2.16rem; }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-md);
        gap: var(--spacing-sm);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-heavy);
        z-index: 999;
    }
    
    /* Mobile logo adjustments */
    .nav-logo {
        flex-direction: row;
        gap: 0.8rem;
        padding: 0;
    }
    
    .logo-image {
        height: 50px;
        width: 50px;
    }
    
    .nav-logo h1 {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .nav-logo span {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .nav-menu li {
        width: 80%;
        text-align: center;
    }
    
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        padding: var(--spacing-sm);
        font-size: 1.1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.7);
        border: 2px solid rgba(139, 0, 0, 0.1);
        margin-bottom: var(--spacing-xs);
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(139, 0, 0, 0.1);
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
    }
    
    /* Mobile Dropdown Styles */
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-menu li {
        text-align: center;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .dropdown-link {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(139, 0, 0, 0.1);
        text-align: center !important;
    }
    
    .dropdown-link:last-child {
        border-bottom: none;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
    }
    
    .dropdown-arrow {
        font-size: 0.8rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-nav-container {
        display: flex;
    }
    
    /* Show register button in mobile menu */
    .register-nav-item {
        display: block;
        width: 80%;
        text-align: center;
    }
    
    /* Hide desktop register button on mobile */
    .nav-register-btn {
        display: none;
    }
    
    .nav-toggle.active {
        background: #343a40;
        border-color: #343a40;
    }
    
    .nav-toggle.active .menu-text {
        color: var(--text-white);
    }
    
    .nav-toggle.active .menu-text::after {
        content: ' ✕';
        font-size: 1.1rem;
        margin-left: 8px;
    }
    
    /* Hero adjustments */
    .hero {
        margin-top: 75px; /* Account for fixed header */
        height: auto;
        min-height: 70vh;
    }

    .hero-content {
        padding-top: var(--spacing-xl);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .music-player {
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
    }
    
    .glory-days-photo {
        bottom: 10px;
        right: 10px;
    }
    
    .glory-days-photo img {
        width: 60px;
        height: 60px;
        max-height: 400px;
    }
    
    .glory-days-photo::after {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
    
    /* Reunion Navigation Grid Responsive */
    .reunion-nav-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .nav-card-image {
        height: 180px;
    }
    
    .nav-card-highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-card-highlights span {
        margin-bottom: var(--spacing-xs);
    }
    
    /* Grid adjustments */
    .attendees-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    /* Leadership page responsive */
    .section-intro h2 {
        font-size: 2.2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .leadership-team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .gratitude-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .gratitude-card {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .document-featured {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-time {
        min-width: unset;
    }
    
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    /* Spacing adjustments */
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Full-width cards responsive */
    .fullwidth-card {
        display: flex !important;
        flex-direction: column !important;
        height: auto;
        min-height: auto;
        border-radius: 12px 12px 0 0;
        margin-bottom: var(--spacing-xl);
    }
    
    /* Adjust transition for mobile */
    .whos-coming-section {
        margin-top: 0;
    }
    
    .hero::after {
        bottom: -15px;
        height: 22px;
    }
    
    /* On mobile, always show image first, then content - no alternating */
    .fullwidth-card .card-image {
        order: 1 !important;
    }

    .fullwidth-card .card-content {
        order: 2 !important;
    }

    /* Override reverse class on mobile - keep same order as normal */
    .fullwidth-card.reverse .card-image {
        order: 1 !important;
    }

    .fullwidth-card.reverse .card-content {
        order: 2 !important;
    }
    
    .card-image {
        height: 250px;
        position: relative;
    }
    
    .card-content {
        padding: var(--spacing-md);
        height: auto;
        min-height: auto;
    }
    
    .card-content h2 {
        font-size: 1.6rem;
    }
    
    .card-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .schedule-overview {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .schedule-location {
        min-height: auto;
    }
    
    .leadership-grid {
        gap: var(--spacing-sm);
    }
    
    .leadership-member {
        min-height: auto;
        padding: var(--spacing-sm);
    }
    
    
    /* Footer adjustments */
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }
    
    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul li {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-links ul li::before {
        display: none;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Further mobile optimizations */
    .hero {
        margin-top: 75px;
    }
    
    /* Smaller logo on very small screens */
    .logo-image {
        height: 42px;
        width: 42px;
    }
    
    .nav-logo h1 {
        font-size: 1.1rem;
    }
    
    .nav-logo span {
        font-size: 0.55rem;
    }
    
    /* Ensure button has correct height */
    .nav-toggle {
        height: 42px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1.8rem; }
    .hero-description { font-size: 1.2rem; }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    /* Full-width cards mobile */
    .fullwidth-card {
        display: flex !important;
        flex-direction: column !important;
    }

    .fullwidth-card .card-image {
        order: 1 !important;
    }

    .fullwidth-card .card-content {
        order: 2 !important;
    }

    .fullwidth-card.reverse .card-image {
        order: 1 !important;
    }

    .fullwidth-card.reverse .card-content {
        order: 2 !important;
    }

    .card-content {
        padding: var(--spacing-md);
        height: auto;
        min-height: auto;
    }

    .card-content h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .card-content p {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-sm);
    }

    .card-image {
        height: 200px;
    }
    
    .card-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    /* Schedule overview mobile */
    .schedule-location {
        min-height: auto;
        padding: var(--spacing-sm);
    }

    .schedule-location h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .schedule-location .btn {
        min-height: auto;
        height: auto;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    
    .documents-preview,
    .remembrances-features {
        gap: var(--spacing-sm);
    }
    
    .document-item,
    .feature-item {
        padding: var(--spacing-sm);
    }
    
    /* Archive sections */
    .archive-sections {
        grid-template-columns: 1fr;
    }
    
    /* Leadership page mobile */
    .section-intro h2 {
        font-size: 1.8rem;
    }
    
    .committee-section,
    .thanks-section {
        padding: var(--spacing-xl) 0;
    }
    
    .leader-profile {
        padding: var(--spacing-md);
    }
    
    .profile-header {
        gap: var(--spacing-sm);
    }
    
    .leader-photo {
        width: 70px;
        height: 70px;
    }
    
    .leader-name {
        font-size: 1.2rem;
    }
    
    .gratitude-card {
        padding: var(--spacing-md);
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Footer mobile */
    .footer-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .footer-bottom {
        padding: var(--spacing-md);
        margin: 0 calc(-1 * var(--spacing-sm));
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
}

/* Who's Coming Page Styles */
.whos-coming-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
    margin-top: 75px;
}

.whos-coming-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.whos-coming-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.whos-coming-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.7) 0%, rgba(47, 79, 79, 0.6) 100%);
    z-index: 1;
}

.whos-coming-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.whos-coming-hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-primary);
}

.whos-coming-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    font-weight: var(--font-weight-normal);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent-light);
    font-family: var(--font-primary);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
    opacity: 0.9;
}

/* Search Section */
.search-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-bottom: 1px solid var(--border-light);
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-box {
    position: relative;
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-light);
    transform: translateY(-50%) scale(1.05);
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-light);
    border-radius: 25px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

/* Attendees Section */
.attendees-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

/* Search Container Above Cards */
.search-container-main {
    max-width: 600px;
    margin: 0 auto var(--spacing-xxl) auto;
    text-align: center;
}

.search-container-main .search-box {
    position: relative;
    margin-bottom: 0;
}

.search-container-main .search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-container-main .search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-container-main .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container-main .search-btn:hover {
    background: var(--primary-light);
    transform: translateY(-50%) scale(1.05);
}

.attendees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 16px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.attendee-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, #fafbfc 100%);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.08);
    border: 2px solid rgba(139, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: auto;
    min-height: 160px;
}

.attendee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.attendee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.attendee-card:hover::before {
    opacity: 1;
}

.attendee-card.confirmed {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, var(--bg-white) 0%, #fafbfc 100%);
}

.attendee-card.maybe {
    border-left: 4px solid var(--primary-light);
    background: linear-gradient(135deg, var(--bg-white) 0%, #fafbfc 100%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-lg) var(--spacing-lg) 0;
}

.attendee-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.avatar-initials {
    font-family: var(--font-primary);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.confirmed {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.status-badge.maybe {
    background: rgba(134, 142, 150, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.card-content {
    padding: var(--spacing-md) var(--spacing-lg);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
}

.attendee-title {
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attendee-location {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.attendee-quote {
    background: rgba(139, 0, 0, 0.05);
    padding: var(--spacing-sm);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
    position: relative;
    font-size: 0.9rem;
    overflow: visible;
    margin-top: var(--spacing-sm);
}

.attendee-quote::before {
    content: '"';
    position: absolute;
    top: -2px;
    left: 6px;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
    opacity: 0.6;
}

.attendee-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tag {
    background: var(--bg-light);
    color: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-light);
}

.tag.leadership {
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    border-color: rgba(139, 0, 0, 0.2);
}

.tag.organizer,
.tag.president {
    background: rgba(134, 142, 150, 0.1);
    color: var(--accent-dark);
    border-color: rgba(134, 142, 150, 0.2);
}

/* Placeholder Cards */
.attendee-placeholder {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, var(--bg-white) 50%, rgba(139, 0, 0, 0.03) 100%);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    height: auto;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attendee-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 0, 0, 0.08), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.attendee-placeholder:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.attendee-placeholder:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08) 0%, var(--bg-white) 50%, rgba(139, 0, 0, 0.05) 100%);
}

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

.placeholder-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    color: var(--text-white);
    opacity: 0.7;
}

.placeholder-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
    font-family: var(--font-primary);
}

.placeholder-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* No Results */
.no-results {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--text-light);
}

.no-results-content svg {
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.no-results h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

/* Why Attend Section */
.why-attend-section {
    padding: var(--spacing-xxl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.benefit-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.benefit-card h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Register CTA Section */
.register-cta-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a252f 100%);
    color: var(--text-white);
    overflow: hidden;
}

/* Simplified CTA Content */
.cta-content-simple {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content-simple h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
    font-family: var(--font-primary);
}

.cta-content-simple .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xxl);
    opacity: 0.9;
    line-height: 1.6;
    color: var(--text-white);
}

.cta-content-simple .cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/reunion-gathering.jpg') center/cover;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 79, 79, 0.9) 0%, rgba(26, 37, 47, 0.95) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.cta-text h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
    font-family: var(--font-primary);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    line-height: 1.6;
}

.cta-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--secondary-color);
}

.cta-note {
    background: rgba(134, 142, 150, 0.2);
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.cta-note p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Info Section */
.contact-info-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.newsletter-signup {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Design for Who's Coming Page */
@media (max-width: 768px) {
    .whos-coming-hero {
        height: 50vh;
        min-height: 400px;
        margin-top: 60px;
        position: relative;
    }

    .whos-coming-hero h1 {
        font-size: 2.5rem;
    }

    .whos-coming-hero .hero-content {
        padding-top: 20px;
    }

    .glory-days-photo {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 15px;
        z-index: 4;
        display: block;
    }

    .glory-days-photo img {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.9);
        max-height: 400px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .stat-item {
        width: 200px;
    }
    
    .search-container {
        padding: 0 var(--spacing-sm);
    }
    
    .search-container-main {
        padding: 0 var(--spacing-sm);
        margin-bottom: var(--spacing-xl);
    }
    
    .filter-options {
        gap: var(--spacing-xs);
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .attendees-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
    }
    
    .attendee-card {
        height: auto;
        min-height: 140px;
    }
    
    .attendee-placeholder {
        height: auto;
        min-height: 140px;
        padding: var(--spacing-md);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 2.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-content-simple h2 {
        font-size: 2.2rem;
    }
    
    .cta-content-simple .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-signup {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .whos-coming-hero h1 {
        font-size: 2rem;
    }
    
    .glory-days-photo {
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
        right: 10px;
        z-index: 4;
        display: block !important;
    }
    
    .glory-days-photo img {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
        border: 2px solid rgba(255, 255, 255, 1);
        max-height: 400px;
    }
    
    .hero-stats {
        gap: var(--spacing-sm);
    }
    
    .stat-item {
        padding: var(--spacing-sm) var(--spacing-md);
        width: 150px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .search-input {
        padding: 14px 50px 14px 16px;
        font-size: 1rem;
    }
    
    .search-container-main .search-input {
        padding: 14px 50px 14px 16px;
        font-size: 1rem;
    }
    
    .attendee-card {
        margin: 0 var(--spacing-xs);
        height: auto;
        min-height: 120px;
    }
    
    .attendee-placeholder {
        height: auto;
        min-height: 120px;
        padding: var(--spacing-sm);
    }
    
    .card-header {
        padding: var(--spacing-md) var(--spacing-md) 0;
    }
    
    .card-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .attendee-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .attendee-quote {
        font-size: 0.85rem;
        padding: var(--spacing-xs);
    }
    
    .placeholder-content h3 {
        font-size: 1.1rem;
    }
    
    .placeholder-content p {
        font-size: 0.85rem;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-content-simple h2 {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .header, .hero, .music-player, .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        padding: var(--spacing-md) 0;
    }
    
    .btn, .nav-link {
        color: var(--text-dark) !important;
        text-decoration: underline;
    }
    
    .hero-overlay {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll animations - applied via JavaScript */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Restaurant Section Styles */
.ivy-dinner-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: var(--spacing-xl) 0;
}

.ivy-dinner-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.ivy-dinner-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.ivy-dinner-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.ivy-restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

/* Library Restaurant - Full Width Styling */
.ivy-restaurant-card.library-fullwidth {
    grid-column: 1 / -1;
    max-width: 100%;
    width: 100%;
}

/* Oarhouse Restaurant - Simplified Styling */
.ivy-restaurant-card.oarhouse-simple {
    max-width: 500px;
    margin: 0 auto;
    opacity: 0.9;
}

.ivy-restaurant-card.oarhouse-simple .restaurant-content {
    padding: var(--spacing-md);
}

.ivy-restaurant-card.oarhouse-simple .restaurant-address {
    margin-bottom: 0;
}

.ivy-restaurant-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(139, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.ivy-restaurant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(139, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.ivy-restaurant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.restaurant-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-dark) 100%);
    color: white;
    padding: var(--spacing-lg);
    text-align: center;
}

.restaurant-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.restaurant-rating {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.restaurant-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.restaurant-address {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
}

.restaurant-address h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.restaurant-address p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.restaurant-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
}

.restaurant-highlights {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.restaurant-highlights h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.restaurant-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.restaurant-highlights li {
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.3rem;
}

.restaurant-highlights li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.restaurant-booking {
    text-align: center;
    margin-top: auto;
}

.restaurant-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.3);
}

.restaurant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
}

.dinner-note {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    position: relative;
    text-align: center;
}

.dinner-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.dinner-note h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
}

.dinner-note p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.dinner-note p:last-child {
    margin-bottom: 0;
}

.dinner-note strong {
    color: var(--primary-color);
}

/* Overflow venue styling - less dominant */
.ivy-restaurant-card.overflow-venue {
    opacity: 0.85;
    transform: scale(0.97);
    border: 1px solid rgba(139, 0, 0, 0.2);
}

.ivy-restaurant-card.overflow-venue:hover {
    opacity: 1;
    transform: scale(0.97) translateY(-4px);
    box-shadow: 0 12px 36px rgba(139, 0, 0, 0.15);
}

.ivy-restaurant-card.overflow-venue::before {
    height: 4px;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.6) 0%, rgba(165, 42, 42, 0.6) 100%);
}

.ivy-restaurant-card.overflow-venue .restaurant-header {
    background: linear-gradient(135deg, rgba(47, 79, 79, 0.85) 0%, rgba(73, 80, 87, 0.85) 100%);
}

.ivy-restaurant-card.overflow-venue .restaurant-name {
    font-size: 1.4rem;
}

.ivy-restaurant-card.overflow-venue .restaurant-rating {
    font-size: 1rem;
}

/* Small Group Dining Section */
.small-group-dining {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    position: relative;
    margin-top: var(--spacing-xl);
}

.small-group-dining::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-dark) 100%);
}

.small-group-dining h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    text-align: center;
}

.small-group-dining p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.small-group-dining p:last-child {
    margin-bottom: 0;
}

.small-group-dining strong {
    color: var(--secondary-color);
}

/* Responsive styles for restaurant section */
@media (max-width: 768px) {
    .ivy-restaurant-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .ivy-restaurant-card.library-fullwidth {
        grid-column: 1;
    }
    
    .ivy-restaurant-card.oarhouse-simple {
        max-width: 100%;
    }
    
    .ivy-dinner-header h2 {
        font-size: 2rem;
    }
    
    .restaurant-highlights ul {
        grid-template-columns: 1fr;
    }
    
    .dinner-note {
        padding: var(--spacing-lg);
    }
    
    .ivy-restaurant-card.overflow-venue {
        transform: scale(1);
    }
    
    .ivy-restaurant-card.overflow-venue:hover {
        transform: translateY(-4px);
    }
    
    .small-group-dining {
        padding: var(--spacing-lg);
    }
    
    .small-group-dining h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .ivy-dinner-header h2 {
        font-size: 1.8rem;
    }
    
    .restaurant-name {
        font-size: 1.4rem;
    }
    
    .restaurant-content {
        padding: var(--spacing-md);
    }
    
    .dinner-note {
        padding: var(--spacing-md);
    }
    
    .small-group-dining {
        padding: var(--spacing-md);
    }
    
    .small-group-dining h3 {
        font-size: 1.4rem;
    }
    
    .small-group-dining p {
        font-size: 1rem;
    }
}

/* Portsmouth Historical Sites Section */
.portsmouth-historical-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.historical-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.historical-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.historical-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
}

.historical-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.historical-site-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.historical-site-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.historical-site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 1;
}

.historical-site-card.featured-site {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.historical-site-card.featured-site::before {
    height: 6px;
}

.site-image-placeholder {
    height: 120px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(47, 79, 79, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.site-image-container {
    height: 400px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(47, 79, 79, 0.05) 100%);
}

.site-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.historical-site-card:hover .site-image {
    transform: scale(1.05);
}

.site-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.site-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.site-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.site-year {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.site-address {
    background: rgba(139, 0, 0, 0.05);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    border-left: 3px solid var(--primary-color);
}

.site-address strong {
    color: var(--primary-color);
}

.site-distance {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.site-description {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.site-details {
    background: #f8f9fa;
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-light);
}

.detail-item {
    padding: var(--spacing-xs) 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.site-highlights {
    background: linear-gradient(135deg, rgba(47, 79, 79, 0.05) 0%, rgba(139, 0, 0, 0.05) 100%);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.site-highlights h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.site-highlights p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.site-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-highlights li {
    color: var(--text-dark);
    font-size: 0.9rem;
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.5;
}

.site-highlights li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.site-highlights li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.site-highlights li a:hover {
    text-decoration: underline;
}

.site-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
    margin-top: auto;
}

.site-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
}

/* Historical Notes Section */
.historical-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.note-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    transition: all 0.3s ease;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.note-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.note-content p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive Design for Historical Sites Section */
@media (max-width: 768px) {
    .historical-header h2 {
        font-size: 2.2rem;
    }
    
    .historical-sites-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .site-image-placeholder {
        height: 100px;
    }
    
    .placeholder-icon {
        font-size: 2.5rem;
    }
    
    .site-content {
        padding: var(--spacing-md);
    }
    
    .site-content h3 {
        font-size: 1.3rem;
    }
    
    .site-highlights ul {
        padding-left: 0;
    }
    
    .historical-notes {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .note-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .historical-header h2 {
        font-size: 1.8rem;
    }
    
    .historical-header p {
        font-size: 1rem;
    }
    
    .site-image-placeholder {
        height: 80px;
    }
    
    .placeholder-icon {
        font-size: 2rem;
    }
    
    .site-content h3 {
        font-size: 1.2rem;
    }
    
    .site-description {
        font-size: 0.9rem;
    }
    
    .site-link-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .note-card {
        padding: var(--spacing-md);
    }
}

/* Cabot Lyford Sculptures Section */
.cabot-lyford-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: var(--spacing-xxl) 0;
    margin-top: var(--spacing-xxl);
    position: relative;
}

.lyford-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lyford-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.lyford-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
}

.lyford-sculptures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
    width: 100%;
    max-width: 100%;
}

.lyford-sculpture-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lyford-sculpture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.lyford-sculpture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 1;
}

.sculpture-image-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(47, 79, 79, 0.05) 100%);
}

.sculpture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.lyford-sculpture-card:hover .sculpture-image {
    transform: scale(1.08);
}

.sculpture-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sculpture-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.sculpture-location {
    background: rgba(139, 0, 0, 0.05);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    border-left: 3px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
}

.sculpture-location strong {
    color: var(--primary-color);
}

.sculpture-description {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.sculpture-note {
    background: #f8f9fa;
    padding: var(--spacing-sm);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    margin-bottom: var(--spacing-md);
}

.sculpture-note strong {
    color: var(--secondary-color);
}

.sculpture-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
    margin-top: auto;
}

.sculpture-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
}

.lyford-artist-bio {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    max-width: 900px;
    margin: 0 auto;
}

.lyford-artist-bio h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    text-align: center;
}

.lyford-artist-bio p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 0;
    text-align: center;
}

/* Responsive Design for Cabot Lyford Section */
@media (max-width: 1200px) {
    .lyford-sculptures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lyford-header h2 {
        font-size: 2.2rem;
    }
    
    .lyford-sculptures-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .sculpture-image-container {
        height: 250px;
    }
    
    .sculpture-content {
        padding: var(--spacing-md);
    }
    
    .sculpture-content h3 {
        font-size: 1.3rem;
    }
    
    .lyford-artist-bio {
        padding: var(--spacing-lg);
    }
    
    .lyford-artist-bio h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .lyford-header h2 {
        font-size: 1.8rem;
    }
    
    .lyford-header p {
        font-size: 1rem;
    }
    
    .sculpture-image-container {
        height: 200px;
    }
    
    .sculpture-content h3 {
        font-size: 1.2rem;
    }
    
    .sculpture-description {
        font-size: 0.9rem;
    }
    
    .sculpture-link {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .lyford-artist-bio {
        padding: var(--spacing-md);
    }
    
    .lyford-artist-bio h3 {
        font-size: 1.3rem;
    }
    
    .lyford-artist-bio p {
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.btn:focus, .nav-link:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 8px rgba(0,0,0,0.3);
        --shadow-medium: 0 4px 16px rgba(0,0,0,0.4);
        --shadow-heavy: 0 8px 32px rgba(0,0,0,0.5);
    }
    
    .btn-outline, .btn-secondary {
        border-width: 3px;
    }
}

/* 1994 New Orleans Reunion Attendees Section */
.reunion-attendees-section {
    background: linear-gradient(135deg, #2c1810 0%, #3d2317 100%);
    color: #f4f1e8;
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.reunion-attendees-section::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"><text y="0.9em" font-size="90" fill="%23654321" opacity="0.05">🎭</text></svg>') repeat;
    background-size: 150px 150px;
    pointer-events: none;
}

.reunion-attendees-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.reunion-attendees-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.reunion-attendees-header h2 {
    font-size: 3rem;
    color: #d4c4a0;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.reunion-attendees-intro {
    font-size: 1.2rem;
    color: #c9b896;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.attendees-list-container {
    background: rgba(244, 241, 232, 0.95);
    border-radius: 16px;
    padding: var(--spacing-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid #8b4513;
    margin: var(--spacing-xl) 0;
}

.attendees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.attendee-name {
    background: rgba(101, 67, 33, 0.1);
    color: #654321;
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid rgba(101, 67, 33, 0.2);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.attendee-name:hover {
    background: rgba(101, 67, 33, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.3);
}

.attendee-note {
    grid-column: 1 / -1;
    text-align: center;
    color: #8b4513;
    font-style: italic;
    padding: var(--spacing-lg);
    background: rgba(139, 69, 19, 0.1);
    border-radius: 12px;
    border: 2px dashed #8b4513;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design for 1994 Reunion Section */
@media (max-width: 768px) {
    .reunion-attendees-header h2 {
        font-size: 2.2rem;
    }
    
    .reunion-attendees-intro {
        font-size: 1.1rem;
    }
    
    .attendees-list-container {
        padding: var(--spacing-lg);
    }
    
    .attendees-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .attendee-name {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .attendee-note {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .reunion-attendees-header h2 {
        font-size: 1.8rem;
    }
    
    .reunion-attendees-intro {
        font-size: 1rem;
    }
    
    .attendees-list-container {
        padding: var(--spacing-md);
    }
    
    .attendees-grid {
        grid-template-columns: 1fr;
    }
    
    .attendee-name {
        padding: var(--spacing-sm);
        font-size: 0.85rem;
    }
    
    .attendee-note {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }
}

/* Academy Building Entrance Inscriptions Section */
.inscription-elements {
    background: linear-gradient(135deg, #faf8f3 0%, #f5f2e8 100%);
    border-radius: 16px;
    padding: var(--spacing-xxl);
    box-shadow: 
        0 8px 32px rgba(101, 67, 33, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(101, 67, 33, 0.1);
    border: 2px solid #d4c4a0;
    position: relative;
    margin-top: var(--spacing-xl);
}

.inscription-elements::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(101, 67, 33, 0.2);
    border-radius: 12px;
    pointer-events: none;
}

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

.inscription-elements-title {
    font-size: 2.2rem;
    color: #654321;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.inscription-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.inscription-intro p {
    color: #4a3728;
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
}

.inscription-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

.inscription-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: var(--spacing-xl);
    box-shadow: 0 8px 24px rgba(101, 67, 33, 0.15);
    border: 2px solid #d4c4a0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.inscription-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #654321 0%, #8b4513 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.inscription-item:hover::before {
    transform: scaleX(1);
}

.inscription-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(101, 67, 33, 0.25);
}

.inscription-item.historical {
    border-left: 6px solid #8b4513;
}

.inscription-item.current {
    border-left: 6px solid #654321;
}

.inscription-item h4 {
    color: #654321;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.latin-text {
    font-size: 1.4rem;
    color: #8b4513;
    font-weight: var(--font-weight-bold);
    font-style: italic;
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(139, 69, 19, 0.1);
    border-radius: 8px;
    border-left: 4px solid #8b4513;
    line-height: 1.4;
}

.english-translation {
    font-size: 1.2rem;
    color: #654321;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    background: rgba(101, 67, 33, 0.08);
    padding: var(--spacing-sm);
    border-radius: 6px;
    border: 1px solid rgba(101, 67, 33, 0.2);
}

.inscription-item p {
    color: #4a3728;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    text-align: left;
}

.inscription-item strong {
    color: #654321;
    font-weight: var(--font-weight-bold);
}

/* Responsive Design for Inscription Section */
@media (max-width: 768px) {
    .inscription-elements {
        padding: var(--spacing-lg);
    }
    
    .inscription-elements-title {
        font-size: 1.8rem;
    }
    
    .inscription-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .inscription-item {
        padding: var(--spacing-lg);
    }
    
    .inscription-item h4 {
        font-size: 1.3rem;
    }
    
    .latin-text {
        font-size: 1.2rem;
    }
    
    .english-translation {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .inscription-elements {
        padding: var(--spacing-md);
    }
    
    .inscription-elements-title {
        font-size: 1.6rem;
    }
    
    .inscription-item {
        padding: var(--spacing-md);
    }
    
    .inscription-item h4 {
        font-size: 1.2rem;
    }
    
    .latin-text {
        font-size: 1.1rem;
        padding: var(--spacing-sm);
    }
    
    .english-translation {
        font-size: 1rem;
    }
    
    .inscription-intro p {
        font-size: 1rem;
    }
}