/* ==========================================================================
   1. Variabile Globale (Root)
   ========================================================================== */
:root {
  --primary-gold: #c5a76f;
  --dark-gray: #2c3e50;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --text-color: #34495e;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  --border-radius: 8px;
}

/* ==========================================================================
   2. Stiluri Generale & Tipografie
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: var(--light-gray);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-gray);
  margin-top: 0;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 0.5em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-gray);
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* ==========================================================================
   3. Butoane
   ========================================================================== */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-gold);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   4. Navbar
   ========================================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background-color: transparent;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background-color: var(--white);
  padding: 10px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img img {
  height: 50px;
  transition: height 0.4s ease;
}

#navbar.scrolled .logo-img img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5em;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: bold;
  position: relative;
  padding: 5px 0;
}

#navbar.scrolled .nav-links a {
  color: var(--dark-gray);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: width 0.3s ease;
}

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

.burger {
  display: none;
  cursor: pointer;
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-gray);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Am crescut opacitatea de la 0.6 la 0.8 pentru un contrast mai bun */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 20s infinite;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(-5px, 5px); }
  100% { transform: scale(1) translate(0, 0); }
}

.hero-text {
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero-text h1 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   6. Sectiuni Generale (Despre, Beneficii) - STYLING FIX APLICAT AICI
   ========================================================================== */
.despre-grid, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.despre-item, .benefit-item {
  text-align: center;
  flex: 1 1 250px;
  max-width: 280px;
}

.despre-item i, .benefit-item i {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* ==========================================================================
   7. Pachete Section
   ========================================================================== */
#pachete, #pachete-proprietari {
  background-color: var(--light-gray);
  border: none;
}

.pachete-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.package-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.package-card.featured {
  transform: scale(1.05);
  border-color: var(--primary-gold);
  position: relative;
  overflow: hidden;
}

.featured-ribbon {
  position: absolute;
  top: 15px;
  right: -35px;
  background-color: var(--primary-gold);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.9rem;
  font-weight: bold;
}

.package-card h3 {
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--dark-gray);
  margin: 1rem 0;
}

.price-period {
  display: block;
  font-size: 1rem;
  color: var(--text-color);
  font-weight: normal;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.package-card li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-card i.fa-check-circle {
  color: var(--primary-gold);
  font-size: 1.2rem;
}
.package-subtitle {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  color: var(--primary-gold);
  text-transform: uppercase;
  font-size: 1.1rem;
  margin: -1rem 0 1rem 0;
}

/* ==========================================================================
   8. Call-to-Action Section
   ========================================================================== */
#pentru-proprietari-cta {
    padding: 6rem 2rem;
    margin: 4rem auto;
    background-image: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('/assets/images/apartcentral.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 1100px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

#pentru-proprietari-cta .cta-content h2 {
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#pentru-proprietari-cta .cta-content p {
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

/* ==========================================================================
   9. Recenzii Section
   ========================================================================== */
.carousel-rec {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  min-height: 280px;
}

.rec-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.rec-slide.active {
  display: flex;
  animation: fadeIn 0.8s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-gold);
  margin-bottom: 1rem;
}

.rec-slide p {
  font-style: italic;
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 1rem;
}

.rec-slide h4 {
  color: var(--dark-gray);
}

.rec-controls {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rec-btn {
  background: transparent;
  border: none;
  color: var(--dark-gray);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.rec-btn:hover {
  color: var(--primary-gold);
}

.rec-dots {
  display: flex;
  gap: 10px;
}

.rec-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bdc3c7;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.rec-dot.active {
  background-color: var(--primary-gold);
}

/* ==========================================================================
   10. Contact Section & Formular Centrat
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-details p {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.contact-details i {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-gold);
}

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

.error {
  color: var(--error-color);
  font-size: 0.9rem;
  min-height: 1.2rem;
}

.form-centered {
    max-width: 600px;
    margin: 2rem auto 0 auto;
}


/* ==========================================================================
   11. Pagina Proprietari (Proces)
   ========================================================================== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    bottom: 25px;
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-gold);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 3px solid var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.package-description {
    font-size: 1rem;
    margin-top: 1.5rem;
    min-height: 80px;
}


/* ==========================================================================
   12. Antet Pagini Interne & Blog
   ========================================================================== */
#page-header-pro {
  position: relative;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

#page-header-pro .header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/apartcentral.png');
  background-size: cover;
  background-position: center;
  animation: kenburns 20s infinite;
}

#page-header-pro::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.4));
}

#page-header-pro .page-header-content {
  z-index: 2;
}

#page-header-pro h1 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ==========================================================================
   13. Pagina Apartamente
   ========================================================================== */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.filter-btn.active {
    background-color: var(--primary-gold);
    color: var(--white);
    border-color: var(--primary-gold);
}

.apartamente-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.apartament-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1 1 320px;
    max-width: 420px;
    display: flex;
}

.apartament-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.apartament-card-link:hover .apartament-card {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.apartament-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

.apartament-card-link:hover .apartament-img {
  transform: scale(1.05);
}

.apartament-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.apartament-info h3 { margin-bottom: 0.5rem; }

.locatie {
  color: #7f8c8d;
  font-weight: bold;
  margin-bottom: 1rem;
}
.locatie i { color: var(--primary-gold); margin-right: 0.5rem; }

.price-tag {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-gold);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.price-tag .pret { font-family: 'Playfair Display', serif; font-size: 2.5rem; line-height: 1; }
.price-tag .moneda { font-size: 1.2rem; margin-left: 0.5rem; }
.price-tag .price-label { font-size: 0.8rem; margin-right: 0.5rem; }
.price-label-small { align-self: flex-end; margin-left: 0.5rem; font-size: 0.9rem; }

.facilitati-card {
    list-style: none;
    padding: 0;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    color: #7f8c8d;
}
.facilitati-card i { color: var(--primary-gold); margin-right: 0.5rem; }


/* ==========================================================================
   14. Pagina Detaliu Apartament
   ========================================================================== */
.main-apartment-detail {
    padding-top: 80px;
}

.container-full {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
}

.apartment-title-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}
.apartment-title-header h2 { margin-bottom: 0.5rem; }
.apartment-title-header p { font-size: 1.2rem; color: #7f8c8d; }

.photo-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    max-width: 1200px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.main-image {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.apartment-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

.amenities-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.amenities-list li i {
    color: var(--primary-gold);
    margin-right: 1rem;
    width: 20px;
}

.booking-widget {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 100px;
}

.booking-widget .price-display {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.booking-widget .price-display .price-value {
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--dark-gray);
}

.price-calculation { margin: 1.5rem 0; }
.price-calculation p { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.price-calculation .total { font-weight: bold; font-size: 1.2rem; }
.booking-widget .btn-primary { width: 100%; text-align: center; }
.form-note { text-align: center; font-size: 0.9rem; color: #7f8c8d; margin-top: 1rem; }

.apartment-map { margin-top: 4rem; }

/* ==========================================================================
   15. Pagina Blog
   ========================================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
}
.post-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
}
.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.post-content {
    padding: 2rem;
}
.post-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: bold;
    text-transform: uppercase;
}
.post-title {
    margin: 0.5rem 0 1rem 0;
}
.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.blog-sidebar .sidebar-widget {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}
.blog-sidebar h4 {
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.blog-sidebar ul {
    list-style: none;
    padding: 0;
}
.blog-sidebar ul li {
    margin-bottom: 0.5rem;
}
.blog-sidebar ul li a {
    text-decoration: none;
    color: var(--text-color);
}
.blog-sidebar ul li a:hover {
    color: var(--primary-gold);
}
.post-full-content h3 {
    margin-top: 2rem;
}

/* ==========================================================================
   16. Pagina FAQ
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 1rem;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-gray);
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    padding: 0 1rem;
}
.faq-answer p {
    margin: 0;
    padding-bottom: 1rem;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==========================================================================
   17. Sectiunea "Descoperă Iașiul"
   ========================================================================== */
.iasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.iasi-item {
    position: relative;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.iasi-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.iasi-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: opacity 0.4s ease;
}

.iasi-item:hover::after {
    opacity: 0.9;
}

.iasi-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    color: var(--white);
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.iasi-item:hover .iasi-item-content {
    transform: translateY(0);
    opacity: 1;
}

.iasi-item-content h3 {
    color: var(--white);
    margin: 0 0 0.5rem 0;
}

.iasi-item-content p {
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   18. Footer
   ========================================================================== */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* ==========================================================================
   19. Animații la Scroll
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   20. Responsive Design
   ========================================================================== */
@media (max-width: 900px) {
  .contact-wrapper,
  .apartment-main-content,
  .blog-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-text { text-align: center; }
  .blog-sidebar { margin-top: 3rem; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--dark-gray);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.5s ease-in-out;
  }

  .nav-links.open { right: 0; }

  .nav-links a,
  #navbar.scrolled .nav-links a { color: var(--white); }

  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
  }

  .burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
  }

  #navbar.scrolled .burger span { background-color: var(--dark-gray); }

  .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .burger.open span { background-color: var(--white); }
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item.main-image {
        grid-row: auto;
        grid-column: auto;
        height: 300px;
    }

    .filters {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        padding: 5px;
        scrollbar-width: none;
    }
    .filters::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 1.5rem; margin: 2rem auto; }
  h2 { font-size: 1.8rem; }
  .pachete-cards { grid-template-columns: 1fr; }
  .package-card.featured { transform: scale(1); }
}

/* ==========================================================================
   21. Pagina de Finalizare Rezervare (rezervare.html)
   ========================================================================== */
.booking-page-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.booking-summary {
    padding: 2rem;
    background-color: var(--light-gray);
}

.summary-image-wrapper {
    margin-bottom: 1.5rem;
}

.summary-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
}

#summary-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

#summary-details p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

#summary-details p.total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-gray);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.booking-form-section {
    padding: 2rem;
}

/* Responsive pentru pagina de rezervare */
@media (max-width: 768px) {
    .booking-card {
        grid-template-columns: 1fr;
    }
    .booking-summary {
        border-bottom: 1px solid #e0e0e0;
    }
}
