/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }

:root{
  --ink: #07304a;
  --ink-2: #0a3e5f;
  --muted: rgba(7, 48, 74, 0.68);
  --glass: rgba(255,255,255,0.52);
  --glass-2: rgba(255,255,255,0.36);
  --line: rgba(7, 48, 74, 0.12);
  --shadow: 0 18px 45px rgba(7, 48, 74, 0.18);
  --radius: 18px;
}

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}



/* HEADER & NAV */
.main-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  z-index: 10;
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo{
  display:flex; align-items:center; gap: .6rem;
  text-decoration:none; color: var(--ink);
}
.logo img{ width: 72px; height: 72px; object-fit: contain; }
.logo span{
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 1rem;
}

.nav a{
  margin-left: 1.3rem;
  text-decoration:none;
  color: rgba(7,48,74,0.78);
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s ease;
}
.nav a:hover{ color: var(--ink); }
.nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:-6px;
  width:0; height:2px;
  background: linear-gradient(90deg, rgba(7,48,74,0.0), rgba(7,48,74,0.55), rgba(7,48,74,0.0));
  transition: width .25s ease;
}
.nav a:hover::after,
.nav a.current::after{ width: 100%; }
.nav a.current{ color: var(--ink); font-weight: 650; }

/* LAYOUT */
.section{
  padding: 7rem 4rem 4.5rem;
  position: relative;
}
.section-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero{
  padding-top: 8.2rem;
}
h1{ font-size: 2.6rem; letter-spacing: -0.02em; }
h2{ font-size: 2rem; }
h3{ font-size: 1.2rem; }
.section-intro{
  margin-top: .7rem;
  max-width: 820px;
  color: var(--muted);
  line-height: 1.55;
}

/* GLASS SURFACES */
.about-card,
.equity-card,
.project-card,
.product-card,
.contact-form,
.contact-info,
.redirect-card,
.project-type-card{
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.muted{ color: var(--muted); }
.clean-list{ margin-top: .6rem; padding-left: 1.1rem; color: var(--muted); }
.clean-list li{ margin: .35rem 0; }

/* BUTTONS */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.1rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid var(--line);
  cursor: pointer;
}
.btn.primary{
  color: rgb(242, 242, 245);
  background: linear-gradient(180deg, #0b5f8e, #074767);
  border-color: rgba(255,255,255,0.18);
}
.btn.primary:hover{ filter: brightness(1.03); }
.btn.secondary{
  background: rgba(255,255,255,0.45);
  color: var(--ink);
}

/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.about-card{
  padding: 1.2rem 1.1rem;
}
.team{ margin-top: 1.8rem; }
.team-grid{
  margin-top: 1rem;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.team-card{
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.team-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(7,48,74,0.10);
  margin-bottom: .9rem;
}
.about-mini{
  margin-top: 1.8rem;
  padding: 1.2rem 1.1rem;
  background: var(--glass-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* PRODUCTS – FLIP GRID */
.flip-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.flip-card{
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  perspective: 1200px;
}

.flip-inner{
  position: relative;
  width: 100%;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  border-radius: var(--radius);
}

.flip-card.is-flipped .flip-inner{
  transform: rotateY(180deg);
}

.flip-front, .flip-back{
  position:absolute;
  inset:0;
  padding: 1rem;
  backface-visibility: hidden;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flip-back{
  transform: rotateY(180deg);
}

.ph-image{
  height: 190px;
  border-radius: 14px;
  border: 1px dashed rgba(7,48,74,0.28);
  background:
    radial-gradient(500px 220px at 30% 20%, rgba(255,255,255,0.75), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.25));
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(7,48,74,0.55);
  font-weight: 700;
  margin-bottom: .9rem;
}

.mini-bullets{
  margin-top: .85rem;
  padding-left: 1.1rem;
  color: var(--muted);
}
.mini-bullets li{ margin: .32rem 0; }

.catalog-download{
  margin-top: 1.4rem;
  display:flex;
  justify-content: center;
}

/* PROJECTS */
.project-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.project-card{
  overflow:hidden;
}
.project-card img{
  width:100%;
  height: 260px;
  object-fit: cover;
  display:block;
  border-bottom: 1px solid rgba(7,48,74,0.10);
}
.project-info{
  padding: 1rem 1rem 1.1rem;
}
.coming-soon{
  min-height: 330px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--glass-2);
  border: 1px dashed rgba(7,48,74,0.22);
}
.coming-overlay span{
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(7,48,74,0.12);
  font-weight: 750;
  color: rgba(7,48,74,0.75);
}
.projects-mini{ margin-top: 1.6rem; }
.project-types-grid{
  margin-top: .9rem;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.project-type-card{
  padding: 1.1rem;
}

/* EQUITY */
.equity-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.equity-card{
  padding: 1.1rem;
}
.equity-cards-flip{
  margin-top: 1.1rem;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.equity-cta{
  margin-top: 1.4rem;
  text-align:center;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--glass-2);
  border: 1px solid var(--line);
}

/* CONTACT */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
}
.contact-form{
  padding: 1.1rem;
}
.contact-info{
  padding: 1.1rem;
}
.form-group{ display:flex; flex-direction:column; gap: .4rem; margin-bottom: .9rem; }
label{ font-weight: 650; color: rgba(7,48,74,0.82); }
input, textarea{
  width: 100%;
  padding: .85rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(7,48,74,0.18);
  background: rgba(255,255,255,0.62);
  outline: none;
  color: var(--ink);
}
input:focus, textarea:focus{
  border-color: rgba(11,95,142,0.55);
  box-shadow: 0 0 0 4px rgba(11,95,142,0.12);
}

/* FOOTER */
.main-footer{
  padding: 1.5rem 1rem 2.3rem;
  text-align:center;
  color: rgba(7,48,74,0.62);
}

/* REDIRECT PAGE */
.redirect-shell{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 7rem 1.5rem 2.5rem;
}
.redirect-card{
  padding: 1.4rem 1.2rem;
  max-width: 520px;
  text-align:center;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .flip-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: 1fr; }
  .project-grid{ grid-template-columns: 1fr; }
  .project-types-grid{ grid-template-columns: 1fr; }
  .equity-grid{ grid-template-columns: 1fr; }
  .equity-cards-flip{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .main-header{ padding: 0 1.2rem; }
  .section{ padding: 7rem 1.2rem 3.8rem; }
}



/* =========================
   PATCH: About +20% height + Hover + Cursor/Click Effects
   Paste at the END of style.css
========================= */

/* 1) ABOUT US: make team cards +20% taller (image area grows too) */
.team-card img{
  height: calc(300px * 1.2); /* +20% from 240px -> 288px */
}

/* Optional: give a bit more breathing room for text */
.team-card{
  padding-bottom: 1.15rem;
}

/* 2) Global hover / click polish for "glass" cards */
.about-card,
.equity-card,
.project-card,
.contact-form,
.contact-info,
.team-card,
.project-type-card,
.flip-front,
.flip-back{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.about-card:hover,
.equity-card:hover,
.project-card:hover,
.contact-form:hover,
.contact-info:hover,
.team-card:hover,
.project-type-card:hover,
.flip-card:hover .flip-front{
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(7, 48, 74, 0.20);
  border-color: rgba(11, 95, 142, 0.24);
}

/* Press-down click feel */
.about-card:active,
.equity-card:active,
.project-card:active,
.team-card:active,
.project-type-card:active{
  transform: translateY(-1px) scale(0.995);
}

/* Buttons hover/click */
.btn{
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(7, 48, 74, 0.18);
}
.btn:active{
  transform: translateY(0px) scale(0.99);
}

/* Flip cards: subtle glow on hover */
.flip-card:hover .flip-front,
.flip-card:hover .flip-back{
  box-shadow: 0 26px 70px rgba(7, 48, 74, 0.22);
}

/* 3) Cursor-follow "spotlight" + click ripple (CSS-only, no JS needed) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .18s ease;
  background: radial-gradient(
    220px 220px at var(--mx, 50%) var(--my, 40%),
    rgba(255,255,255,0.55),
    rgba(255,255,255,0.18) 35%,
    rgba(255,255,255,0.00) 70%
  );
}

body.has-pointer::before{ opacity: 1; }

/* Click ripple */
body::after{
  content:"";
  position: fixed;
  left: var(--cx, 50%);
  top: var(--cy, 50%);
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,255,255,0) 60%);
}

body.ripple::after{
  animation: clickRipple .55s ease-out;
}

@keyframes clickRipple{
  0%   { opacity: .9; width: 12px; height: 12px; }
  60%  { opacity: .35; width: 180px; height: 180px; }
  100% { opacity: 0; width: 240px; height: 240px; }
}

/* Ensure smoothness on touch devices */
@media (hover: none){
  body::before{ display:none; }
}


/* =========================
   CLEAN BLUE BACKGROUND ONLY
========================= */

/* Global background */
html,
body {
  background-color: #acc1ce; /* soft sky blue */
}

/* Make sure no background images remain */
body {
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed;
}

/* Safety: remove any leftover decorative layers */
.wave-layer,
.cloud-layer,
.background-waves,
.bg-waves {
  display: none !important;
}

/* Keep content above background */
header,
main,
section,
footer {
  position: relative;
  z-index: 1;
}

.products-wrap {
  padding-top: 240px; /* spațiu sub navbar */
}


/* === Products modal: smooth open/close (paste at END of style.css) === */
.modal-overlay{
  display: flex !important;          /* override the inline display:none */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility 0s linear .18s;
}

.modal-overlay.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .18s ease;
}

/* modal panel animation */
.modal{
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: transform .18s ease, opacity .18s ease;
  will-change: transform, opacity;
}

.modal-overlay.is-open .modal{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* small touch: image fade-in */
.modal-body img{
  opacity: 0;
  transform: scale(0.995);
  transition: opacity .18s ease, transform .18s ease;
}
.modal-overlay.is-open .modal-body img{
  opacity: 1;
  transform: scale(1);
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .modal-overlay, .modal, .modal-body img{
    transition: none !important;
    transform: none !important;
  }
}


/* === Catalog download section (bottom, centered) === */
.catalog-download {
  display: flex;
  justify-content: center;
  margin: 48px 0 80px;
}

.catalog-btn {
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b1b2b;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(10, 40, 90, 0.14);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.catalog-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(10, 40, 90, 0.2);
}


/* Projects page – shrink Materials + Execution card */
.projects-page .equity-card,
.projects-page .materials-execution,
.projects-page .info-card {
  max-width: 420px;
  margin: 24px auto;
  padding: 16px 20px;
}

/* Text scaling inside the card */
.projects-page .equity-card h3,
.projects-page .materials-execution h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.projects-page .equity-card p,
.projects-page .materials-execution p {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.8;
}


/* ===============================
   Materials + Execution card
   (Projects page – under title)
================================ */

.section.page-hero .equity-card {
  max-width: 520px;          /* controlezi lățimea */
  margin: 24px auto 0;       /* spațiu sub titlu + centrare */
  padding: 16px 22px;        /* spațiu interior */
  
  background: #cde7ecf0;
  border-radius: 16px;
  
  box-shadow: 0 12px 30px rgba(10, 40, 90, 0.12);
  backdrop-filter: blur(6px);

  text-align: center;
}

/* Titlul din card */
.section.page-hero .equity-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #0b1b2b;
}

/* Textul din card */
.section.page-hero .equity-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.75;
  color: #0b1b2b;
}
/* Reduce vertical space in Projects hero */
.section.page-hero {
  padding-bottom: 0px; /* era mult prea mare */
}

.section.page-hero .section-inner {
  padding-bottom: 0;
}


/* Hide ONLY on Equity page/section */
.section.equity .materials-execution-hide {
  visibility: hidden;
  pointer-events: none;
}


.contact-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.instagram-icon {
  width: 24px;
  height: 24px;
  fill: #0b1b2b;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-social a:hover .instagram-icon {
  opacity: 1;
  transform: scale(1.1);
}


.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.partner-card {
  background: rgba(255,255,255,0.75);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 28px rgba(10,40,90,0.10);
}

.partner-info h3 {
  margin: 0;
  font-size: 16px;
}

.partner-info p {
  margin: 4px 0 0;
  font-size: 13px;
}

.linkedin-icon {
  width: 20px;
  height: 20px;
  fill: #1a538d;
  opacity: 0.7;
  transition: opacity .2s ease, transform .2s ease;
}

.partner-card a:hover .linkedin-icon {
  opacity: 1;
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   GLOBAL BACKGROUND FIX
   (prevents 2-tone split)
   ========================= */
html, body {
  height: 100%;
  min-height: 100%;
  background: #D7E1FAB3  !important;
  margin: 0;
}

/* dacă unele pagini au background pe containere */
main,
section,
.section,
.section-inner,
.page-hero,
.section-page-hero,
.products-wrap,
.project-grid,
.contact-grid {
  background: transparent !important;
}



/* Clean images: remove light blue outlines/borders */
.team-card img,
.project-card img,
.product-card img{ border: none !important; outline: none !important; }

.main-footer .footer-links{ margin-top:.6rem; display:inline-flex; gap:1rem; flex-wrap:wrap; justify-content:center; }
.main-footer .footer-links a{ color: rgba(7,48,74,0.72); text-decoration: underline; text-underline-offset: 4px; }
.main-footer .footer-links a:hover{ color: rgba(7,48,74,0.92); }


/* ===============================
   DOWNLOAD CATALOG BUTTON (Products)
   =============================== */

.catalog-download {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  background-color: #0A4A78; /* ← SCHIMBI CULOAREA AICI */
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.catalog-btn:hover {
  background-color: #0A4A78; /* hover mai dark */
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.logo::before,
.logo::after {
  content: none !important;
  display: none !important;
}
