@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --violet: #3E2475;
  --violet-light: #4B2E83;
  --violet-dark: #2A1850;
  --sky: #7EC8E3;
  --sky-light: #B8E0EE;
  --white: #FFFFFF;
  --off-white: #F8F7FC;
  --gray-light: #EAE8F2;
  --gray-mid: #9B93B5;
  --text-dark: #1A1228;
  --text-body: #3D3454;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Jost', sans-serif; color: var(--text-body); background: var(--white); overflow-x: hidden; }

nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  padding: 0 2.5rem; display: flex; align-items: center; justify-content: space-between;
  height: 72px; transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(62,36,117,0.1); }
.nav-logo img { height: 52px; object-fit: contain; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dark); position: relative; padding-bottom: 4px; transition: color 0.2s;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--sky); transition: width 0.3s; }
.nav-links a:hover { color: var(--violet); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--violet); color: var(--white) !important; padding: 8px 20px !important; border-radius: 2px; letter-spacing: 0.1em !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--violet-dark) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--violet); transition: 0.3s; }

#home {
  min-height: 100vh; background: var(--violet-dark);
  position: relative; display: flex; align-items: center; overflow: hidden; padding-top: 72px;
}
.hero-image-bg { position: absolute; inset: 0; background-image: url('images/hero-bg.jpg'); background-size: cover; background-position: center; opacity: 0.18; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(42,24,80,0.97) 0%, rgba(62,36,117,0.85) 50%, rgba(42,24,80,0.95) 100%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(126,200,227,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(126,200,227,0.05) 1px, transparent 1px); background-size: 60px 60px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-orb-1 { width: 500px; height: 500px; background: rgba(126,200,227,0.08); right: -100px; top: 10%; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(75,46,131,0.5); left: 20%; bottom: -50px; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 4rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text { color: var(--white); }
.hero-badge { display: inline-block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); border: 1px solid rgba(126,200,227,0.4); padding: 6px 16px; border-radius: 20px; margin-bottom: 1.5rem; animation: fadeUp 0.8s ease both; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 300; line-height: 1.1; margin-bottom: 1.2rem; animation: fadeUp 0.8s ease 0.15s both; }
.hero-title strong { color: var(--sky); font-weight: 600; display: block; }
.hero-sub { font-size: 1.05rem; font-weight: 300; line-height: 1.7; opacity: 0.85; max-width: 480px; margin-bottom: 2.2rem; animation: fadeUp 0.8s ease 0.3s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.45s both; }
.btn-primary { background: var(--sky); color: var(--violet-dark); padding: 14px 28px; font-family: 'Jost', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: 0.3s; display: inline-block; }
.btn-primary:hover { background: var(--sky-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(126,200,227,0.4); }
.btn-outline { border: 1px solid rgba(255,255,255,0.4); color: var(--white); padding: 14px 28px; font-family: 'Jost', sans-serif; font-weight: 400; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: 0.3s; display: inline-block; }
.btn-outline:hover { border-color: var(--sky); color: var(--sky); }
.hero-visual { animation: fadeUp 0.8s ease 0.2s both; }
.hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(126,200,227,0.2); border-radius: 8px; padding: 2.5rem; backdrop-filter: blur(10px); }
.hero-stat { margin-bottom: 1.5rem; }
.hero-stat:last-child { margin-bottom: 0; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--sky); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; margin-top: 4px; }
.stat-divider { height: 1px; background: rgba(126,200,227,0.15); margin: 1.2rem 0; }

section { padding: 6rem 2.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sky); margin-bottom: 0.8rem; display: block; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--text-dark); line-height: 1.2; margin-bottom: 1.2rem; }
.section-title strong { color: var(--violet); font-weight: 600; }

.img-banner { height: 320px; position: relative; overflow: hidden; }
.img-banner img { width: 100%; height: 100%; object-fit: cover; }
.img-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(42,24,80,0.8) 0%, rgba(42,24,80,0.25) 100%); display: flex; align-items: center; padding: 0 4rem; }
.img-banner-text { color: var(--white); max-width: 600px; }
.img-banner-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; margin-bottom: 0.5rem; }
.img-banner-text p { font-size: 1rem; opacity: 0.85; line-height: 1.6; }

#despre { background: var(--off-white); }
.despre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.despre-text p { font-size: 1rem; line-height: 1.8; color: var(--text-body); margin-bottom: 1.2rem; }
.despre-img { border-radius: 4px; overflow: hidden; box-shadow: 0 20px 60px rgba(62,36,117,0.15); margin-bottom: 1.5rem; }
.despre-img img { width: 100%; height: 240px; object-fit: cover; display: block; }
.logo-card { background: var(--white); border: 1px solid var(--gray-light); border-left: 4px solid var(--violet); padding: 1.5rem 2rem; border-radius: 4px; display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; }
.logo-card img { height: 70px; object-fit: contain; }
.logo-card-text h4 { font-family: 'Jost', sans-serif; font-weight: 600; color: var(--violet); font-size: 0.95rem; margin-bottom: 2px; }
.logo-slogan { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.88rem; color: var(--sky); letter-spacing: 0.04em; display: block; margin-bottom: 6px; }
.logo-card-text p { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.5; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.stat-box { text-align: center; padding: 1.5rem; background: var(--white); border: 1px solid var(--gray-light); border-radius: 4px; }
.stat-box .num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: var(--violet); line-height: 1; }
.stat-box .lbl { font-size: 0.8rem; color: var(--gray-mid); margin-top: 4px; letter-spacing: 0.05em; }

#servicii { background: var(--white); }
.servicii-intro { max-width: 700px; margin-bottom: 3.5rem; }
.servicii-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--gray-light); border: 1px solid var(--gray-light); }
.serviciu-card { background: var(--white); padding: 0; transition: 0.3s; overflow: hidden; position: relative; }
.serviciu-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(62,36,117,0.12); z-index: 1; }
.serviciu-img { height: 150px; overflow: hidden; }
.serviciu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.serviciu-card:hover .serviciu-img img { transform: scale(1.06); }
.serviciu-body { padding: 1.4rem; }
.serviciu-icon { width: 36px; height: 36px; background: var(--violet); border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; }
.serviciu-icon svg { width: 18px; height: 18px; fill: var(--sky); }
.serviciu-card h3 { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.serviciu-card p { font-size: 0.82rem; line-height: 1.65; color: var(--gray-mid); }

#galerie { background: var(--violet-dark); padding: 0; }
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 4px; }
.galerie-item { overflow: hidden; cursor: pointer; position: relative; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s, opacity 0.3s; }
.galerie-item:hover img { transform: scale(1.06); opacity: 0.8; }
.galerie-item.tall { grid-row: span 2; }
.galerie-item.tall img { height: 100%; }
.galerie-caption { position: absolute; inset: 0; background: rgba(42,24,80,0); display: flex; align-items: flex-end; padding: 1rem; opacity: 0; transition: 0.3s; }
.galerie-item:hover .galerie-caption { opacity: 1; background: rgba(42,24,80,0.5); }
.galerie-caption span { color: var(--white); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

#portofoliu { background: var(--violet-dark); }
#portofoliu .section-label { color: var(--sky); }
#portofoliu .section-title { color: var(--white); }
#portofoliu .section-title strong { color: var(--sky); }
.clients-intro { color: rgba(255,255,255,0.7); max-width: 600px; margin-bottom: 3rem; font-size: 1rem; line-height: 1.7; }
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(126,200,227,0.1); }
.client-item { background: rgba(255,255,255,0.03); padding: 1.5rem 2rem; transition: 0.3s; border: 1px solid transparent; }
.client-item:hover { background: rgba(126,200,227,0.08); border-color: rgba(126,200,227,0.2); }
.client-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: rgba(126,200,227,0.3); margin-bottom: 0.4rem; }
.client-name { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.85); letter-spacing: 0.04em; line-height: 1.4; }

#contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info p { font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; color: var(--text-body); }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.contact-icon { width: 42px; height: 42px; flex-shrink: 0; background: var(--violet); border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 18px; height: 18px; fill: var(--sky); }
.contact-detail a, .contact-detail span { display: block; font-size: 1rem; color: var(--text-dark); text-decoration: none; font-weight: 500; }
.contact-detail small { font-size: 0.78rem; color: var(--gray-mid); letter-spacing: 0.05em; }
.contact-form { background: var(--white); padding: 2.5rem; border: 1px solid var(--gray-light); border-radius: 4px; }
.contact-form h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--text-dark); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-light); border-radius: 2px; font-family: 'Jost', sans-serif; font-size: 0.92rem; color: var(--text-dark); background: var(--off-white); transition: 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--violet); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit { width: 100%; padding: 14px; background: var(--violet); color: var(--white); font-family: 'Jost', sans-serif; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; transition: 0.3s; margin-top: 0.5rem; }
.btn-submit:hover:not(:disabled) { background: var(--violet-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.form-msg { display: none; padding: 12px 16px; border-radius: 2px; font-size: 0.9rem; margin-top: 1rem; }
.form-msg.success { background: #e8f5e9; border: 1px solid #81c784; color: #2e7d32; display: block; }
.form-msg.error { background: #fdecea; border: 1px solid #e57373; color: #c62828; display: block; }

footer { background: var(--text-dark); color: rgba(255,255,255,0.5); padding: 2.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { height: 40px; filter: brightness(0) invert(1) opacity(0.6); }
.footer-text { font-size: 0.82rem; }
.footer-text strong { color: rgba(255,255,255,0.8); }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: fixed; top: 1.5rem; right: 2rem; color: white; font-size: 2.5rem; cursor: pointer; z-index: 10000; line-height: 1; background: none; border: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 1rem 2rem 2rem; border-bottom: 1px solid var(--gray-light); gap: 1.2rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .despre-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .servicii-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  section { padding: 4rem 1.5rem; }
  nav { padding: 0 1.5rem; }
  .img-banner { height: 240px; }
  .img-banner-overlay { padding: 0 2rem; }
}
@media (max-width: 600px) {
  .servicii-grid, .clients-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
}
