/* === FONT FACE DEFINITIONS === */

@font-face {
  font-family: 'Montserrat';
  /* prefer subset for latin + ro; fall back to the full WOFF2 if needed */
  src: url('../fonts/Montserrat-VariableFont_wght-latin-ro.subset.woff2') format('woff2'),
       url('../fonts/Montserrat-VariableFont_wght-latin-ro.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght-latin-ro.subset.woff2') format('woff2'),
       url('../fonts/Montserrat-Italic-VariableFont_wght-latin-ro.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* === Fallbacks: original TTF variables (larger, but broad support) === */
/*
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
*/


    body {
    /* Use local Montserrat with a sans-serif fallback to avoid mixed fallback fonts
      which can cause diacritics to render with different metrics. */
    font-family:  'Montserrat', sans-serif;
      background: var(--beige);
      color: var(--charcoal);
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }
    h1, h2, h3 {
      font-family: 'Montserrat', sans-serif; font-weight: 700;
    }

/* === CSS VARIABLES === */
:root {
   --beige: #f6f6f6;
      --gold: #d4af37;
      --charcoal: #222;


  /* Primary Colors */
  --primary-navy: #1a2332;
  --primary-yellow: #FCBA12;
  --secondary-orange: #ff6b35;
  
  /* Backgrounds */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #2c3e50;
  
  /* Text Colors */
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-light: #ffffff;

  
  /* Utility */
  --border-light: #cecdc6;
  --shadow: rgba(26, 35, 50, 0.2);
  --border:#d3d3d5;
  --muted : #201e1e;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Font Weights */
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-black: 900;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  font-weight: var(--font-bold);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

a {
  color: var(--primary-yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-orange);
}
    /* Top bar scroll behavior */
/* === TOP BAR CU ICONIȚE + SCROLL BEHAVIOR === */
/* === TOP BAR === */
.top-bar {
  height: 30px;
  background: #1a2332;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--charcoal);
  z-index: 999;
  transition: transform 0.3s ease;
}

.top-bar .address {
  flex: 1;
  text-align: left;color: #fff;
}

.top-bar .phone-section {
  text-align: right;
}

.top-bar .phone {
  color: var(--charcoal);
  text-decoration: none;
  background-color: #f6f6f6;
}
.top-bar .phone:hover {
  color: var(--gold);
}
.top-bar.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}



@media (max-width: 767px) {
  .top-bar {
    display: none;
  }
  .main-header {
    top: 0 !important;
  }
}

/* === MOBILE STICKY BUTTONS (BOTTOM BAR) === */
.mobile-sticky-icons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: none; /* Hidden on desktop */
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  z-index: 1200;
  background: #1a2332;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  padding: 0;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

/* Visible state */
.mobile-sticky-icons.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Show only on mobile */
@media (max-width: 767px) {
  .mobile-sticky-icons {
    display: flex;
  }
}

/* Individual button styling */
.mobile-sticky-icons a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  color: #ffffff;
  background: #1a2332;
  border: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  position: relative;
  min-height: 60px;
}

/* Separator between buttons */
.mobile-sticky-icons a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

/* Icon styling */
.mobile-sticky-icons a i {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  line-height: 1;
  display: block;
}

/* Text styling */
.mobile-sticky-icons a .btn-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  display: block;
  white-space: nowrap;
}

/* Hover/Active states */
.mobile-sticky-icons a:hover,
.mobile-sticky-icons a:active {
  background: #2d4a7c;
}

/* First button (Phone) - accent color */
.mobile-sticky-icons a:first-child {
  background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
}

.mobile-sticky-icons a:first-child:hover {
  background: linear-gradient(135deg, #2d4a7c 0%, #3d5a8c 100%);
}

.mobile-sticky-icons a:first-child i {
  color: #FCBA12;
}

/* Second button (Map) */
.mobile-sticky-icons a:last-child i {
  color: #ff6b35;
}

/* Focus state for accessibility */
.mobile-sticky-icons a:focus {
  outline: 2px solid #FCBA12;
  outline-offset: -2px;
  background: #2d4a7c;
}

/* Prevent reduced motion issues */
@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-icons {
    transition: none;
  }
  .mobile-sticky-icons a {
    transition: none;
  }
}

/* === MODAL OVERLAY FOR MOBILE STICKY BUTTONS === */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: slideUp 0.3s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  color: #1a2332;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-content p {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-content .btn {
  display: inline-block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.modal-content .btn-primary {
  background: #FCBA12;
  color: #1a2332;
}

.modal-content .btn-primary:hover {
  background: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 186, 18, 0.4);
}

.modal-content .btn-secondary {
  background: transparent;
  border: 2px solid #6c757d;
  color: #6c757d;
  margin-top: 0.5rem;
}

.modal-content .btn-secondary:hover {
  background: #6c757d;
  color: white;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: #222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(0,0,0,0.12);
  transform: rotate(90deg);
}

.modal-close:focus {
  outline: 2px solid rgba(34,34,34,0.12);
}


    /* Header */
    .main-header {
      position: sticky;
      top: 30px;
      background: #fdfeff;
      z-index: 1000;
      border-bottom: 1px solid rgba(0,0,0,0.05);
      transition: top 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .main-header.scrolled {
      top: 0 !important;
    }

    @media (max-width: 991.98px) {
      .main-header {
        top: 0 !important;
      }
    }

    .navbar-brand {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--charcoal) !important;
    }
    .nav-link {
      color: var(--charcoal) !important;
      font-weight: 500;
    }
    .nav-link:hover {
      color: var(--gold) !important;
    }











/* === MENIU ELEGANT — FRUMOS ȘI FĂRĂ HOVER === */
.elegant-nav-link {
  position: relative;
  padding: 0.6rem 1.5rem !important;
  margin: 7px 7px 0 7px !important;
  border-radius: 32px;
  color: var(--charcoal) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.6); /* fundal semi-transparent */
  border: 1px solid rgba(212, 175, 55, 0.18); /* contur subtil de aur */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); /* umbră fină */
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
  backdrop-filter: blur(2px); /* efect sticlă fin */
  z-index: 1;
}

/* Fundalul de hover (lumină care umple) */
.elegant-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
  z-index: -1;
}

/* Hover: activează lumina + lift */
.elegant-nav-link:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--charcoal) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
  border-color: rgba(212, 175, 55, 0.3);
}

.elegant-nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
  opacity: 0.14;
}

.phone {
  font-weight: 400;
  color: var(--charcoal) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 2px 6px;
  border-radius: 6px;
}
.phone:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--charcoal) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
  border-color: rgba(212, 175, 55, 0.3);

  transform: scaleX(1);
  transform-origin: left;
  opacity: 0.94;
  text-decoration: none !important;
}

/* Pe mobil */
@media (max-width: 991.98px) {
  .elegant-nav-link {
    margin: 0.5rem 0 !important;
    border-radius: 16px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
  }
}

/* Iconițe dropdown */
/* === ICONIȚĂ DROPDOWN CU SVG === */
/* Ascunde ambele SVG-uri implicit */
.dropdown-icon {
  display: none;
  margin-left: 0.2rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

/* Ascunde caret-ul implicit Bootstrap */
.dropdown-toggle::after {
  display: none !important;
}

/* X rosu pe mobil pentru toggle */
@media (max-width: 991.98px) {
  .navbar-toggler {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    box-shadow: none;
    outline: none;
    padding: 0;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
    border: none;
  }

  .navbar-toggler:focus-visible {
    outline: none;
    box-shadow: none;
  }

  .navbar-toggler .navbar-toggler-icon {
    display: none;
  }

  .navbar-toggler::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: none;
  }

  .navbar-toggler.collapsed::after {
    content: '☰';
    font-size: 28px;
    color: var(--charcoal);
    font-weight: bold;
  }

  .navbar-toggler:not(.collapsed)::after {
    content: '✕';
    font-size: 32px;
    color: red;
    font-weight: 900;
    animation: rotateX 0.4s ease forwards;
  }

  /* Default state - show hamburger */
  .navbar-toggler::after {
    content: '☰';
    font-size: 28px;
    color: var(--charcoal);
    font-weight: bold;
  }
}

@keyframes rotateX {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

/* Desktop: arată doar săgeata */
@media (min-width: 992px) {
  .desktop-caret {
    display: inline-block;
  }
  .dropdown:hover .desktop-caret {
    transform: rotate(180deg);
  }
}

/* Mobile: arată doar plus */
@media (max-width: 991.98px) {
  .mobile-plus {
    display: inline-block;
  }
  .dropdown-toggle.show .mobile-plus {
    transform: rotate(45deg); /* devine × */
  }
}



/* === DROPDOWN STYLE === */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  padding: 0.5rem 0;
  margin: 0.25rem 0 0;
  list-style: none;
  background: white;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(10px);
 /* transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);*/
  transition: opacity .2s ease, transform .2s ease, all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Make .dropdown-menu visible when it has .show (desktop and mobile) */
.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}



/* Desktop: hover cu delay - gestionat prin JS */
/* .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
} */

/* Mobile: toggle cu JS */
@media (max-width: 991.98px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    transform: none;
    opacity: 1;
  }
/* Asigură afișarea meniului când are clasa .show */
.dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

  .dropdown-item {
    padding: 0.6rem 0;
    background: white;
    border-radius: 8px;
    margin: 0.4rem 0;
    display: block;
    text-align: center;
  }

  /* Navbar collapse - overlay pe content */
  .navbar-collapse {
    position: fixed !important;
    top: 96px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: rgba(246, 246, 246, 1) !important;
    z-index: 1001 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    padding: 1rem !important;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }
}


/* Mobile: toggle cu JS */
@media (max-width: 500.98px) {

  .navbar-collapse {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: rgba(246, 246, 246, 1) !important;
    z-index: 1001 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    padding: 1rem !important;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }
}


/* Mobile: toggle cu JS */

