:root {
	--bg-color: #1a237e;
	/* Deep ocean blue for the sea/background */
	--snd-bg-color: #1565c0;
	/* Lighter blue for sections */
	--text-color: #ffffff;
	/* White text for readability */
	--main-color: #ffcc00;
	/* Straw hat gold / Luffy accent */
}

/* Floating image button styles */
#super-btn {
	position: fixed;
	right: 32px;
	bottom: 32px;
	z-index: 1000;
	display: inline-block;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
	width: 56px;
	height: 56px;
	background: var(--text-color);
	transition: box-shadow 0.2s, transform 0.2s;
}

#super-btn:hover {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
	transform: scale(1.07);
}

#super-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

.main-container {
	display: flex;
	width: 100%;
	max-width: 1200px;
	height: 80vh;
	gap: 60px;
	align-items: center;
	justify-content: center;
}

.carousel-section {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.controls-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
	padding-left: 40px;
}

.carousel-container {
	width: 100%;
	max-width: 500px;
	height: 70vh;
	position: relative;
	perspective: 1000px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.carousel-container .nav-arrow {
	display: none;
}

.carousel-track {
	width: 450px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
	position: absolute;
	width: 400px;
	height: 225px;
	background: var(--text-color);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.card.center img {
	filter: none;
}

.card.up-2 {
	z-index: 1;
	transform: translateY(-300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.up-2 img {
	filter: grayscale(100%);
}

.card.up-1 {
	z-index: 5;
	transform: translateY(-150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.up-1 img {
	filter: grayscale(100%);
}

.card.down-1 {
	z-index: 5;
	transform: translateY(150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.down-1 img {
	filter: grayscale(100%);
}

.card.down-2 {
	z-index: 1;
	transform: translateY(300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.down-2 img {
	filter: grayscale(100%);
}

.card.hidden {
	opacity: 0;
	pointer-events: none;
}

.gallery {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
  background: var(--bg-color);
  padding: 10rem 9%;
  border-radius: 2rem;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.2);
  margin: 2rem 0;
}


.gallery-info {
	text-align: center;
	margin-top: 20px;
	transition: all 0.5s ease-out;
}

.gallery-name {
	color: var(--main-color);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 8px;
	position: relative;
	display: inline-block;
}

.gallery-name::before,
.gallery-name::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 80px;
	height: 2px;
	background: var(--text-color);
}

.gallery-name::before {
	left: -100px;
}

.gallery-name::after {
	right: -100px;
}

.gallery-desc {
	color: var(--text-color);
	font-size: 1.2rem;
	font-weight: 500;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 5px 0;
	margin-top: -10px;
	position: relative;
}

.dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--text-color);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: var(--main-color);
	transform: scale(1.2);
}

.nav-arrow {
	position: relative;
	background: transparent;
	color: var(--text-color);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: all 0.3s ease;
	font-size: 1.5rem;
	border: none;
	outline: none;
	margin: 0;
	padding: 0;
	overflow: visible;
	box-shadow: none;
}

.nav-arrow:hover {
	background: transparent;
	transform: scale(1.2);
	box-shadow: none;
	border-color: transparent;
}

.nav-arrow img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	filter: none;
	transition: all 0.3s ease;
}

.nav-arrow:hover img {
	filter: none;
	transform: scale(1.1);
}

.scroll-indicator {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: rgba(26, 35, 126, 0.8);
	color: var(--text-color);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.8rem;
	text-align: center;
	z-index: 1000;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	animation: scrollFadeOut 5s ease-in-out forwards;
	font-weight: 500;
	line-height: 1;
}

.scroll-indicator span {
	font-size: 0.75rem;
	opacity: 0.9;
	display: block;
	margin-top: 2px;
}

@keyframes scrollFadeOut {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}

	10% {
		opacity: 1;
		transform: scale(1);
	}

	90% {
		opacity: 1;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: scale(0.8);
		visibility: hidden;
	}
}

/* Media queries */

@media (max-width: 768px) {
	body {
		padding: 10px 0;
	}

	.main-container {
		flex-direction: column;
		height: auto;
		gap: 20px;
		max-width: 100%;
	}

	.carousel-section {
		flex: none;
		width: 100%;
	}

	.controls-section {
		flex: none;
		width: 100%;
		padding-left: 0;
		gap: 20px;
	}

	.carousel-container {
		height: 60vh;
		max-width: 350px;
	}

	.carousel-container .nav-arrow {
		display: flex;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: 70px;
		height: 70px;
		margin: 0;
		background: transparent;
		border: none;
		box-shadow: none;
	}

	.carousel-container .nav-arrow:hover {
		transform: translateX(-50%) scale(1.2);
		background: transparent;
		box-shadow: none;
	}

	.carousel-container .nav-arrow.up:hover {
		transform: translateX(-50%) scale(1.2);
	}

	.carousel-container .nav-arrow.down:hover {
		transform: translateX(-50%) scale(1.2);
	}

	.carousel-container .nav-arrow.up {
		top: 20px;
		transform: translateX(-50%);
	}

	.carousel-container .nav-arrow.down {
		bottom: 20px;
		transform: translateX(-50%);
	}

	.carousel-container .nav-arrow.up img {
		transform: rotate(-90deg);
		width: 50px;
		height: 50px;
	}

	.carousel-container .nav-arrow.down img {
		transform: rotate(90deg);
		width: 50px;
		height: 50px;
	}

	.nav-controls {
		display: none;
	}

	.card {
		width: 320px;
		height: 180px;
	}

	.carousel-track {
		width: 350px;
	}

	.card.up-2 {
		transform: translateY(-160px) scale(0.8) translateZ(-300px);
	}

	.card.up-1 {
		transform: translateY(-80px) scale(0.9) translateZ(-100px);
	}

	.card.down-1 {
		transform: translateY(80px) scale(0.9) translateZ(-100px);
	}

	.card.down-2 {
		transform: translateY(160px) scale(0.8) translateZ(-300px);
	}

	.gallery-name {
		font-size: 1.8rem;
	}

	.member-role {
		font-size: 1rem;
	}

	.gallery-name::before,
	.gallery-name::after {
		width: 40px;
	}

	.gallery-name::before {
		left: -60px;
	}

	.gallery-name::after {
		right: -60px;
	}

	.scroll-indicator {
		bottom: 20px;
		right: 20px;
		padding: 6px 12px;
		font-size: 0.7rem;
	}

	.scroll-indicator span {
		font-size: 0.7rem;
	}
}



/*My Services*/

@import url('https://fonts.googleapis.com/css?family=Montserrat');


:root {
	--marquee-width: 95vw;
	--marquee-height: 30vh;
	--marquee-elements-displayed: 5;
}

.marquee {
	margin-top: 5rem;
	width: var(--marquee-width);
	height: var(--marquee-height);
	color: #eee;
	overflow: hidden;
	position: relative;
}

.marquee:before,
.marquee:after {
	position: absolute;
	top: 0;
	width: 10rem;
	height: 100%;
	content: "";
	z-index: 1;
}

.marquee h2 {
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.3;
}


.marquee:before {
	left: 0;
	background: linear-gradient(to right, #1a237e 0%, transparent 100%);
}

.marquee:after {
	right: 0;
	background: linear-gradient(to left, #1a237e 0%, transparent 100%);
}

.marquee-content {
	display: flex;
	/* Important: horizontal layout */
	list-style: none;
	height: 100%;
	animation: scrolling var(--marquee-animation-duration) linear infinite;
}

.marquee-content li {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
	max-height: 100%;
}

.marquee-content li img {
	max-width: 50%;
	max-height: 50%;
	object-fit: contain;
	border-radius: 8px;
}

@keyframes scrolling {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
	}
}

@media (max-width: 600px) {
	html {
		font-size: 12px;
	}

	:root {
		--marquee-width: 100vw;
		--marquee-height: 20vh;
		--marquee-elements-displayed: 3;
	}

	.marquee:before,
	.marquee:after {
		width: 5rem;
	}
}


/*Mouse Trailing*/

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.08s ease-out;
  display: none;
  /* Keep centering transform for main cursor */
  transform: translate(-50%, -50%);
}

.cursor2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  background: white;
  display: none;
  /* Remove centering transform from tail cursor */
  /* transform: translate(-50%, -50%); <-- removed */
}

@media (pointer: fine) {
  .cursor, .cursor2 {
    display: block;
  }
}
