/* ==========================================================================
   Ruston Family Whist Drive - Main Stylesheet
   Card-themed design with championship elegance
   ========================================================================== */

/* CSS Custom Properties */
:root {
    /* Classic Card Game Palette */
    --card-black: #1a1a1a;        /* Deep black for suits and text */
    --card-red: #dc2626;          /* Classic playing card red */
    --poker-green: #0f2419;       /* Dark poker table green */
    --poker-green-light: #1e4d2b; /* Lighter poker green */
    --championship-gold: #fbbf24; /* Gold for winners */
    --silver-gray: #9ca3af;       /* Silver accents */
    --cream-white: #fefefe;       /* Card background */
    
    /* Card Theme Colors */
    --red-suit: #dc2626;          /* Classic red for visibility */
    --black-suit: #f8fafc;        /* Soft white for black suits */
    --card-bg: #fefefe;           /* Warm white card backgrounds */
    --card-border: #22c55e;       /* Harmonious green borders */
    
    /* Championship Colors */
    --gold: #d4af37;              /* Muted gold */
    --silver: #cbd5e1;            /* Warm silver */
    --bronze: #a16207;            /* Warm bronze */
    --champion-crown: #d4af37;    /* Consistent gold */
    
    /* Base Colors */
    --primary: #d4af37;           /* Muted gold for accents */
    --primary-dark: #0a1a0f;      /* Very dark green instead of black */
    --secondary: #22c55e;         /* Softer green for highlights */
    --accent: #dc2626;            /* Softer red for important elements */
    --text-primary: #f8fafc;      /* Soft white text for dark backgrounds */
    --text-secondary: #cbd5e1;    /* Warm light gray text for dark backgrounds */
    --text-muted: #94a3b8;        /* Muted warm gray for dark backgrounds */
    --text-primary-dark: #1a1a1a; /* Dark text for light backgrounds */
    --text-secondary-dark: #4b5563; /* Gray text for light backgrounds */
    --text-muted-dark: #6b7280;   /* Muted gray for light backgrounds */
    --bg-primary: #0f2419;        /* Poker green main background */
    --bg-secondary: #1a3a28;      /* Medium poker green */
    --bg-accent: #245239;         /* Lighter warm green */
    --border: #22c55e;            /* Softer green borders */
    --border-light: #16a34a;      /* Medium green borders */
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    /* Borders */
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
}

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

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

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

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

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

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.75rem; }
}

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

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

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Scorecard Button */
.scorecard-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    font-family: var(--font-secondary);
}

.scorecard-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    color: white;
}

.scorecard-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

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

.card-suits {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5rem;
}

.card-suits .heart,
.card-suits .diamond {
    color: var(--red-suit);
}

.card-suits .club,
.card-suits .spade {
    color: var(--black-suit);
}

.site-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }
}

.site-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0;
}

/* Navigation */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: center;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background-color: var(--bg-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '♠ ♥ ♦ ♣';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
    opacity: 0.9;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    border-radius: 2px;
}

/* Section title variant for light backgrounds */
.section-title.light {
    color: var(--text-primary-dark);
}

/* Current Champion Section */
.current-champion-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-secondary);
}

.champion-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
    color: white;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.champion-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.champion-crown {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.champion-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.champion-year {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.champion-record {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
}

.champion-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.champion-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Quick Stats Section */
.quick-stats-section {
    padding: var(--spacing-3xl) 0;
}

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

.quick-stat-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
    position: relative;
}

.quick-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 30%, var(--secondary) 100%);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.quick-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.quick-stat-card h3 {
    font-size: 1.125rem;
    color: var(--text-primary-dark);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-primary);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.quick-stat-card p {
    font-size: 0.875rem;
    color: var(--text-secondary-dark);
    margin-bottom: var(--spacing-lg);
}

.quick-stat-card a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Recent Tournaments Section */
.recent-tournaments-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-secondary);
}

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

.tournament-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tournament-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--secondary) 100%);
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tournament-year {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-primary);
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.tournament-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary-dark);
}

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

.tournament-stats {
    font-size: 0.875rem;
    color: var(--text-secondary-dark);
    margin-bottom: var(--spacing-lg);
}

.tournament-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.view-all-tournaments {
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-primary);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--gold);
}

.footer-section p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tournament-grid {
        grid-template-columns: 1fr;
    }
}

/* Photo Gallery Styles */
.photo-gallery {
    margin: var(--spacing-2xl) 0;
}

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

.gallery-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.gallery-icon {
    font-size: 2.5rem;
}

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

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

.photo-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--card-border);
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.photo-container {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    overflow: hidden;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.photo-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.photo-filename {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.photo-view-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photo-view-btn:hover {
    background: white;
    transform: scale(1.1);
}

.photo-type-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.photo-type-badge.event { background: var(--primary); }
.photo-type-badge.gameplay { background: var(--secondary); }
.photo-type-badge.social { background: var(--gold); }
.photo-type-badge.celebration { background: var(--red-suit); }
.photo-type-badge.group { background: var(--black-suit); }
.photo-type-badge.ceremony { background: var(--champion-crown); }
.photo-type-badge.family { background: var(--accent); }
.photo-type-badge.milestone { background: var(--bronze); }

.photo-caption {
    padding: var(--spacing-lg);
}

.photo-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.photo-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.photo-date {
    font-weight: 500;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
}

.lightbox-prev {
    left: var(--spacing-md);
}

.lightbox-next {
    right: var(--spacing-md);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    max-height: 90vh;
}

.lightbox-image-container {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.lightbox-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.lightbox-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.lightbox-text {
    font-size: 1.125rem;
    font-weight: 500;
}

.lightbox-info {
    padding: var(--spacing-2xl);
    background: var(--card-bg);
}

.lightbox-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.lightbox-caption {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.lightbox-date {
    font-weight: 500;
}

.lightbox-type {
    background: var(--primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .lightbox-content {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
    
    .lightbox-info {
        padding: var(--spacing-lg);
    }
    
    .lightbox-container {
        max-width: 95vw;
        max-height: 95vh;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }