 /*
 Theme Name: ink26
 Theme URI: https://muranaka.ink/
 Author: Michael Muranaka
 Author URI: http://muranaka.ink/
 Description: custom theme
 Version: 1.0
 License: GNU General Public License
 License URI: https://www.gnu.org/licenses/gpl.html
 Tags: michael muranaka, muranaka ink
 */

* {
  user-select: none;
}

html, body {
  scroll-behavior: smooth;
  font-family:  "Poppins", sans-serif;
  @apply antialiased;
  font-size: 24px;
  margin: 0;
  padding: 0;
  color: white;
}

a, button, input[type="submit"], input#submit {
  cursor: pointer;
  color: white;
  text-decoration: underline;
  text-transform: uppercase;
  font-size: 20px;
  position: relative;
}

a::before, button::before, input[type="submit"]::before, input#submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #fff;
  transform-origin: center right;
  transform: scaleX(0) translateY(-50%);
  transition: transform 0.3s ease;
}

a:hover, button:hover, input[type="submit"]:hover, input#submit:hover {
  color: #fff;
  text-decoration: none;
}

a:hover::before, button:hover::before, input[type="submit"]:hover::before, input#submit:hover::before {
  transform-origin: center left;
  transform: scaleX(1) translateY(-50%);
}

a:has(img),
a:has(svg) {
    text-decoration: none;
    text-transform: none;
    font-size: inherit;
    pointer-events: auto !important;
}

a:has(img)::before,
a:has(img):hover::before,
a:has(svg)::before,
a:has(svg):hover::before {
    content: none !important;
    display: none !important;
}

a:has(img):hover,
a:has(svg):hover {
    color: inherit;
}

img {
  pointer-events: none !important;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

h1 {
  font-size: 64px;
  display: block;
  margin: 200px 25% 0 15%; 
}

h2 {
  font-size: 64px;
  margin: 0 0 20px;
}

p {
  line-height: 160%;
}

input[type="submit"] {
  background: none;
  border: none;
  text-transform: uppercase;
  padding: 0;
  font-size: 24px;
}

input[type="text"], input[type="email"], textarea {
  font-family:  'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: none;
  font-size: 16px;
  box-sizing: border-box;
  padding: 15px 20px;
  border: 1px solid white;
  user-select: text;
}

::selection {
  background: #000;
  color: #fff;
}

::-moz-selection {
  background: #000; /* WebKit/Blink Browsers */
  color: #fff;
}

/* SITE
**************************************/

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  position: relative;
  z-index: 100;
}

#logo-icon {
  width: 80px;
  height: auto;
  fill: white;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 0 0 30px;
}

nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 0 30px;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 40s linear infinite;
    will-change: transform;
}

.marquee-track span {
    display: inline-block;
    flex-shrink: 0;
    text-transform: uppercase;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

#home-page-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
}

/* CARDS
**************************************/

.cards-container {
    display: grid;
    place-items: center;
    width: 100%;
    height: 90%;
    position: fixed;
    inset: 0;
}

.card-wrapper {
    perspective: 1000px;
    width: min(40vw, 70vh);
    max-width: 800px;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(var(--card-size-tablet), 1fr));
        gap: 40px;
    }

    .card-wrapper {
        max-width: var(--card-size-tablet);
    }

    body {
        padding: 30px 20px;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card-wrapper {
        max-width: var(--card-size-mobile);
    }

    body {
        padding: 80px 20px 100px;
    }
}

.metallic-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
}

/* Flipped state - card rotates 180 degrees */
.metallic-card.flipped {
    transform: rotateY(180deg);
}

/* Front and back faces */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.card-front {
    cursor: pointer;
    transition: transform 0.1s ease-out;
}

.card-back {
    transform: rotateY(180deg);
    cursor: pointer;
}

.card-surface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #c0c0c0 0%, 
        #d4d4d4 25%, 
        #e8e8e8 50%, 
        #d4d4d4 75%, 
        #c0c0c0 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Metallic shine overlay */
.card-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Dynamic light reflection - positioned OVER everything including art */
.light-reflection {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        transparent 60%
    );
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 10; /* Above everything including art */
}

/* Only show light reflection on front side when not flipped */
.metallic-card:not(.flipped) .card-front:hover .light-reflection {
    opacity: 1;
}

/* Edge highlight */
.card-surface::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

/* Art container - transparent background for PNGs */
.art-container {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 12px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.art-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder art - has white background */
.placeholder-art {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

/* Metallic border accent */
.metallic-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid;
    border-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.2),
        rgba(0, 0, 0, 0.1),
        rgba(255, 255, 255, 0.3)
    ) 1;
    pointer-events: none;
}

/* Back side content */
.card-back-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a3e 0%, #1f1f2e 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    text-align: center;
}

.card-back-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #e8e8e8;
    font-weight: 600;
}

.card-back-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 80%;
}

.card-back-content button {
    padding: 12px 30px;
    font-size: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.card-back-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.card-back-content button:active {
    transform: translateY(0);
}

/* DISPLAY NONE
**************************************/

.m-by {
  display: none !important;
}

/* RESPONSIVE
**************************************/

@media only screen and (max-width: 1600px) {
  h1, h2 {
    font-size: 48px;
  }
}

@media only screen and (max-width: 1024px) {
  html, body {
    hyphens: auto;
  }

  h1 {
    margin: 100px 5% 0; 
  }
}

@media only screen and (max-width: 800px) {
  h1, h2 {
    font-size: 36px;
  }
}