@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

nav {
    background: #111;
    color: #fff;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo img {
    height: 100px; /* controlăm înălțimea, lățimea se ajustează automat */
    width: auto;
}

nav .menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav .menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav .menu li a:hover {
    color: gold;
}

.hero {
    background: url('https://images.unsplash.com/photo-1605555931062-518bba5c722b?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: rgb(0, 0, 0);
    padding: 5rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero .btn {
    background: gold;
    padding: 1rem 2rem;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

section {
    padding: 2rem 1rem;
    background: white;
    margin: 1rem auto;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

section h2 {
    margin-bottom: 1rem;
    color: #222;
}

section ul {
    padding-left: 1.5rem;
}

section ul li {
    margin-bottom: 0.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input {
    padding: 0.75rem;
    font-size: 1rem;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 0.9rem 1.5rem;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 1rem;
}

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Responsive - logo dreptunghiular și meniu pe aceeași linie */
@media (max-width: 600px) {
    nav {
        justify-content: center;
        gap: 1rem;
        flex-wrap: nowrap;
    }

    nav .logo img {
        height: 60px; /* logo mai mic pe mobil */
    }

    nav .menu {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    nav .menu li {
        list-style: none;
    }

    nav .menu li a {
        font-size: 0.85rem;
    }
}

/* Stiluri comune pentru toate input-urile */
.form-group {
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  height: 44px; /* Înălțime fixă pentru toate input-urile */
}

/* Stiluri specifice pentru input de tip dată */
input[type="date"].form-input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  background-color: white;
  padding-right: 30px; /* Spațiu pentru iconiță */
}

/* Iconiță personalizată pentru calendar */
input[type="date"].form-input::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: 1;
  background: transparent;
}

/* Media query pentru iOS Chrome */
@supports (-webkit-touch-callout: none) {
  input[type="date"].form-input {
    min-height: 44px;
    line-height: 1.2; /* Corectează alinierea verticală */
  }
}

/* Stiluri pentru linkurile de social media */
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-color: #f5f5f5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-icon {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

/* Culori de fundal pentru fiecare buton */
.whatsapp { background-color: #25D366; }
.facebook { background-color: #1877F2; }
.instagram { background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C); }
.tiktok { background-color: #000000; }

/* Efecte la hover */
.social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Corecții specifice pentru Safari iOS */
@supports (-webkit-touch-callout: none) {
  .social-btn {
    width: 44px;
    height: 44px;
  }
  .social-icon {
    width: 55%;
    height: 55%;
  }
}

/* Corecții pentru Chrome pe iOS */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .social-btn {
    -webkit-appearance: none;
  }
}

/* Media queries pentru responsive */
@media (max-width: 768px) {
  .social-links {
    gap: 12px;
  }
  .social-btn {
    width: 44px;
    height: 44px;
  }
}

/* === COOKIE BANNER === */
#ck-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  animation: ck-fade .3s ease;
}
#ck-overlay.ck-on { display: block; }

#ck-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 0 16px 16px;
  transform: translateY(120%);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
#ck-banner.ck-on { transform: translateY(0); }

.ck-card {
  max-width: 760px;
  margin: 0 auto;
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 -4px 40px rgba(0,0,0,.5);
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}
.ck-icon { font-size: 28px; flex-shrink: 0; }
.ck-body { flex: 1; min-width: 180px; }
.ck-body h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
  color: #f0f0f0;
}
.ck-body p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(240,240,240,.55);
}
.ck-body a { color: gold; text-decoration: underline; }
.ck-btns { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.ck-btn {
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.ck-btn:hover { opacity: .85; transform: translateY(-1px); }
.ck-accept { background: gold; color: #111; }
.ck-decline {
  background: transparent;
  color: rgba(240,240,240,.5);
  border: 1px solid rgba(255,255,255,.15);
}
.ck-decline:hover { color: #f0f0f0; border-color: rgba(255,255,255,.4); }
@keyframes ck-fade { from { opacity:0 } to { opacity:1 } }
@media (max-width: 500px) {
  .ck-card { flex-direction: column; gap: 14px; }
  .ck-btns { flex-direction: row; width: 100%; }
  .ck-btn { flex: 1; text-align: center; }
}
/* === END COOKIE BANNER === */