
/* Reset and Basics */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Georgia', serif; line-height: 1.6; color: #333; background: #f9f5f0; }

/* Hero Header */
.hero { position: relative; width: 100%; height: 40vh; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; }
.hero-overlay h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-overlay p { font-size: 1.2rem; }

/* Navigation */
.nav-bar { display: flex; justify-content: center; background: #8B4513; /* Earthy brown for WNY/Italy vibe */ box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 0; }
.nav-btn { display: block; margin: 0 0.5rem; padding: 1rem 1.5rem; text-decoration: none; color: white; background: transparent; border: none; font-size: 1.1rem; transition: background 0.3s; }
.nav-btn:hover, .nav-btn.active { background: rgba(255,255,255,0.2); border-radius: 5px; }

/* Main Content */
.main { max-width: 800px; margin: 2rem auto; padding: 0 1rem; }
.content { background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin-bottom: 1rem; }
.content h2 { color: #8B4513; border-bottom: 2px solid #D2B48C; padding-bottom: 0.5rem; }
.content ul { list-style-type: disc; padding-left: 1.5rem; }
.content li { margin-bottom: 0.5rem; }

/* EARL PHOTO FIXED IN UPPER-LEFT CORNER */
.earl-corner-photo {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;                    /* sits on top of hero image & overlay */
    background: rgba(255,255,255,0.95);
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.earl-corner-photo:hover {
    transform: scale(1.05);
}

.earl-corner-photo img {
    width: 160px !important;        /* size you want in corner */
    height: auto !important;
    border-radius: 10px;
    display: block;
}

.earl-caption {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #444;
    margin-top: 4px;
    font-style: italic;
}

/* On very small phones, move it a bit so it doesn't hit edges */
@media (max-width: 480px) {
    .earl-corner-photo {
        top: 10px;
        left: 10px;
    }
    .earl-corner-photo img {
        width: 90px !important;
    }
}




/* If you ever want a right-floating version */
.pop-out-right {
    float: right;
    margin: 0.5rem 0 0.5rem 1rem;
}

.trip-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d2b48c;
}

.trip-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trip-section h2 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.video-wrapper {
    max-width: 100%;
    margin: 2rem auto;           /* centers it and adds nice spacing */
    text-align: center;
}

.video-wrapper video {
    width: 100%;
    max-width: 480px;           /* your desired size */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    object-fit: contain;        /* ← this is the magic line */
    background: #000;           /* optional – gives black bars instead of stretching */
}

.video-wrapper figcaption {
    margin-top: 0.5rem;
    font-style: italic;
    color: #666;
}

@media (max-width: 480px) {  /* Tighter than 768px for small phones */
    .nav-bar { flex-direction: column; gap: 0.5rem; }
    .content { font-size: 1.05rem; padding: 1rem; }
    .video-wrapper video { max-width: 100%; }  /* Ensures full-width on tiny screens */
}

@media (max-width: 400px) {
    .content { padding: 0.75rem; line-height: 1.5; }
    .nav-btn:hover { transform: scale(1.05); } /* Optional flair */
}

.spacer { margin: 1rem 0; }

/* Footer */
.footer { text-align: center; padding: 1rem; background: #8B4513; color: white; margin-top: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .nav-bar { flex-wrap: wrap; justify-content: center; }
    .nav-btn { margin: 0.25rem; flex: 1 1 45%; text-align: center; }
    .hero-overlay h1 { font-size: 2rem; }
    .hero { height: 30vh; }
}
