@charset "utf-8";
/* CSS Document */
/************************
  GLOBAL
*************************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
}


/************************
  Google Fonts section for demo
*************************/
/* Science Gothic (variable font) */
.font-science-gothic {
  font-family: "Science Gothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* change to 100–900 */
  font-style: normal;
}

/* Source Serif 4 (variable serif) */
.font-source-serif {
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-weight: 400; /* change to 200–900 */
  font-style: normal;
}

/* Noto Sans Avestan */
.font-avestan {
  font-family: "Noto Sans Avestan", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Gugi */
.font-gugi {
  font-family: "Gugi", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Mina */
.font-mina {
  font-family: "Mina", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-mina-bold {
  font-family: "Mina", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Anta */
.font-anta {
  font-family: "Anta", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Actor */
.font-actor {
  font-family: "Actor", sans-serif;
}

/* Belleza */
.font-belleza {
  font-family: "Belleza", sans-serif;
}

/* Cuprum (variable) */
.font-cuprum {
  font-family: "Cuprum", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* change to 400–700 */
}

/* Newsreader (variable serif) */
.font-newsreader {
  font-family: "Newsreader", serif;
  font-optical-sizing: auto;
  font-weight: 400; /* change to 200–800 */
}

/* Noto Sans JP (variable) */
.font-noto-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* change to 100–900 */
}

/* Suranna */
.font-suranna {
  font-family: "Suranna", serif;
}

/************************
  NAV
*************************/
.nav {
  position: sticky;
  top: 0;
  background: rgba(39, 190, 245,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 1.1rem;
}
/*
nav a {
  margin-left: 2rem;
  text-decoration: none;
  color:#E8E4E4;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 1;
}*/

/************************
  HERO
*************************/
.hero-pro {
  padding: 8rem 2rem;
  text-align: center;
  background: #f5f5f7;
}

.hero-inner h1 {
  font-size: 3.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-inner p {
  font-size: 1.4rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.cta-main {
  display: inline-block;
  padding: 1rem 2rem;
  background: #111;
  color: #fff;
  border-radius: 12px;
  transition: 0.2s ease;
}

.cta-main:hover {
  background: #333;
}

/* Hero 4 (added later ) */
.hero4-pro {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  height: 420px;
  background: url('../images/img3.jpg') center/cover no-repeat;
  overflow: hidden; /* ensures rounded corners apply to overlay */
  z-index: 0;
}

/* Darkening overlay */
.hero4-pro::before {
  content: "";
  position: absolute;
  inset: 0;
	pointer-events: none;
  background: rgba(0, 0, 0, 0.35); /* adjust darkness here */
  z-index: 1;
  backdrop-filter: brightness(0.6); /* optional extra darkening */
	z-index: -1;
}

/* Ensure text sits ABOVE the overlay */
.hero4-inner {
  position: relative;
  z-index: 2;
}


.hero4-inner h1 {
  font-size: 3.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
	  color:#F5F5F5;
}

.hero4-inner p {
  font-size: 1.4rem;
  opacity: 0.7;
  margin-bottom: 2rem;
	  color:#ECE5E5;
}

.cta4-main {
  display: inline-block;
  padding: 1rem 2rem;
  background: #111;
  color:#ABB3BF;
  border-radius: 12px;
  transition: 0.2s ease;
}

.cta4-main:hover {
  background:#9FA8F3;
}


/* hero split */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6rem 2rem;
  align-items: center;
  gap: 3rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.3rem;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.hero-image {
  height: 420px;
  border-radius: 20px;
  background: url('assets/images/img3.jpg') center/cover no-repeat;
}


/* hero vid */
.hero-video {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-overlay h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}


/************************
  SECTIONS
*************************/
.section {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

/************************
  PROJECTS — CARD GRID
*************************/
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  border-radius: 20px;
  background: #f5f5f7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.image-card .img-placeholder {
  width: auto;
  height: 360px;
  background: #ddd;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

/************************
  WHAT WE DO — SCROLLER
*************************/
.services-scroller {
  overflow: hidden;
}

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.scroll-track {
  display: flex;
  gap: 2rem;
  animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-wrapper:hover .scroll-track {
  animation-play-state: paused;
}

/************************
  WHAT WE DO — SLIDER (CENTRE MODE)
*************************/

.what-we-do-slider {
  text-align: center;
}

.slider-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 3rem;
  overflow: visible;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 3rem;
  transition: transform 0.6s ease;
  padding: 2rem 0;
}

.service-card {
  width: 70%;
  max-width: 480px; /* FIXED SIZE */
  flex-shrink: 0;
  padding: 2rem;
  border-radius: 26px;
  color: #333;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  text-align: left;
  opacity: 0.35;
  transform: scale(0.85);
  transition: transform 0.6s ease, opacity 0.6s ease;
  perspective: 1000px; /* for tilt */
}

.service-card.active {
  opacity: 1;
  transform: scale(1);
}

/************************
  IMAGE + VIDEO SUPPORT
*************************/

.service-img,
.service-video {
  width: 100%;
  height: 220px; /* SAME HEIGHT FOR BOTH */
  border-radius: 18px;
  margin-bottom: 1rem;
  object-fit: cover;
  display: block;
  overflow: hidden; /* FIX: stops Ken Burns spilling */
}

/* Background image behaviour */
.service-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1); /* reset */
}

/************************
  KEN BURNS EFFECT
*************************/

/* Only runs on active card */
.service-card.active .service-img {
  animation: kenburns 12s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

/************************
  PARALLAX TILT
*************************/

.service-card:hover .service-img,
.service-card:hover .service-video {
  transition: transform 0.2s ease;
}

/************************
  PROGRESS DOTS
*************************/

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: width 0.35s ease, background 0.35s ease;
}

.slider-dot.active {
  width: 40px;
  background: rgba(0,0,0,0.35);
}

.slider-dot .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #000;
  opacity: 0.8;
  transition: width linear;
  border-radius: inherit;
}

/************************
  SUBTLE APPLE‑STYLE GRADIENTS
*************************/

.gradient-a { background: linear-gradient(135deg, #dbe7ff, #fff); }
.gradient-b { background: linear-gradient(135deg, #ffd9df, #fff); }
.gradient-c { background: linear-gradient(135deg, #d8ffe5, #fff); }
.gradient-d { background: linear-gradient(135deg, #f0d9ff, #fff); }
.gradient-e { background: linear-gradient(135deg, #ffe9d1, #fff); }
.gradient-f { background: linear-gradient(135deg, #dff6ff, #fff); }
.gradient-g { background: linear-gradient(135deg, #e3e0ff, #fff); }
.gradient-h { background: linear-gradient(135deg, #ffe3ec, #fff); }
.gradient-i { background: linear-gradient(135deg, #e9f7ff, #fff); }

/************************
  LOCAL IMAGES
*************************/

.gradient-a .service-img { background-image: url("images/img1.jpg"); }
.gradient-c .service-img { background-image: url("images/img2.jpg"); }
.gradient-e .service-img { background-image: url("images/img3.jpg"); }
.gradient-f .service-img { background-image: url("images/img4.jpg"); }
.gradient-h .service-img { background-image: url("images/img5.jpg"); }
.gradient-i .service-img { background-image: url("images/img4.jpg"); }




/************************
  SERVICE CARDS (GRADIENT + IMAGE + TEXT)
*************************/
.service-card {
  width: 70%; /* wider cards */
  flex-shrink: 0;
  padding: 2rem;
  border-radius: 26px;
  color: #333;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  text-align: left;
  opacity: 0.35;
  transform: scale(0.85);
  transition: transform 0.6s ease, opacity 0.6s ease;
}


.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.service-img {
  width: 100%;
  height: 220px;
  background: rgba(255,255,255,0.25);
  border-radius: 14px;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}


/************************
  WORK GALLERY 1
************************/
.work-gallery {
  width: 100%;
  max-width: 1400px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.work-gallery h2 {
	font-size: 24px;
	margin: 60px 80px;
}

.gallery-item {
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  height: 480px;
}

.gallery-caption {
  margin-top: 1rem;
  font-size: 1.4rem;
  opacity: 0.7;
}

/************************
  WORK GALLERY 2
************************/
.work2-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  margin: 60px 100px;
}

.work2-grid h2 {
  font-size: 24px;
  margin: 60px 80px;
}

.grid-large {
  grid-column: span 6;
}

.grid-small {
  grid-column: span 3;
}

.work2-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
}

/* Container */
.work2-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

/* Frosted glass half‑height overlay */
.work2-item .overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  transform: translateY(100%);
  transition: transform 0.45s ease;
}

/* Slide up */
.work2-item:hover .overlay {
  transform: translateY(0);
}

/* --- STAGGERED TEXT ANIMATION --- */

/* Start hidden */
.work2-item .overlay h3,
.work2-item .overlay p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Title fades in first */
.work2-item:hover .overlay h3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

/* Paragraph fades in second */
.work2-item:hover .overlay p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.30s;
}


/************************
 FONT SWITCHER FUNCTIONALITY (WHOLE PAGE EXCEPT FONTS BELOW)
*************************/
/* FONT SWITCHER */
.font-switcher {
  max-width: 1200px;
  margin: 3rem auto 2rem;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.font-switcher button {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.font-switcher button:hover {
  background: #f0f0f0;
}

.font-switcher button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}


/************************
  TYPOGRAPHY SECTION CSS
*************************/
/* Typography Demo — 2 Column Grid */
.type-demo {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem 2rem;
}

.type-demo-title,
.type-demo-sub {
  grid-column: 1 / -1; /* full width */
  text-align: center;
}

.type-demo-intro {
	width: 100%;
	padding: 40px 40px;
}
.type-demo-title {
  font-size: 2.6rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}

.type-demo-sub {
  text-align: center;
  opacity: 0.6;
  margin-bottom: 3rem;
}

.type-block {
  padding: 2rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.type-block h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.type-block p {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.type-label {
  font-size: 1rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/************************
  CONTACT
*************************/
.contact p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
