t/* =====================================================
   TOKTIZO — ARCHITECTURAL SYSTEM
===================================================== */

/* ===== BASE ===== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&display=swap');

html {
  scroll-behavior: smooth;
}

:root {
  --plaster: #f6f4ef;
  --earth: #3f3329;
  --muted: #777;
  --accent: #a48c6a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  color: var(--earth);
  background: var(--plaster);
  -webkit-font-smoothing: antialiased;
}

/* PREVENT HORIZONTAL OVERFLOW */
html, body {
  overflow-x: hidden;
}
/* ===== TYPOGRAPHY ===== */

h1, h2, h3 {
  margin: 0 0 16px 0;
  font-weight: 400;
}

h1 { font-size: 40px; }
h2 {
  font-size: 18px;        /* smaller than before */
  letter-spacing: 1px;
  text-transform: none;
  margin-bottom: 24px;
}
h3 { font-size: 18px; }

p {
  max-width: 640px;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 32px;
}

/* ===== LINKS ===== */

a {
  text-decoration: none;
  color: inherit;
}

.editorial-link {
  position: relative;
  color: var(--accent);
}

.editorial-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.editorial-link:hover::after {
  transform: scaleX(1);
}

/* ===== HEADER ===== */

.site-header {
    position: absolute;
    top: 40px;
    left: 60px;
    z-index: 20;
}

/* Language Switch – Global Style */
.lang-switch {
  position: fixed;
  top: 40px;
  right: 60px;
  z-index: 999;

  background: rgba(0,0,0,0.2); /* darker backdrop */
  padding: 0px 5px;
  border-radius: 2px;
}

/* Links */
.lang-switch a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

/* Hover effect */
.lang-switch a:hover {
  opacity: 1;
}

/* Desktop header logo size */
.site-header img {
    height: 100px;
}
/* Desktop nav */
.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: white;
  opacity: 0.75;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.desktop-nav a:hover {
  opacity: 1;
}
/* Hide mobile link on desktop */
.menu-link {
  display: none;
}
/* Hide mobile menu on desktop */
.mobile-menu {
    display: none;
}

/* Mobile behaviour */
@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .site-header {
        padding: 24px 20px;
    }

}
/* ===== CLOSE LINK (ULTRA REFINED) ===== */
.close-link {
    position: fixed;
    top: 30px;
    left: 60px;

    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;

    color: var(--earth);
    opacity: 0.45;

    text-decoration: none;
    transition: opacity .3s ease;

    z-index: 10; /* reduce from 1000 */
}

.close-link:hover {
    opacity: 0.75;
}
/* Dark overlay for readability */
.hero::after {
   z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* ===== HERO TEXT ===== */

.hero-text {
  position: absolute;
  bottom: 5vh;
  left: 3vw;
  right: 3vw;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(72px, 11vw, 160px);
  line-height: 0.95;
  color: white;
  font-weight: 300;
  letter-spacing: -2px;
  margin: 0;
}
/* ===== HERO BASE ===== */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}

.hero > img,
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ===== INTRO TEXT ===== */
.hero-intro-text {
  position: absolute;
  top: 45%;
  left: 47%;
  transform: translate(-50%, -50%) scale(1.02);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  z-index: 6;
  pointer-events: none;
  opacity: 0;

  will-change: opacity, transform;
  backface-visibility: hidden;
  transition: opacity 2.5s ease, transform 2.5s ease;
}

.hero-intro-text.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-intro-text.hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.01);
}

.hero-intro-text span {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);

  font-family: "IBM Plex Sans", sans-serif;
   font-size: clamp(30px, 3.8vw, 44px);
  letter-spacing: 2.5px;
  line-height: 1.32;
  max-width: 22ch;
}

/* ===== LOGO ===== */
.hero-logo {
  position: absolute;
  top: 48%;
  right: 9vw;
  transform: translateY(-50%);
  z-index: 5;

  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-logo.show {
  opacity: 1;
}

.hero-logo img {
  width: clamp(115px, 12vw, 180px);
}

/* ===== OVERLAY ===== */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
  z-index: 2;
}

/* ===== HERO IMAGE ANIMATION ===== */
.hero-img {
  opacity: 0;
  transform: scale(1);
  transition: opacity 4s ease-in-out, transform 18s ease-in-out;
  will-change: opacity, transform;
}

.hero-img.active {
  opacity: 1;
  transform: scale(1.04);
}

/* ===== FOOTER ===== */
.hero-footer {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 5px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 5;
}

/* ===== ABOUT EDITORIAL 3-COLUMN ===== */

.about-layout {
    padding: 180px 6vw;
    position: relative;
	min-height: 90vh;
}

.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 20px;
  z-index: 5;
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 100px;
    align-items: center;
}

.about-layout:first-of-type .about-grid{
    min-height: 80vh;
}

.about-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-center p {
  font-size: 21px;
  line-height: 2;
  letter-spacing: 0.2px;
}

/* Side images */
.about-left img,
.about-right img {
  width: 100%;
  height: auto;  
  display: block;
}
/* Subtle vertical offset for breathing */

.about-left {
    padding-top: 40px;
}

.about-left {
    margin-left: -3vw;
}
.about-right {
    margin-right: -9vw;   /* ακυρώνει το page padding */
}

.about-right img {
    width: 120%;          /* κάνει τη φωτογραφία πιο wide */
    max-width: none;
}
@media (max-width: 1100px) {

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-left,
  .about-right {
    display: none;
  }

}

/* SCROLL INDICATOR */

.scroll-indicator{
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 20px;
  z-index: 5;
  pointer-events: none;
}

.scroll-indicator .line{
  position: absolute;
  width: 2px;
  height: 16px;
  background: rgba(0,0,0,0.5);
  left: 50%;
  bottom: 0;
  transform-origin: bottom center;
}

.scroll-indicator .left{
  transform: translateX(-50%) rotate(-45deg);
}

.scroll-indicator .right{
  transform: translateX(-50%) rotate(45deg);
}
/* ===== ABOUT TYPOGRAPHIC REFINEMENT ===== */

.about-center h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.about-center .subtitle {
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 1;
    margin-bottom: 50px;
}

.about-center p {
    font-size: 18px;
    line-height: 2;        /* πιο architectural rhythm */
    letter-spacing: 0.2px;
    margin-bottom: 26px;
    max-width: 680px;
}

.about-center p:last-child {
    margin-bottom: 0;
}
/* ===== PROJECTS ===== */

.projects-page {
  padding: 160px 10vw 120px;
}

.projects-title {
  margin-bottom: 80px;
}

.project-card {
  margin-bottom: 80px;
}

.project-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform .6s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

.project-info span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.projects-section {
    margin-bottom: 120px;
}

.projects-section h2 {
    margin-bottom: 60px;
}

/* 2 column masonry layout */
.projects-grid {
    column-count: 2;
    column-gap: 60px;
}

.projects-grid .project-card {
    break-inside: avoid;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .projects-grid {
        column-count: 1;
    }
}

/* ===== PROJECT PAGE (CINEMATIC) ===== */

.project-hero{
width:100%;
margin-top:120px;
}

.project-hero img{
width:100%;
height:auto;
}

.project-content{
  max-width: 820px;
  margin: 160px auto;
}

.project-content h1{
font-size:34px;
font-weight:400;
margin-bottom:20px;
}

.project-meta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 40px;
}

.project-description{
max-width:620px;
line-height:1.7;
}

.project-gallery{
max-width:1400px;
margin:120px auto;
display:grid;
grid-template-columns:1fr;
gap:60px;
padding:0 40px;
}

.project-gallery img{
width:100%;
height:auto;
display:block;
}

/* ===== SCROLL FADE-IN FOR PROJECT IMAGES ===== */

.fade-in{
opacity:0;
transform: translateY(40px);
transition:
opacity 1.2s ease,
transform 1.2s ease;
}

.fade-in.visible{
opacity:1;
transform: translateY(0);
}

/* ===== PROCESS ===== */

.process-step {
  margin-bottom: 60px;
}
/* ===== PROCESS EDITORIAL LAYOUT ===== */

.process-layout {
  padding: 180px 6vw;
}

.process-grid {
display: grid;
grid-template-columns: 320px minmax(600px, 700px) 320px;
max-width: 1600px;
margin: 0 auto;
align-items: start;
justify-content: center;
}

/* Center text column */
.process-center{
text-align:center;
margin:0 auto;
}

.process-center h1,
.process-center h2,
.process-center h3,
.process-center p {
  text-align: center;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}


@media (max-width: 1100px) {

  .process-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process-left,
  .process-right {
    display: none;
  }

  .process-center {
    text-align: center;
  }

}
/* ===== CONTACT ===== */

.contact-block {
  margin-bottom: 40px;
}

.contact-block h2 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
/* ===== CONTACT CENTERED ===== */

.contact-centered {
  text-align: center;
}

.contact-centered .container {
  max-width: 600px;
}

.contact-centered h1 {
  margin-bottom: 40px;
}

.contact-centered .contact-block {
  margin-bottom: 40px;
}

.contact-centered .contact-block h2 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
/* ===== CONTACT TYPEWRITER TEXT ===== */
.contact-main {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 80px auto 120px;
  max-width: 1000px;
}
  margin: 60px 0 100px;

  max-width: 900px;       /* wider than container */
  margin-left: auto;
  margin-right: auto;
}
/* ===== FOOTER ===== */

footer {
  padding: 80px 10vw;
  font-size: 14px;
  opacity: .6;
}
/* ===== CONTENT CONTAINER ===== */

.container {
  max-width: 900px;
  margin: 0 auto;
}
/* ===== INTERNAL PAGE TOP SPACING FIX ===== */

.internal-page .section:first-of-type {
  padding-top: 180px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

.lang-switch {
    top: 24px;
    right: 20px;
    font-size: 11px;
}	
	
  nav {
    margin-top: 20px;
  }

  nav a {
    margin-left: 0;
    margin-right: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid-2 {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .section,
  .about-intro,
  .projects-page {
    padding: 80px 24px;
  }

}
/* ===== MOBILE SYSTEM ===== */

@media (max-width: 768px) {

  /* Center logo */
.site-header {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    justify-content: center;
  }

  .logo img {
    height: 140px;
  }

  /* MENU top right */
  .menu-link {
    position: absolute;
    top: 24px;
    right: 20px;
    font-size: 15px;
    letter-spacing: 2px;
    color: var(--earth);
  }

  nav {
    display: none;   /* hide normal nav */
  }
@media (max-width: 768px) {

  /* hide desktop nav */
  .desktop-nav {
    display: none;
  }

  /* show mobile menu link */
  .menu-link {
    display: block;
    position: absolute;
    top: 24px;
    right: 20px;
  }

  /* ===== FULLSCREEN MOBILE MENU ===== */

.mobile-menu {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(0px);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;

    transition:
        opacity .6s ease,
        backdrop-filter .6s ease,
        background .6s ease;

    z-index: 999;
}

 .mobile-menu:target {
    opacity: 1;
    pointer-events: auto;

    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.45);
}

.mobile-menu:target .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
}

  .mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   /* ADD THIS */
    gap: 18px;
    text-align: center;
	
	transform: translateY(40px);
    opacity: 0;

transition:
    transform .7s ease,
    opacity .7s ease;	  

    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-menu-content a {
    margin: 0;          /* RESET */
    padding: 0;         /* RESET */
}
  .mobile-menu-content a {
    font-size: 22px;
    letter-spacing: 2px;
    color: white;
    text-transform: uppercase;
  }

  .close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 26px;
    color: white;
  }

}
@media (max-width: 768px) {

    .internal-page .lang-switch {
        top: 16px;
        left: 20px;
        right: auto;
        font-size: 14px;
    }

    .internal-page .close-link {
        top: 16px;
        right: 20px;
        left: auto;
    }

}
	/* ===== Mobile Homepage Only ===== */
@media (max-width: 768px) {

    body:not(.internal-page) .lang-switch {
        position: absolute;
        top: 20px;
        left: 20px;
        right: auto;
        font-size: 14px;
    }

}
	/* Hide footer on mobile */
@media (max-width: 768px) {
    footer {
        display: none;
    }
}
	
/* ===== MOBILE PROJECT PAGES (SIMPLIFIED) ===== */

@media (max-width:768px){

@media (max-width:768px){

.project-hero{
height:auto;
margin-top:60px;   /* space for close button */
}

.project-hero img{
width:100%;
height:auto;
display:block;
object-fit:cover;
}

.project-content{
margin:80px auto;
padding:0 24px;
}

.project-content h1{
font-size:22px;
}

.project-meta{
font-size:10px;
gap:12px;
}

.project-description{
font-size:14px;
line-height:1.6;
}

.project-gallery{
margin:80px auto;
gap:30px;
padding:0 16px;
}

.project-gallery img{
width:100%;
height:auto;
}

}
	
/* Homepage language switch */
.home .lang-switch {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home .lang-switch a {
  color: white;
  opacity: 1;
}	
	
@media (max-width: 768px) {
  .hero-intro-text span {
    font-size: 22px;
    font-weight: 450;
    letter-spacing: 1.5px;
  }
}
@media (max-width: 768px) {
  .hero-logo {
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    z-index: 5;
  }

  .hero-logo img {
    width: clamp(90px, 28vw, 140px);
	opacity: 0.8;
  }

  .hero-intro-text {
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.02);
    width: min(88vw, 420px);
    padding: 0 12px;
    z-index: 6;
  }

  .hero-intro-text span {
    display: block;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.28;
    letter-spacing: 1.2px;
    max-width: none;
  }
}