/* Base styles */
@import url('base/variables.css');
@import url('base/reset.css');
@import url('base/typography.css');
@import url('base/animations.css');


@import url('base/variables.css');
@import url('base/animations.css');
@import url('components/header.css');
@import url('components/carousel.css');
@import url('components/footer.css');
@import url('components/buttons.css');
@import url('utilities/responsive.css');
/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}


/* ===== HERO SECTION FUNCȚIONALĂ ===== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height); /* Compensare pentru header */
  box-sizing: border-box;
  background: #000; /* Fallback pentru video */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: var(--z-hero-video);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-hero-overlay);
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
  line-height: 1.3;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-normal);
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.4);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.8s forwards;
  opacity: 0;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-hero-content);
  animation: scroll 2s infinite;
  width: 30px;
  height: 50px;
  border-radius: 15px;
  border: 2px solid white;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.scroll-indicator span {
  display: block;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: scrollBounce 2s infinite;
}

/* Animații specifice hero */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  0% {
    opacity: 0.5;
    transform: translateY(0) translateX(-50%);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px) translateX(-50%);
  }
  100% {
    opacity: 0.5;
    transform: translateY(0) translateX(-50%);
  }
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 1.4rem;
  }
  
  .trust-badges {
    gap: 0.8rem;
  }
  
  .trust-badges span {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  
  .scroll-indicator {
    bottom: 1rem;
  }
}


/* QUICK SERVICES - ENHANCED */ 
.quick-services {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23d32f2f" opacity="0.05"/></svg>') repeat; /* Culoare unificată */
    background-size: 50px 50px;
    z-index: 0;
}

.section-header {
    max-width: 900px;
    width: 100%;
    margin: 0 auto 3.5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.quick-services h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    margin-bottom: 1.2rem;
    color: #2B2B2B;
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.quick-services h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.quick-services .subheading {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #555;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.btn-container {
    margin: 0 0 3rem;
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 4px; /* Unificat */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: clamp(1.05rem, 1.8vw, 1.15rem);
    letter-spacing: 0.5px;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
    border-color: transparent;
}

.btn-secondary:hover::before {
    width: 100%;
}

.services-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: cardAppear 0.6s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(211, 47, 47, 0.1); /* Culoare unificată */
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.4s; }
.service-card:nth-child(4) { animation-delay: 0.5s; }

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: height 0.5s ease;
    z-index: -1;
    opacity: 0.95;
}

.service-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -2;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover i,
.service-card:hover h3,
.service-card:hover p {
    color: #fff;
}

.service-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:hover i {
    transform: scale(1.15) rotate(5deg);
    -webkit-text-fill-color: #fff;
}

.service-card h3 {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    margin-bottom: 1.2rem;
    color: #2B2B2B;
    transition: color 0.4s ease;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: #666;
    line-height: 1.7;
    transition: color 0.4s ease;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid transparent;
}

.card-link i {
    font-size: 1.1rem;
    margin-left: 0.5rem;
    margin-bottom: 0;
    color: inherit;
    transition: transform 0.3s ease;
}

.service-card:hover .card-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card:hover .card-link i {
    transform: translateX(4px);
}

/* ANIMATION ENHANCEMENTS */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* FOCUS STATES FOR ACCESSIBILITY */
.btn-secondary:focus,
.card-link:focus {
    outline: 3px solid rgba(193, 39, 45, 0.5);
    outline-offset: 2px;
}

/* PROJECTS CAROUSEL */
.projects-carousel-section {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.projects-carousel-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2B2B2B;
}

.projectsSwiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    height: 500px;
}

.swiper-slide img,
.swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 30px 20px 20px;
    text-align: left;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.project-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #C1272D;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
    .swiper-slide {
        height: 300px;
    }
}

/* ABOUT SHORT SECTION */
.about-short {
    position: relative;
    padding: 100px 20px;
    color: #fff;
    overflow: hidden;
}

/* Background imagine + overlay */
.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/team-hero.webp') center/cover no-repeat;
    z-index: -2;
}

.about-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* overlay mai pronunțat pentru lizibilitate */
    z-index: -1;
}

/* Container + content */
.about-short .container {
    padding-bottom: 10px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: silver
}

.btn-secondary {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: #C1272D;
}

/* MOBILE */
@media (max-width: 768px) {
    .about-content h2 { font-size: 1.8rem; }
    .about-content p  { font-size: 1rem; }
}