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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    --gradient-winter: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-snow: linear-gradient(to bottom, #e0f2fe 0%, #f8fafc 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #1e1b4b 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.lang-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('images/donnersbachwald.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::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"><defs><pattern id="snow" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23snow)"/></svg>');
    animation: snowfall 20s linear infinite;
}

@keyframes snowfall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100vh); }
}

.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    animation: snowdrift 10s linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.snowflake:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 10s; }
.snowflake:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 12s; }
.snowflake:nth-child(4) { left: 70%; animation-delay: 1s; animation-duration: 9s; }
.snowflake:nth-child(5) { left: 80%; animation-delay: 3s; animation-duration: 11s; }
.snowflake:nth-child(6) { left: 90%; animation-delay: 5s; animation-duration: 7s; }

@keyframes snowdrift {
    0% {
        transform: translateY(-100px) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    color: #2d3748;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.title-line {
    display: block;
    animation: slideInUp 1s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }

.year {
    display: block;
    font-size: 0.6em;
    color: #2d3748;
    margin-top: 10px;
    animation: slideInUp 1s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
    color: #2d3748;
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.9),
        -1px -1px 2px rgba(255, 255, 255, 0.8),
        1px -1px 2px rgba(255, 255, 255, 0.8),
        -1px 1px 2px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    display: inline-block;
    font-weight: 500;
}

@keyframes fadeIn {
    to { opacity: 0.9; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

.cta-button {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.cta-button.primary {
    background: var(--accent-color);
    color: white;
}

.cta-button.primary:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    border: 2px solid #2d3748;
}

.cta-button.secondary:hover {
    background: #2d3748;
    color: white;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid #2d3748;
    border-bottom: 2px solid #2d3748;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--gradient-snow);
}

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

.stat-item {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.7;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Itinerary Section */
.itinerary {
    padding: 100px 0;
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.timeline-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.timeline-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

.timeline-meta i {
    color: var(--accent-color);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--gradient-snow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.gallery-placeholder span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: white;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 40px;
}

.route-description {
    background: var(--gradient-winter);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.route-description::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"><circle cx="20" cy="30" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="20" r="1.5" fill="white" opacity="0.1"/><circle cx="60" cy="70" r="1" fill="white" opacity="0.1"/></svg>');
}

.route-description h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.interactive-map {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    z-index: 1;
}

/* Custom map icon styling */
.custom-icon {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #1e3a8a;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.custom-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.route-info {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.route-line {
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    position: relative;
}

.route-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(255, 255, 255, 0.5);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Friends Section */
.friends {
    padding: 100px 0;
    background: var(--gradient-snow);
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.friend-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.friend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-winter);
}

.friend-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.friend-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-winter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    overflow: hidden;
}

.friend-avatar.photo-avatar {
    background: none;
    padding: 0;
}

.friend-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.friend-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.friend-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.friend-card p {
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 15px;
}

.friend-role {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 15px;
}

.view-gallery-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin: 0 auto;
}

.view-gallery-btn:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section h3 {
    font-size: 1.3rem;
}

.footer-section h3 i {
    margin-right: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section ul li i {
    margin-right: 8px;
    color: var(--accent-color);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 10px;
        gap: 3px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 0;
    }

    .route-info {
        flex-direction: column;
        gap: 10px;
    }

    .route-line {
        width: 3px;
        height: 30px;
        transform: rotate(0deg);
    }

    .route-line::after {
        right: 50%;
        top: 100%;
        transform: translateX(50%);
        border-left: 5px solid rgba(255, 255, 255, 0.5);
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .friends-grid {
        grid-template-columns: 1fr;
    }
}

/* Photo Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 60%;
    max-height: 70%;
    position: relative;
    animation: zoomIn 0.3s ease-out;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 600px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: var(--transition);
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    transform: scale(1.1);
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 150px;
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes zoomIn {
    from {
        transform: scale(0.3);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Clickable photos in gallery */
.gallery-placeholder {
    cursor: pointer;
}

.gallery-placeholder:hover i {
    transform: scale(1.2);
    color: var(--accent-color);
}

/* Crew Gallery Modal */
.crew-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.crew-modal-content {
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

.close-crew-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-crew-modal:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.crew-modal-header {
    background: var(--gradient-winter);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.crew-member-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.crew-modal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-medium);
}

.crew-member-details h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.crew-member-details p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.crew-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
}

.crew-gallery-item {
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-align: center;
}

.crew-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.crew-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .modal {
        padding-top: 20px;
    }
    
    .close-modal {
        top: 10px;
        right: 20px;
        font-size: 30px;
        width: 45px;
        height: 45px;
    }
    
    .modal-content {
        max-width: 85%;
        max-height: 60%;
    }
    
    #modalCaption {
        width: 90%;
        font-size: 1rem;
        height: 100px;
    }
    
    .interactive-map {
        height: 350px;
        border-radius: 8px;
    }
    
    .route-description {
        padding: 30px 20px;
    }
    
    .route-description h3 {
        font-size: 1.5rem;
    }
    
    .crew-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .crew-member-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .crew-modal-header {
        padding: 30px 20px;
    }
    
    .crew-member-details h2 {
        font-size: 2rem;
    }
    
    .crew-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 20px;
    }
    
    .close-crew-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 45px;
        height: 45px;
    }
}
