/* Reset general pentru toate elementele */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Stiluri pentru corpul paginii */
body {
  font-family: "Helvetica Neue", sans-serif;
  background-color: #f5f5f7; /* Gri deschis, stil Apple */
  color: #000;
}

/* Header-ul principal */
.main-header {
  background-color: #ffffffcc;
  backdrop-filter: blur(10px); /* Efect de blur elegant */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); /* Umbră subtilă */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Containerul header-ului */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo-ul - link fără subliniere și fără hover */
.logo-link {
  text-decoration: none; /* Fără subliniere */
  color: #000; /* Culoare neagră */
  font-weight: 600; /* Grosime font */
  letter-spacing: 2px; /* Spațiere între litere */
}

.logo-link:hover {
  color: #000; /* Rămâne negru chiar și la hover */
  background-color: transparent; /* Nu se schimbă fundalul */
  transform: none; /* Nu se aplică nicio animație la hover */
}

/* Meniul de navigare */
.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* Linkurile din meniu */
.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 6px 10px;
  border-radius: 8px;
}
/* Efectul la hover pentru linkurile din meniu */
.main-nav a {
  display: inline-block;
  font-size: 1rem; /* Dimensiune normală a fontului */
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease; /* Tranziție lină pentru zoom */
}

.main-nav a:hover {
  transform: scale(1.1); /* Zoom mic și subtil doar la hover */
}


/* Website Body */

/* Hero Section */
.hero {
  height: 65vh;
  background-image: url("img/apple-store-banner.jpg"); /* Corectăm calea */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


/* Opțional: un overlay subtil */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.425); /* overlay negru transparent */
  z-index: 1;
}

/* Textul peste imagine */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* pentru lizibilitate */
}

/* Secțiune introductivă în două coloane */
.intro-section {
  padding: 4rem 2rem;
  background-color: #fff;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.intro-text {
  flex: 1 1 500px;
}

.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #000;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.intro-image {
  flex: 1 1 400px;
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
/* Titlu de secțiune centrat */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  color: #000;
}

/* Secțiune Hero pentru iPhone */
.hero-iphone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem;
  background-color: #ffffff;
  background-image: url('img/BKBKGROUND.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero-content {
  max-width: 50%;
  padding: 2rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-button {
  padding: 12px 25px;
  background-color: #0071e3;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005bb5;
}

/* Imaginea Hero */
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Secțiune Modele iPhone */
.iphone-models {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #f9f9f9;
}

.iphone-models h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
}

.iphone-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.iphone-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.iphone-item img {
  max-width: 100%;
  border-radius: 8px;
}

.iphone-item h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #333;
}

.iphone-item p {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #666;
}

/* Efect de hover pentru fiecare card */
.iphone-item:hover {
  transform: scale(1.05);
}
/* Scroll lin pentru întreaga pagină */
html {
  scroll-behavior: smooth;
}
/* Secțiunea „Mai Multe Produse Apple” */
.mai-multe-produse {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.mai-multe-produse h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #000;
}

.produse-container {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Spatiu între blocuri */
  flex-wrap: wrap;
  margin-top: 2rem;
}

.produs {
  width: 22%; /* 4 coloane pentru dispozitive mari, ajustabil pe ecrane mici */
  text-align: center;
  border-radius: 15px; /* Colțuri rotunjite */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Drop shadow subtil */
  transition: all 0.3s ease; /* Tranziție lină */
  background-color: #fff; /* Fundal alb pentru cartonaș */
}

.produs img {
  width: 100%;
  height: 250px; /* Înălțime fixă pentru poze */
  object-fit: cover; /* Asigură că imaginea se potrivește corect fără a distorsiona */
  border-radius: 15px 15px 0 0; /* Colțuri rotunjite doar în partea de sus */
}

.produs .produs-info {
  padding: 10px 10px 15px; /* Padding de 15px în partea de jos */
}

.produs h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.produs p {
  font-size: 1rem;
  color: #555;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Secțiunea „Servicii Apple” */
.servicii-apple {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}

.servicii-apple h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #111;
}

.servicii-apple .intro {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: scroll-marquee 30s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.serviciu {
  min-width: 300px;
  height: 300px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.serviciu:hover {
  transform: scale(1.03);
}

.serviciu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 15px; /* menținem border-radius-ul pe imagine */
}

.serviciu:hover img {
  transform: scale(1.05); /* Zoom mai ușor pe imagine */
  filter: brightness(0.65); /* Întunecarea imaginii la hover */
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
  text-align: left;
}

.overlay h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: bold;
}

.overlay p {
  font-size: 0.95rem;
  margin-top: 0.3rem;
  line-height: 1.4;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Responsive - poți ajusta cum vrei */
@media (max-width: 768px) {
  .serviciu {
    min-width: 250px;
    height: 250px;
  }
}

/* Hero Vidoe Sectiune */
.final-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-image: url('img/BKBKGROUND.jpg'); /* Background-ul de imagine */
  background-size: cover;
  background-position: center;
  height: 65vh;
  padding: 2rem;
  color: white;
}

.final-video {
  flex: 12;  /* ocupă 12 unități din 18 pentru raportul de 12:6 */
  margin-right: 2rem;
  position: relative;
  height: 100%; /* Asigură că video-ul va ocupa întreaga înălțime a containerului */
}

.final-video .video-embed {
  object-fit: cover; /* Face ca video-ul să umple întregul bloc, fără a lăsa margini goale */
  width: 100%;
  height: 100%; /* Asigură că video-ul ocupă 100% din înălțimea blocului */
  border: none;
}

.final-content {
  flex: 6;  /* ocupă 6 unități din 18 pentru raportul de 12:6 */
  max-width: 50%;
}

.final-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.final-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Responsivitate pentru ecrane mici */
@media (max-width: 768px) {
  .final-section {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .final-content {
    max-width: 100%;
    text-align: center;
  }

  .final-video {
    margin-bottom: 1rem;
    width: 100%;
    height: 100%;
  }
}


/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: white;
  margin-top: 0rem;
}
