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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d4059;
}

.logo i {
    color: #ff6b6b;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ff6b6b;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b6b;
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 50%, 
        #ff6b6b 100%);
    animation: gradientShift 10s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, 
            #667eea 0%, 
            #764ba2 50%, 
            #ff6b6b 100%);
    }
    100% {
        background: linear-gradient(135deg, 
            #ff6b6b 0%, 
            #764ba2 50%, 
            #667eea 100%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.highlight {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 2rem;
    color: #ffd700;
}

.stat-item span {
    font-weight: 600;
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: bounce 2s infinite;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2d4059;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Overview Section */
.overview {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.overview-card:hover::before {
    left: 100%;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d4059;
}

.overview-card p {
    color: #666;
    margin-bottom: 1rem;
}

.card-details {
    color: #999;
    font-size: 0.9rem;
}

/* Spots Section */
.spots {
    background: white;
}

.spots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.spot-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.spot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.spot-image {
    height: 200px;
    position: relative;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.kegon-bg {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.chuzenji-bg {
    background: linear-gradient(135deg, #55a3ff, #003d82);
}

.yumoto-bg {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.kawakudari-bg {
    background: linear-gradient(135deg, #00cec9, #00b894);
}

.rinnoji-bg {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.spot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.vote-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.vote-btn:hover {
    background: white;
    transform: scale(1.05);
}

.vote-btn.voted {
    background: #ff6b6b;
    color: white;
}

.spot-content {
    padding: 1.5rem;
}

.spot-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d4059;
}

.spot-tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag.popular {
    background: #ff6b6b;
    color: white;
}

.spot-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.spot-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.spot-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Food Section */
.food {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

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

.food-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.food-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.food-image {
    height: 150px;
    position: relative;
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
}

.minmin-bg {
    background: linear-gradient(135deg, #ff7675, #d63031);
}

.masashi-bg {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.koran-bg {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.kirasse-bg {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.food-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.food-content {
    padding: 1.5rem;
}

.food-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d4059;
}

.food-tags {
    margin-bottom: 1rem;
}

.food-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.food-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
    flex-wrap: wrap;
}

.food-info span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Routes Section */
.routes {
    background: white;
}

.routes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.route-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6b6b;
}

.route-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.route-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.route-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.route-badge.popular {
    background: #ffd700;
    color: #333;
}

.route-vote-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.route-vote-btn:hover {
    background: white;
    transform: scale(1.05);
}

.route-vote-btn.voted {
    background: #ff6b6b;
    color: white;
}

.route-timeline {
    padding: 2rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 50px;
    width: 2px;
    height: 30px;
    background: #e0e0e0;
}

.timeline-time {
    background: #ff6b6b;
    color: white;
    padding: 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
}

.timeline-content strong {
    display: block;
    color: #2d4059;
    margin-bottom: 0.2rem;
}

.timeline-content span {
    color: #666;
    font-size: 0.9rem;
}

.route-features {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature {
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Schedule Section */
.schedule {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* User Input */
.user-input-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.input-group {
    display: flex;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
}

.input-group label {
    font-weight: 600;
    color: #2d4059;
    margin-bottom: 0.5rem;
    display: block;
}

.input-group input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.save-user-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.save-user-btn:hover {
    background: #ff5252;
    transform: translateY(-1px);
}

.current-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #e8f5e8;
    border-radius: 10px;
    color: #2d4059;
    font-weight: 600;
}

.change-user-btn {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.change-user-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

/* Calendar */
.calendar-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.calendar-header h3 {
    color: #2d4059;
    font-size: 1.8rem;
    margin: 0;
}

.calendar-legend {
    display: flex;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.legend-color.available {
    background: #4caf50;
}

.legend-color.unavailable {
    background: #f44336;
}

.calendar-grid-full {
    max-width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 1px;
}

.weekday {
    background: #f8f9fa;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #666;
    border-radius: 5px 5px 0 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.calendar-day {
    background: white;
    padding: 1rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.other-month:hover {
    background: #f8f9fa;
    transform: none;
    box-shadow: none;
}

.calendar-day.weekend {
    background: #fff8f0;
}

.calendar-day.weekend:hover {
    background: #fff0e0;
}

.day-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d4059;
    margin-bottom: 0.5rem;
}

.day-status {
    font-size: 0.8rem;
    text-align: center;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.day-status.available {
    background: #e8f5e8;
    color: #4caf50;
}

.day-status.unavailable {
    background: #ffebee;
    color: #f44336;
}

.day-participants {
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.3rem;
}

/* Calendar responsive */
@media (max-width: 768px) {
    .calendar-day {
        min-height: 60px;
        padding: 0.5rem;
    }
    
    .day-number {
        font-size: 1rem;
    }
    
    .calendar-header {
        flex-direction: column;
        text-align: center;
    }
    
    .calendar-legend {
        justify-content: center;
    }
}

.vote-summary {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vote-summary h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2d4059;
    font-size: 1.5rem;
}

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

.summary-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.summary-item h4 {
    color: #2d4059;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.summary-value {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 1.1rem;
}

.schedule-summary {
    position: relative;
}

.details-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem auto 0;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.schedule-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #ff6b6b;
}

.stat-card h4 {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d4059;
}

.date-details-container,
.participants-list {
    margin-bottom: 2rem;
}

.date-details-container h4,
.participants-list h4 {
    color: #2d4059;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.date-detail-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.date-detail-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.date-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.date-detail-date {
    font-weight: 600;
    color: #2d4059;
    font-size: 1.1rem;
}

.date-detail-count {
    background: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.date-detail-participants {
    color: #666;
    font-size: 0.9rem;
}

.date-detail-participants.no-participants {
    color: #999;
    font-style: italic;
}

.participant-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.participant-name {
    font-weight: 600;
    color: #2d4059;
}

.participant-dates {
    color: #666;
    font-size: 0.9rem;
}

.participant-count {
    background: #4caf50;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .schedule-stats {
        grid-template-columns: 1fr;
    }
    
    .date-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .participant-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Footer */
.footer {
    background: #2d4059;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats .stat-item {
        flex-direction: row;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .spots-grid,
    .food-grid,
    .routes-container {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .route-header {
        flex-direction: column;
        text-align: center;
    }
    
    .food-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.6s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Interactive elements */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}