*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, sans-serif;
  background:#f4f4f2;
  color:#111;
  overflow-x:hidden;
}

/* HEADER */
.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:95px;
  padding:0 80px;

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

  background:transparent;
  z-index:1000;

  transition:0.4s ease;
}

/* SCROLLED HEADER */
.header.scrolled{
  background:rgba(255,255,255,0.94);
  backdrop-filter:blur(12px);
  box-shadow:0 2px 25px rgba(0,0,0,0.05);
}

/* LOGO */
/* LOGO */
/* LOGO */
.logo{
  font-size:34px;          /* redus din 58px */
  letter-spacing:10px;
  font-weight:300;

  color:white;

  transition:0.4s ease;

  opacity:0;
  visibility:hidden;

  transform:translateY(-8px);
}

/* LOGO span (W auriu) */
.logo span{
  color:#c6a47a;
  font-weight:300;
  letter-spacing:6px;
}

/* logo apare dupa scroll */
.header.scrolled .logo{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* scrolled state fine-tune */
.header.scrolled .logo{
  font-size:28px;
  letter-spacing:8px;
}



/* NAV */
nav{
  display:flex;
  align-items:center;
  gap:48px;
}

nav a{
  text-decoration:none;
  color:white;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:3px;
  transition:0.3s;
}

nav a:hover{
  opacity:0.6;
}

.lang{
  font-size:13px;
  letter-spacing:3px;
  color:white;
}

/* HEADER COLORS AFTER SCROLL */
.header.scrolled nav a,
.header.scrolled .lang,
.header.scrolled .logo{
  color:#111;
}

.header.scrolled .logo span{
  color:#b99167;
}

/* HERO */
.hero{
  height:100vh;
  padding-top:95px;

  background:
    linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.10)),
    url('hero.jpg') center/cover no-repeat;

  display:flex;
  align-items:center;
  position:relative;
}

/* overlay extra */
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.2), transparent 40%);
}

/* HERO CONTENT */
.hero-content{
  margin-left:80px;
  color:white;
  position:relative;
  z-index:1;
}

.hero-content h1{
  font-size:150px;
  font-weight:200;
  letter-spacing:6px;
  line-height:1;
}

.hero-content h1 span{
  color:#b99167;
}

.hero-subtitle{
  margin-top:25px;
  font-size:20px;
  letter-spacing:8px;
}

.hero-small{
  margin-top:10px;
  font-size:16px;
  letter-spacing:6px;
  opacity:0.85;
}

.hero-line{
  width:40px;
  height:1px;
  background:white;
  margin:50px 0 40px;
}

.hero-tagline span{
  display:block;
  font-size:28px;
  letter-spacing:5px;
  font-weight:300;
}

/* SCROLL */
.scroll-box{
  margin-top:120px;
  display:flex;
  align-items:center;
  gap:20px;
}

.scroll-line{
  width:1px;
  height:38px;
  background:white;
}

/* PROJECTS */
.projects{
  padding:40px 80px 70px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:30px;
}

.project-category{
  margin-bottom:20px;
  font-size:15px;
  letter-spacing:5px;
}

.project-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  transition:0.5s;
}

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

.project-link{
	margin-top:18px;
	font-size:12px;
	letter-spacing:3px;
	cursor:pointer;
	text-decoration: none;
	color: #000;
}

/* QUOTE */
.quote{
  padding:70px 20px 90px;
  text-align:center;
}

.quote p{
  font-size:22px;
  max-width:900px;
  margin:auto;
  line-height:1.8;
}








/* =========================================================
   FOOTER UPGRADE PREMIUM
========================================================= */

.footer{
  background:#111;
  color:#f4f4f2;

  padding:120px 80px 60px;

  position:relative;
}

/* GRID */
.footer-grid{
  max-width:1200px;
  margin:auto;

  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:80px;
}

/* BLOCK */
.footer-block{
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* LABEL */
.footer-label{
  font-size:12px;
  letter-spacing:5px;
  text-transform:uppercase;
  opacity:0.6;
}

/* TEXT */
.footer-text{
  font-size:18px;
  letter-spacing:1px;
  line-height:1.6;
}

/* LINK */
.footer-text a{
  color:#c6a47a;
  text-decoration:none;
  transition:opacity .3s ease;
}

.footer-text a:hover{
  opacity:0.6;
}

/* DIVIDER */
.footer-line{
  width:100%;
  height:1px;
  background:rgba(255,255,255,0.08);

  margin:80px 0 30px;
}

/* BOTTOM */
.footer-bottom{
  max-width:1200px;
  margin:auto;

  font-size:12px;
  letter-spacing:3px;
  opacity:0.5;
}

/* HOVER LUXURY EFFECT */
.footer-block:hover .footer-label{
  opacity:1;
}

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

@media(max-width:768px){

  .footer{
    padding:80px 30px 50px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:50px;
  }

  .footer-text{
    font-size:16px;
  }

  .footer-line{
    margin:60px 0 25px;
  }
}






/* MOBILE */
@media(max-width:1200px){
  .projects{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){

  .header{
    height:auto;

    padding:24px;

    flex-direction:column;

    gap:20px;
  }





  .logo{
    display:none;
  }

  .header.scrolled .logo{
    display:block;
  }


  nav{
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
  }

.hero{
  background-position: 15% center;
  background-size: cover;
}

  .hero-content h1{
    font-size:72px;
  }

  .projects{
    grid-template-columns:1fr;
    padding:40px 30px;
  }
}






/* =========================================================
   CHAT BUTTON
========================================================= */
/* =========================================================
   AI FLOATING CHAT - FULL CSS
========================================================= */

.ai-chat{
  position:fixed;
  right:25px;
  bottom:25px;
  z-index:99999;
  font-family:Arial, sans-serif;
}

/* =========================================================
   CHAT BUTTON
========================================================= */

.chat-toggle{
  width:78px;
  height:78px;
  border:none;
  border-radius:50%;
  background:linear-gradient(135deg,#111,#1e1e1e);
  color:#fff;
  cursor:pointer;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    0 0 40px rgba(198,164,122,.15);
  transition:.3s ease;
  overflow:hidden;
}

.chat-toggle:hover{
  transform:translateY(-3px) scale(1.05);
}

/* PULSE GLOW */
.chat-flame{
  position:absolute;
  width:160%;
  height:160%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(198,164,122,.35),transparent 70%);
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%{transform:scale(1);opacity:.6}
  50%{transform:scale(1.25);opacity:1}
  100%{transform:scale(1);opacity:.6}
}

/* ICON */
.chat-toggle svg{
  width:26px;
  height:26px;
  position:relative;
  z-index:2;
}

/* =========================================================
   PANEL
========================================================= */

.chat-panel{
  position:absolute;
  right:0;
  bottom:95px;
  width:380px;
  max-height:80vh;
  overflow:hidden;

  background:rgba(255,255,255,.92);
  backdrop-filter:blur(28px);

  border-radius:24px;

  box-shadow:
    0 30px 80px rgba(0,0,0,.18);

  opacity:0;
  visibility:hidden;
  transform:translateY(25px) scale(.98);
  transition:.4s cubic-bezier(.22,1,.36,1);
}

.chat-panel.active{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

/* =========================================================
   TOP BAR
========================================================= */

.chat-top{
  background:linear-gradient(135deg,#111,#222);
  color:#fff;
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:relative;
  overflow:hidden;
}

/* animated glow */
.chat-top::after{
  content:'';
  position:absolute;
  width:200px;
  height:200px;
  right:-100px;
  top:-100px;
  background:radial-gradient(circle,rgba(198,164,122,.25),transparent 70%);
  animation:spin 8s linear infinite;
}

@keyframes spin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

.chat-label{
  font-size:20px;
  letter-spacing:4px;
  font-weight:200;
  position:relative;
  z-index:2;
}

.chat-label span{
  color:#c6a47a;
}

.chat-sub{
  font-size:10px;
  opacity:.6;
  margin-top:2px;
  position:relative;
  z-index:2;
}

.chat-close{
  background:none;
  border:none;
  color:#fff;
  font-size:28px;
  cursor:pointer;
  opacity:.7;
  transition:.3s;
  z-index:2;
}

.chat-close:hover{
  opacity:1;
  transform:rotate(90deg);
}

/* =========================================================
   FORM AREA
========================================================= */

.chat-form{
  padding:18px;
}

/* PROGRESS */
.ai-progress{
  width:100%;
  height:5px;
  background:#eee;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:14px;
}

.ai-bar{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#c6a47a,#111);
  transition:.35s ease;
}

/* =========================================================
   STEPS
========================================================= */

.ai-step{
  display:none;
  animation:fadeIn .4s ease;
}

.ai-step.active{
  display:block;
}

@keyframes fadeIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}

/* =========================================================
   AI TEXT BUBBLES
========================================================= */

.ai-bubble{
  font-size:12px;
  margin-bottom:10px;
  color:#333;
  opacity:0;
  animation:typing .5s forwards;
}

@keyframes typing{
  from{opacity:0;transform:translateX(-10px)}
  to{opacity:1;transform:translateX(0)}
}

/* stagger effect */
.ai-bubble:nth-child(1){animation-delay:.1s}
.ai-bubble:nth-child(2){animation-delay:.25s}

/* =========================================================
   INPUTS
========================================================= */

input,select,textarea{
  width:100%;
  margin-top:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  outline:none;
  font-size:13px;
  transition:.3s;
  background:#fff;
}

input:focus,
select:focus,
textarea:focus{
  border-color:#c6a47a;
  box-shadow:0 0 0 4px rgba(198,164,122,.15);
}

textarea{
  min-height:100px;
  resize:none;
}

/* =========================================================
   NAVIGATION
========================================================= */

.ai-nav{
  display:flex;
  justify-content:space-between;
  margin-top:15px;
}

.ai-nav button{
  padding:10px 14px;
  border:none;
  border-radius:10px;
  background:#111;
  color:#fff;
  font-size:11px;
  cursor:pointer;
  transition:.3s;
}

.ai-nav button:hover{
  background:#222;
  transform:translateY(-2px);
}

/* =========================================================
   SEND BUTTON
========================================================= */

.chat-submit{
  width:100%;
  margin-top:12px;
  padding:14px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#111,#2a2a2a);
  color:#fff;
  font-size:11px;
  letter-spacing:3px;
  cursor:pointer;
  transition:.3s;
  position:relative;
  overflow:hidden;
}

.chat-submit::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(198,164,122,.3),transparent);
  transform:translateX(-100%);
  transition:1s;
}

.chat-submit:hover::after{
  transform:translateX(100%);
}

.chat-submit:hover{
  transform:translateY(-2px);
}

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

@media(max-width:768px){

  .ai-chat{
    right:15px;
    bottom:15px;
  }

  .chat-panel{
    width:calc(100vw - 30px);
    bottom:90px;
  }

  .chat-toggle{
    width:70px;
    height:70px;
  }
}



/* =========================================================
   AI LIVE TYPING
========================================================= */

.ai-typing{
  min-height:42px;
  margin-bottom:18px;

  font-size:13px;
  line-height:1.7;
  color:#222;

  letter-spacing:.5px;
}

/* cursor */

.ai-typing span::after{
  content:'|';
  animation:blink .7s infinite;
  margin-left:3px;
  color:#c6a47a;
}

@keyframes blink{
  50%{
    opacity:0;
  }
}

/* SEND hidden initially */

.chat-submit{
  display:none;
}



/* TOAST */

.ai-toast{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(.8);

  background:rgba(17,17,17,.95);
  color:white;

  padding:18px 28px;
  border-radius:14px;

  font-size:13px;
  letter-spacing:1px;

  opacity:0;
  visibility:hidden;

  transition:.4s ease;

  box-shadow:0 20px 60px rgba(0,0,0,.3);
  z-index:99999;
}

.ai-toast.show{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,-50%) scale(1);
}
