@charset "utf-8";
/* CSS Document */

    :root {
      --fi-brand: #531f38;
      --fi-brand-hover: #3c1628;
      --fi-primary: #0284c7;
      --fi-primary-dark: #0369a1;
      --fi-secondary: #0ea5e9;
      --fi-accent: #f59e0b;
      --fi-dark: #0f172a;
      --fi-light: #f8fafc;
      --fi-card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
      --fi-card-hover: 0 20px 30px -10px rgba(83, 31, 56, 0.25);

      /* ======================================================
         CONTROLLO DIMENSIONI LOGO E NAVBAR (MODIFICA QUI)
         ====================================================== */
      --fi-logo-height: 60px;       /* Ingrandisci/Rimpicciolisci il logo (es. 50px, 65px, 80px) */
      --fi-navbar-padding-y: 12px;  /* Spazio sopra e sotto nella navbar (es. 8px, 15px, 20px) */
    }

    body {
      font-family: 'Inter', sans-serif;
      color: #334155;
      background-color: #f8fafc;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6, .font-heading {
      font-family: 'Montserrat', sans-serif;
    }

    /* Custom Navbar - Background #531f38 con gestione dinamica padding */
    .navbar-custom {
      background-color: var(--fi-brand) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      padding-top: var(--fi-navbar-padding-y) !important;
      padding-bottom: var(--fi-navbar-padding-y) !important;
    }

    /* Gestione dinamica altezza Logo */
    .navbar-brand img {
      height: var(--fi-logo-height) !important;
      max-height: none !important;
      width: auto;
      object-fit: contain;
      transition: all 0.3s ease;
    }

    .nav-link {
      font-weight: 500;
      color: rgba(255, 255, 255, 0.85) !important;
      padding: 0.5rem 1rem !important;
      transition: all 0.2s ease;
    }

    .nav-link:hover, .nav-link.active {
      color: #ffffff !important;
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }

    .nav-link i {
      color: #f3c6d9 !important;
    }

    /* Hero Section */
    .hero-section {
      position: relative;
      background: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.65)), 
                  url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
      padding-top: 140px;
      padding-bottom: 100px;
      min-height: 85vh;
      display: flex;
      align-items: center;
    }

    /* Search Widget */
    .search-widget {
      background: #ffffff;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Styled Input Fields and Date Pickers */
    .form-control, .form-select {
      border-radius: 10px;
      padding: 0.75rem 1rem;
      border: 1px solid #cbd5e1;
      font-size: 0.95rem;
    }

    .form-control:focus, .form-select:focus {
      border-color: var(--fi-brand);
      box-shadow: 0 0 0 0.25rem rgba(83, 31, 56, 0.2);
    }

    /* Custom Date Pickers Styling */
    input[type="date"] {
      color: #334155;
      cursor: pointer;
    }
    input[type="date"]::-webkit-calendar-picker-indicator {
      cursor: pointer;
      filter: invert(20%) sepia(50%) saturate(1200%) hue-rotate(290deg) brightness(90%) contrast(90%);
    }

    /* Custom Brand Primary Button (#531f38) */
    .btn-brand-primary {
      background-color: var(--fi-brand);
      color: white;
      font-weight: 600;
      border: none;
      border-radius: 10px;
      padding: 0.8rem 1.8rem;
      transition: all 0.3s ease;
    }

    .btn-brand-primary:hover, .btn-brand-primary:focus {
      background-color: var(--fi-brand-hover);
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(83, 31, 56, 0.35);
    }

    /* Section Titles */
    .section-title {
      position: relative;
      margin-bottom: 2.5rem;
    }

    .section-title h2 {
      font-weight: 800;
      color: var(--fi-dark);
    }

    .section-title .subtitle {
      color: var(--fi-brand);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      font-size: 0.85rem;
    }

    /* Cards */
    .card-destination {
      border: none;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--fi-card-shadow);
      transition: all 0.35s ease;
      background: white;
      height: 100%;
    }

    .card-destination:hover {
      transform: translateY(-8px);
      box-shadow: var(--fi-card-hover);
    }

    .card-destination .img-wrapper {
      position: relative;
      height: 220px;
      overflow: hidden;
    }

    .card-destination img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .card-destination:hover img {
      transform: scale(1.08);
    }

    .badge-price {
      position: absolute;
      bottom: 12px;
      right: 12px;
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(4px);
      color: #ffffff;
      padding: 6px 14px;
      border-radius: 30px;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .badge-price span {
      color: var(--fi-accent);
      font-size: 1.1rem;
    }

    .badge-tag {
      position: absolute;
      top: 12px;
      left: 12px;
      background: var(--fi-brand);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
    }

    /* Features */
    .feature-box {
      background: white;
      padding: 2rem 1.5rem;
      border-radius: 16px;
      box-shadow: var(--fi-card-shadow);
      transition: all 0.3s ease;
      text-align: center;
      height: 100%;
    }

    .feature-box:hover {
      transform: translateY(-5px);
      box-shadow: var(--fi-card-hover);
    }

    .feature-icon {
      width: 65px;
      height: 65px;
      background: rgba(83, 31, 56, 0.1);
      color: var(--fi-brand);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin-bottom: 1.25rem;
    }

    /* Newsletter Banner */
    .newsletter-banner {
      background: linear-gradient(135deg, var(--fi-brand), #280d1a);
      border-radius: 24px;
      padding: 3.5rem 2rem;
      color: white;
      position: relative;
      overflow: hidden;
    }

    /* Footer */
    footer {
      background-color: var(--fi-dark);
      color: #94a3b8;
    }

    footer h5 {
      color: white;
      font-weight: 600;
      margin-bottom: 1.25rem;
    }

    footer a {
      color: #94a3b8;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    footer a:hover {
      color: var(--fi-accent);
    }

    .social-icon {
      width: 38px;
      height: 38px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: white;
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      background: var(--fi-brand);
      color: white;
      transform: translateY(-3px);
    }