p {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-style: normal;
    font-size: 19px;
}

.intro-text p {
	text-align: right;
}

.site-header {
    background: black;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo left, nav right */
    max-width: 1600px;
    margin: 0 auto;
    min-width: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-left .logo {
    height: 50px; /* adjust to taste */
}

.header-left .brand-name {
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}

.header-search {
    margin-left: 15px; /* small gap from nav */
    display: flex;
    align-items: center;
    position: relative;
}

.search-icon {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 2; /* stays above the input during animation */
}

/* The input itself */
#design-search {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 0;
    opacity: 0;
    margin-left: -160px; /* offscreen initially */
    transition: all 0.35s ease;
    position: absolute;
    right: 0; /* slides out to the left */
    z-index: 1;
}

#design-search.active {
    width: 160px;
    margin-left: 30px; /* small gap from icon */
    opacity: 1;
}
#design-search.active:focus {
    outline: none;
    border-color: white;
    width: 200px;
}

/* Optional: placeholder color */
#design-search::placeholder {
    color: #ccc;
    font-style: italic;
}

.main-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    min-width: 0;
}

.nav-list {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
}

.nav-item {
    color: #FFFFFFDE;
    cursor: pointer;
    position: relative;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    padding: 5px 10px;
    white-space: nowrap;
}

.nav-item:hover {
    color: white; /* highlight */
}

.nav-item.active,
.dropdown li.active,
.subdropdown li.active,
.category-list li.active {
    color: white !important;
    font-weight: bold;
}

.dropdown li.active,
.subdropdown li.active, 
.category-list li.active {
	background-color: #3a3938;
}

.has-subdropdown.active-parent > .label {
    color: white !important;
    font-weight: bold;
}

.caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  position: relative;
  top: -2px;
}

.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: black;
    padding: 10px 0;
    min-width: 200px;
    z-index: 2000;
}

.dropdown li {
    color: #BDBDBD;
    padding: 8px 15px;
    white-space: nowrap;
    list-style: none;
}

.dropdown li:hover {
	color: white;
}

.dropdown .has-dropdown {
	position: relative;
}

#sidebar-dropdown {
	padding-left: 6px;
}

.has-subdropdown > .subdropdown,
.has-subdropdown > .dropdown {
	display: none;
	padding-left: 15px;
	margin-top: 6px;
}

.has-subdropdown.open > .subdropdown,
.has-subdropdown.open > .dropdown {
	display: block;
}

/* Anchor header dropdowns */
.site-header .has-subdropdown {
    position: relative;
}

/* HEADER dropdowns float instead of pushing layout */
.site-header .has-subdropdown > .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;     /* keep your spacing */
    padding-left: 0;     /* override sidebar indent */
    background: black;
    min-width: 220px;
    z-index: 2000;
}

/* Default caret direction (down) */
.has-subdropdown > .label > .caret {
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

/* Rotate caret up when open */
.has-subdropdown.open > .label > .caret {
  transform: rotate(225deg);
}

.create-own {
	display: flex;
	flex-direction: column;
	max-width: 1050px;
	margin: 0 auto;
	gap: 50px;
}

.content > .create-own {
    margin-top: -2rem;
}

.create-own iframe {
	width: 100%;
	max-width: 640px;
	border: none;
}

.create-message p {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #e1dfdb;
    text-align: center;
    margin: 0;
    padding: 2rem 0;
    background-color: #303033;
    box-shadow: 0 0 0 100vmax #303033; /* extends background full width */
    clip-path: inset(0 -100vmax);      /* prevents horizontal cutoff */
}
.create-own-header {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin: 0;
    padding: 2rem 0;
    text-align: center;
    font-weight: bold;
    color: #e1dfdb;
    background-color: #303033;
    box-shadow: 0 0 0 100vmax #303033; /* spans full width */
    clip-path: inset(0 -100vmax);      /* ensures full-width background */
}

.shipping {
	display: flex;
	flex-direction: column;
	gap: 50px;
	margin: 0 auto;
	max-width: 1050px;
}

.shipping-box {
	display: flex;
	flex-direction: column;
	text-align: center;
	flex: 1;
}

.shipping h2 {
	text-align: center;
	font-family: 'Playfair Display', serif;
    	font-weight: 700;
    	font-size: 38px;
}

.create-logo {
	display: flex;
	justify-content: center;
	width: clamp(180px, 30vw, 300px);
        height: auto;
}

.create-own-section {
	display: flex;
        align-items: flex-start;
	gap: 45px;
}

.create-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
}

.create-content iframe {
	width: 100%;
	max-width: 640px;
	border: none;
}

.create-own a {
	padding: 6px;
	background: #303033;
	color: white;
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	border-radius: 3px;
	width: fit-content;
}

.shipping-box a {
    font-family: 'Merriweather', serif;  /* match paragraph text */
    font-size: 19px;                     /* match paragraph size */
    font-weight: 800; /* bold */
    color: black;
    text-decoration: underline;           /* underline */
    padding: 0;                           /* remove button padding */
    background: none;                     /* remove any button background */
    border: none;                         /* remove any border */
    width: auto;                          /* natural width */
}

.about-container {
        display: flex;
        flex-direction: column;
        gap: 50px;
        margin: 0 auto;
        max-width: 1050px;
}

#meet-header {
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        font-style: normal;
        font-size: 38px;
}

#meet-text {
	text-align: left;
}

.timeline-item {
	display: flex;
	align-items: flex-start;
	gap: 45px;
}

.timeline-item.reverse {
	flex-direction: row-reverse;
}

.timeline-pic {
        display: flex;
        justify-content: center;
	width: clamp(260px, 45vw, 460px);
	height: auto;
}

.timeline-pic img {
    width: 100%;
    height: auto;
}

.timeline-box {
        display: flex;
        flex-direction: column;
        text-align: center;
	flex: 1;
}

.timeline-box p {
        text-align: center;
        line-height: 1.6;
        margin-top: 20px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 19px;
}

.timeline-header {
	font-family: 'Playfair Display', serif;
        font-weight: 400;
        font-size: 39px;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .timeline-box {
        text-align: center;
    }

    .create-own-section {
	    flex-direction: column;
	    gap: 30px;
	    align-items: center;
    }

    .shipping-logo {
	    display: flex;
	    justify-content: center;
	    width: 100%;
	    max-width: 300px;
    }

    .shipping-logo.second {
	    display: none;
    }
}

.journey h2 {
    font-family: 'Playfair Display', serif; /* Playfair Display font */
    font-size: 32px;                         /* Equivalent to Word 24pt */
    margin-bottom: 50px;
    padding: 2rem 0;
    text-align: center;
    font-weight: bold;
    color: #e1dfdb;
    background-color: #303033;
    box-shadow: 0 0 0 100vmax #303033;
    clip-path: inset(0 -100vmax);
}

.more-menu {
    display: none;
}

.more-menu > .dropdown {
	right: 0;
	left: auto;
	transform: translateX(-55px);
}

.more-menu .dropdown li {
	display: block !important;
	color: white;
}

.dropdown-item {
	padding-left: 15px;
}

.dropdown-item .label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.caret.placeholder {
	opacity: 0;
}

.hamburger {
	display: none;
	width: 30px;
	height: 22px;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	z-index: 1001;
}

/* Hamburger bars */
.hamburger span {
    display: block;
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Transform to X when open */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

body.with-header {
	padding-top: 0;
}

/* Desktop: show original, hide in More */

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.brand-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.brand-name {
	font-family: 'Merriweather', serif;
    	font-weight: 700;
    	font-size: 24px;
    	color: white;
    	margin: 0;
}

.welcome-container {
	display: flex;
	align-items: flex-start;
	gap: 90px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1050px;
}

.logo-slot {
	flex: 1;
	display: flex;
	justify-content: center;
}

.intro-text {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.intro-text p {
	text-align: left;
	line-height: 1.6;
	margin-top: 10px;
}

.welcome-message {
	text-align: right;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-style: normal;
	font-size: 38px;
}

.follow-me {
	text-align: center;
	font-family: 'PlayFair Display', serif;
	font-weight: 700;
	font-style: normal;
	font-size: 32px;
	margin-top: 40px;
}

.socials-container {
	text-align: center;
}

.social-logos {
	padding-top: 50px;
	display: flex;
	justify-content: center;
	gap: 16px;
}

.social-logo {
	width: 50px;
	height: 50px;
	background-color: #5f6368;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-logo img {
	height: 44px;
	width: 44px;
}

.reviews-section {
    padding: 70px 20px 10px 20px;
    background-color: #e1dfdb;
    text-align: center;
}

.reviews-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    padding-bottom: 40px;
}

.review-carousel {
    overflow: visible;           
    width: 100%;
    height: clamp(350px, 45vw, 750px);
    position: relative;
}

.review-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(350px, 40vw, 500px);
    height: auto;
    transform: translate(-50%, -50%) scale(0.7);
    transition: all 0.5s ease;
    cursor: pointer;
    z-index: 1;
    opacity: 0.5;
}

.review-slide.active {
	transform: translate(-50%, -50%) scale(1);
	z-index: 5;
	opacity: 1;
}

.review-slide.prev {
    transform: translate(-150%, -50%) scale(0.8);
    z-index: 3;
    opacity: 0.7;
}

.review-slide.next {
    transform: translate(50%, -50%) scale(0.8);
    z-index: 3;
    opacity: 0.7;
}

.review-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-arrow {
    display: none; /* only show on mobile */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Show arrows only on smaller screens */
@media (max-width: 768px) {
    .carousel-arrow {
        display: block;
    }
}

body {
	background-color: #e1dfdb;
}

.logo {
	width: 40px;
	height: 40px;
	margin: 0 auto 0 auto;
}

#bigger-logo {
	width: clamp(200px, 30vw, 365px);
	height: auto;
}

.top-section {
    position: fixed;
    top: 0;
    width: 100%;
    background: black;
    z-index: 1000;
    padding: 10px 0;
}

.banner-container {
	top: 70px;
	width: 100%;
	position: fixed;
	height: 25vw;
	z-index: -10;
	overflow: hidden;
}

.banner {
        width: 100%;
        height: 100%;
        object-fit: cover;
	display: block;
}

/* Dark overlay */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* adjust darkness here */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Title text */
.banner-title {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: clamp(12px, 4vw, 72px);
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding: clamp(8px, 2vw, 20px) clamp(12px, 5vw, 56px);
    border: clamp(2px, 0.5vw, 5px) solid white;
    pointer-events: none;
}

.banner-title.show {
	display: block;
}

.banner-title.empty {
	border: none;
	padding: 0;
}

.banner-spacer {
	height: clamp(200px, 30vw, 400px);
	width: 100%;
}

.content {
        position: relative;
        z-index: 10;
        background-color: #e1dfdb;
        padding: 2rem;
	overflow: hidden;
}

.bottom-section {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: black;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}

.shoe-container {
	display: block;
	gap: 20px;
	padding: 20px;
	background-color: #e1dfdb;
	max-width: 1200px;
	margin: 0 auto;
	display: none;
}

.shoe-pic {
	width: 100%;
	overflow: hidden;
	text-align: center;
	border-radius: 10px;
/*	box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
    	transition: transform 0.3s;
    	cursor: pointer;
}

.shoe-pic img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: fill;
	aspect-ratio: 560 / 330;
	transition: transform 0.2s ease;
}

.shoe-pic img:hover {
	transform: scale(1.05);
}

.shoe-group {
	width: 100%;
	margin-bottom: 40px;
}

.shoe-group h2 {
    font-family: 'Playfair Display', serif; /* Playfair Display font */
    font-size: 32px;                         /* Equivalent to Word 24pt */
    margin-bottom: 50px;
    padding: 2rem 0;
    text-align: center;
    font-weight: bold;
    color: #e1dfdb;
    background-color: #303033;
    box-shadow: 0 0 0 100vmax #303033;
    clip-path: inset(0 -100vmax);
}

.shoe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    column-gap: 30px; /* spacing between images */
    row-gap: 80px;
}

.shoe-grid > :last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	max-width: 500px;
	width: 100%;
}

.shoe-grid .shoe-pic {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.shoe-grid .shoe-pic img {
	width: 100%;
	height: 100%;
	border-radius: 10px 10px 0 0;
}

.shoe-name {
	margin-top: 5px;
	font-family: 'Playfair Display', serif;
	font-size: 26px;
	text-align: center;
	word-wrap: break-word;
	white-space: pre-line;
}

.shoe-container-item {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

@media (max-width: 768px) {
    .shoe-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .shoe-grid .shoe-pic {
	    aspect-ratio: auto;
    }
}

/* new wrapper CSS */
.img-wrapper {
    width: 100%;
    aspect-ratio: 560 / 330; /* same as shoe-pic images */
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
}

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

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
/*    box-shadow: 0 0 20px #000; */
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.btn-container {
	text-align: center;
}

.custom-nico-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.custom-purple {
	background-color: #6200ea;
}

.custom-purple:hover {
        background-color: #3700b3;
}

.custom-teal {
	background-color: #87CEEB;
}

.custom-teal:hover {
	background-color: #00BFFF;
}

#anime-tags {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: all 0.4s ease;
}

#anime-tags .custom-nico-btn {
        margin-bottom: 10px;
}


#anime-tags.show {
	max-height: 500px;
	opacity: 1;
}

/* Toggle Button */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 220px;
  height: 100%;
  background-color: black;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  padding: 60px 20px 20px;
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar.open {
  left: 0;
}

.sidebar .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.category-list,
.submenu {
  list-style-type: none;
  padding-left: 0;
}

.category-list li {
  cursor: pointer;
  padding: 8px 10px;
  margin-bottom: 4px;
  color: #BDBDBD;
  transition: color 0.2s;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
}

.category-list li:hover {
  color: white;
}

.has-submenu .submenu {
  display: none;
  margin-left: 15px;
}

.submenu {
  display: none;
  margin-top: 5px;
  margin-left: 15px;
}

.has-submenu.open .submenu {
  display: block;
}

.has-submenu {
  cursor: pointer;
  position: relative;
}

.has-submenu .arrow {
  float: right;
  transition: transform 0.3s ease;
  display: inline-block;
  color: #4a148c;
}

.has-submenu.open .arrow {
  transform: rotate(90deg);
}

@media (max-width: 700px) {
  .welcome-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-right: auto;
    gap: 30px;
  }

  .logo-slot {
	  width: 100%;
  }

  .intro-text {
    align-items: center;
  }

  .intro-text p,
  .welcome-message {
    text-align: center;
  }

   #bigger-logo {
    margin-bottom: 0px;
  }
}

.globe-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.globe-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-top: 80px;
    text-align: center;
}

#globeViz {
    display: inline-block; /* shrink to the size of the canvas */
    vertical-align: middle;
    width: auto;
    height: auto;
    max-width: 100vw;
}

#globeViz canvas {
    display: block;
    pointer-events: auto;
    background: transparent;
}

#intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black; /* fallback in case video doesn't load */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none; /* let clicks pass after fade */
    opacity: 1;
    transition: opacity 1s ease;
}

#intro-animation video, 
#intro-animation img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#intro-fallback {
    display: none;
}

.logo-slider {
    position: relative;      /* normal flow */
    width: 100vw;            /* full viewport width */
    margin: 0;
    overflow: visible;   /* hides anything outside the viewport */
    display: flex;
    justify-content: flex-start;
    padding: 20px 0;    /* optional spacing */
}

.slider-logo {
    width: clamp(180px, 15vw, 300px); /* responsive size */
    height: auto;
    display: block;
    animation: slideLogo 8s linear infinite;
}

/* Slide from right to left across the full width of the viewport */
@keyframes slideLogo {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}
