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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #8B4513;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #A0522D;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    font-size: 1.5rem;
    color: #8B4513;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8B4513;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8B4513;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #8B4513;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('reading-farms.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 600px;
    padding: 0 2rem;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.hero-date {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background-color: #D2B48C;
    margin: 0 auto;
}

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

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

/* Location Section */
.location {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('https://images.unsplash.com/photo-1519167758481-83f2946f4b4a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.location-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.address {
    font-size: 1.2rem;
    color: #8B4513;
    margin: 1rem 0;
    font-weight: 600;
}

.location-description {
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.location-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Schedule Section */
.schedule {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('reading-farms-trees.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.schedule-container {
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-day {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.day-title {
    text-align: center;
    color: #8B4513;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #D2B48C;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #D2B48C, #8B4513);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-time {
    flex: 0 0 200px;
    text-align: center;
    font-weight: 600;
    color: #8B4513;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    position: relative;
    border: 1px solid #D2B48C;
}

.timeline-content h4 {
    color: #8B4513;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: rgba(255, 255, 255, 0.9);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: rgba(255, 255, 255, 0.9);
}

/* Details Section */
.details {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('reading-farms-night.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

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

.detail-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #8B4513;
    color: white;
    border-color: #8B4513;
}

.btn-primary:hover {
    background-color: transparent;
    color: #8B4513;
    border-color: #8B4513;
}

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

.btn-secondary:hover {
    background-color: #8B4513;
    color: white;
}

/* Footer */
.footer {
    background-color: #8B4513;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-menu a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-date {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-content {
        padding: 0 1rem;
    }

    .location-info {
        padding: 2rem;
    }

    .schedule-day {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .day-title {
        font-size: 1.5rem;
    }

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

    .timeline-item {
        flex-direction: column !important;
        margin-left: 40px;
    }

    .timeline-time {
        flex: none;
        text-align: left;
        margin-bottom: 1rem;
    }

    .timeline-content {
        margin: 0;
    }

    .timeline-content::before {
        display: none;
    }

    .location-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        margin: 0.5rem 0;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .location-info {
        padding: 1.5rem;
    }

    .timeline-item {
        margin-left: 30px;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
    .location,
    .schedule,
    .details {
        background-attachment: scroll;
    }
}
