.autumn-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #ffcc99, #ffe6cc);
  color: #003366;
  text-align: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-bottom: 2px solid #ff9900;
  }

.autumn-banner p {
  margin: 0 0 10px;
  font-size: 2em;
}

.autumn-discounts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.autumn-discounts li {
  margin: 5px 0;
  font-size: 1.05em;
}



/* Drawer Base */
.drawer {
  position: fixed;
  top: 0;
  right: -100%; /* Ascuns inițial */
  width: 100%;
  height: 100%;
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}

.drawer.open {
  right: 0;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.4);
  backdrop-filter: blur(4px);
}

.drawer-content {
  position: relative;
  width: 100%;
  max-width: 450px;
  background: white;
  height: 100%;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.drawer-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.plan-badge {
  display: inline-block;
  background: #2ecc71; /* Emerald */
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 10px;
}

.close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #003366;
}

.input-group input, .input-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
  border-color: #2ecc71;
  outline: none;
}

.submit-btn {
  width: 100%;
  background: #003366;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.submit-btn:hover {
  background: #27ae60; /* Face trecere spre Emerald la hover */
}

/* Loader pt buton */
.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #2ecc71;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.autumn-banner {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.offer-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #ff9900;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.offer-btn:hover {
  background-color: #e68a00;
}

.drawer {
  position: fixed;
  margin-top: 200px;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  z-index: 2000;
}

.drawer.open {
  right: 0;
}

.drawer-content {
  padding: 20px;
}

.drawer-content h3 {
  margin-top: 0;
  color: #003366;
}

.drawer-content input,
.drawer-content textarea {
  width: 100%;
  margin: 10px 0;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.submit-btn {
  background-color: #005599;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
}

.close-btn {
  margin-top: 10px;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
}

.leaf-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.leaf {
  position: absolute;
  font-size: 2em;
  animation: fall 6s linear infinite;
  opacity: 0.8;
}

.leaf:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.leaf:nth-child(2) {
  left: 50%;
  animation-delay: 2s;
}

.leaf:nth-child(3) {
  left: 80%;
  animation-delay: 4s;
}

@keyframes fall {
  0% {
    top: -40px;
    transform: rotate(0deg);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    top: 100%;
    transform: rotate(360deg);
    opacity: 0;
  }
}

/* Magazin online */
.limit-info {
  font-size: 0.85rem;
  color: #666;
  margin-top: -10px;
  margin-bottom: 15px;
  font-style: italic;
}

.product-features strong {
  color: #003366; /* Navy pentru a evidenția cifrele de produse */
}

.extra-services-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  color: #003366;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.offer-card-custom {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-top: 4px solid #2ecc71; /* Emerald Accent */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.offer-card-custom:hover {
  transform: translateY(-5px);
}

.card-header h3 {
  color: #003366;
  margin: 0;
  font-size: 1.4rem;
}

.price {
  color: #2ecc71;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 10px 0;
}

.short-desc {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Expandare */
.extra-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  border-top: 1px solid #eee;
}

.extra-content ul {
  padding: 15px 20px;
  list-style: square;
  color: #444;
  font-size: 0.9rem;
}

.offer-card-custom.active .extra-content {
  max-height: 300px; /* Suficient pentru continut */
}

.details-toggle {
  background: none;
  border: none;
  color: #003366;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.details-toggle span {
  margin-left: 10px;
  transition: transform 0.3s;
}

.offer-card-custom.active .details-toggle span {
  transform: rotate(45deg); /* Se transforma din + in x */
  color: #e74c3c;
}

/* --- RESPONSIVITATE GENERALĂ --- */

/* Pentru Tablete și Ecrane Medii */
@media (max-width: 1024px) {
    .pricing-container, .offers-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 coloane */
        gap: 20px;
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Pentru Telefoane Mobile (Small & Medium) */
@media (max-width: 768px) {
    /* 1. Navigație & Header */
    .desktop-nav {
        display: none; /* Ascundem meniul extins */
    }
    
    .header-content {
        padding: 10px 15px;
        justify-content: space-between;
    }

    /* 2. Containerele de Produse - Devind o singură coloană */
    .pricing-container, .offers-grid {
        grid-template-columns: 1fr; /* Toate cardurile unul sub altul */
        padding: 15px;
    }

    .product-card, .offer-card-custom {
        margin-bottom: 10px;
        padding: 20px;
    }

    /* 3. Ajustări Drawer Oferte pe Mobil */
    .drawer-content {
        max-width: 100%; /* Ocupă toată lățimea pe mobil */
        padding: 25px 20px;
    }

    .drawer-header h3 {
        font-size: 1.2rem;
    }

    /* Ajustăm spațiul pentru a nu fi acoperit de header dacă este fixed */
    .drawer.open .drawer-content {
        top: 0;
        height: 100%;
    }

    /* 4. Tipografie și Butoane */
    .product-price {
        font-size: 1.8rem;
    }

    .submit-btn, .btn-buy {
        padding: 18px; /* Butoane mai mari pentru "tap" ușor cu degetul */
        font-size: 1rem;
    }

    /* 5. Secțiunea "Alte Produse" */
    .extra-services-section {
        padding: 40px 10px;
    }
    
    .card-header h3 {
        font-size: 1.2rem;
    }
}

/* --- FIX PENTRU IMAGINI ȘI LOGO --- */
.logo {
    max-height: 50px;
    width: auto;
}

@media (max-width: 480px) {
    .logo {
        max-height: 40px;
    }
}

/* Suprascriem limita de expandare DOAR pentru cardul de hosting */
.offer-card-custom.hosting-card.active .extra-content {
  max-height: 1000px; /* Suficient pentru toate pachetele și notele de subsol */
}

/* Stilurile tale de structură rămân neschimbate și izolate */
.hosting-card .h-pkg {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px dashed #cbd5e0;
}

.hosting-card .h-pkg strong {
  color: #003366;
  font-size: 1rem;
}

.hosting-card .h-pkg span {
  font-size: 0.85rem;
  color: #4a5568;
  margin-top: 4px;
}

.hosting-card .hosting-footer-notes {
  margin: 10px 0;
  color: #718096;
  line-height: 1.2;
}

