/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg-main:        #b9b6b1;
  --bg-section:     #FAF9F7;
  --white:          #FFFFFF;

  --text-primary:   #2B2B2B;
  --text-secondary: #6A6A6A;
  --text-heading:   #5A381E;

  --accent:         #B08968;
  --accent-hover:   #4A2F19;
  --accent-muted:   #7A8A74;

  --border:         #DED6CE;
  --shadow:         rgba(90, 56, 30, 0.12);

  --btn-primary-bg:   #5A381E;
  --btn-primary-text: #FFFFFF;
  --btn-primary-hover:#4A2F19;

  --radius:  35px;
  --radius-sm: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   BASE & RESET
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Lora', serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  padding-top: 6rem;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
h1, h2 {
  font-family: 'Playfair Display', serif;
  color: var(--text-heading);
  line-height: 1.2;
}

h1 { font-size: 2rem; }

p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.section-label {
  font-family: 'Lora', serif;
  font-size: 1rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;

  /* Chenar */
  border: 1.5px solid #DED6CE;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  background-color: transparent;
  transition: all 0.3s ease;
}

.section-label:hover {
  border-color: #B08968;
  background-color: rgba(176, 137, 104, 0.05);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section {
  background-color: var(--bg-section);
  border-radius: var(--radius);
  margin: 2rem;
  padding: 5rem 3rem;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-3px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--btn-primary-bg);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--btn-primary-bg);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-section);
  transform: translateY(-3px);
}

.btn-secondary-alt {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--white);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-secondary-alt:hover {
  background-color: var(--white);
  color: var(--btn-primary-bg);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 1rem;
  left: 2rem;
  right: 2rem;
  z-index: 1000;
  background-color: var(--white);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 25px var(--shadow);
}

.header-container {
  padding: 0 2rem;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { text-decoration: none; }

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 2rem;
}

.nav-link {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--text-heading);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-whatsapp {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - 8rem);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2B2B2B;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 12, 6, 0.3), rgba(20, 12, 6, 0.62));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 700px;
}

.hero-tagline {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: var(--bg-main);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

/* Override btn colors inside hero for contrast */
.hero-buttons .btn-secondary {
  color: var(--white);
  border-color: var(--white);
}

.hero-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
  text-align: left;
  padding: 4rem 3rem;
}

.page-hero-content {
  max-width: 800px;
  /* margin: 0 auto; */
  margin-left: 0;
}

.page-hero-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  font-weight: 200;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO BOTTOM BUTTON
   ═══════════════════════════════════════════════════════════════ */
.scroll-to-bottom-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--btn-primary-bg);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.scroll-to-bottom-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-bottom-btn:hover {
  background-color: var(--accent);
  transform: translateY(-3px) scale(1.1);
}

.scroll-to-bottom-btn i {
  transition: transform 0.3s ease;
}

.scroll-to-bottom-btn:hover i {
  transform: translateY(3px);
}

/* ═══════════════════════════════════════════════════════════════
   CATALOAGE
   ═══════════════════════════════════════════════════════════════ */
.cataloage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.catalog-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px var(--shadow);
  border-color: var(--accent);
}

.catalog-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-image img {
  transform: scale(1.1);
}

.catalog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(90, 56, 30, 0.7), rgba(90, 56, 30, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog-card:hover .catalog-overlay {
  opacity: 1;
}

.catalog-overlay i   { font-size: 2.5rem; }
.catalog-overlay span {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 500;
}

.catalog-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  text-align: center;
}

.catalog-description {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.catalog-pages {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   DESPRE NOI
   ═══════════════════════════════════════════════════════════════ */
.despre-content-center {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.despre-text {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.despre-text strong {
  color: var(--text-heading);
  font-weight: 500;
}

.despre-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--btn-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICII
   ═══════════════════════════════════════════════════════════════ */
.servicii-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.servicii-carousel-wrapper { position: relative; }

.servicii-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.serviciu-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.serviciu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px var(--shadow);
  border-color: var(--accent);
}

.serviciu-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.serviciu-icon { flex-shrink: 0; }

.serviciu-icon i {
  font-size: 40px;
  color: var(--accent);
  transition: transform 0.4s ease, color 0.4s ease;
}

.serviciu-card:hover .serviciu-icon i {
  transform: scale(1.15) rotate(5deg);
  color: var(--text-heading);
}

.serviciu-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}

.separator-line {
  width: 50px;
  height: 3px;
  background-color: var(--accent);
  margin: 0;
  transition: width 0.4s ease;
}

.serviciu-card:hover .separator-line { width: 80px; }

.serviciu-description {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Dots — hidden on desktop */
.servicii-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.servicii-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.servicii-dot.active {
  background-color: var(--accent);
  width: 24px;
  border-radius: 5px;
}

/* ═══════════════════════════════════════════════════════════════
   PORTOFOLIU
   ═══════════════════════════════════════════════════════════════ */
.portofoliu-header {
  text-align: left;
  margin-bottom: 3rem;
}

.portofoliu-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 2000px;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 2064px;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  gap: 3.5rem;
  transition: transform 0.5s ease;
}

.carousel-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  width: 350px;
  height: 400px;
  flex-shrink: 0;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-item:hover img { transform: scale(1.08); }

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(43, 43, 43, 0.95), transparent);
  color: var(--white);
  padding: 2rem 1rem 1rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.carousel-item:hover .carousel-caption { transform: translateY(0); }

.carousel-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.carousel-caption p {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: var(--accent);
}

.carousel-btn {
  background-color: var(--btn-primary-bg);
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px var(--shadow);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-btn:hover {
  background-color: var(--accent);
  transform: scale(1.1);
}

.carousel-btn i {
  font-size: 1.3rem;
  color: var(--white);
}

/* Modal */
.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.project-modal.active { display: flex; }

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.modal-close:hover { color: var(--accent); }

.modal-content {
  position: relative;
  max-width: 1100px;
  width: 90%;
  padding: 2rem;
}

.modal-header {
  text-align: center;
  color: var(--white);
  margin-bottom: 2rem;
}

.modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-header p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--accent);
}

.modal-gallery-main {
  width: 100%;
  max-height: 60vh;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

#modal-main-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.modal-thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-thumbnail {
  width: 100px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.modal-thumbnail:hover    { border-color: var(--accent); }
.modal-thumbnail.active   { border-color: var(--accent); opacity: 0.85; }

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.modal-nav-btn:hover {
  background-color: rgba(176, 137, 104, 0.8);
  border-color: var(--accent);
}

.modal-nav-btn i { font-size: 1.5rem; color: var(--white); }

.modal-prev-btn { left: 2rem; }
.modal-next-btn { right: 2rem; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALE
   ═══════════════════════════════════════════════════════════════ */
.testimoniale-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimoniale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow);
  border-color: var(--accent);
}

.testimonial-header-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
}

.testimonial-text {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-date {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-intro-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.contact-intro-text {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-heading);
}

.form-group input,
.form-group textarea {
  font-family: 'Lora', serif;
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 137, 104, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit-btn:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px var(--shadow);
}

.contact-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.contact-info-subtitle {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--btn-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i { font-size: 1.2rem; color: var(--white); }

.contact-detail-label {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-value:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   MATERIALE
   ═══════════════════════════════════════════════════════════════ */
.materiale-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.material-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px var(--shadow);
  border-color: var(--accent);
}

.material-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--btn-primary-bg), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.material-icon i { font-size: 2.5rem; color: var(--white); }

.material-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.material-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
}

.material-description {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.material-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.material-features li {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.material-features i { color: var(--accent); font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--btn-primary-bg), var(--accent));
  text-align: center;
  padding: 2rem 3rem;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-text {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.legal-content { padding: 3rem; }

.legal-text {
  max-width: 900px;
  margin: 0;
  text-align: left;
}

.legal-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-text p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.legal-text a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
.legal-text a:hover { color: var(--text-heading); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-page-section { padding: 4rem 3rem; }

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer-extended {
  background-color: var(--bg-section);
  border-radius: var(--radius);
  margin: 2rem;
  padding: 4rem 3rem 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-right: 10rem;
}

.footer-column:first-child { margin-right: auto; }

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.footer-title {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-text {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-text a { color: var(--text-heading); text-decoration: none; transition: color 0.3s ease; }
.footer-text a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--btn-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom-bar {
  background-color: var(--white);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  margin: 2rem;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img { height: 40px; width: auto; }

.footer-copyright {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: var(--text-heading);
  margin: 0;
}

/* Legacy simple footer */
.footer {
  background-color: var(--btn-primary-bg);
  color: var(--white);
  text-align: left;
  padding: 2rem;
  font-family: 'Lora', serif;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE (max-width: 768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { padding-top: 5rem; }

  /* Sections */
  .section { padding: 3rem 1.5rem; }

  /* Header — hamburger */
  .hamburger { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: calc(75px + 1rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background-color: var(--bg-section);
    padding: 2rem;
    gap: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 8px 25px var(--shadow);
  }

  .nav.open { display: flex; }

  /* Scroll button */
  .scroll-to-bottom-btn {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  /* Cataloage */
  .cataloage-grid { grid-template-columns: 1fr; }

  /* Servicii — horizontal scroll carousel */
  .servicii-carousel-wrapper { overflow: hidden; padding: 0 1rem; }

  .servicii-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
    transition: transform 0.4s ease;
  }

  .servicii-grid::-webkit-scrollbar { display: none; }

  .serviciu-card {
    min-width: calc(100vw - 9rem);
    max-width: calc(100vw - 9rem);
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .servicii-dots { display: flex; }

  /* Portofoliu */
  .section.portofoliu { padding: 3rem 1rem; }

  .carousel-wrapper { width: 100%; max-width: calc(100vw - 110px); }

  .carousel-item { width: 228px; height: 280px; }

  .carousel-btn { width: 45px; height: 45px; }
  .carousel-btn i { font-size: 1rem; }

  .carousel-caption h3 { font-size: 0.95rem; }
  .carousel-caption p  { font-size: 0.75rem; }

  /* Testimoniale */
  .testimoniale-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-container { grid-template-columns: 1fr; gap: 3rem; }

  /* Materiale */
  .materiale-grid { grid-template-columns: 1fr; }

  .material-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .material-features { grid-template-columns: 1fr; }

  /* Footer */
  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-right: 0;
  }

  .footer-column:first-child { margin-right: 0; }

  .footer-bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-logo img { height: 35px; }
}