/* ================================================
   index.css
   Only styles unique to the landing page.
   base.css handles: variables, reset, fonts,
   links (color + text-decoration), and navbar.
   DO NOT redefine any of those here.
   ================================================ */

/* ================================
   NAVBAR COLOR SWITCHING
   index.css adds light/dark classes
   that JS toggles per section.
   base.css sets the default white.
   ================================ */

nav.nav-dark .left a,
nav.nav-dark .right a {
    color: var(--carbon-black);
}

nav.nav-light .left a,
nav.nav-light .right a {
    color: var(--white);
}

nav.nav-grey .left a,
nav.nav-grey .right a {
    color: var(--light-grey);
}

/* ================================
    NAVBAR
================================ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0px;
    height: 35px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
}

nav .left a,
nav .right a {
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
}

nav .left a:hover,
nav .right a:hover {
    opacity: 1;
}

nav .left a {
    color: var(--carbon-black);
    padding-left: 20px;
    font-size: 22px;
    font-weight: 600;
}

nav .right a {
    color: var(--carbon-black);
    display: inline-flex;    
    align-items: center;     
    margin: 0 20px;
    padding: 0 40px;
    transform: translateY(-4px);
    font-weight: 200;
    font-size: 14px;
}

/* Add these two lines */
nav .right a span {
    display: inline-flex;
    align-items: center;
    transform: translateY(4px);
   
}

nav .right a svg {
  height: 1.1em;
  width: 1.1em;
}

@media(max-width: 600px) {
    /*NAVBAR*/
    nav {
        padding: 20px;
    }

    nav .right a {
        font-size: 24px;

    }

    nav .right a:last-child {
        color: var(--carbon-black);
        background: transparent;
        padding: 0;
    }

    nav .right a span {
        display: none;
    }

    /* Adjust section text for mobile */
    .quote-overlay h1 {
        font-size: 2rem;
    }

    .quote-overlay p {
        font-size: 1.2rem;
    }

    .section-overlay h2 {
        font-size: 2rem;
    }

    .section-overlay p {
        font-size: 1rem;
    }

    /* Disable parallax on mobile */
    section {
        background-attachment: scroll;
    }
}


/* ================================
   DOT NAVIGATION
   ================================ */
.dot-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: var(--white);
    transform: scale(1.4);
}

/* ================================
   SECTIONS — BASE
   ================================ */
main {
    position: relative;
}

section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* ================================
   CONTACT INFO
   ================================ */
.contact-info {
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: var(--light-grey);
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 0.8;
    z-index: 10;
}

.contact-info p {
    margin: 5px 0;
}

/* ================================
   SECTION 1 — LANDING
   ================================ */
.landing-page {
    background-color: var(--white);
    background-size: cover;
    background-position: center 80%;
    align-items: flex-end;      /* top */
    justify-content: flex-start;  /* left */
    padding: 35px 20px 20px 20px; /* top clears the navbar */
}

/* Quote — hidden for now */
.quote-overlay {
    display: none;
}

/* Fix variable names */
.nav-link {
    display: block;
    text-decoration: line-through;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(5rem, 14vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--carbon-black);   /* was --black */
    transition: color 0.15s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--light-grey);     /* was --grey */
    text-decoration: none;
}

/* Override base.css a colour for nav links specifically */
.nav-links a.nav-link {
    color: var(--carbon-black);
}

.nav-links a.nav-link:hover {
    color: var(--blazing-flame);
}

#link-graphic:hover { color: var(--bright-indigo); }
#link-tattoo:hover  { color: var(--light-grey); }
#link-direction:hover { color: var(--blazing-flame);}
#link-about:hover { color: var(--sunflower-gold); }




/* ================================
   SECTION 2 — STATEMENT
   ================================ */
.full-bleed-statement {
    background-color: var(--sunflower-gold);
    z-index: 2;
}

.statement {
    width: 100%;
    max-width: 2000px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: clamp(9.5rem, 13.5vw, 14rem);
    font-family: "Hanken Grotesk", sans-serif;
    line-height: 0.8;
    color: var(--white);
    padding: 30PX 40px;
}

/*
.statement .indent-1 { margin-left: clamp(30px, 8vw, 80px); }
.statement .indent-2 { margin-left: clamp(80px, 15vw, 180px); }
.statement .indent-3 { margin-left: clamp(150px, 18vw, 350px); }

/* ================================
   SECTION 3 — GRAPHIC DESIGN
   ================================ */
.graphic-design {
    background-color: #0165fc;
    z-index: 5;
}

.graphic-design .bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('graphic-design-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
}

/* Anchor fills entire section — always clickable */
.graphic-design > a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.section-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

/* h2 invisible until hovered — intentional reveal effect */
.section-content h2 {
    font-size: clamp(4rem, 8vw, 8rem);
    color: rgba(255, 255, 255, 0);
    margin: 0;
    line-height: 0.9;
    transition: color 0.5s ease-in;
    text-align: center;
    font-family: "Hanken Grotesk", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

.section-content h2:hover {
    color: var(--white);
}

/* ================================
   SECTION 4 — EXPANDING STATEMENT
   ================================ */
.expanding-reveal {
    background-color: var(--blazing-flame);
    z-index: 10;
}

.expanding-statement {
    width: 100%;
    max-width: 1600px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: clamp(4rem, 8vw, 7.5rem);
    line-height: 1;
    color: var(--white);
    padding: 0 40px;
}

/* ================================
   SECTION 5 — TATTOO STUDIO
   ================================ */
.tattoo-studio {
    background-color: #111;
    z-index: 20;
}

.tattoo-studio .bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('Tattoopage.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
}

.tattoo-studio > a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tattoo-studio .section-content {
    position: relative;
    z-index: 2;
}

.tattoo-studio .section-content h2 {
    font-size: clamp(4rem, 8vw, 8rem);
    color: rgba(255, 255, 255, 0);
    margin: 0;
    line-height: 0.9;
    transition: color 0.5s ease-in;
    text-align: center;
    font-family: "Hanken Grotesk", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

.tattoo-studio .section-content h2:hover {
    color: var(--white);
}

/* ================================
   SECTION 6 — GRID
   ================================ */
.grid-section {
    background-color: var(--white);
    z-index: 25;
}

.grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background-color: var(--blazing-flame);
}

.grid-line.horizontal {
    height: 2px;
    width: 0;
    left: 0;
}

.grid-line.vertical {
    width: 2px;
    height: 0;
    top: 0;
}

/* Contact info — spans 2 grid cells with white background overlaying the grid line */
/* Position, width, height, font-size all set by JS based on cell size */
.grid-contact {
    position: absolute;
    z-index: 10;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: var(--carbon-black);
    opacity: 0;
    box-sizing: border-box;
}

.grid-contact p,
.grid-contact span{
    display: block;
    margin: 0;
}

/* Each span is a separate line - you can target them individually */
.grid-contact span {
    display: block;
}

.grid-contact span:nth-child(1) { line-height: 1.6; } /* email */
.grid-contact span:nth-child(2) { line-height: 1.6; } /* phone */
.grid-contact span:nth-child(3) { line-height: 1.6; } /* location */
.grid-contact span:nth-child(4) { line-height: 1.6; } /* handle */

/* ================================
   LOADER
   ================================ */
#loader {
    position: fixed;
    inset: 0;
    background-color: #111;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 40px 50px;
}

#loader-count {
    font-family: "n27", sans-serif;
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Page content hidden while loader is running */
body.loading main,
body.loading nav,
body.loading .dot-nav {
    opacity: 0;
}

body.loaded main,
body.loaded nav,
body.loaded .dot-nav {
    opacity: 1;
    transition: opacity 0.6s ease;
}