@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500;600&display=swap');


/* GLOBAL STYLES */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background-color: #faf8f4;
    color: #222;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 30px;
    background: #111;
    color: #faf8f4;
}

.logo img {
    height: 150px;
    filter: drop-shadow(0px 0px 8px white);
}


nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #faf8f4;
    font-weight: 500;
    font-weight: bolder;
}

nav a:hover, .active {
    color: #ffcc00;
}

nav ul li a {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.05rem;
}


/* HERO SECTION */
.hero {
    background: url("images/beatles.statue.jpg") center/cover no-repeat;
    background-position: center 40%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.50);
}

.hero-text {
    position: relative;
    max-width: 600px;
    color: white;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ffcc00;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.btn:hover {
    background: #ffd633;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 50px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.feature-card h2 {
    margin-top: 0;
}

.feature-card a {
    color: #c02020;
    font-weight: bold;
    text-decoration: none;
}

.feature-card a:hover {
    text-decoration: underline;
}

/* FOOTER */
.site-footer {
  background-color: #111;          
  color: #f1f1f1;
  padding: 40px 20px;
  margin-top: 60px;
  font-family: 'Raleway', sans-serif;
  border-top: 2px solid #f1f1f155;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* mobile friendly */
  justify-content: space-between;
  gap: 20px;
}

.footer-about, 
.footer-nav,
.footer-extra {
  flex: 1 1 250px; /* responsive units */
}

.footer-about h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #f1f1f1;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-extra {
  font-size: 0.9rem;
}

.footer-extra a {
  color: #f1f1f1;
  text-decoration: none;
}

.footer-extra a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-container {
    text-align: center;
  }
}

.top-btn {
  position: fixed;
  bottom: 35px;
  right: 30px;
  background: #000;
  color: rgba(255, 221, 0, 0.85); 
  padding: 12px 16px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  opacity: 0.85;
  z-index: 999;
}
.top-btn:hover {
  opacity: 1;
  color: rgba(255, 221, 0, 1); 
}


/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}





/* SUB-HERO FOR SECONDARY PAGES (HISTORY) */
.sub-hero {
    background: #111;
    color: white;
    padding: 20px 20px;
    text-align: center;
}

.sub-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}


/* TIMELINE  */
.timeline {
    max-width: 950px;
    margin: 70px auto;
    position: relative;
    padding: 20px;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ffcc00;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    width: 100%;
    display: flex;
    margin: 50px 0;
    position: relative;
    padding-top: 40px;
}

.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.right {
    justify-content: flex-end;
}

/* YEAR */
.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
}

/* CONTENT CARD */
.timeline-content {
    background: #f4eee5; 
    padding: 20px;
    width: 42%;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.timeline-content h2 {
    margin-top: 10px;
}

/* TIMELINE IMAGES */
.timeline-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #ddd;
}

/* ANIMATION: FADE-IN */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 800px) {
    .timeline:before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 30px;
    }

    .timeline-content {
        width: calc(100% - 30px);
    }

    .timeline-year {
        left: 20px;
        transform: translateY(-50%);
    }
}


/* GEAR & SOUND STYLES */

.gear-tabs {
    text-align: center;
    margin: 40px 0;
}

.gear-tab {
    background: #111;
    color: white;
    border: none;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.3s;
}

.gear-tab:hover {
    background: #222;
}

.gear-tab.active {
    background: #ffcc00;
    color: black;
}

/* GRID */
.gear-grid {
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, max-content));
    gap: 35px;
    justify-items: center;
    justify-content: center;   
    align-items: start;
}

/* GEAR CARD */
.gear-card {
    width: 350px;
    background: #f4eee5;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;     
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.gear-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* IMAGE */
.gear-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #ddd;
}

/* EXPANDABLE PANELS */
.expand-btn {
    margin-top: 12px;
    background: none;
    border: 2px solid #111;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.expand-btn:hover {
    background: #111;
    color: white;
}

.expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.expand.open {
    margin-top: 12px;
    max-height: 400px;
}

/* MOBILE */
@media (max-width: 600px) {
    .gear-tab {
        padding: 8px 12px;
        margin: 3px;
    }
}



/*BEATLEVERSE GALLERY LAYOUT */

.photo-hero {
    position: relative;
    height: 160px;   
    background: url("images/60s.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); 
}

.photo-hero h1 {
    position: relative;
    color: white;
    font-size: 2.3rem;
    letter-spacing: 1px;
}



/*GALLERY GRID */
.simple-gallery {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.25s ease;
}

.gallery-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    filter: grayscale(0%);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}


.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    border: none;
    padding: 10px 15px;
    font-size: 2.2rem;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.25s ease;
}

.arrow:hover {
    background: rgba(255,255,255,0.3);
}

.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

/* MOBILE */
@media (max-width: 768px) {
    .simple-hero h1 {
        font-size: 2.1rem;
    }
}







/* FUN FACTS SECTION */
.funfacts-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
}

.simple-hero {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #000;
}


/* FLIP CARDS */
.funfacts-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    justify-items: center;
}


.flip-card {
    perspective: 1000px;
    width: 280px;  
    height: 150px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 150px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.flip-front {
    background: #ffd633;
    color:black;
    font-weight: bold;
}

.flip-back {
    background: #f4eee5;
    color: #111;
    transform: rotateY(180deg);
}

/* TRIVIA SECTION */
.trivia-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.trivia-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.question {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.answer-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #f4eee5;
    border: none;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.answer-btn:hover {
    background: #ddd;
}

/* MOBILE */
@media (max-width: 600px) {
    .flip-inner {
        height: 140px;
    }
}



/* INFLUENCE PAGE */
.influence-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

.influence-block {
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.influence-block h2 {
    font-size: 1.9rem;
    margin-bottom: 8px;
}

.influence-block .subtitle {
    color: #555;
    margin-bottom: 20px;
}

.influence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.influence-card {
    background: #f4eee5;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.influence-card h3 {
    margin-bottom: 8px;
    color: #111;
}

.influence-list {
    list-style: none;
    padding-left: 0;
}

.influence-list li {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* INFO CARDS FOR INFLUENCE PAGE */
.info-card {
    background: #f4eee5;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.info-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #111;
}




/* CONTACT FORM */
.contact-wrapper {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
}

.contact-form {
    background: #ffd633;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.contact-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

.contact-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: white;
    font-size: 1rem;
    box-sizing: border-box;
}

.submit-btn {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #111;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #6e0000;
}

/* REAL-TIME FORM VALIDATION */
.error-message {
    color: #bb2222;
    font-size: 0.9rem;
    margin-top: 4px;
    display: block;
    height: 18px; 
}

input.error, textarea.error {
    border: 2px solid #bb2222;
}

input.valid, textarea.valid {
    border: 2px solid #3fae4f;
}


/* THANK YOU PAGE */
.thankyou-page {
    padding: 100px 20px;
    text-align: center;
}

.thankyou-page h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}


.newsletter-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 5px;
}

.newsletter-row input {
    width: auto !important;
    flex-shrink: 0;
}

.newsletter-row label {
    display: inline-block !important;
    margin: 0;
    width: auto;
}




/* THANK YOU PAGE */
.thankyou-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #6e0000;
}

.submarine-img {
    width: 140px;
    margin: 15px auto;
    display: block;
}

.thankyou-card {
    background: #f4eee5;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 500px;
}

.checkmark {
    font-size: 3rem;
    background: #111;
    color: #ffcc00;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thankyou-card h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.beatles-quote {
    font-style: italic;
    color: #444;
    margin: 20px 0;
}

.back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #ffcc00;
    color: #111;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}






/* ===============================
   GLOBAL MOBILE RESPONSIVENESS
   =============================== */

@media (max-width: 768px) {

    /* NAVIGATION */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav ul li a {
        font-size: 0.9rem;
        padding: 6px;
    }

    /* LOGO */
  .logo img {
    width: 70vw;
    max-width: 170px;
    height: auto;
  }

    /* HERO SECTIONS */
    .simple-hero,
    .sub-hero,
    .history-hero,
    .gallery-hero {
        padding: 40px 20px !important;
        text-align: center;
    }

    .simple-hero h1,
    .sub-hero h1,
    .history-hero h1 {
        font-size: 1.9rem !important;
    }

    /* TIMELINE */
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .timeline-year {
        font-size: 1.5rem;
    }

    /* GEAR GRID */
    .gear-grid {
        grid-template-columns: 1fr !important;
    }
    .gear-card {
        width: 90% !important;
        margin: 0 auto;
    }

    .gear-img {
        aspect-ratio: 4 / 3;
    }

    /* FUN FACTS GRID */
    .funfacts-grid {
        grid-template-columns: 1fr !important;
        justify-items: center;
    }
    .flip-card {
        width: 90% !important;
    }

    /* TRIVIA CARD */
    .trivia-card {
        width: 100%;
    }

    /* GALLERY MASONRY → STACK */
    .gallery-masonry {
        flex-direction: column;
    }

    /* INFLUENCE CARDS */
    .influence-grid {
        grid-template-columns: 1fr !important;
    }
    .influence-card {
        width: 100%;
    }

    /* CONTACT FORM */
    .contact-wrapper {
        padding: 10px;
    }

    .contact-form {
        padding: 20px;
    }

    .newsletter-row {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    /* THANK YOU PAGE */
    .thankyou-card {
        width: 95%;
        padding: 25px;
    }
}



















