@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Outfit:wght@200;300;400&display=swap');

/* 1. Layout Anchor: Prevents centered headers/navigation from jumping when scrollbars appear */
html {
    scrollbar-gutter: stable !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: hsl(193, 7%, 13%);
    color: #e5e5e5;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ==========================================================================
   Global Body Text & Paragraph Defaults
   ========================================================================== */
p {
    color: #b8b8b8;
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.65;
    margin: 0 0 18px 0;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
}

p strong,
p b {
    color: #f0f0f0;
    font-size: 15.5px;
    font-weight: 400;
}

p em,
p i {
    color: #a0a0a0;
}

.narrative-body {
    color: #b8b8b8;
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.65;
    text-transform: none;
    text-align: left;
}

.narrative-body p {
    margin: 0 0 18px 0;
}

.narrative-body strong {
    color: #f0f0f0;
    font-size: 15.5px;
    font-weight: 400;
}

.narrative-body em {
    color: #a0a0a0;
}

/* ==========================================================================
   Shared Interactive Utilities & Link Hover System
   ========================================================================== */
a.inline-link {
    color: inherit;
    text-decoration: none;
}

a.inline-link strong {
    transition: color 0.2s ease;
}

a.inline-link:hover strong,
a.inline-link:active strong {
    color: #c9521e;
}

.signature {
    margin-top: 14px;
    margin-bottom: 25px;
}

/* Pill Button Style (Buy / Say Hello / Action) */
.pill-button,
.buy-button,
.say-hello-button {
    font-family: 'Outfit', sans-serif;
    display: inline-block;
    background-color: hsl(21, 82%, 28%);
    border: 1px solid hsl(21, 82%, 28%);
    color: #ffffff;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 200;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 36px;
    border-radius: 40px;
    margin-top: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.pill-button:hover,
.buy-button:hover,
.say-hello-button:hover {
    background-color: hsl(21, 82%, 24%);
}

/* Standard Divider Lines */
hr.layout-divider {
    border: none;
    border-top: 2px solid #8c8c8c;
    margin: 45px 0;
    width: 100%;
}

/* ==========================================================================
   Header & Logo
   ========================================================================== */
header {
    text-align: center;
    padding: 90px 20px 40px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 200;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.55em;
    line-height: 2.6em;
    display: block;
}

.logo .orange-dot {
    color: hsl(21, 82%, 38%) !important;
    transition: color 0.25s;
}

.logo:hover .orange-dot {
    color: hsl(21, 82%, 48%) !important;
}

.logo:visited,
.logo:active,
.logo:focus {
    color: #fff !important;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
    background-color: hsl(193, 7%, 13%);
    padding: 0 6% 40px;
    text-align: center;
    position: relative;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    color: #ccc;
    margin: 0 22px;
    text-decoration: none;
    font-weight: 200;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.25s;
    position: relative;
}

.nav-links a:visited {
    color: #ccc;
}

.nav-links a:hover,
.nav-links a:active,
.nav-links a:focus,
.nav-links a.active {
    color: hsl(21, 82%, 38%) !important;
}

.nav-links a.active:visited {
    color: hsl(21, 82%, 38%) !important;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    min-width: 240px;
    z-index: 999;
    text-align: left;
    padding: 2px 0;
    margin-top: 4px;
    left: 22px !important;
}

.dropdown-content a {
    font-family: 'Outfit', sans-serif;
    color: #ccc;
    padding: 1px 0 !important;
    text-decoration: none;
    display: block;
    font-size: 12.5px;
    font-weight: 200;
    margin: 0;
    line-height: 1.35 !important;
}

.dropdown-content a:visited {
    color: #ccc;
}

.dropdown-content a:hover,
.dropdown-content a:active,
.dropdown-content a:focus {
    color: hsl(21, 82%, 38%) !important;
    background-color: transparent !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown>a {
    padding-bottom: 25px;
}

.dropdown:has(a.active)>a {
    color: hsl(21, 82%, 38%) !important;
}

/* ==========================================================================
   Main & Layout Containers
   ========================================================================== */
main {
    max-width: 1100px;
    margin: 80px auto 60px !important;
    padding: 0 6%;
}

main.wide-stage {
    max-width: 1720px;
    padding: 0 4%;
    margin: 80px auto 60px !important;
}

main.wide-stage .gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 100%;
    margin: 40px auto 0;
}

/* About Page Wrapper */
.about-main {
    max-width: 1100px;
    margin: 80px auto !important;
    padding: 0 6%;
    display: flex;
    gap: 80px;
    text-transform: lowercase;
}

.about-column {
    flex: 1;
}

.about-column p a {
    color: #ddd;
    font-weight: 400;
}

/* ==========================================================================
   Galleries & Lightbox
   ========================================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.03);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    text-align: center;
    padding: 60px 20px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-top: none;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 0;
}

footer .social-icons a {
    color: #ddd;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.2s;
}

footer .social-icons a:visited,
footer .social-icons a:active,
footer .social-icons a:focus {
    color: #ddd !important;
}

footer .social-icons a:hover {
    color: hsl(21, 82%, 38%) !important;
}

footer .copyright-text {
    font-family: 'Outfit', sans-serif;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1300px) {
    main.wide-stage .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 960px) {
    main.wide-stage .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    main,
    main.wide-stage,
    .about-main {
        margin-top: 70px !important;
    }

    .about-main {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    main.wide-stage {
        padding: 0 16px;
    }

    main.wide-stage .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* ==========================================================================
   Temporarily Hide Pages from Dropdown Menus
   ========================================================================== */
.dropdown-content a[href="once-upon-a-planet.html"],
.dropdown-content a[href="blob-contact.html"] {
    display: none !important;
}