/* ============================================
   Moceol — shared stylesheet
   ============================================ */

:root {
    --color-teal: #003f42;       /* base/background — sampled from photo-1's wall */
    --color-teal-rgb: 0, 63, 66; /* same colour, components, for rgba() overlays */
    --color-amber: #f2aa4c;      /* accent — nav links, buttons, heading accents */
    --color-ink: #000000;        /* dark text on amber (e.g. solid buttons) */
    --color-white: #ffffff;
    --color-white-soft: rgba(255, 255, 255, 0.92);
    --color-grey: rgb(190, 188, 188);

    --font-heading: Helvetica, Arial, sans-serif;
    --font-body: Tahoma, Geneva, sans-serif;

    --container-max: 1501px;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-teal);
    color: var(--color-white);
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.page-wrap {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

/* ============================================
   Navbar (shared across every page)
   ============================================ */

.navbar {
    position: relative;
    z-index: 30;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.navbar a {
    text-decoration: none;
}

.logo {
    color: var(--color-amber);
    font-family: var(--font-heading);
    letter-spacing: normal;
    font-size: clamp(22px, 3.2vw, 30px);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(14px, 2.6vw, 35px);
}

.nav-links a {
    color: var(--color-amber);
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.4s ease-in-out;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-white);
}

.hamburger {
    display: none;
    width: 32px;
    height: 32px;
    background: none;
    border: 0;
    padding: 8px 4px;
    cursor: pointer;
    z-index: 40;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-amber);
    transition: 0.3s ease;
}

.hamburger span + span {
    margin-top: 5px;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--color-teal);
    }

    .hero .navbar {
        background: transparent;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 0;
        background: rgba(var(--color-teal-rgb), 0.97);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .nav-links.open {
        max-height: 420px;
    }

    .nav-links li {
        padding: 14px 0;
    }
}

/* ============================================
   Buttons (shared)
   ============================================ */

.btn {
    display: inline-block;
    border: solid 2px var(--color-amber);
    background: none;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 18px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.4s ease;
}

.btn:hover {
    border-color: var(--color-grey);
    color: var(--color-amber);
    transform: scale(1.02);
}

.btn-solid {
    background: var(--color-amber);
    border-color: var(--color-amber);
    color: var(--color-ink);
    font-weight: bold;
}

.btn-solid:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-ink);
    transform: scale(1.02);
}

/* ============================================
   Hero (index.html)
   ============================================ */

.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.32) 22%, rgba(0, 0, 0, 0) 50%),
        url("images/photo-1-hero-2400.jpg");
    background-position: center 15%;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.32) 22%, rgba(0, 0, 0, 0) 50%),
            url("images/photo-1-hero-1200.jpg");
    }
}

.hero-content {
    margin-top: auto;
    margin-bottom: 12vh;
    padding: 0 clamp(20px, 5vw, 40px);
    max-width: 460px;
}

.hero-content h1 {
    color: var(--color-white-soft);
    font-family: var(--font-heading);
    font-size: clamp(34px, 6vw, 50px);
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero-content .par {
    color: var(--color-amber);
    font-family: var(--font-body);
    letter-spacing: 1.2px;
    line-height: 1.5;
    font-size: clamp(16px, 2vw, 20px);
    margin: 14px 0 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================
   Footer (shared)
   ============================================ */

.site-footer {
    width: 100%;
    padding: 24px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-grey);
    font-family: var(--font-heading);
    letter-spacing: 1.8px;
    font-size: 12.5px;
    font-weight: 300;
}

.footer-bottom .designer {
    color: var(--color-amber);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.social-icons a i {
    color: var(--color-amber);
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.social-icons a i:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

/* ============================================
   Generic inner-page layout (music, shop,
   support, bio, media, supporter pages)
   ============================================ */

.page-main {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 40px 5% 60px;
    min-height: calc(100vh - var(--nav-height));
}

@media (max-width: 768px) {
    .page-main {
        padding-top: calc(40px + var(--nav-height) + 1px);
        min-height: 100vh;
    }
}

.page-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.page-header h1 {
    color: var(--color-white-soft);
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.page-header p {
    color: var(--color-grey);
    font-family: var(--font-body);
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.6;
}

/* ============================================
   Music page — track grid
   ============================================ */

.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.track-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(242, 170, 76, 0.3);
    border-radius: 12px;
    padding: 10px;
}

.track-card iframe {
    width: 100%;
    border: 0;
    border-radius: 12px;
    display: block;
}

.track-stream-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

/* ============================================
   Shop page — product grid
   ============================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(242, 170, 76, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.product-cover {
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 170, 76, 0.08);
    color: var(--color-amber);
    font-family: var(--font-body);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

.product-cover i {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.product-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 18px;
}

.product-title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 18px;
}

.product-desc {
    color: var(--color-grey);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.product-price {
    color: var(--color-amber);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: bold;
}

.product-card .btn {
    align-self: flex-start;
    margin-top: 4px;
}

.product-card--soon {
    opacity: 0.6;
}

.product-cover--empty {
    background: rgba(255, 255, 255, 0.03);
}

.product-title--muted {
    color: var(--color-grey);
    font-style: italic;
}

/* ============================================
   Support page
   ============================================ */

.support-section {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 0 5%;
    text-align: center;
}

.support-section p {
    color: var(--color-grey);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.support-note {
    font-size: 13px;
    color: var(--color-grey);
    margin-top: 18px !important;
}

.support-note code {
    color: var(--color-amber);
    background: rgba(242, 170, 76, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* ============================================
   Media page — photo gallery
   ============================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(242, 170, 76, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   Simple placeholder pages (bio, media)
   ============================================ */

.placeholder-section {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 0 5%;
    text-align: center;
}

.placeholder-section p {
    color: var(--color-grey);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.placeholder-section p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Two-column media + text layout (bio, support)
   ============================================ */

.split-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}

.split-media {
    flex: 1 1 280px;
    max-width: 340px;
    margin: 0 auto;
}

.split-media img {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(242, 170, 76, 0.3);
}

.split-content {
    flex: 1 1 320px;
}

.split-content.support-section,
.split-content.placeholder-section {
    text-align: left;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ============================================
   Listen page (smart landing page)
   ============================================ */

.listen-bg {
    position: fixed;
    inset: -60px;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: blur(50px);
}

.listen-main {
    max-width: 480px;
    margin: 0 auto;
    padding: 48px 5% 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .listen-main {
        padding-top: calc(48px + var(--nav-height) + 1px);
    }
}

.listen-cover {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 24px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(242, 170, 76, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.listen-cover img {
    width: 100%;
    display: block;
}

.listen-title {
    color: var(--color-white-soft);
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: clamp(22px, 5vw, 30px);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.platform-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.platform-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 10px 18px 10px 10px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(242, 170, 76, 0.18);
    text-decoration: none;
    color: var(--color-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.platform-row:hover,
.platform-row:focus-visible,
.platform-row:active {
    transform: translateY(-3px);
    border-color: rgba(242, 170, 76, 0.6);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(242, 170, 76, 0.15);
}

.platform-row:hover .platform-row-arrow,
.platform-row:focus-visible .platform-row-arrow,
.platform-row:active .platform-row-arrow {
    transform: translateX(4px);
    color: var(--color-white);
}

.platform-row-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-white);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.platform-row-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.platform-row-label {
    flex: 1 1 auto;
    font-family: var(--font-heading);
    font-size: 15px;
    letter-spacing: 0.4px;
}

.platform-row-arrow {
    flex: 0 0 auto;
    display: flex;
    color: var(--color-amber);
    transition: transform 0.25s ease, color 0.25s ease;
}

.listen-empty {
    color: var(--color-grey);
    font-family: var(--font-body);
    font-size: 14px;
}

.listen-main + .site-footer {
    margin-top: 44px;
}
