 header {
            background-color: #CC0000;
            color: white;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            width: 100%;
        }
        
        body {
            padding-top: 70px;
            margin: 0;
        }
        
        .logo { 
            font-size: 24px; 
            font-weight: bold; 
        }
        .search-bar { 
            flex-grow: 1; 
            margin: 0 20px; 
            display: flex; 
            align-items: center; 
        }
        .search-form {
            display: flex;
            width: 100%;
            align-items: center;
        }
        .search-bar input {
            flex: 1;
            padding: 8px 12px;
            border: none;
            border-radius: 25px 0 0 25px;
            outline: none;
            font-size: 14px;
        }
        .search-bar button {
            padding: 8px 20px;
            border: none;
            border-radius: 0 25px 25px 0;
            background-color: #007bff;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s;
            white-space: nowrap;
        }
        .search-bar button:hover {
            background-color: #0056b3;
        }
        .search-bar button:active {
            transform: scale(0.98);
        }
        .buttons button {
            margin-left: 10px;
            padding: 8px 15px;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .buttons .upload { 
            background-color: #28a745; 
            color: white; 
        }
        .buttons .register { 
            background-color: #007bff; 
            color: white; 
        }
        .buttons .login { 
            background-color: #6c757d; 
            color: white; 
        }
        .buttons button:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        /* Bottom Navigation for Mobile/Tablet */
        .bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            width: 100%;
            background-color: #CC0000;
            padding: 10px 0;
            justify-content: space-around;
            z-index: 999;
        }
        .bottom-nav a {
            color: #fdfdfd;
            text-decoration: none;
            text-align: center;
            font-size: 14px;
            padding: 5px;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .bottom-nav a:hover,
        .bottom-nav a.active {
            background-color: rgba(255,255,255,0.1);
        }

        /* Mobile Search Overlay */
        .mobile-search-overlay {
            display: none;
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            background: white;
            padding: 20px;
            z-index: 999;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 0 0 15px 15px;
        }
        .mobile-search-overlay.active {
            display: block;
            animation: slideDown 0.3s ease-out;
        }
        @keyframes slideDown {
            from { transform: translateY(-10px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        .mobile-search-overlay .search-form {
            position: relative;
        }
        .mobile-search-overlay input {
            width: 100%;
            padding: 12px 50px 12px 15px;
            border: 2px solid #ddd;
            border-radius: 25px;
            font-size: 16px;
            outline: none;
        }
        .mobile-search-overlay input:focus {
            border-color: #CC0000;
        }
        .mobile-search-overlay button {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            background-color: #CC0000;
            color: white;
        }
        .close-search {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
        }

        /* Show bottom nav on mobile and tablet */
        @media (max-width: 1024px) {
            header {
                justify-content: space-between;
            }
            .search-bar { 
                display: none; 
            }
            .buttons { 
                display: none; 
            }
            .bottom-nav {
                display: flex;
            }
            body {
                padding-top: 60px;
            }
        }
        
        @media (max-width: 768px) {
            header {
                padding: 10px;
            }
            .logo {
                font-size: 20px;
            }
            body {
                padding-top: 60px;
            }
        }
          .resp-banner {
    display: inline-block;      /* permite limitar largura se quiser */
    max-width: 100%;            /* não ultrapassa o container */
  }
  .resp-banner img {
    display: block;             /* remove espaços em branco abaixo da imagem */
    max-width: 100%;            /* escala para caber */
    height: auto;               /* mantém proporção */
  }
   /* Deixa o link da logo com a mesma aparência do texto */
  .logo a{
    color: inherit;
    text-decoration: none;
    display: inline-block;
  }
  .logo a:hover{
    opacity: .9; /* ou text-decoration: underline; se preferir */
  }