/* styles.css - FINALNA, ELEGANTNA I OZBILJNA VERZIJA */
/* === OSNOVNE VARIJABLE I STILOVI === */
:root{
  --primary: #0d1f33; /* Tamna, ozbiljna plava */
  --accent: #9a846c; /* Elegantna, tamnija zlatna/bež - formalniji ton */
  --accent-light: #c2af98; /* Svetlija nijansa za hover */
  --bg: #fdfdfd; /* Gotovo bela pozadina za čistoću */
  --text: #333333; /* Tamnija siva za tekst - bolja čitljivost */
  --card: #ffffff;
  --radius: 4px; /* Oštriji border-radius za formalniji izgled */
  --container: 1100px; /* Manja širina kontejnera za bolju čitljivost */
  --shadow: 0 2px 8px rgba(0,0,0,0.05); /* Suptilnija senka */
  --shadow-hover: 0 6px 16px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  font-family: Georgia, serif; /* ELEGANCIJA: Georgia je formalan i autoritativan font */
  color-scheme: light;
}

/* === EFEKAT GLATKOG SKROLOVANJA === */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}

*{box-sizing:border-box}
body{
  margin:0; 
  background:var(--bg); 
  color:var(--text); 
  line-height:1.7; /* Povećan line-height za bolju čitljivost */
  font-size: 17px; 
  font-display: swap;
}
.container{max-width:var(--container); margin:0 auto; padding:1.5rem}
img {max-width: 100%; height: auto; display: block;}

/* === TYPOGRAPHY RESET I POBOLJŠANJA === */
h1, h2, h3, h4 {
  font-family: Georgia, serif; 
  line-height: 1.3;
  color: var(--primary);
  font-weight: 700;
}
p {
  font-family: 'Times New Roman', Times, serif; /* Sekundarni font za telo teksta */
}

/* === HEADER STILOVI - ELEGANTNIJI I OZBILJNIJI === */
.site-header{
  background:var(--card); 
  color:var(--primary); 
  padding:0.6rem 0; /* Malo smanjen padding */
  position:sticky; 
  top:0; 
  z-index:100; 
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  border-bottom: 1px solid #eeeeee; /* Formalna linija */
}
.header-inner{
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  gap:1.5rem;
  flex-wrap: nowrap;
}
.brand {
  flex-shrink: 0;
  margin-right: 1.5rem;
}
.brand h1{
  margin:0; 
  font-size:1.4rem; 
  letter-spacing:0.5px; 
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.brand span{
  font-weight:400; /* Lakši font za "Aleksandar G. Stanković" */
  color: var(--primary); 
  font-size: 1.2rem;
  margin-top: 1px;
}
.tag{
  font-family: 'Times New Roman', Times, serif;
  font-size:0.75rem; 
  opacity:0.8; 
  margin-top:4px; 
  letter-spacing: 1px;
  color: var(--text);
}

/* === NAVIGACIJA === */
.nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 0;
  margin: 0 auto;
  padding: 0;
}
.nav a{
  color:var(--text); 
  text-decoration:none; 
  padding: 0.8rem 1.2rem; 
  font-weight:500; 
  font-size: 0.95rem; 
  transition: var(--transition); 
  position: relative;
  white-space: nowrap;
}
.nav a:hover{
  color:var(--primary);
  background: rgba(154, 132, 108, 0.05);
}
.nav a.active {
  color: var(--accent);
  font-weight: 600;
}
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
}
.nav-toggle{
  display:none; 
  background:none; 
  border:0; 
  color:var(--primary); 
  font-size:1.5rem; 
  cursor:pointer; 
  z-index: 101;
  padding: 0.5rem;
}

/* === STILOVI ZA IZBOR JEZIKA === */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 1rem;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  opacity: 0.7;
}
.lang-btn:hover {
  background-color: rgba(0,0,0,0.05);
  opacity: 1;
}
.lang-btn.active {
  color: var(--primary);
  background-color: var(--accent-light);
  border-color: var(--accent);
  opacity: 1;
  font-weight: 700;
}

/* === HERO SEKCIJA - ELEGANTNIJI IZGLED === */
.hero{
  padding:6rem 0 5rem; 
  text-align: center; 
  background: linear-gradient(135deg, rgba(13, 31, 51, 0.95) 0%, rgba(13, 31, 51, 0.9) 100%), 
              url('images/hero-background.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-attachment: fixed;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(154, 132, 108, 0.1) 0%, transparent 50%);
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-text h2{
  font-size:3rem; 
  margin:0 0 1.5rem; 
  line-height: 1.1; 
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}
.hero-text p{
  color:rgba(255,255,255,0.9); 
  margin-bottom:2.5rem; 
  max-width: 700px; 
  margin-left: auto; 
  margin-right: auto; 
  font-size: 1.15rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Times New Roman', Times, serif;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.btn{
  display:inline-block; 
  padding:0.9rem 2.2rem; 
  border-radius:var(--radius); 
  text-decoration:none; 
  border:2px solid transparent; 
  font-weight:700; /* Povećan font weight */
  transition: var(--transition); 
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.btn.primary{
  background:var(--accent); 
  color:var(--primary); 
  border-color: var(--accent);
}
.btn.primary:hover{
  background: var(--accent-light); 
  border-color: var(--accent-light); 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-hover);
}
.btn.outline{
  background:transparent; 
  color:#fff; 
  border-color:rgba(255,255,255,0.5);
}
.btn.outline:hover{
  background: rgba(255,255,255,0.1); 
  color: #fff; 
  border-color: #fff;
  transform: translateY(-2px); 
  box-shadow: var(--shadow);
}

/* === OPŠTI STILOVI ZA SEKCIJE === */
.section{
  padding:5rem 0; /* Veći padding za više prostora */
  border-bottom: 1px solid #eeeeee; /* Suptilna linija */
}
.section-title {
  text-align: center; 
  font-size: 2.5rem; 
  margin-bottom: 3.5rem; 
  color: var(--primary);
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title::after {
  content: ''; 
  display: block; 
  width: 80px; 
  height: 3px; 
  background: var(--accent); 
  margin: 1.2rem auto 0;
  border-radius: 1px;
}

/* === ANIMACIJA PRI SKROLOVANJU === */
.animated-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animated-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === O KANCELARIJI === */
.about-grid{
  display:grid; 
  grid-template-columns:3fr 2fr; /* Promenjen odnos za više prostora za tekst */
  gap:4rem; 
  align-items:center;
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid #eeeeee;
}
.bio p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.bio h3 {
  font-size: 2rem; 
  color: var(--primary); 
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.bio ul {
  list-style: none; 
  padding: 0;
  margin-top: 2rem;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.bio li {
  padding-left: 1rem; 
  position: relative; 
  margin-bottom: 1rem;
  font-size: 1rem;
}
.bio li strong {
  color: var(--primary);
}
.bio li::before {
  content: '→'; 
  color: var(--accent); 
  position: absolute; 
  left: -5px; 
  font-weight: bold;
  font-size: 1rem;
}
.about-image img {
  border-radius: var(--radius); 
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
  border: 1px solid #eeeeee;
  filter: grayscale(10%); /* Blaga desaturacija za formalniji ton */
}
.about-image img:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  filter: grayscale(0%);
}

/* === OBLASTI RADA === */
.areas {
  background: #f8f8f8;
  position: relative;
}
.areas-grid{
  display:grid; 
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); 
  gap:2.5rem;
}
.area{
  background:var(--card); 
  padding:3rem 2.5rem; 
  border-radius:var(--radius); 
  text-align:center; 
  box-shadow: var(--shadow); 
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid #eeeeee;
}
.area:hover {
  transform: translateY(-5px); 
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}
.area .icon {
  font-size: 3rem; 
  color: var(--accent); 
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.area:hover .icon {
  color: var(--primary);
  transform: scale(1.05);
}
.area h3 {
  color: var(--primary); 
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.area p {
  color: var(--text);
  opacity: 0.85;
  line-height: 1.6;
}

/* === ISKUSTVA KLIJENATA === */
.testimonials {
  background: var(--card);
}
.testimonials-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 2rem;
}
.testimonial {
  background: #fcfcfc; 
  padding: 2.5rem; 
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  position: relative;
  transition: var(--transition);
  border: 1px solid #eeeeee;
}
.testimonial:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial::before {
  content: '\201C'; /* Custom quote mark */
  font-size: 6rem; 
  color: var(--accent); 
  position: absolute; 
  top: -20px; 
  left: 20px; 
  font-family: Georgia, serif;
  opacity: 0.1;
  line-height: 1;
}
.testimonial-content {
  margin-bottom: 1.5rem; 
  position: relative; 
  z-index: 1;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  border-top: 1px solid #e9ecef; 
  padding-top: 1.5rem;
}
.testimonial-author strong {
  display: block; 
  color: var(--primary);
  font-size: 1.05rem;
  font-family: Georgia, serif;
}
.testimonial-author span {
  font-size: 0.9rem; 
  opacity: 0.7;
  font-family: 'Times New Roman', Times, serif;
}

/* === ČESTA PITANJA (FAQ) === */
.faq {
  background: #f8f8f8;
}
.faq-list {
  max-width: 900px; 
  margin: 0 auto;
}
.faq-item {
  background: var(--card); 
  margin-bottom: 1rem; 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #eeeeee;
}
.faq-item:hover {
  box-shadow: var(--shadow-hover);
}
.faq-question {
  width: 100%; 
  background: none; 
  border: none; 
  padding: 1.5rem; 
  text-align: left; 
  font-size: 1.1rem; 
  font-weight: 700; 
  color: var(--primary); 
  cursor: pointer; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  transition: var(--transition);
  font-family: Georgia, serif;
}
.faq-question:hover {
  background: rgba(154, 132, 108, 0.05);
}
.faq-question i {
  transition: var(--transition);
  color: var(--accent);
}
.faq-question.active i {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-answer {
  padding: 0 1.5rem; 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer.open {
  padding: 0 1.5rem 1.5rem; 
  max-height: 500px;
  border-top: 1px solid #eee;
}
.faq-answer p {
  font-size: 1rem;
}

/* === GALERIJA === */
.gallery {
  background: var(--card);
}
.gallery-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 1.5rem;
}
.gallery-item {
  position: relative; 
  overflow: hidden; 
  border-radius: var(--radius); 
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #eeeeee;
}
.gallery-item img {
  width: 100%; 
  height: 300px; 
  object-fit: cover; 
  transition: var(--transition);
  filter: brightness(95%);
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(100%);
}
.gallery-item:hover {
  box-shadow: var(--shadow-hover);
}

/* === KONTAKT === */
.contact-inner{
  display:flex; 
  gap:4rem; 
  flex-wrap:wrap;
}
.contact-info{
  flex:1; 
  min-width:300px;
}
.contact-info h2 {
  font-size: 2.2rem;
}
.contact-info p {
  font-size: 1.05rem;
}
.contact-details {
  list-style: none; 
  padding: 0; 
  margin: 2rem 0;
}
.contact-details li {
  display: flex; 
  align-items: flex-start; 
  margin-bottom: 1.5rem; 
  font-size: 1rem;
}
.contact-details i {
  color: var(--accent); 
  font-size: 1.3rem; 
  margin-right: 1.2rem; 
  width: 20px; 
  text-align: center;
  margin-top: 0.2rem;
}
.contact-details a {
  color: var(--text); 
  text-decoration: none; 
  transition: var(--transition);
}
.contact-details a:hover {
  color: var(--accent); 
}
.social-icons {
  margin-top: 2.5rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}
.social-icons a {
  color: var(--primary); 
  font-size: 1.8rem; 
  margin-right: 1.5rem; 
  text-decoration: none; 
  transition: var(--transition);
  display: inline-block;
}
.social-icons a:hover {
  color: var(--accent); 
  transform: translateY(-3px);
}
.contact-form{
  flex:2; 
  min-width:320px; 
  background:var(--card); 
  padding:2.8rem; 
  border-radius:var(--radius); 
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #eeeeee;
}
.contact-form:hover {
  box-shadow: var(--shadow-hover);
}
.contact-form h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.contact-form label{
  display:block; 
  margin-bottom:1.5rem; 
  font-weight:500; 
  color:var(--text);
  font-family: 'Times New Roman', Times, serif;
}
.contact-form input, .contact-form textarea{
  width:100%; 
  padding:1rem; 
  border-radius:var(--radius); 
  border:1px solid #dcdcdc; 
  margin-top:0.5rem; 
  font-family: inherit; 
  font-size: 1rem; 
  transition: var(--transition);
  background: #fafbfc;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(154, 132, 108, 0.2);
  outline: none;
  background: #fff;
}
.form-actions{
  margin-top:2rem;
}

/* === NEWSLETTER SEKCIJA === */
.newsletter-section {
  background: var(--primary); 
  color: white; 
  padding: 4rem 0;
  position: relative;
}
.newsletter-inner {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 2rem;
}
.newsletter-text {
  flex: 1; 
  min-width: 300px;
}
.newsletter-text h3 {
  margin: 0 0 1rem 0; 
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.newsletter-text p {
  opacity: 0.9;
  margin: 0;
  font-size: 1.05rem;
}
.newsletter-form {
  display: flex; 
  gap: 1rem; 
  flex-wrap: nowrap;
}
.newsletter-form input {
  padding: 1rem 1.2rem; 
  border: none; 
  border-radius: var(--radius); 
  min-width: 300px; 
  flex: 1;
  font-size: 1rem;
}
.newsletter-form button {
  white-space: nowrap;
}

/* === MAPA === */
.map-section {
  padding: 0;
  filter: grayscale(10%); /* Blaga desaturacija */
}

/* === FOOTER === */
.site-footer{
  padding:3.5rem 0 2rem; 
  background:#0a1727; 
  color:#c7d1db;
  position: relative;
}
.footer-content {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
  gap: 2.5rem; 
  margin-bottom: 3rem;
}
.footer-section h4 {
  color: var(--accent); 
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-section p {
  line-height: 1.6;
}
.footer-section a {
  color: #c7d1db; 
  text-decoration: none; 
  display: block; 
  margin-bottom: 0.8rem; 
  transition: var(--transition);
  opacity: 0.8;
  font-size: 0.95rem;
  font-family: 'Times New Roman', Times, serif;
}
.footer-section a:hover {
  color: var(--accent-light); 
  opacity: 1;
}
.footer-bottom {
  text-align: center; 
  padding-top: 2rem; 
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
  font-size: 0.9rem;
}
.footer-bottom small {
  display: block; 
  margin-top: 0.5rem; 
  opacity: 0.7;
  font-size: 0.85rem;
  font-style: italic;
}

/* === DUGME "VRATI SE NA VRH" i ostali floating elementi === */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 25px;
  /* ... (ostatak stila je isti) ... */
}
/* (Isti stilovi za back-to-top, chat-widget, chat-toggle, cookie-banner, lightbox) */

/* === RESPONSIVE DIZAJN === */
@media(max-width: 1024px){
  .about-grid{
    grid-template-columns:1fr; 
    text-align: center;
    gap: 2.5rem;
    padding: 1.5rem;
  }
  .about-image {
    order: -1; 
    margin-bottom: 1rem;
  }
  .about-grid .bio ul {
    border-left: none;
    padding-left: 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-grid .bio li::before {
    left: 0;
  }
}

@media(max-width:880px){
  .header-inner {
    flex-wrap: wrap;
  }
  .brand {
    margin-right: 1rem;
  }
  .nav {
    display:none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #fff; 
    width: 100%; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    padding: 0; 
    text-align: center;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    border-top: 1px solid #eeeeee;
  }
  .nav.active {
    display: flex;
  }
  .nav a {
    display: block; 
    margin: 0;
    padding: 1rem;
    border-bottom: 1px solid #f4f4f4;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav a.active::after {
    display: none;
  }
  .nav-toggle{
    display:inline-block;
  }
  .lang-switcher {
    order: 2;
  }
  .hero-text h2 {
    font-size: 2.4rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }
  .contact-inner{
    flex-direction: column;
    gap: 3rem;
  }
  .newsletter-inner {
    flex-direction: column; 
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input {
    min-width: 100%;
  }
  .newsletter-form button {
    width: 100%;
  }
}

/* Poboljšanja za veoma male ekrane */
@media (max-width: 480px) {
  .hero-text h2 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .container {
    padding: 1rem;
  }
  .hero {
    padding: 4rem 0;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  .brand h1 {
    font-size: 1.2rem;
  }
  .brand span {
    font-size: 1.05rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
}

/* === KONTINUIRANI STILOVI ZA FLOATING ELEMENTE I LIGHTBOX === */
/* NOTE: Ovi stilovi su preuzeti iz originalnog fajla jer su funkcionalni */

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 99;
  border: 1px solid rgba(255,255,255,0.1);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 1.2rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: var(--transition);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-content {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
  font-size: 0.95rem;
  opacity: 0.9;
}
.cookie-content a {
  color: var(--accent-light);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.chat-widget {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 340px;
  height: 420px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
.chat-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}
.chat-header {
  background: var(--primary);
  color: white;
  padding: 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 0.2rem;
}
.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}
.chat-message {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  max-width: 85%;
  animation: fadeIn 0.3s ease-out;
}
.bot-message {
  background: #f1f3f5;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}
.user-message {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  margin-left: auto;
  border-bottom-right-radius: 5px;
}
.chat-input {
  padding: 1rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 0.8rem;
}
.chat-send {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.chat-send:hover {
  background: var(--accent);
  transform: scale(1.05);
}
.chat-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: var(--shadow-hover);
  z-index: 999;
  transition: var(--transition);
}
.chat-toggle:hover {
  background: var(--accent);
  transform: scale(1.05);
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.92);
  animation: fadeIn 0.3s;
}
.lightbox.show {
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  color: white;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  font-size: 1rem;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}