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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

body {
  background: linear-gradient(to bottom right, #f5e9d3, #fdf6e3);
  color: #1a1a1a;
  padding: 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

header.sticky {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 8px 20px !important;
}

header.sticky .logo {
  font-size: 1.4rem !important;
}

header.sticky img {
  height: 24px !important;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #2a4d8f;
}

nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #2a4d8f;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: #d97706;
  font-weight: bold;
  text-decoration: underline;
}

main {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

h1.main-title {
  text-align: center;
  font-size: 2rem;
  color: #2a4d8f;
  margin: 20px auto;
  padding: 16px 24px;
  background: white;
  border-radius: 12px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: inline-block;
}

.h1-wrapper {
  background: linear-gradient(135deg, #fdf6e3, #f5e9d3);
  padding: 30px 16px;
  border-radius: 16px;
  max-width: 90%;
  margin: 40px auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-align: center;
}

.h1-wrapper .main-title {
  font-size: 2rem;
  color: #2a4d8f;
  margin: 0;
}

h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2a4d8f;
}

form input, form textarea, form select, form button {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

form button {
  background-color: #f18f01;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

form button:hover {
  background-color: #d97706;
}

.gallery .carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 12px;
  margin: auto;
}

.gallery .slides {
  display: flex;
  width: max-content;
  animation: slide 25s linear infinite;
  gap: 10px;
}

.gallery .slides img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.price {
  font-weight: bold;
  color: #2a4d8f;
}

#recenzii {
  margin-top: 60px;
  margin-bottom: 60px;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background-color: #f18f01;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#scrollTopBtn:hover {
  background-color: #d97706;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    font-size: 1.2rem !important;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo img {
    height: 28px !important;
    margin-bottom: 5px;
  }

  nav {
    margin-top: 10px;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 16px;
    width: 100%;
  }

  nav a {
    white-space: nowrap;
    padding: 8px 12px;
    display: inline-block;
    font-size: 1rem;
  }
}
