:root {
	--purple: #8b5cf6;
	--light-purple: #C4b5fd;
	--dark: #0d0d0f;
	--light: #f5f3ef;
	--text: #e5e7eb;
}
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}
body {
	margin: 0;
	font-family: 'Inter', sans-serif;
	background: var(--dark);
	color: var(--text);
}
/* =========================
   HEADER
   ========================= */

.site-header {
    width: 100%;
    background: #080808;
    border-bottom: 1px solid #333333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    width: 100%;
    max-width: none;

    min-height: 70px;

    padding: 0 40px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #ffffff;
}

.logo {
    color: #9b6cff;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: #a78bfa;
}

.header-button {
    background: #8b5cf6;
    color: #ffffff;
    text-decoration: none;

    padding: 13px 22px;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;

    border-radius: 2px;
}

.header-button:hover {
    background: #6d45c7;
}

/* =========================
   HEADER MOBILE
   ========================= */
@media (max-width: 700px) {

    .header-inner {
        padding: 15px 5%;

        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        gap: 18px;
    }

}
/* =========================
   HERO
   ========================= */

.hero {
    display: grid;
    grid-template-columns: 42% 58%;

    min-height: 560px;

    background: #080808;
    color: #ffffff;

    overflow: hidden;
}


/* LEFT SIDE */

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px 50px 70px 6vw;

    position: relative;
    z-index: 3;
}

.hero-content h1 {
    margin: 0 0 25px;

    font-size: clamp(42px, 4vw, 68px);
    line-height: 0.98;

    font-weight: 900;
    letter-spacing: -1px;

    color: #ffffff;
}

.hero-content h1 span {
    color: #a78bfa;
}

.hero-content p {
    max-width: 520px;

    margin: 0 0 30px;

    color: #dddddd;

    font-size: 16px;
    line-height: 1.6;
}


/* HERO BUTTON */

.hero-content .btn {
    display: inline-block;

    width: fit-content;

    padding: 16px 25px;

    background: #8b5cf6;
    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 0.5px;
}

.hero-content .btn:hover {
    background: #6d45c7;
}


/* RIGHT SIDE IMAGE */

.hero-image {
    position: relative;

    width: 100%;
    height: 560px;

    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* DARK GRADIENT AT LEFT EDGE OF IMAGE */

.hero-image::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 35%;
    height: 100%;

    background: linear-gradient(
        90deg,
        #080808 0%,
        rgba(8, 8, 8, 0.75) 35%,
        rgba(8, 8, 8, 0) 100%
    );

    pointer-events: none;
}
/* =========================
   Hero Mobile
   ========================= */
@media (max-width: 800px) {

    .hero {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .hero-content {
        padding: 70px 7% 50px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-image {
        height: 400px;
    }

    .hero-image::after {
        display: none;
    }

}

	/* =========================
   FEATURES SECTION
   ========================= */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #111111;
    color: #ffffff;
    padding: 25px 5%;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 42px;
    height: 42px;

    fill: none;
    stroke: #a78bfa;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature h3 {
    margin: 0 0 6px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.feature p {
    margin: 0;
    color: #bdbdbd;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 900px) {

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .features {
        grid-template-columns: 1fr;
    }

}
/* =========================
   EXPLORE THE ERAS
   ========================= */

.eras {
    background: #f5f2ec;
    color: #111111;
    padding: 80px 5%;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-heading h2 {
    margin: 0 0 15px;
    font-size: 38px;
    letter-spacing: 1px;
}

.section-heading p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}


/* ERA CARDS */

.era-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.era-card {
    background: #ffffff;
    border: 1px solid #d8d4ce;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.era-card:hover {
    transform: translateY(-5px);
}

.era-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.era-content {
    padding: 25px;
}

.era-content h3 {
    margin: 0 0 15px;
    font-size: 22px;
}

.era-content p {
    margin: 0 0 25px;
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
}


/* ERA BUTTON */

.era-button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #8b5cf6;
    color: #6d45c7;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.era-button:hover {
    background: #8b5cf6;
    color: #ffffff;
}


/* VIEW ALL */

.view-all-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 14px 35px;
    background: #8b5cf6;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
}

.view-all-button:hover {
    background: #6d45c7;
}

@media (max-width: 1000px) {

    .era-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .eras {
        padding: 60px 5%;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .era-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   TIME MACHINE SECTION
   ========================= */

.time-machine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
    background: #111111;
    color: #ffffff;
}

.time-machine-image {
    overflow: hidden;
}

.time-machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.time-machine-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    max-width: 700px;
}

.eyebrow {
    color: #a78bfa;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.time-machine-content h2 {
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 30px;
    letter-spacing: 1px;
}

.time-machine-content h2 span {
    color: #a78bfa;
}

.time-machine-content p {
    color: #c4c4c4;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px;
}

.time-machine-button {
    display: inline-block;
    width: fit-content;
    margin-top: 15px;
    padding: 14px 25px;
    background: #8b5cf6;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.time-machine-button:hover {
    background: #6d45c7;
}

@media (max-width: 800px) {

    .time-machine {
        grid-template-columns: 1fr;
    }

    .time-machine-image {
        height: 350px;
    }

    .time-machine-content {
        padding: 60px 7%;
    }

    .time-machine-content h2 {
        font-size: 32px;
    }

}

/* =========================
   BOOKING CTA
   ========================= */

.booking-cta {
    background: #8b5cf6;
    color: #ffffff;
    text-align: center;
    padding: 90px 5%;
}

.booking-content {
    max-width: 800px;
    margin: 0 auto;
}

.booking-cta .eyebrow {
    color: #ffffff;
    opacity: 0.8;
}

.booking-cta h2 {
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 25px;
    letter-spacing: 1px;
}

.booking-cta p {
    max-width: 650px;
    margin: 0 auto 35px;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
}

.booking-button {
    display: inline-block;
    padding: 16px 30px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.booking-button:hover {
    background: #222222;
}

@media (max-width: 600px) {

    .booking-cta {
        padding: 70px 7%;
    }

    .booking-cta h2 {
        font-size: 30px;
    }

    .booking-cta p {
        font-size: 14px;
    }

}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: #0b0b0b;
    color: #ffffff;
    padding: 60px 5% 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-brand h2 {
    margin: 0 0 15px;
    font-size: 20px;
    letter-spacing: 1px;
}

.footer-brand p {
    max-width: 350px;
    color: #999999;
    line-height: 1.6;
    font-size: 14px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 20px;
    color: #a78bfa;
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-links a,
.footer-contact a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #a78bfa;
}

.footer-contact p {
    color: #999999;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #252525;
    padding: 20px 0;
    text-align: center;
    color: #666666;
    font-size: 12px;
}
@media (max-width: 700px) {

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}

/* =========================
   ERA MODAL
   ========================= */

.era-modal {
    position: fixed;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;

    z-index: 2000;
}

.era-modal.active {
    display: flex;
}

.era-modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    backdrop-filter: blur(5px);
}

.era-modal-window {
    position: relative;

    width: 100%;
    max-width: 1000px;
    max-height: 90vh;

    overflow-y: auto;

    background: #111111;

    border: 1px solid #333333;

    color: #ffffff;

    z-index: 2;

    padding: 45px;
}

.era-modal-close {
    position: absolute;

    top: 15px;
    right: 20px;

    border: none;
    background: none;

    color: #ffffff;

    font-size: 32px;

    cursor: pointer;
}

.era-modal-close:hover {
    color: #a78bfa;
}


/* MODAL HEADER */

.era-modal-header {
    margin-bottom: 30px;
}

.era-modal-header .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.era-modal-header h2 {
    margin: 0;

    font-size: 42px;
    line-height: 1;

    color: #ffffff;
}


/* IMAGES */

.era-modal-images {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 35px;
}

.era-modal-images img {
    width: 100%;
    height: 190px;

    object-fit: cover;

    display: block;
}


/* CONTENT */

.era-modal-content h3 {
    margin: 0 0 15px;

    font-size: 24px;
}

.era-modal-content p {
    max-width: 800px;

    margin: 0 0 30px;

    color: #c7c7c7;

    font-size: 15px;

    line-height: 1.7;
}


/* DETAILS */

.era-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;

    padding: 25px 0;

    margin-bottom: 30px;
}

.era-details div {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.era-details strong {
    color: #a78bfa;

    font-size: 11px;

    letter-spacing: 1px;
}

.era-details span {
    color: #cccccc;

    font-size: 14px;

    line-height: 1.5;
}


/* BOOK BUTTON */

.modal-book-button {
    display: inline-block;

    padding: 15px 25px;

    background: #8b5cf6;

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: bold;
}

.modal-book-button:hover {
    background: #6d45c7;
}

/* MOBILE MODAL */
@media (max-width: 700px) {

    .era-modal {
        padding: 10px;
    }

    .era-modal-window {
        padding: 30px 20px;
    }

    .era-modal-header h2 {
        font-size: 32px;
    }

    .era-modal-images {
        grid-template-columns: 1fr;
    }

    .era-modal-images img {
        height: 200px;
    }

    .era-details {
        grid-template-columns: 1fr;
    }

}